@font-face {
    font-family: 'Estedad';
    src: url('/fonts/Estedad-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/fonts/Estedad-Bold.woff2') format('woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'Vazir';
    src: url('/fonts/Vazir-Regular.woff') format('woff2');
    font-weight: normal;
}

* {
    font-family: Vazir, Estedad, sans-serif !important;
}

html {
    font-size: 14px;
    font-style: normal;
    position: relative;
    min-height: 100%;
}

/* Center a DIV horizontally and vertically */
.center {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.18rem #258cfb;
}


body {
    background-color: #F5F7FA;
    direction: rtl;
}

.main-menu {
    width: 66px;
    height: 100%;
    background-color: #383EC0;
    position: fixed;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 30vh;
}

.sub-menu {
    width: 230px;
    height: 100%;
    background-color: #FFFFFF;
    position: fixed;
    right: 66px;
    overflow-x: hidden;
    overflow-y: auto;
}

.main-content {
    height: 100%;
    position: fixed;
    right: 305px;
    left: 0;
    overflow: hidden;
}

.header-panel {
    position: absolute;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #FFFFFF;
}

.main-panel {
    background-color: #FFFFFF;
    position: absolute;
    top: 90px;
    width: 100%;
    bottom: 10px;
    padding: 10px;
    overflow: auto;
}

.userInfoHeader {
    text-align: left;
    position: absolute;
    top: 20px;
    left: 20px;
}

.user img {
    margin-right: 10px;
    border-radius: 30px;
    width: 40px;
    border: 1px solid #e3e5e7;
}

.user .username {
    color: #4C4C4C;
    font-size: 12px;
    position: relative;
    top: -5px;
    left: -73px;
}

.user .userrole {
    color: #8E8E8E;
    font-size: 11px;
    position: relative;
    top: 12px;
    left: -6px;
}

.sitemapper {
    position: absolute;
    top: 27px;
    right: 27px;
    background-color: #f5f7fa;
    padding: 5px 15px 5px 15px;
    color: #383ec0;
    border-radius: 12px;
    font-size: 12px;
}

    .sitemapper span {
        color: black;
    }

.systemInfo {
    position: relative;
    top: 20px;
    text-align: center;
}

    .systemInfo a {
        text-decoration: none;
        color: unset;
    }

    .systemInfo .organname {
        width: 150px;
        margin: 15px auto 10px auto;
        font-size: 12px;
        font-weight: 700;
    }

    .systemInfo .systemname {
        width: 150px;
        margin: auto;
        font-size: 11px;
        font-weight: 400;
        color: #444444 !important;
    }

.main-menu .main-menu-Item {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: table;
    color: white;
    margin: 10px auto 0 auto;
    /*border: 1px solid white;*/
}

    .main-menu .main-menu-Item:hover {
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.1);
    }

.selected {
    background-color: rgba(255, 255, 255, 0.3);
}

.selectedmenu {
    background-color: #3CC6F1;
    border-radius: 10px;
}

.main-menu .main-menu-Item span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.main-menu-Item-Title {
    color: #1F3DDC;
    margin-top: 10vh;
    text-align: right;
    margin-right: 14px;
}

.sub-menu-Item {
    border-bottom: 1px solid #d7d7d7;
    height: 40px;
    padding: 8px 10px 0 0;
    margin: 0 25px 0 25px;
    display: none;
}

    .sub-menu-Item:hover:not(.searchBoxMenu), .menuItem:active, .menuItem:focus {
        background-color: #e8e9f1 !important;
    }

    .sub-menu-Item a {
        text-decoration: none;
        display: inline-block;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sub-menu-Item:last-child {
        border-bottom: 0px hidden white !important;
    }

.rtl {
    direction: rtl;
    text-align: right;
}

    .rtl .dropdown-menu-right {
        right: auto !important;
        left: 0 !important;
    }

.message {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 999999;
}

.close {
    float: left;
    padding-right: 10px;
    text-decoration: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.modal-header {
    padding: 0.75rem;
    font-weight: bold;
    font-size: 13px;
}

/* ------- ----------- Tab  ----- -------------------- */
.tab-content {
    padding: 25px;
    border: 1px solid;
    border-color: transparent #dee2e6 #dee2e6 #dee2e6;
}
/* ------- -----------   ----- -------------------- */
.date {
    background-position: 10px center;
    background-image: url('/img/datepicker.png');
    background-repeat: no-repeat;
}

.autocomplete {
    background-position: 6px center;
    background-image: url(/img/search.png);
    background-repeat: no-repeat;
    background-size: 18px;
}


#toolBoxMe {
    display: none;
}

.loadingShow {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(42, 101, 57, 0.31);
    z-index: 1000;
    background-position: center center;
    background-image: url('/img/Preloader.gif');
    background-repeat: no-repeat;
    z-index: 9999999;
}

.loadingHide {
    display: none;
    height: 0;
    width: 0;
}


.d-inline-block {
    display: inline-block !important;
}

.white {
    color: #fff !important
}

[aria-invalid="true"] {
    border: 2px solid red;
}

.form-group {
    margin-bottom: 10px;
}

.form-control {
    border-radius: 22px;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.col-form-label {
    text-wrap: nowrap;
}


    .control-label:after, .col-form-label:after {
        content: ' :';
    }

.btn {
    border-radius: 22px !important;
}

.btn-success {
    background-color: #59C327 !important;
    border-color: #59C327 !important;
}

.bi {
    vertical-align: -.125em;
    pointer-events: none;
    fill: currentColor;
}



.mvc-grid-pager button {
    border-radius: 50%;
}

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(0, 0, 0, .85);
        background-color: #d2f4ea;
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

    .btn-toggle[aria-expanded="true"] {
        color: rgba(0, 0, 0, .85);
    }

        .btn-toggle[aria-expanded="true"]::before {
            transform: rotate(90deg);
        }

.btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: #d2f4ea;
    }


.btngrid {
    cursor: pointer !important;
    display: inline-block;
    text-decoration: none;
    width: 25px;
    height: 25px;
    pointer-events: auto !important;
    margin-left: 10px;
}

.btngridtext {
    cursor: pointer !important;
    display: inline-block;
    text-decoration: none;
    height: 25px;
    pointer-events: auto !important;
    margin-left: 10px;
    padding: 3px;
    font-size: 0.8em;
    border-radius: 5px;
    background-color: #59C327 !important;
    border-color: #59C327 !important;
    color: #fff;
}

.btn-remove {
    color: #f50a0a;
}

    .btn-remove:hover {
        color: #ff0505;
    }

.btn-edit {
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }

.tableInfo {
    border-collapse: separate;
    border-spacing: 0;
    border: 0 solid #FFF;
}

    .tableInfo td {
        border-left: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        padding: 4px
    }

    .tableInfo tr td:first-child {
        border-right: 1px solid #ccc
    }

    .tableInfo tr:first-child td {
        border-top: 1px solid #ccc
    }

        .tableInfo tr:first-child td:first-child {
            border-top-right-radius: 6px
        }

        .tableInfo tr:first-child td:last-child {
            border-top-left-radius: 6px
        }

    .tableInfo tr:last-child td:first-child {
        border-bottom-right-radius: 6px
    }

    .tableInfo tr:last-child td:last-child {
        border-bottom-left-radius: 6px
    }

    .tableInfo td:nth-child(odd) {
        background-color: #eeeeee4d;
        white-space: nowrap;
        width: 10px;
    }

    .tableInfo td:nth-child(even) {
        font-weight: bold;
    }

    .tableInfo caption {
        padding-top: .3rem;
        padding-bottom: 0;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-top: 1px solid #ccc;
        white-space: nowrap;
        caption-side: top;
        border-top-right-radius: 6px;
        border-top-left-radius: 6px;
        text-align: center;
        background-color: #eeeeee4d;
        font-weight: bold;
        margin: 0 30% 0 30%;
        color: black;
    }


.tableInfo2 td:nth-child(odd) {
    background-color: inherit !important;
    white-space: normal !important;
    width: auto !important;
}

.tableInfo2 td:nth-child(even) {
    font-weight: normal !important;
}

.tableInfo2 tr:first-child {
    background-color: #eeeeee4d;
}

.tableInfo2 .footer {
    background-color: #eeeeee4d;
    font-weight: bold !important;
}

.titleInTableRow {
    background-color: #4d4a4a !important;
    color: white;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 0.75em 0;
    border-radius: 6px;
}

legend {
    width: auto;
    border: 1px solid;
    padding: 5px 5px 5px 10px;
    border-radius: 6px;
    background-color: #363636;
    color: White;
    float: none;
    font-size: 1rem;
}

.pill {
    position: relative;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 50px;
    background-color: #90C7F8;
    padding: 10px 20px;
    min-width: 250px;
}

.pill-value {
    background-color: white;
    text-align: center;
    width: 50%;
    padding: 8px;
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 3px;
    border-radius: 50px 0 0 50px;
}

.pill-title {
    text-align: center;
    user-select: none;
}

.fileLink {
    display: block;
    background-image: url('/img/clips.png');
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 20px;
    margin-bottom: 8px;
    font-weight: normal;
}

.budgetInfo {
    cursor: pointer;
    color: #0a58ca;
    float: left;
}

/* ------- Hidgcharts -------------------- */

.highcharts-data-table table {
    border-collapse: separate;
    border-spacing: 0;
    border: 0 solid #FFF;
    width: 100%;
}

.highcharts-data-table td, th {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 4px
}

.highcharts-data-table tr th:first-child {
    border-right: 1px solid #ccc
}

.highcharts-data-table tr:first-child th {
    border-top: 1px solid #ccc
}

    .highcharts-data-table tr:first-child th:first-child {
        border-top-right-radius: 6px
    }

    .highcharts-data-table tr:first-child th:last-child {
        border-top-left-radius: 6px
    }

.highcharts-data-table tr:last-child td:first-child {
    border-bottom-right-radius: 6px
}

.highcharts-data-table tr:last-child td:last-child {
    border-bottom-left-radius: 6px
}

.highcharts-data-table td:nth-child(odd) {
    background-color: #eeeeee4d;
    white-space: nowrap;
    width: 10px;
}

.highcharts-data-table td:nth-child(even) {
    font-weight: bold;
}

.highcharts-data-table caption {
    padding-top: .3rem;
    padding-bottom: 0;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    white-space: nowrap;
    caption-side: top;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    text-align: center;
    background-color: #eeeeee4d;
    font-weight: bold;
    margin: 0 30% 0 30%;
    color: black;
}


.highcharts-data-table td:nth-child(odd) {
    background-color: inherit !important;
    white-space: normal !important;
    width: auto !important;
}

.highcharts-data-table td:nth-child(even) {
    font-weight: normal !important;
}

.highcharts-data-table thead {
    background-color: #eeeeee4d;
}
/* ------- ---------------- -------------------- */
