@font-face {
    font-family: irsans;
    src: url('IRANSansWeb_Light.ttf') format("truetype");
}

* {
    direction: rtl;
    /* font-family: monospace !important; */
    font-family: 'irsans' !important;
    font-size: 12px
}

body {
    text-align: right !important;
}

.dataTable tr td a {
    color: rgba(6, 6, 102, 0.9) !important;
}

.monospace {
    font-family: monospace !important;
}

.rtl {
    direction: rtl !important;
}

.ltr {
    direction: ltr !important;
    text-align: left;
}

h1 {
    font-size: 20px !important;
}

h3 {
    font-size: 14px !important;
}

h5 {
    font-size: 14px !important;
}

#ichart table, .ichart table, .ichart div table tr td canvas {
    direction: ltr !important;
}

.ld-topic {
    margin: 0px !important;
    padding: 0px !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(0,0,0, 0.1);
    border-right: 3px solid rgba(6, 6, 102, 0.9);
    border-radius: 1px;
    background-image: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .9));
}

.ld-topic h2 {
    margin: 0px;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    color: rgba(0,0,0, 0.7);
    box-shadow: 0px 0px 10px 2px rgba(0,0,0, .08);
}

.dt-layout-end {
    direction: rtl;
    width: 100%;
}

.dt-layout-start {
    width: 100%;
    direction: rtl;
    text-align: left;
}

.dt-search input {
    width: 250px !important;
    font-family: monospace !important;
}

.dt-layout-start div, .dt-layout-end div {
    font-family: monospace !important;
}

.card {
    box-shadow: 0 2px 5px rgba(0,0,0, 0.1);
}

.card:hover {
    background-color: rgba(0,0,0, .02);
}

.card-body p a, .card-body h5 a {
    color: rgba(6, 6, 102, 0.9);
}


/* Search Menu */
#search-box {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 200px;
    max-height: 400px;
    z-index: 1000;
    border: 1px solid #ccc;
    background-color: rgba(250,250,250, 0.9);
    color: #333;
    display: none;
    border-top: none;
    border-radius: 0 0 5px 5px;
    overflow-y: auto;
}

#search-box-result {
    width: 100%;
    border-collapse: collapse;
}

#search-box-result tr {
    border-bottom: 1px solid #eee;
}

#search-box-result td {
    padding: 8px 12px;
    color: #333;
}

#search-box-result tr:hover {
    background-color: #f5f5f5;
}

#search input[type=text] {
    width: 100%;
    direction: ltr;
    text-align: left;
    font-family: monospace !important;
    padding: 5px;
    border: 1px solid #ccc;
    font-weight: 20px;
    font-size: 20px;
    border-radius: 2px;
    text-indent: 10px;
    box-sizing: border-box !important;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0, .08);
    background-image: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .9));
    
}

#search-input:focus {
    border: 1px solid #ccc !important;
    outline: none;
    background-color: rgba(250,250,250, 0.9);
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}



