/* ==========================================================================
   Design Tokens — Modern Professional Light Mode
   ========================================================================== */
:root {
    /* Neutrals — most of the UI lives here */
    --neutral-50:   #F7F8FC;
    --neutral-100:  #EFF2F8;
    --neutral-200:  #E4EAF3;
    --neutral-300:  #CAD3E3;
    --neutral-400:  #A3B0C7;
    --neutral-500:  #8A99B0;
    --neutral-600:  #5E718A;
    --neutral-700:  #3D4F6B;
    --neutral-800:  #273347;
    --neutral-900:  #1A2D4E;

    /* Accent — used sparingly */
    --blue-50:      #EEF3FD;
    --blue-100:     #D6E3FA;
    --blue-200:     #BDD1F7;
    --blue-400:     #6B94E0;
    --blue-500:     #4D7BE0;
    --blue-600:     #3A67D4;
    --blue-700:     #2A52B8;
    --blue-800:     #1D3D8A;
    --blue-900:     #132768;
    --blue-950:     #0F3570;

    --green-50:     #EDFAF4;
    --green-100:    #CCF0E0;
    --green-200:    #A3E4C6;
    --green-600:    #22A06B;
    --green-700:    #1A8055;
    --green-900:    #0D4030;

    --amber-50:     #FFF8EC;
    --amber-100:    #FDECD0;
    --amber-200:    #F5D99A;
    --amber-300:    #F0C07A;
    --amber-600:    #C47A1E;
    --amber-700:    #A0611A;
    --amber-900:    #5A3500;

    --red-50:       #FEF1F0;
    --red-100:      #FDDAD8;
    --red-600:      #BE3A2E;
    --red-700:      #9B2D23;
    --red-800:      #7A1E14;
    --red-900:      #5C150E;

    --purple-50:    #F3EFFE;
    --purple-100:   #E1D4FC;
    --purple-200:   #D4C5F7;
    --purple-600:   #6C47B8;
    --purple-700:   #5435A0;
    --purple-900:   #2D1B60;

    /* Extended accents — sparing use only, kept off the main palette */
    --teal-50:      #EAFAF8;
    --teal-600:     #0D9488;
    --teal-700:     #0B7A70;
    --teal-900:     #063D38;
    --amber-action:      #D4900A;
    --amber-action-dark: #3D2800;
    --brown-action:      #7A4A10;
    --color-gold:        #FFD54F;
    --color-gold-dark:   #5A3500;
    --color-gold-hover:  #FFD97A;
    --input-req-bg:      #FFFDF0;

    /* Semantic aliases */
    --color-primary:       var(--blue-600);
    --color-primary-dark:  var(--blue-700);
    --color-primary-light: var(--blue-50);
    --color-success:       var(--green-600);
    --color-warning:       var(--amber-600);
    --color-error:         var(--red-600);
    --color-purple:        var(--purple-600);

    /* Surfaces */
    --bg-page:             var(--neutral-50);
    --bg-card:             #FFFFFF;
    --bg-inset:            var(--neutral-100);
    --bg-hover:            var(--neutral-100);

    /* Text */
    --text-heading:        var(--neutral-900);
    --text-body:           var(--neutral-700);
    --text-muted:          var(--neutral-500);
    --text-inverse:        #FFFFFF;
    --text-link:           var(--blue-600);

    /* Borders */
    --border-light:        var(--neutral-200);
    --border-default:      var(--neutral-300);
    --border-focus:        var(--blue-600);

    /* Layout */
    --header-height:       115px;   /* FIXED */
    --nav-height:          47px;
    --sidebar-width:       310px;
    --footer-height:       40px;

    /* Radius */
    --radius-sm:    6px;
    --radius-md:    8px;
    --radius-lg:    14px;
    --radius-xl:    16px;
    --radius-pill:  999px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(var(--rgb-ink),0.08), 0 1px 2px rgba(var(--rgb-ink),0.04);
    --shadow-md:   0 4px 16px rgba(var(--rgb-ink),0.10), 0 2px 6px rgba(var(--rgb-ink),0.06);
    --shadow-lg:   0 8px 32px rgba(var(--rgb-ink),0.12), 0 4px 12px rgba(var(--rgb-ink),0.06);
    --shadow-inset: inset 0 2px 4px rgba(var(--rgb-ink),0.06);

    /* Transitions */
    --t-fast: all 0.15s ease;
    --t-base: all 0.25s ease;

    /* RGB triples — enables rgba(var(--rgb-x), alpha) without orphan hex values */
    --rgb-ink:            26,45,78;    /* neutral-900 */
    --rgb-blue:           58,103,212;  /* blue-600 */
    --rgb-blue-700:       42,82,184;   /* blue-700 */
    --rgb-blue-900:       19,39,104;   /* blue-900 */
    --rgb-green:          34,160,107;  /* green-600 */
    --rgb-green-700:      26,128,85;   /* green-700 */
    --rgb-red:            190,58,46;   /* red-600 */
    --rgb-red-700:        155,45,35;   /* red-700 */
    --rgb-purple-700:     84,53,160;   /* purple-700 */
    --rgb-amber-action:   212,144,10;  /* amber-action */
    --rgb-brown-action:   122,74,16;   /* brown-action */
    --rgb-white:          255,255,255;
    --rgb-black:          0,0,0;
    --rgb-neutral-50:     247,248,252;
}

@font-face {
    font-family: 'Vazir';
    src: url('fonts/Vazir-Light-FD.eot?#') format('eot'),url('fonts/Vazir-Light-FD.woff') format('woff'),url('fonts/Vazir-Light-FD.ttf') format('truetype');
}

@font-face {
    font-family: 'Vazir';
    font-weight: bold;
    src: url('fonts/Vazir-Medium-FD.eot?#') format('eot'),url('fonts/Vazir-Medium-FD.woff') format('woff'),url('fonts/Vazir-Medium-FD.ttf') format('truetype');
}

.rotatingWrapper {
    position: absolute;
    width: 170px;
    height: 170px;
    top: 3px;
    left: 3px;
}
/*RelatedPhotos*/
.relatedPhotosTab {
    left: -423px;
    top: 0;
    background-color: var(--bg-card);
    width: 462px;
    height: 100%;
    position: fixed;
    z-index: 200000;
    transition: all ease-in-out .4s;
    border-left: 1px solid var(--border-light);
}

    .relatedPhotosTab.open {
        left: 0;
        opacity: 1;
        box-shadow: var(--shadow-lg);
        background: navy;
    }

    .relatedPhotosTab .tab {
        float: right;
        margin-right: 5px;
        width: 35px;
        height: 100%;
        background: url('/theme/images/relPhotoIco.png') no-repeat center center;
    }

    .relatedPhotosTab .item {
        cursor: pointer;
        float: left;
        margin: 9px 5px 10px 5px;
        width: 32px;
        height: 30px;
        background: url(images/imgIco.png) no-repeat;
        border-radius: var(--radius-sm);
    }

        .relatedPhotosTab .item:hover {
            background-color: var(--blue-50);
        }

        .relatedPhotosTab .item.fixphoto {
            background-position: 0px -110px;
        }

        .relatedPhotosTab .item.opacity {
            background-position: 0px -184px;
        }

        .relatedPhotosTab .item.zoomin {
	    
            background-position: 0px 0px;

        }

        .relatedPhotosTab .item.zoomout {
	    color: #000000 !important;
            background-position: 0px -36px;
        }

        .relatedPhotosTab .item.rotatephoto {
	    
            background-position: 0px -72px;
        }

    .relatedPhotosTab .ritem {
        float: right;
        margin: 8px 0 0 0;
    }

    .relatedPhotosTab .photoBox {
        position: absolute;
        left: 0;
        right: 44px;
        top: 51px;
        bottom: 0;
        overflow: auto;
    }

.relatedPhoto {
    margin-top: 30px;
    background-color: var(--neutral-900);
    color: var(--text-inverse);
}

    .relatedPhoto h1 {
        color: rgba(var(--rgb-white), 0.65);
        padding: 10px;
        font-size: 20px;
    }

    .relatedPhoto img {
        border: 1px solid var(--border-light);
    }

.metro_sb {
    float: right;
    width: 24%;
    margin: .5%;
}

    .metro_sb a {
        display: block;
        padding: 65px 0 5px 0;
        text-align: center;
        color: var(--text-inverse);
        font-weight: normal;
        font-family: 'Vazir', Tahoma, Arial, sans-serif;
        font-size: 14px;
        background: var(--blue-700);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        transition: var(--t-fast);
    }

        .metro_sb a:hover, .metro_sb_sel {
            color: var(--text-inverse);
            background: var(--blue-800);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

.user_btn {
    background: var(--blue-600) url('/theme/images/user_mico.png') no-repeat center 12px;
}

.group_btn {
    background: var(--blue-600) url('/theme/images/group_mico.png') no-repeat center 12px;
}

.rss_btn {
    background: var(--blue-600) url('/theme/images/rss_mico.png') no-repeat center 12px;
}

.inbox_btn {
    background: var(--blue-600) url('/theme/images/inbox_mico.png') no-repeat center 12px;
}

.setting_btn {
    background: var(--blue-600) url('/theme/images/setting_mico.png') no-repeat center 12px;
}

.list_btn {
    background: var(--blue-600) url('/theme/images/list_mico.png') no-repeat center 12px;
}

.list_ochart {
    background: var(--blue-600) url('/theme/images/list_ochart.png') no-repeat center 12px;
}


.photo_btn {
    background: var(--blue-600) url('/theme/images/photo_mico.png') no-repeat center 12px;
}

.car_btn {
    background: var(--blue-600) url('/theme/images/car_mico.png') no-repeat center 12px;
}

.poll_btn {
    background: var(--blue-600) url('/theme/images/poll_mico.png') no-repeat center 12px;
}

.an_msg {
    direction: rtl;
    background: var(--blue-800);
    color: var(--text-inverse);
    width: 35%;
    left: 32%;
    position: fixed;
    top: -200px;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    padding: 10px;
    z-index: 150000;
    box-shadow: var(--shadow-lg);
    border: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: all ease-in-out .6s;
}

    .an_msg.show {
        visibility: visible;
        opacity: 1;
        top: -2px;
    }

.an_msg_txt {
    font-weight: normal;
}


/*Gallery*/
.gallery_item, .gallery_cat_item {
    height: 150px;
    width: 135px;
    border: 0px solid transparent;
    float: right;
    margin: 9px;
    text-align: center;
    overflow: hidden;
}

.gallery_cat_item {
    background-color: var(--neutral-100);
    border-radius: var(--radius-lg);
}
/*Tables*/
.tblw {
    direction: rtl;
    width: 100%;
    border-collapse: collapse;
}

    .tblw tr td {
        padding: 5px 3px;
        text-align: right;
    }

    .tbl .tdLeft, .tblw .tdLeft {
        text-align: left;
    }

    .tbl .tdCen, .tblw .tdCen {
        text-align: center;
    }

    .tbl .tdTop, .tblw .tdTop {
        vertical-align: top;
    }

.tbl {
    direction: rtl;
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    overflow: hidden;
}

    .tbl tr td {
        padding: 5px 3px;
    }

    .tbl .alt {
        background-color: var(--neutral-100);
    }

    .tbl .thr {
        border-bottom: 2px solid var(--blue-600);
    }

.dataTbl {
    direction: rtl;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--t-fast);
}

    .dataTbl.Red {
        border-color: var(--red-600);
    }

    .dataTbl td {
        padding: 5px 3px;
    }

        .dataTbl td.bold {
            color: var(--blue-600);
            font-weight: 600;
        }

        .dataTbl td.HY {
            color: var(--red-600);
            font-weight: 600;
        }

        .dataTbl td.HG {
            color: var(--green-600);
            font-weight: 600;
        }

        .dataTbl td.top {
            vertical-align: top;
        }

        .dataTbl td.left {
            text-align: left;
        }

        .dataTbl td.cen {
            text-align: center;
        }

    .dataTbl thead tr {
        background: var(--neutral-800);
        color: var(--text-inverse);
    }

    .dataTbl.Red thead tr {
        background-color: var(--red-600);
        color: var(--text-inverse);
    }

    .dataTbl tbody tr:nth-child(odd) {
        background: var(--neutral-50);
    }

    .dataTbl tbody tr:nth-child(even) {
        background: var(--bg-card);
    }

    .dataTbl tbody tr.selected {
        background: var(--amber-50);
        color: var(--amber-900);
    }

    .dataTbl tbody tr {
        transition: var(--t-fast);
    }

    .dataTbl tbody tr:hover {
        background: var(--blue-50) !important;
        color: var(--blue-900) !important;
    }

        .dataTbl tbody tr:hover *:not(input) {
            color: var(--blue-900) !important;
        }

    .dataTbl.tblExp {
        border-color: var(--amber-300);
    }

        .dataTbl.tblExp thead td {
            background: var(--amber-700);
            color: var(--text-inverse);
        }

        .dataTbl.tblExp tbody td:nth-child(4) {
            background: rgba(var(--rgb-green), 0.12);
            text-align: center;
        }

        .dataTbl.tblExp tbody td:nth-child(5) {
            background: rgba(var(--rgb-blue), 0.12);
            text-align: center;
        }

        .dataTbl.tblExp tbody tr.IsBusy {
            background: var(--red-50);
        }

        .dataTbl.tblExp table.sum {
            width: 100%
        }

            .dataTbl.tblExp table.sum tr {
                background: none !important;
            }

                .dataTbl.tblExp table.sum tr td {
                    background: none !important;
                    border-bottom: 1px solid var(--border-light);
                }

                .dataTbl.tblExp table.sum tr:last-child td {
                    background: none !important;
                    border-bottom: medium none;
                }

            .dataTbl.tblExp table.sum td:nth-child(1) {
                width: 200px;
            }

    .dataTbl tr.trst_new td:nth-child(1) {
        background-color: var(--red-600);
    }

    .dataTbl.property tbody tr {
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-light);
    }

    .dataTbl tbody tr.trst_257 { background: var(--blue-50); color: var(--blue-900); }
    .dataTbl tbody tr.trst_269 { background: var(--purple-50); color: var(--purple-900); }
    .dataTbl tbody tr.trst_266 { background: var(--amber-50); color: var(--amber-900); }

    .dataTbl tbody tr.trst_252, .dataTbl tbody tr.trst_260, .dataTbl tbody tr.trst_271, .dataTbl tbody tr.trst_272 {
        background: var(--red-50);
        color: var(--red-900);
    }

    .dataTbl tbody tr.trst_274, .dataTbl tbody tr.trst_251, .dataTbl tbody tr.trst_264, .dataTbl tbody tr.trst_270, .dataTbl tbody tr.trst_271, .dataTbl tbody tr.trst_272 {
        background: var(--green-50);
        color: var(--green-900);
    }

    .dataTbl tbody tr.trst_261, .dataTbl tbody tr.trst_259, .dataTbl tbody tr.trst_253, .dataTbl tbody tr.trst_262 {
        background: var(--red-100);
        color: var(--red-900);
    }

    .dataTbl.crmForms {
        width: auto;
        margin: 10px auto;
    }

        .dataTbl.crmForms tbody tr td:nth-child(1) {
            background: rgba(var(--rgb-blue), 0.15);
            color: var(--text-heading);
            width: 100px;
            text-align: center;
        }

        .dataTbl.crmForms tbody tr td:nth-child(2) {
            background: rgba(var(--rgb-blue), 0.15);
            color: var(--text-heading);
            width: 200px;
        }

        .dataTbl.crmForms select {
            background-color: transparent;
            margin: 0 10px;
            border: 1px solid var(--border-default);
            border-radius: var(--radius-sm);
            padding: 4px 5px;
        }

            .dataTbl.crmForms select option {
                color: var(--text-heading) !important;
            }

    .dataTbl.complaint tbody tr td:nth-child(2) {
        background: rgba(var(--rgb-red), 0.72);
        color: var(--text-inverse);
        width: 100px;
        text-align: center;
        font-size: 19px;
    }

    .dataTbl.complaint tbody tr td:nth-child(3) {
        background: rgba(var(--rgb-ink), 0.72);
        color: var(--text-inverse);
        width: 100px;
        text-align: center;
    }

    .dataTbl.complaint tbody tr td:nth-child(4) {
        color: var(--text-inverse);
        width: 100px;
        text-align: center;
    }

.accTbl {
    border-color: var(--green-600);
}

    .accTbl input[type=text], .accTbl input[type=number] {
        min-width: 100%;
        width: 100%;
        box-sizing: border-box;
        border: medium none;
        background: transparent !important;
        padding: 0;
        margin: 0;
        outline: none;
        box-shadow: none;
    }

    .accTbl td:nth-child(1) {
        width: 70px;
        text-align: center;
    }

    .accTbl tbody tr:hover input {
        color: var(--text-inverse);
    }

    .accTbl td:nth-child(1) input {
        text-align: center;
        width: 70px;
    }

    .accTbl thead tr {
        background: var(--green-700);
        color: var(--text-inverse);
    }

    .accTbl tfoot tr {
        background: var(--red-700);
        color: var(--text-inverse);
        font-weight: bold;
    }

    .accTbl td.price {
        background: rgba(var(--rgb-green), 0.10);
        text-align: center;
    }

    .accTbl td.sumPrice {
        background: rgba(var(--rgb-red), 0.10);
        text-align: center;
    }


.dataTbl.AccountList {
    border-color: var(--purple-200);
}

    .dataTbl.AccountList thead tr {
        background: var(--purple-700);
        color: var(--text-inverse);
    }

    .dataTbl.AccountList td:nth-child(1) {
        width: 120px;
        text-align: center;
        font-weight: bold;
    }

    .dataTbl.AccountList td:nth-child(3),
    .dataTbl.AccountList td:nth-child(4),
    .dataTbl.AccountList td:nth-child(5) {
        width: 130px;
        text-align: center;
    }

    .dataTbl.AccountList tr[data-type='بد'] td:nth-child(6),
    .dataTbl.AccountList tr[data-type='بد'] td:nth-child(3) {
        font-weight: 700;
        color: var(--amber-600);
    }

    .dataTbl.AccountList tr[data-type='بس'] td:nth-child(4),
    .dataTbl.AccountList tr[data-type='بس'] td:nth-child(6) {
        font-weight: 700;
        color: var(--blue-600);
    }

    .dataTbl.AccountList tfoot tr {
        background: var(--purple-700);
        color: var(--text-inverse);
        font-weight: bold;
    }


.dataTbl.AccountTran {
    border-color: var(--blue-200);
}

    .dataTbl.AccountTran thead tr {
        background: var(--blue-700);
        color: var(--text-inverse);
    }

    .dataTbl.AccountTran td:nth-child(1),
    .dataTbl.AccountTran td:nth-child(2),
    .dataTbl.AccountTran td:nth-child(3),
    .dataTbl.AccountTran td:nth-child(4) {
        text-align: center;
    }

    .dataTbl.AccountTran td:nth-child(6),
    .dataTbl.AccountTran td:nth-child(7),
    .dataTbl.AccountTran td:nth-child(8) {
        width: 115px;
        text-align: center;
    }

    .dataTbl.AccountTran td:nth-child(9) {
        text-align: center;
    }

    .dataTbl.AccountTran tr[data-type='بد'] td:nth-child(6),
    .dataTbl.AccountTran tr[data-type='بد'] td:nth-child(9) {
        font-weight: 700;
        color: var(--amber-600);
    }

    .dataTbl.AccountTran tr[data-type='بس'] td:nth-child(7),
    .dataTbl.AccountTran tr[data-type='بس'] td:nth-child(9) {
        font-weight: 700;
        color: var(--blue-600);
    }

    .dataTbl.AccountTran tfoot tr {
        background: var(--blue-700);
        color: var(--text-inverse);
        font-weight: bold;
    }

a.tBtn {
    padding: 3px 12px;
    background: var(--neutral-600);
    color: var(--text-inverse);
    display: inline-block;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--t-fast);
}

    a.tBtn.E {
        background: var(--green-600);
    }

    a.tBtn.D {
        background: var(--red-600);
    }

    a.tBtn.A {
        background: var(--blue-600);
    }

    a.tBtn:hover {
        background: var(--red-700);
        filter: brightness(0.88);
    }

.tbarCont {
    margin: 10px 0;
    border-bottom: 2px solid var(--border-light);
    color: var(--text-body);
}

.tbar {
    float: right;
    margin-left: 5px;
}

.tbarL {
    float: left;
    margin-right: 5px;
}

.tbar, .tbarL {
    padding: 10px 5px 15px 5px;
}

    .tbar .up, .tbarL .up {
        height: 32px;
        font-weight: normal;
    }

    .tbar .down, .tbarL .down {
        height: 32px;
    }
/*Style*/
.box_stat_bk {
    background: url('/theme/images/stat_bk.gif') 20px center no-repeat;
}

.box_poll_bk {
    background: url('/theme/images/poll_bk.gif') 20px center no-repeat;
}

.box_msg {
    background: url('/theme/images/msg_bk.gif') left top no-repeat;
}

.sbox_wbody {
    width: 300px;
    text-align: right;
    margin-bottom: 15px;
}

.sbox_body {
    width: 300px;
    text-align: right;
    margin-bottom: 15px;
    background: var(--bg-card);
}

.sbox_header {
    background: url('/theme/images/sbox_hc.gif') repeat-x;
}

.box_body {
    width: 100%;
    text-align: right;
    margin-bottom: 15px;
    background: var(--bg-card);
}

.box_header {
    background-color: var(--neutral-900);
    color: var(--text-inverse);
    height: 60px;
}

.box_header_r {
    float: right;
}

.box_header_l {
    float: left;
}

.box_header h1, .sbox_header h1 {
    color: var(--text-inverse);
    display: block;
    float: right;
    padding: 8px 8px 0 0;
    margin: 0;
    font-size: 15px;
}

.box_body_t {
    padding: 0px 10px;
    min-height: 130px;
}

.sty_main_body {
    width: 100%;
    text-align: right;
}

.sty_main_header {
    background: url('/theme/images/main_hc.gif') repeat-x;
}

.sty_main_header_r {
    float: right;
}

.sty_main_header_l {
    float: left;
}

.sty_menr_body_text {
    padding: 3px 5px;
    text-align: right;
}

.sty_menr_header {
    background: url("/theme/images/menr_hc.gif") repeat-x;
}

.sty_menr_header_t {
    float: right;
    display: block;
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 15px;
    padding: 7px 7px 0 0;
    color: var(--text-inverse);
}

.sty_menr_header_l {
    float: left;
}

.sty_body {
    min-width: 1010px;
    width: 100%;
    background: var(--bg-page);
}

.sty_bodyPad {
    margin: 0 25px 0 25px;
}

.sty_bot {
    clear: both;
    background: url('/theme/images/bot_c.gif') repeat-x;
    height: 105px;
    text-align: right;
    color: var(--text-body);
    margin-bottom: 20px;
}

    .sty_bot a {
        color: var(--text-body);
    }

        .sty_bot a:hover {
            color: var(--blue-600);
        }

.ul1 {
    list-style-image: url('/theme/images/li1.gif');
    list-style-position: inside;
    padding: 0px;
    margin: 0px;
}

.clr {
    clear: both;
    line-height: 0;
    margin: 0;
    padding: 0;
    height: 0;
}

.hide {
    display: none !important;
}
/*P style*/
hr {
    margin: 5px 0px 10px 0px;
    color: var(--border-default);
}

.tbold1 {
    color: var(--blue-600);
    font-weight: normal;
}

.tgray {
    color: var(--text-body);
}

.hightlight {
    color: var(--blue-600) !important;
    padding: 5px 0 !important;
    font-weight: normal;
}

.bold {
    font-weight: normal;
}

/*H style*/
.bigtext {
    padding: 15px;
    font-size: 26pt;
}

h1, h2, .htext {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    margin: 0 0 5px 0;
}

.h2text {
    font-size: 17px;
    color: var(--red-600);
}

.bodytext h1 {
    font-size: 22pt;
    margin: 15px 0;
    display: block;
}

.bodytext h2 {
    font-size: 14pt;
    margin: 10px 0;
    display: block;
}

.bodytext h3 {
    font-size: 12pt;
    margin: 10px 0;
    display: block;
}

.bodytext h4 {
    font-size: 12pt;
    margin: 10px 0;
    display: block;
}

h2, h3 {
    margin: 0px;
    font-size: 10pt;
    display: inline;
}

body, .body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    margin: 0px;
    padding: 0;
}

body, SELECT, OPTION, INPUT, TEXTAREA, table td {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    font-size: 15px;
}

/*Site Element*/
.txtH {
    display: none;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

.txtB {
    width: 450px;
}

.txtS {
    width: 210px;
}

.DrpSM {
    width: 210px;
    height: 300px;
}

.DrpS {
    width: 209px;
}

.txtSSS {
    width: 70px;
}

.txtSSSS {
    width: 40px;
    text-align: center;
}

.DrpSS {
    width: 100px;
}

.DrpSSS {
    width: 70px;
}

.txtSS {
    width: 110px;
}

.lstB {
    width: 170px;
    height: 200px;
}

.txtM {
    width: 209px;
    height: 80px;
}

.txtBM {
    width: 450px;
    height: 100px;
}

.txtBBM {
    width: 450px;
    height: 250px;
}

.txtSM {
    width: 250px;
    height: 80px;
}

.txtSSM {
    width: 200px;
    height: 80px;
}

.txtB, .txtS, .txt100, .txtSS, .txtSSS, .txtSSSS, .txtM, .txtBM, .txtBBM, .DrpS, .DrpSM, .DrpSS, .DrpSSS, .DrpF, .lstB, .lstBB, .txtSM, .txtSSM {
    border: 1px solid var(--border-default);
    border-right-width: 4px;
    border-right-color: var(--blue-400);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-body);
    padding: 5px 9px;
    font-family: inherit;
    font-weight: normal;
    margin-bottom: 7px;
    box-shadow: var(--shadow-inset);
    transition: var(--t-fast);
}

.txt100 {
    width: 92%;
    padding: 3px 4%;
}

.btn, input[type=button], input[type=reset], input[type=submit] {
    border-style: none;
    border-width: medium;
    font-weight: normal;
    background: var(--blue-600);
    color: var(--text-inverse);
    border-radius: var(--radius-md);
    margin-bottom: 7px;
    margin-left: 5px;
    padding: 6px 18px;
    cursor: pointer;
    min-width: 90px;
    box-shadow: 0 1px 4px rgba(var(--rgb-blue),0.30);
    transition: var(--t-fast);
}

input.btnBigCen {
    display: block;
    margin: 13px auto !important;
    width: 270px;
    background: var(--green-600);
    padding: 8px;
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    box-shadow: 0 2px 8px rgba(var(--rgb-green),0.30);
}

    input.btnBigCen.gry {
        background-color: var(--neutral-500);
        box-shadow: none;
    }

select[disabled], input[disabled], textarea[disabled] {
    background-color: var(--neutral-100);
    color: var(--neutral-500);
}

input.req, select.req {
    background: var(--input-req-bg);
    border-right-color: var(--amber-600);
}

input:focus, select:focus {
    border-color: var(--border-focus);
    border-right-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(var(--rgb-blue),0.12), var(--shadow-inset);
    outline: none;
}

input:disabled, select:disabled, input[readonly] {
    background: var(--neutral-100) !important;
    color: var(--neutral-500) !important;
    border-color: var(--neutral-200) !important;
    cursor: not-allowed;
    box-shadow: none;
}

#tblStatus tr[data-url]:nth-child(2) {
}

#tblStatus tr[data-url] {
    transition: var(--t-fast);
}

    #tblStatus tr[data-url]:hover {
        background: var(--blue-50);
        color: var(--blue-700);
        cursor: pointer;
    }

.alert_off, .alert_on {
    display: block;
    width: 26px;
    height: 26px;
    background-image: url('images/alarmIco.png');
}

.alert_on, alert_off:hover {
    background-position: 0 -31px;
}

.btn:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    background: var(--blue-700);
    box-shadow: 0 4px 12px rgba(var(--rgb-blue),0.35);
    transform: translateY(-1px);
    cursor: pointer;
}

.btn[disabled] {
    background: var(--neutral-300);
    color: var(--neutral-500);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

p {
    padding: 0px;
    margin: 0px;
}

INPUT {
    padding: 1pt 5pt;
}

INPUT, select {
    outline: none;
}

SELECT, OPTION {
    PADDING-LEFT: 2pt;
}

TEXTAREA {
    padding: 1pt 4px;
}

a {
    COLOR: var(--blue-600);
    TEXT-DECORATION: none;
    transition: var(--t-fast);
}

    a:hover {
        color: var(--red-600);
        text-decoration: none;
    }

.slink {
    font-weight: normal;
}

img {
    padding: 0px;
    margin: 0px;
}

hr {
    background-color: var(--border-default);
}

.WCalender {
    float: right;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--text-body);
    width: 290px;
    text-align: center;
}

    .WCalender .pad {
        padding: 7px;
    }

    .WCalender .Month {
        font-size: 17px;
        color: var(--text-heading);
        margin-bottom: 10px;
    }

    .WCalender .GMonth {
        font-size: 14px;
        color: var(--text-muted);
    }

    .WCalender .i, .WCalender .e {
        width: 35px;
        height: 35px;
        margin: 4px 0 4px 4px;
        float: right;
    }

    .WCalender .i {
        cursor: pointer;
        color: var(--text-body);
        float: right;
        border-radius: var(--radius-sm);
        background: var(--neutral-100);
        line-height: 35px;
        transition: var(--t-fast);
    }

        .WCalender .i.vacation {
            background: var(--red-50);
            color: var(--red-700);
        }

        .WCalender .i.current {
            background: var(--blue-600);
            color: var(--text-inverse);
            box-shadow: 0 2px 6px rgba(var(--rgb-blue),0.35);
        }

        .WCalender .i:hover {
            background: var(--neutral-800);
            color: var(--text-inverse);
        }

#calEvents {
    text-align: right;
    padding-top: 10px;
    color: var(--text-body);
}

    #calEvents .hdate {
        float: right;
        color: var(--blue-600);
        font-size: 18px
    }

    #calEvents .gdate {
        direction: ltr;
        font: 16px arial;
        color: var(--text-muted);
        float: left;
    }

#clockBody {
    margin: 5px;
    width: 168px;
    position: relative;
    overflow: hidden;
    border-radius: 1000px;
    background: var(--blue-700);
    padding: 5px;
    border: 2px solid rgba(var(--rgb-white), 0.25);
    box-shadow: var(--shadow-md);
}

#clock {
    width: 100%;
    opacity: 1;
}

#sec {
    position: absolute;
}

#min {
    display: block;
    position: absolute;
}

#hour {
    display: block;
    position: absolute;
}

/*Style*/
form {
    padding: 0;
    margin: 0;
}

.body {
    direction: rtl;
    width: 100%;
}

    .body .mid {
        margin: 15px;
        min-height: 500px;
    }

.box_right {
    width: auto;
    z-index: 100;
    overflow: hidden;
    margin-left: 325px;
    column-count: 2;
    column-fill: initial;
    column-gap: 20px;
}

.box_left {
    width: var(--sidebar-width);
    float: left;
    z-index: 101;
}

.logo {
    height: var(--header-height);   /* 115px — FIXED, do not reduce */
    width: 100%;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 40%, var(--blue-700) 100%);
    position: relative;
    box-shadow: 0 2px 12px rgba(var(--rgb-blue-900),0.25);
}

    .logo .logoIco {
        background: url(images/hdr-logo.png) no-repeat 100% 50%/auto 100%;
        width: 510px;
        height: 99px;
        float: right;
        margin: 10px 10px 0 0;
    }

    .logo .profile {
        float: left;
        height: 100%;
        background: url(images/logoBk.png?v21) no-repeat 100% 0;
        width: 560px;
        margin-left: 67px;
    }

        .logo .profile .ico {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            border: 3px solid rgba(var(--rgb-white), 0.30);
            box-shadow: 0 2px 8px rgba(var(--rgb-black),0.20);
            float: left;
            margin: 18px 10px 0 10px;
            background-size: 107% auto;
            background-position: 50% 0px;
            background-color: var(--bg-card);
            background-repeat: no-repeat;
        }

        .logo .profile .name {
            float: left;
            margin-top: 30px;
            color: var(--text-inverse);
        }

        .logo .profile a {
            color: var(--text-inverse);
        }

            .logo .profile a:hover {
                color: var(--color-gold-hover);
                transition: var(--t-fast);
            }

.bottom {
    height: var(--footer-height);
    width: 100%;
    background: var(--neutral-100);
    border-top: 1px solid var(--border-light);
}

    .bottom .cpy {
        float: right;
        background: url(images/cpyIco.png) no-repeat right 0/auto 100%;
        padding: 3px 36px;
        color: var(--text-muted);
        display: inline-block;
        margin: 5px 10px 0 0;
    }

    .bottom .eg {
        background: url(images/egIco.png) no-repeat left 0/auto 90%;
        display: inline-block;
        float: left;
        color: var(--text-muted);
        padding: 3px 38px;
        margin: 6px 0 0 10px;
    }

        .bottom .eg:hover {
            color: var(--blue-600) !important;
        }

    .bottom * { color: var(--text-muted) !important; }

.LBox {
    margin-bottom: 20px;
}

.MBox {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

    .MBox:hover { box-shadow: var(--shadow-lg); }

.box_right .MBox {
    break-inside: avoid;
    z-index: 100;
}

.MBox.ClockWeacher .bpad {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

    .MBox.ClockWeacher .bpad #clockBody {
        float: right;
    }

.MBox.ClockWeacher .weatherCont {
    margin-right: 200px;
    border-right: 2px solid var(--border-light);
}

.MBox.ClockWeacher select {
    background-color: rgba(var(--rgb-white), 0.5);
    border: medium none;
    width: auto;
}

.MBox .head {
    position: relative;
    height: 38px;
    background: var(--neutral-800);
    padding: 0 12px;
    display: flex;
    align-items: center;
}

    .MBox .head:after {
        position: absolute;
        content: '';
        right: 0px;
        width: 40px;
        height: 100%;
        background: url(icons/expand.svg) no-repeat 50% 60%/25px auto;
    }

    .MBox .head a {
        float: left;
        color: rgba(var(--rgb-white), 0.75);
        background: rgba(var(--rgb-white), 0.10);
        padding: 4px 10px;
        border-radius: var(--radius-sm);
        font-size: 13px;
        transition: var(--t-fast);
    }

        .MBox .head a:hover {
            background: rgba(var(--rgb-white), 0.20);
            color: var(--text-inverse);
        }

.MBox h1 {
    color: var(--text-inverse);
    padding: 7px 38px 0 0;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}

.MBox h2 {
    color: var(--blue-600);
    padding: 5px 0;
    font-size: 18px;
    display: inline-block;
}

.MBox .bpad {
    padding: 14px;
    overflow: hidden;
    z-index: 0;
    position: relative;
}

.slideMain {
    width: 100% !important;
    overflow: hidden;
    text-align: left;
    position: relative;
    z-index: 0;
}

.MBox .bpad:after {
    display: block;
    content: '';
    clear: both;
}

.MBox .bpad.cen {
    text-align: center;
}

.MBox.red .head {
    background: var(--red-700);
}

@media screen and (max-width: 1270px) {
    .box_right {
        column-count: 1;
    }
}

@media screen and (min-width: 1850px) {
    .box_right {
        column-count: 3;
    }
}


/*ComboBox*/
.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: -1px;
    margin-right: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
}

.custom-combobox a {
    background: var(--blue-600);
    padding: 5px 10px;
    color: var(--text-inverse);
    border-radius: var(--radius-pill);
    margin-right: 5px;
    cursor: pointer;
    transition: var(--t-fast);
}

    .custom-combobox a:hover {
        background: var(--blue-700);
    }


/*FieldTable*/
.FieldTable {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 15px;
}

    .FieldTable.center {
        margin: 0 auto;
    }

    .FieldTable ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .FieldTable ul li {
            padding: 4px 8px;
            margin: 3px 0.4%;
            width: 49%;             /* 2-column — do NOT change to 100% */
            float: right;
            border-radius: var(--radius-md);
            min-height: 54px;
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-sm);
            box-sizing: border-box;
            transition: var(--t-fast);
        }

            .FieldTable ul li:hover {
                border-color: var(--border-default);
            }

            .FieldTable ul li.P33 {
                width: 32%;
            }

            .FieldTable ul li.P100 {
                width: 99%;
            }

            .FieldTable ul li.br {
                clear: both;
            }

            .FieldTable ul li.Header {
                clear: both;
                float: right;
                font-size: 15pt;
                background: transparent;
                border: none;
                border-bottom: 2px solid var(--blue-600);
                border-radius: 0;
                box-shadow: none;
                margin-bottom: 10px;
                min-height: 38px;
                width: 99%;
            }

            .FieldTable ul li.Cmnt {
                color: var(--red-600);
            }

            .FieldTable ul li.Red {
                background: var(--amber-50);
                color: var(--amber-900);
                border-color: var(--amber-200);
            }

            .FieldTable ul li h1 {
                padding: 6px 0;
                color: var(--blue-700);
                margin: 0;
                font-size: 15px;
            }

            .FieldTable ul li b {
                vertical-align: top;
                display: inline-block;
                padding: 12px 5px 0 5px;
                width: 165px;
                font-weight: normal;
                color: var(--text-muted);
                font-size: 13px;
            }

            .FieldTable ul li i {
                display: inline;
                font-style: normal;
                color: var(--blue-400);
                padding: 0 4px;
            }

            .FieldTable ul li.P33 b {
                width: 70px;
            }

            .FieldTable ul li p {
                display: inline-block;
                padding: 8px 5px 0 0;
            }

            /*Custom*/
            .FieldTable ul li.NPlate {
                margin-bottom: 12px;
                background: var(--blue-50);
                border-color: var(--blue-200);
                color: var(--text-body);
            }


                .FieldTable ul li.NPlate spl {
                    display: inline-block;
                    min-width: 162px;
                    padding: 5px 11px;
                }

                .FieldTable ul li.NPlate .numberplate {
                    float: none;
                    display: block;
                    margin: 10px auto;
                }


/*Initial Visit Item*/
.ivField {
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin: 3px 0.5%;
    padding: 0.5%;
    width: 31%;
    float: right;
}

    .ivField label {
        padding-left: 5px;
        color: var(--text-muted)
    }

    .ivField span {
        display: block;
        padding-bottom: 5px;
        color: var(--text-body);
    }

    .ivField input[type=text] {
        width: 160px;
    }

.ivfHead {
    display: block;
    padding: 5px;
    color: var(--red-600);
    font-size: 16px;
}

.ulogs h1 {
    color: var(--neutral-600);
    padding: 10px 0;
    border-bottom: 2px solid var(--border-light);
}

.ulogs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ulogs li {
    float: right;
    margin: 5px;
    padding: 2px 10px;
    background: var(--blue-50);
    color: var(--blue-700);
    border-radius: var(--radius-pill);
}


.BnewsRecord {
    width: 50%;
    margin-bottom: 13px;
    float: right;
    box-sizing: border-box;
    display: block;
    position: relative;
    padding: 15px;
}

    .BnewsRecord:after {
        display: block;
        content: '';
        clear: both;
    }

    .BnewsRecord.Home {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
        float: none;
    }

        .BnewsRecord.Home:last-child {
            border-bottom: medium none;
        }

    .BnewsRecord .img {
        float: right;
    }

        .BnewsRecord .img img {
            border-radius: var(--radius-md);
        }

    .BnewsRecord .text {
        text-align: justify;
        line-height: 20px;
        color: var(--text-body);
        margin-right: 140px;
    }

        .BnewsRecord .text p {
            font-size: 13px;
        }

    .BnewsRecord h1 {
        padding: 0;
        color: var(--blue-700);
    }

        .BnewsRecord h1 a {
            font-size: 12pt;
            font-weight: bold;
        }

    .BnewsRecord .text .date {
        float: right;
        margin-top: 5px;
        color: var(--amber-600);
        font-weight: 700;
        float: left;
    }


/*NumberPlate*/
.numberplate {
    width: 261px;
    height: 57px;
    background-image: url('/theme/images/platebk.png');
    float: left;
    margin: 4px;
}

.numberplate_pad {
    direction: ltr;
    padding: 10px 0 0 35px;
    float: left;
}

.numberplate_iran {
    float: right;
    display: block;
    padding: 16px 10px 0 0;
}

.numberplate input {
    direction: ltr;
}

.numberplate input, .numberplate select {
    margin-bottom: 0px;
    padding: 3pt 1pt;
    color: var(--text-body);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    text-align: center;
}

.numberplate_txt2 {
    width: 52px;
}

.numberplate_txt {
    width: 40px;
}

.numberplate_drp {
    width: 50px;
}

li.req input, li.req select {
    background: var(--input-req-bg);
    border-color: var(--amber-600);
}

.ErrorList {
    background: var(--amber-50) url(images/alertIco.png?V1) no-repeat 100% center;
    color: var(--red-700);
    padding: 8px 90px 8px 8px;
    border: 1px solid var(--amber-300);
    border-radius: var(--radius-md);
    margin: 10px 0;
}

    .ErrorList ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .ErrorList h3 {
        font-size: 16px;
        padding: 7px 0;
        display: block;
    }




.BoxBirthDate, .BoxMaritalDate {
    width: 100%;
    height: 260px;
    background: url(/uploads/birth.jpg) no-repeat 100% 0;
    margin: 10px 0;
}

.BoxMaritalDate {
    background: url(/uploads/marital.jpg) no-repeat 100% 0;
}

    .BoxBirthDate p, .BoxMaritalDate p {
        padding: 180px 5px 5px 5px;
    }


/*EmpPerformance*/
.loading {
    position: absolute;
    background: rgba(var(--rgb-neutral-50), 0.88) url(/theme/images/loading2.gif) no-repeat 50% 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 70000;
}

    .loading.show {
        display: block;
    }

#tblEmpPer td {
    text-align: center;
}

    #tblEmpPer td:first-child {
        text-align: right;
    }

    #tblEmpPer td.thead {
        background: var(--neutral-800);
        color: var(--text-inverse);
    }

#tblEmpPer tbody tr:nth-child(even) {
    background-color: var(--neutral-50);
}

#tblEmpPer tbody td:hover {
    transition: all ease-in .2s;
    background: var(--amber-50);
    color: var(--amber-900);
    cursor: pointer;
}


/*Messages*/
.msgBtn {
    position: absolute;
    left: 10px;
    top: 20px;
    width: 52px;
    height: 80px;
    border-radius: 50%;
    background: var(--blue-800) url(/theme/images/newmsgIco.png) no-repeat 50% 40%;
    text-align: center;
    transition: var(--t-base);
    box-shadow: var(--shadow-lg);
    z-index: 1000000000;
}

    .msgBtn > a {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .msgBtn.Blink {
        background-color: var(--amber-600);
    }

    .msgBtn:hover {
        background-color: var(--neutral-900);
    }

    .msgBtn .cnt {
        color: var(--text-inverse);
        border-radius: var(--radius-pill);
        padding-top: 46px;
        font-weight: bold;
    }

    .msgBtn .men {
        z-index: 1000;
        text-align: right;
        width: 300px;
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 0;
        transition: all ease-in-out .3s;
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
        box-shadow: var(--shadow-lg);
        color: var(--text-body);
        font: 14px 'Vazir', Tahoma;
    }

        .msgBtn .men li {
            border-bottom: 1px solid var(--border-light);
            padding: 5px;
            margin: 2px 0;
            cursor: pointer;
            color: var(--text-body);
            transition: var(--t-fast);
        }

            .msgBtn .men li p {
                padding: 4px 0;
            }

            .msgBtn .men li i {
                color: var(--blue-600);
                font-style: normal;
            }

            .msgBtn .men li:hover {
                background: var(--blue-50);
            }

            .msgBtn .men li:last-child {
                border-bottom: medium none;
            }

    .msgBtn:hover .men {
        visibility: visible;
        opacity: 1;
    }

/*MainMen*/
.MainMen {
    width: 100%;
    height: var(--nav-height);
    background: var(--neutral-900);
    border-bottom: 1px solid rgba(var(--rgb-white), 0.06);
    text-align: right;
    clear: both;
}

    .MainMen ul {
        margin: 0px;
        padding: 0px;
        list-style: none;
    }

        .MainMen ul li {
            float: right;
            position: relative;
            z-index: 100000;
        }

li#btnMenSettings {
    float: left;
    background: rgba(var(--rgb-white), 0.08) url(icons/settings.svg) no-repeat 5px 3px/40px auto;
    padding-left: 40px;
    border-radius: 0 100px 100px 0;
}

    li#btnMenSettings * {
        color: rgba(var(--rgb-white), 0.85);
    }

.MainMen ul ul li.hasChilds {
    background-image: url(images/leftArr.png);
    background-repeat: no-repeat;
    background-size: 15px auto;
    background-position: 5px 50%;
}

.MainMen .submenu {
    float: right;
    z-index: 1000000001;
    position: absolute;
    right: 0px;
    top: 49px;
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 5px 0;
}

    .MainMen .submenu a {
        display: block;
        color: var(--text-body);
        height: 35px;
        line-height: 35px;
        cursor: pointer;
        position: relative;
        width: 170px;
        font-size: 14px;
        transition: var(--t-fast);
    }

        .MainMen .submenu a:hover {
            color: var(--blue-600);
            background: var(--blue-50);
        }

    .MainMen .submenu span {
        display: block;
        padding: 4px;
    }

.MainMen .menitem {
    line-height: 48px;
    display: block;
    height: 47px;
    text-decoration: none;
    color: rgba(var(--rgb-white), 0.85);
    padding: 0 10px;
    direction: rtl;
    position: relative;
    z-index: 33;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: var(--t-fast);
}

    .MainMen .menitem b {
        position: absolute;
        left: 10px;
        top: 9px;
        background: var(--color-gold);
        color: var(--color-gold-dark);
        padding: 2px 8px;
        display: inline-block;
        line-height: 20px;
        border-radius: var(--radius-pill);
        font-size: 11px;
        box-shadow: 0 1px 4px rgba(var(--rgb-black),0.20);
    }

.MainMen ul ul {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .3s;
    transform: scale(.3);
    transition-delay: .1s;
    transform-origin: 100% 0;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.MainMen li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transform-origin: 100% 0;
    z-index: 1000000000;
}

.MainMen > ul ul li {
    min-width: 220px;
}

.MainMen > ul li a {
    line-height: 35px;
    display: block;
    height: 40px;
    text-decoration: none;
    color: var(--text-body);
    padding: 0 10px;
    direction: rtl;
    font-size: 14px;
}

.MainMen ul ul li:hover {
    background: var(--blue-50);
}

    .MainMen ul ul li:hover > a {
        color: var(--blue-600);
    }

.MainMen ul ul li ul {
    top: 8px;
    right: 100%;
}


.MainMen .menitem:hover, .MainMen .menselected {
    background: rgba(var(--rgb-white), 0.08) !important;
    text-decoration: none;
    color: var(--text-inverse);
}

.MainMen > ul > li:after {
    transition: all ease-in-out .3s;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    background-color: rgba(var(--rgb-white), 0.08);
    content: '';
    bottom: 50%;
    opacity: 0;
}

.MainMen > ul > li:hover:after {
    opacity: 1;
    top: 0;
    bottom: 0;
}




/*FilePhotos*/
.FilePhotos h2 {
    clear: both;
    display: block;
    margin: 10px 0;
    font-size: 15px;
}

.photoItem {
    padding: 5px 11px;
    margin: 0 5px;
    float: right;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--t-fast);
}

    .photoItem:hover {
        background: var(--neutral-800);
        color: var(--text-inverse);
        box-shadow: var(--shadow-md);
    }

        .photoItem:hover a {
            color: var(--text-inverse);
        }

.endPhotoItem {
    clear: both;
}



.homeShortcut {
    text-align: center;
}

    .homeShortcut div {
        display: inline-block;
    }

        .homeShortcut div a {
            display: inline-block;
            width: 138px;
            background-image: url("images/shortcut.png");
            background-repeat: no-repeat;
            padding: 120px 10px 10px 10px;
            color: var(--neutral-600);
            transition: var(--t-fast);
        }

            .homeShortcut div a:hover {
                color: var(--blue-600);
            }

.submitLoading,
.loadinPanel{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--rgb-neutral-50), 0.88) url(images/loading.gif) no-repeat 50% 50%/60px auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
}

    .submitLoading.show,
    .loadinPanel.show {
        opacity: 1;
        visibility: visible;
        transition: all ease-in-out .4s;
    }

    .submitLoading:before,
    .loadinPanel:before {
        content: 'چند لحظه صبر کنید';
        position: absolute;
        top: 50%;
        text-align: center;
        display: block;
        width: 100%;
        margin-top: 40px;
        color: var(--blue-600);
    }


body.LoginBody {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-950) 100%);
    min-height: 100vh;
    direction: rtl;
}

.login {
    border-top: medium none;
    border-bottom: medium none;
    z-index: 15000;
    background: rgba(var(--rgb-white), 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--rgb-white), 0.20);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(var(--rgb-black),0.35), 0 4px 16px rgba(var(--rgb-black),0.20);
    margin-top: -261px;
    margin-right: 10%;
    width: 522px;
    padding: 40px 0;
    top: 50%;
    position: absolute;
}

    .login .tblw {
        color: rgba(var(--rgb-white), 0.90);
    }

.login_panell {
    border-radius: 15px;
    width: 520px;
    background: url(/theme/images/loginBk.png) no-repeat 50% 10px/auto 200px;
    display: inline-block;
}

    .login_panell .txt {
        color: rgba(var(--rgb-white), 0.90);
        padding: 230px 94px 4px 4px;
        text-align: right;
        line-height: 35px;
    }

.login_panell_txt input[type=text], .login_panell_txt input[type=password] {
    border: none medium;
    background: rgba(var(--rgb-white), 0.15);
    border: 1px solid rgba(var(--rgb-white), 0.30);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
}

    .login_panell_txt input::placeholder {
        color: rgba(var(--rgb-white), 0.55);
    }

    .login_panell_txt input:focus {
        background: rgba(var(--rgb-white), 0.22);
        border-color: rgba(var(--rgb-white), 0.60);
        outline: none;
    }

.login input[type=submit],
.login input[type=button] {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
    border: 1px solid rgba(var(--rgb-white), 0.20);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(var(--rgb-blue),0.45);
    transition: var(--t-base);
}

    .login input[type=submit]:hover,
    .login input[type=button]:hover {
        background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
        box-shadow: 0 6px 24px rgba(var(--rgb-blue),0.60);
        transform: translateY(-1px);
    }

.alert {
    padding: 20px;
    text-align: center;
}

    .alert img {
        padding: 10px;
    }

    .alert h1 {
        color: var(--red-600);
    }


.Calendar {
    position: relative;
    min-height: 460px
}

    .Calendar:after {
        content: '';
        display: block;
        clear: both;
    }

    .Calendar .cal .week:after {
        clear: both;
        content: '';
        display: block;
    }

    .Calendar .cal .day {
        width: 14.2%;
        background: var(--neutral-100);
        border: 1px solid var(--bg-card);
        float: right;
        min-height: 137px;
        position: relative;
        box-sizing: border-box;
        cursor: default;
    }

        .Calendar .cal .day .item {
            direction: ltr;
            padding: 10px 44px 7px 7px;
            font: 15px Roboto;
            border-radius: var(--radius-pill);
            display: inline-block;
            margin: 5px;
            cursor: pointer;
            position: relative;
            color: var(--text-inverse);
        }

            .Calendar .cal .day .item p {
                color: var(--text-muted);
                position: absolute;
                top: 3px;
                right: 4px;
                border-radius: var(--radius-pill);
                background: var(--bg-card);
                padding: 2px 0;
                width: 28px;
                text-align: center;
                font: 15px 'Vazir';
            }

            .Calendar .cal .day .item:hover {
                background-color: var(--neutral-800) !important;
            }

        .Calendar .cal .day span {
            color: var(--text-muted);
            position: absolute;
            top: 20px;
            left: 5px;
            font: 14px tahoma;
        }

        .Calendar .cal .day.none {
            background-color: transparent;
            border: medium none;
            cursor: default;
        }

    .Calendar.big .cal .day.dow {
        text-align: center;
        height: 37px !important;
        font-size: 16px !important;
        color: var(--neutral-400);
    }

    .Calendar.small .cal .day.dow {
        text-align: center;
        height: 20px !important;
    }

    .Calendar .cal .day.isVacation {
        background: var(--red-50);
        color: var(--red-700);
    }

    .Calendar .cal .day.hasEvent {
        box-shadow: inset 0 0 0 2px var(--amber-600);
    }


    .Calendar.selectDate .cal .day {
        min-height: 50px;
        cursor: pointer;
    }

        .Calendar.selectDate .cal .day.selected {
            background: var(--green-600);
            color: var(--text-inverse);
        }

    .Calendar.small .cal .day.selected {
        background: var(--green-600);
        color: var(--text-inverse);
    }

    /*Cal Theme*/
    .Calendar.small .nav {
        position: relative;
    }

    .Calendar.small .gMonthName {
        text-align: center;
        font: 21px Roboto;
        padding: 7px;
        color: var(--green-700);
    }

    .Calendar.small .monthName {
        text-align: center;
        font-size: 20px;
        padding: 4px;
        color: var(--blue-700);
    }

    .Calendar.small .next, .Calendar.small .prev {
        position: absolute;
        top: 16px;
        font-size: 17px;
        text-decoration: none;
        padding: 0;
        border-radius: var(--radius-pill);
        color: var(--neutral-400);
        transition: var(--t-fast);
    }

    .Calendar.small .prev {
        left: 0;
        text-align: left;
    }

    .Calendar.small .next {
        right: 0;
    }

        .Calendar.small .next:hover, .Calendar.small .prev:hover {
            color: var(--blue-700);
        }

    .Calendar.small .cal .day {
        min-height: 50px;
        border: none;
        margin: .5%;
        width: 13.2%;
        border-radius: var(--radius-md);
        padding-right: 4px;
    }

    /*HomeCal*/
    .Calendar.homeCal {
        width: 96%;
        padding: 2%;
    }

        .Calendar.homeCal .cal .day {
            min-height: 36px;
            width: 13.2%;
            background: var(--neutral-100);
            color: var(--text-body);
        }

            .Calendar.homeCal .cal .day.hasEvent {
                box-shadow: inset 0 0 0px transparent;
            }

            .Calendar.homeCal .cal .day span {
                font: 11px tahoma;
            }

            .Calendar.homeCal .cal .day.none {
                background-color: transparent;
            }

            .Calendar.homeCal .cal .day.isVacation {
                background: var(--red-50);
                color: var(--red-700);
            }

                .Calendar.homeCal .cal .day.isVacation span, .Calendar.homeCal .cal .day.selected span {
                    color: var(--text-inverse);
                }

            .Calendar.homeCal .cal .day.selected {
                background: var(--green-600);
                color: var(--text-inverse);
            }

.frmAddApp {
    padding: 20px;
    position: absolute;
    background-color: rgba(var(--rgb-ink), 0.88);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .5s;
}

    .frmAddApp.show {
        opacity: 1;
        visibility: visible;
    }

    .frmAddApp table {
        width: 100%;
    }

    .frmAddApp td {
        color: rgba(var(--rgb-white), 0.75);
        padding: 3px;
        vertical-align: top;
    }

    .frmAddApp .htitle {
        font-size: 34px;
        padding: 10px 2px;
    }

    .frmAddApp input[type=text], .frmAddApp select, .frmAddApp textarea {
        border-radius: var(--radius-sm);
        border: 1px solid rgba(var(--rgb-white), 0.3);
        color: var(--text-inverse);
        padding: 4px 7px;
        background-color: transparent;
        outline: none;
        transition: var(--t-fast);
    }

        .frmAddApp input[type=text]:focus, .frmAddApp select:focus, .frmAddApp textarea:focus {
            border-color: var(--green-600);
        }

    .frmAddApp input[type=button] {
        border: 1px solid rgba(var(--rgb-white), 0.5);
        color: rgba(var(--rgb-white), 0.9);
        background-color: transparent;
    }

        .frmAddApp input[type=button]:hover {
            color: var(--text-heading);
            background-color: rgba(var(--rgb-white), 0.9);
        }

    .frmAddApp textarea {
        width: 90%;
        height: 120px;
    }

    .frmAddApp select option {
        color: var(--text-heading);
    }

    .frmAddApp input[type=text] {
        min-width: 90%;
    }

    .frmAddApp input[name='Finish'], .frmAddApp input[name='Start'] {
        direction: ltr;
        min-width: 60%;
    }

.calApps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .calApps ul li {
        padding: 0;
        margin: 7px 0;
        border: 1px solid var(--amber-200);
        border-radius: var(--radius-sm);
        background: var(--amber-50);
        position: relative;
    }

        .calApps ul li b {
            padding: 5px;
            display: block;
        }

        .calApps ul li p {
            display: block;
            padding: 0 5px 5px 5px;
            color: var(--amber-700);
        }

        .calApps ul li .start, .calApps ul li .finish {
            position: absolute;
            left: 7px;
            bottom: 5px;
            color: var(--blue-700);
            line-height: 17px;
        }

        .calApps ul li .finish {
            left: 60px;
            border-left: 2px solid var(--blue-700);
            padding-left: 7px;
        }

        .calApps ul li a {
            position: absolute;
            display: block;
            left: 10px;
            top: 7px;
            width: 25px;
            height: 25px;
            background-repeat: no-repeat;
            background-size: 75% auto;
            background-position: 50% 50%;
            background-image: url(images/appDel.png);
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-default);
            opacity: .4;
            transition: var(--t-fast);
        }

            .calApps ul li a[data-type='edit'] {
                background-image: url(images/appEdit.png);
                left: 45px
            }

            .calApps ul li a:hover {
                opacity: 1;
            }

#calEvents {
    clear: both;
    color: var(--green-700);
    padding: 7px 4px;
    font-size: 16px;
}


.ExpertiseFee select {
    font-size: 20px;
    width: 150px;
    margin: 7px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 4px;
    border: medium none;
}

.ExpertiseFee .TableCont {
    width: 100%;
    overflow: auto;
}

.ExpertiseFee table {
    border-collapse: collapse;
}

    .ExpertiseFee table td {
        padding: 6px;
        text-align: center;
    }

    .ExpertiseFee table thead tr {
        background: var(--blue-700);
        color: var(--text-inverse);
    }

    .ExpertiseFee table thead td {
        text-align: center;
        vertical-align: middle;
    }

    .ExpertiseFee table input[type=text] {
        text-align: center;
        width: 100%;
        min-width: 100px;
        margin: 0;
        border: medium none;
        background-color: transparent;
        padding: 0;
    }

    .ExpertiseFee table thead tr:nth-child(2) {
        background: var(--teal-700);
    }

    .ExpertiseFee table thead tr td:nth-child(1) {
        background: var(--bg-card);
        position: relative;
        z-index: 2;
    }

    .ExpertiseFee table tbody tr td:nth-child(1),
    .ExpertiseFee table tbody tr td:nth-child(2) {
        min-width: 220px;
        background: var(--neutral-800);
        color: var(--text-inverse);
        text-align: right;
        position: relative;
        z-index: 2;
    }

    .ExpertiseFee table tbody tr:nth-child(odd) td:nth-child(1),
    .ExpertiseFee table tbody tr:nth-child(odd) td:nth-child(2) {
        background: var(--neutral-700);
    }


    .ExpertiseFee table tbody tr:nth-child(even) {
        background: rgba(var(--rgb-blue-700), 0.10);
    }

    .ExpertiseFee table thead tr:first-child td:nth-child(2n+2) {
        background: rgba(var(--rgb-white), 0.2);
    }

    .ExpertiseFee table tbody tr td:nth-child(8n+3),
    .ExpertiseFee table tbody tr td:nth-child(8n+4),
    .ExpertiseFee table tbody tr td:nth-child(8n+5),
    .ExpertiseFee table tbody tr td:nth-child(8n+6),
    .ExpertiseFee table tbody tr td:nth-child(8n+7),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+2),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+3),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+4),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+5),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+6),
    .ExpertiseFee table thead tr:nth-child(2) td:nth-child(8n+7) {
        background: rgba(var(--rgb-blue-700), 0.10);
    }

.ExpertiseFee.Car table tbody tr td:nth-child(5),
.ExpertiseFee.Car table tbody tr td:nth-child(4) {
    background-color: transparent;
}

.ExpertiseFee.Car table tbody tr td:nth-child(3n+2),
.ExpertiseFee.Car table tbody tr td:nth-child(3n+3),
.ExpertiseFee.Car table tbody tr td:nth-child(3n+4),
.ExpertiseFee.Car table thead tr:nth-child(2) td:nth-child(4n+2),
.ExpertiseFee.Car table thead tr:nth-child(2) td:nth-child(4n+3) {
    background: rgba(var(--rgb-blue-700), 0.10);
}

.ExpertiseFee table tbody tr:hover td {
    background: rgba(var(--rgb-amber-action), 0.20) !important;
    color: var(--text-heading);
}

.ExpertiseFee #btnSave {
    margin: 20px auto;
    display: block;
    font-size: 20px;
    background: var(--red-700);
    width: 300px;
}

.crmSearchFile {
    background: var(--neutral-100);
    padding: 10px;
    border-radius: var(--radius-lg);
    width: 550px;
    margin: 10px auto;
    text-align: center;
}

    .crmSearchFile > * {
        margin: 5px;
    }

    .crmSearchFile input[type=submit] {
        background: var(--green-600);
    }

.modalCrmFill {
    background: var(--bg-card);
    position: fixed;
    z-index: 999999;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
    height: 80%;
    width: 900px;
    overflow: auto;
    top: 10%;
    left: 50%;
    transform: translate(-50%,0);
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .8s;
}

    .modalCrmFill.show {
        visibility: visible;
        opacity: 1;
    }

    .modalCrmFill h1 {
        font-size: 23px;
        color: var(--blue-600);
        padding: 10px 0;
    }

    .modalCrmFill a.close {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 8px 12px 3px 12px;
        border-radius: var(--radius-pill);
        background: var(--red-600);
        color: var(--text-inverse);
        line-height: 25px;
        font-size: 20px;
        transition: var(--t-fast);
    }

        .modalCrmFill a.close:hover {
            background: var(--red-700);
        }

    .modalCrmFill .tbl tr {
        border-bottom: 1px solid var(--border-default);
    }

    .modalCrmFill .tbl > tbody > tr > td {
        padding: 9px;
    }

    .modalCrmFill .tbl tr input[type=text], .modalCrmFill .tbl tr select {
        margin: 0;
    }

.dataTbl.crm thead tr td:nth-child(3), .dataTbl.crm thead tr td:nth-child(2) {
    text-align: center;
}

.dataTbl.crm tbody tr td:nth-child(3) {
    background: rgba(var(--rgb-green-700), 0.36);
    width: 150px;
    text-align: center;
    color: var(--green-900);
    font: 15px tahoma;
    font-weight: bold;
}

.dataTbl.crm tbody tr td:nth-child(2) {
    background: rgba(var(--rgb-red), 0.53);
    width: 150px;
    text-align: center;
    color: var(--text-inverse);
    font: 15px tahoma;
    font-weight: bold;
}


/* Style the tab */
.tab {
    overflow: hidden;
    border-bottom: 3px solid var(--red-600);
    text-align: center;
}

    .tab div {
        color: var(--red-600);
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font: inherit;
        display: inline-block;
    }

        .tab div:hover {
            background-color: var(--red-50);
        }

        .tab div.active {
            background-color: var(--red-600);
            color: var(--text-inverse);
        }

.tabcontent {
    display: none;
    padding: 17px;
    border-top: none;
    margin: 0 auto;
    width: 900px;
}

    .tabcontent:after {
        display: block;
        content: '';
        clear: both;
    }

.TblInfo {
    width: 900px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .TblInfo > div {
        margin: .5%;
        border: 1px solid var(--border-default);
        width: 49%;
        box-sizing: border-box;
        padding: 7px;
        border-radius: var(--radius-sm);
    }

        .TblInfo > div b {
            display: inline-block;
            width: 150px;
            color: var(--blue-700);
            font-weight: normal;
        }

.crmNewAct {
    padding: 21px 0;
    text-align: center;
}

    .crmNewAct select {
        border-radius: var(--radius-md);
        border: 1px solid var(--border-default);
        padding: 4px 7px;
        margin-left: 10px;
        min-width: 180px;
    }

    .crmNewAct a {
        display: inline-block;
        padding: 6px 30px;
        background: var(--amber-600);
        border-radius: var(--radius-md);
        color: var(--text-inverse);
        transition: var(--t-fast);
    }

        .crmNewAct a:hover {
            background: var(--neutral-600);
        }

.crmActTbl {
    border-collapse: collapse;
    width: 100%;
}

    .crmActTbl > tbody > tr > td, .crmActTbl > thead > tr > td {
        padding: 5px;
        border: 1px solid var(--blue-700);
    }

    .crmActTbl > thead > tr {
        background: var(--blue-700);
        color: var(--text-inverse);
    }

    .crmActTbl tr.trMore {
        display: none;
    }

        .crmActTbl tr.trMore.show {
            display: table-row;
        }

    .crmActTbl td .more {
        background: var(--red-700);
        width: 100%;
        display: block;
        text-align: center;
        color: var(--text-inverse);
        padding: 3px 0;
        transition: var(--t-fast);
    }

        .crmActTbl td .more:hover {
            background: var(--red-600);
        }

    .crmActTbl > tbody > tr:nth-child(4n+1) {
        background-color: var(--neutral-100);
    }

.formGen {
    width: 100%;
}

    .formGen > div {
        padding: 0;
        margin: 1px 0 1px 1%;
        width: 49%;
        float: right;
        border-radius: var(--radius-md);
        min-height: 49px;
        box-sizing: content-box;
    }

        .formGen > div > label {
            vertical-align: top;
            display: inline-block;
            padding: 12px 5px 0 5px;
            width: 165px;
            font-weight: normal;
        }

        .formGen > div > span {
            display: inline-block;
            padding: 8px 5px 0 0;
        }

        .formGen > div > h2 {
            font-size: 20px;
            width: 100%;
            color: var(--red-600);
            border-bottom: 2px solid var(--red-600);
            display: block;
        }

        .formGen > div .chks {
            margin: 0;
            padding: 0;
            list-style: none;
        }

            .formGen > div .chks li {
                display: inline-block;
                padding: 5px 0 5px 5px;
            }

        .formGen > div textarea, .formGen > div input[type=text], .formGen > div select {
            border: 1px solid var(--border-default);
            padding: 4px 10px;
            margin: 0;
            min-width: 200px;
            border-radius: var(--radius-sm);
        }

        .formGen > div .date, .formGen > div .number {
            text-align: left;
            direction: ltr;
        }

        .formGen > div textarea {
            height: 100px;
            min-width: 250px;
        }

    .formGen > input[type=submit] {
        float: right;
        width: 40%;
        padding: 7px 0;
        clear: right;
        display: block;
        margin: 20px 30%;
        border: 2px solid var(--blue-600);
        background-color: var(--bg-card);
        color: var(--blue-600);
    }

    .formGen > .btnBack {
        float: right;
        width: 40%;
        padding: 7px 0;
        clear: right;
        display: block;
        margin: 0 30% 20px 30%;
        border: 2px solid var(--neutral-400);
        background-color: var(--bg-card);
        color: var(--neutral-500);
    }

        .formGen > input[type=submit]:hover, .formGen > .btnBack:hover {
            border-color: var(--blue-600);
            background-color: var(--blue-600);
            color: var(--text-inverse);
        }

    .formGen:after {
        content: '';
        display: block;
        clear: both;
    }

.ui-autocomplete {
    z-index: 9999991 !important;
}

#btn_version {
    text-align: left;
    direction: rtl;
    font-size: 15px;
    margin: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

    #btn_version p {
        color: rgba(var(--rgb-white), 0.75);
        padding: 0;
    }

    #btn_version b {
        display: inline-block;
        padding: 3px 20px;
        background: var(--neutral-900);
        color: var(--text-inverse);
        border-radius: var(--radius-md);
        margin-top: 10px;
        font-weight: normal;
        cursor: pointer;
        transition: var(--t-fast);
    }

        #btn_version b:hover {
            background: var(--green-600);
        }




.msgOver, .modalOver {
    z-index: 9999999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--rgb-ink), 0.45);
}

.modalOver {
    display: none;
    z-index: 50000;
}

.msgBox {
    z-index: 9999999999;
    position: fixed;
    top: 40%;
    left: 50%;
    width: 450px;
    min-height: 170px;
    margin: -100px 0 0 -225px;
    box-shadow: var(--shadow-lg);
    color: var(--text-body);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    font: 16px 'Vazir';
    -webkit-animation: animMsg .4s;
}

    .msgBox .pad {
        padding: 7px;
    }

    .msgBox .icon {
        margin: 10px 10px 0 0;
        float: right;
        width: 85px;
        height: 85px;
        background-image: url(images/msgBoxIco.png);
        background-repeat: no-repeat;
        background-size: 85px auto;
    }

        .msgBox .icon.er {
            background-position: 0 -177px;
        }

        .msgBox .icon.wr {
            background-position: 0 0;
        }

        .msgBox .icon.qs {
            background-position: 0 -88px;
        }

        .msgBox .icon.ok {
            background-position: 0 0;
        }

    .msgBox .msg {
        float: right;
        padding: 46px 15px 0 0;
        width: 318px;
        text-align: right;
    }

        .msgBox .msg ul {
            list-style: disc;
            padding: 0 15px;
        }

    .msgBox .btns {
        clear: both;
        text-align: center;
    }

        .msgBox .btns input {
            background: var(--neutral-600);
            display: inline-block;
            border: medium none;
            border-radius: var(--radius-pill);
            padding: 6px;
            color: var(--text-inverse);
            text-align: center;
            min-width: 80px;
            margin: 5px;
            cursor: pointer;
            -webkit-appearance: none;
            transition: var(--t-fast);
        }

            .msgBox .btns input:focus, .msgBox .btns input:hover {
                background: var(--blue-600);
            }

.modal {
    z-index: 0;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    position: fixed;
    left: 50%;
    top: 50%;
    transition: all 0.3s ease-out;
    visibility: hidden;
    opacity: 0;
    border-radius: var(--radius-xl);
    width: 500px;
    height: 500px;
    margin: -250px 0 0 -250px;
}

    .modal h1 {
        color: var(--blue-600);
        font: 24px 'Vazir';
        padding: 6px 0;
        border-bottom: 1px solid var(--border-default);
        display: block;
    }

    .modal a.close {
        position: absolute;
        top: 5px;
        left: 10px;
        border-radius: var(--radius-pill);
        padding: 9px 12px 3px 12px;
        background: var(--neutral-500);
        color: var(--text-inverse);
        font-size: 20px;
        transition: var(--t-fast);
    }

        .modal a.close:hover {
            background: var(--red-600);
        }

    .modal h2 {
        color: var(--blue-700);
        font: 20px 'Vazir';
        padding: 0 0 7px 0;
    }

        .modal h2.lblMsg {
            background: url(okIco.png) no-repeat 50% 20px/110px;
            padding-top: 140px;
            text-align: center;
        }


    .modal .pad {
        padding: 10px 10px 10px 10px;
    }

        .modal .pad.HasBotBtn {
            position: absolute;
            top: 48px;
            left: 0;
            right: 0;
            bottom: 47px;
        }

    .modal .modalBtns {
        position: absolute;
        bottom: 0;
        height: 37px;
        padding: 5px;
        left: 0;
        right: 0;
        background-color: var(--neutral-100);
    }

        .modal .modalBtns.center {
            text-align: center;
        }

    .modal.open {
        z-index: 60000;
        opacity: 1;
        visibility: visible;
        -webkit-animation: animMsg ease-in-out .4s;
    }


.FieldTable ul li sp {
    width: 32.3%;
    display: inline-block;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--teal-600);
    background-color: var(--teal-50);
    box-sizing: border-box;
    margin: .5%;
}

    .FieldTable ul li sp.red {
        border: 1px solid var(--red-600);
        background-color: var(--red-50);
    }

.plateExm {
    color: var(--teal-600);
}

input.mapAppDirection {
    margin: 10px 0 0 10px;
    background: var(--green-600) !important;
    border-radius: var(--radius-sm);
}


.checkList {
    height: 300px;
    overflow: hidden;
    width: 350px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

    .checkList .search {
        margin: 5px 2%;
        padding: 4px 2%;
        width: 92%;
        background: var(--neutral-100);
        border: medium none;
        border-radius: var(--radius-md);
    }

    .checkList .list {
        height: 258px;
        overflow: auto;
    }

.ReportFilter .fright {
    float: right;
    width: auto;
}

.ReportFilter .fclear {
    clear: both;
}

.ReportList {
    padding: 20px;
}

    .ReportList > h3 {
        display: block;
        font: 21px 'Vazir';
        border-bottom: 2px solid var(--teal-600);
        color: var(--teal-600);
        padding: 5px 0;
        margin-bottom: 10px;
        clear: both;
    }

    .ReportList a {
        width: 24%;
        float: right;
        height: 90px;
        box-shadow: var(--shadow-sm);
        background: var(--teal-50) url(images/reportbIco.png) no-repeat 97% 50%/45px auto;
        margin: .5%;
        border-radius: var(--radius-sm);
        box-sizing: border-box;
        padding-right: 55px;
        transition: var(--t-fast);
    }

        .ReportList a b {
            font-weight: normal;
            padding: 10px;
            display: block;
            color: var(--teal-600);
        }

        .ReportList a p {
            padding: 0 10px;
            font: 14px tahoma;
            color: var(--text-body);
        }

        .ReportList a:hover {
            background-color: var(--teal-600);
            color: var(--text-inverse);
        }

            .ReportList a:hover * {
                color: var(--text-inverse);
            }

.MenuSettings {
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .3s;
}

    .MenuSettings.show {
        visibility: visible;
        opacity: 1;
        background-color: rgba(var(--rgb-ink), 0.8);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000000;
    }

    .MenuSettings .panel {
        background: var(--bg-card);
        width: 500px;
        height: 100%;
        position: absolute;
        left: -80%;
        top: 0;
        opacity: .3;
        transition: all ease-in-out .4s;
    }

    .MenuSettings.show .panel {
        left: 0;
        opacity: 1;
    }

    .MenuSettings .bk {
        left: 500px;
        top: 0;
        right: 0;
        bottom: 0;
        position: absolute;
    }

    .MenuSettings .items {
        overflow: auto;
        position: absolute;
        top: 100px;
        right: 10px;
        left: 10px;
        bottom: 20px;
    }

        .MenuSettings .items:after {
            display: block;
            content: '';
            clear: both;
        }

    .MenuSettings .search {
        border: medium none;
        border-radius: var(--radius-md);
        background: var(--neutral-100);
        margin: 10px auto;
        display: block;
        padding: 7px;
        direction: rtl;
        width: 70%;
    }

    .MenuSettings h1 {
        text-align: center;
        font-size: 23px;
        padding: 15px 0 0 0;
        display: block;
        color: var(--blue-700);
    }

    .MenuSettings a.close {
        position: absolute;
        top: 0px;
        left: 0px;
        background: var(--red-600);
        display: block;
        padding: 3px 10px;
        color: var(--text-inverse);
        border-radius: 0 0px var(--radius-md) 0;
        font-weight: bold;
        transition: var(--t-fast);
    }

        .MenuSettings a.close:hover {
            background: var(--red-700);
        }

    .MenuSettings .items > div {
        float: right;
        width: 32.3%;
        text-align: center;
        border: 1px solid var(--border-default);
        box-sizing: border-box;
        border-radius: var(--radius-sm);
        margin: .5%;
        height: 110px;
        overflow: hidden;
        transition: all ease .3s;
        background-position: 50% 10px;
        background-repeat: no-repeat;
        background-size: auto 70px;
    }

        .MenuSettings .items > div a {
            display: block;
            padding-top: 80px;
            color: inherit;
        }

        .MenuSettings .items > div:hover {
            background: var(--blue-50);
            color: var(--blue-700);
        }

body.smallBody .body {
    transform: scale(.85);
    transform-origin: right center;
    height: 100%;
    overflow: hidden;
}

.slideMain {
    direction: ltr;
}

#boxPhonebook .search {
    width: 100%;
    padding: 7px 2.5%;
    border-radius: var(--radius-md);
    border: medium none;
    background: var(--neutral-100);
}


.w_panel {
    padding: 5px;
}

.w_loading {
    padding: 10px;
    text-align: center;
    display: none;
}

.w_today {
    font-size: 16pt;
}

.w_p_today {
    width: 100%;
    height: 130px;
    overflow: hidden;
    direction: ltr;
    background-position: right top;
    background-size: 100%;
    background-repeat: no-repeat;
    background-size: auto 120%;
}

.PollLiItem {
    border-bottom: 1px solid var(--border-default);
    padding: 5px 0;
    display: block;
}

    .PollLiItem:last-child {
        border-bottom: none;
    }

    .PollLiItem span {
        display: block;
        color: var(--text-body);
    }


.FileNotes {
    position: fixed;
    left: 47px;
    z-index: 100000;
    top: 150px;
    border-radius: var(--radius-lg);
    background: var(--amber-50);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    direction: rtl;
    width: 400px;
    transition: all ease-in-out .4s;
}

    .FileNotes.Show {
        bottom: 10px;
    }

    .FileNotes .btnClose {
        position: absolute;
        right: 10px;
        top: 5px;
        font-size: 20px;
        font-weight: bold;
        color: var(--red-600);
    }

    .FileNotes .cont {
        display: none;
    }

    .FileNotes.Show .cont {
        display: block;
    }

    .FileNotes .btnShowNotes {
        position: absolute;
        top: -59px;
        left: 0;
        border-radius: var(--radius-sm);
        background: var(--green-600);
        color: var(--text-inverse);
        padding: 8px 12px;
        direction: rtl;
        cursor: pointer;
        transition: var(--t-fast);
    }

        .FileNotes .btnShowNotes:hover {
            background: var(--red-600);
        }

        .FileNotes .btnShowNotes b {
            display: inline-block;
            padding: 0px 5px;
            margin-right: 10px;
            text-align: center;
            min-width: 15px;
            background: var(--neutral-900);
            border-radius: var(--radius-pill);
        }

    .FileNotes h2 {
        text-align: center;
        display: block;
        font-size: 20px;
        padding: 12px;
        color: var(--amber-700);
        font-weight: bold;
    }

    .FileNotes .list > div {
        border-top: 1px solid var(--border-default);
    }

        .FileNotes .list > div:after, .homeNotes > div:after {
            display: block;
            content: '';
            clear: both;
        }

        .FileNotes .list > div .tBtn {
            float: left;
            background-color: transparent;
            color: var(--blue-600);
            border: 1px solid var(--blue-600);
            margin-bottom: 3px;
            border-radius: var(--radius-sm);
            transition: var(--t-fast);
        }

            .FileNotes .list > div .tBtn:hover {
                background: var(--blue-600);
                color: var(--text-inverse);
            }

        .FileNotes .list > div i, .homeNotes > div i {
            font-size: 13px;
            font-style: normal;
            color: var(--amber-700);
        }

        .FileNotes .list > div p, .homeNotes > div p {
            padding: 4px 0;
        }

    .FileNotes .list {
        position: absolute;
        top: 49px;
        left: 10px;
        right: 10px;
        bottom: 135px;
        overflow: auto;
    }

    .FileNotes .add {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 0px;
        overflow: auto;
    }

        .FileNotes .add textarea {
            border: medium none;
            border-radius: var(--radius-sm);
            width: 96%;
            padding: 2%;
            height: 57px;
        }

        .FileNotes .add input[type=submit] {
            float: left;
            margin: 10px 0;
            background: var(--amber-600);
        }

            .FileNotes .add input[type=submit]:hover {
                background: var(--blue-700);
            }

.homeNotes {
    height: 360px;
    overflow: auto;
}

    .homeNotes div {
        background: linear-gradient(90deg, var(--amber-50) 0%, var(--amber-100) 100%);
        margin: 5px;
        border-radius: var(--radius-md);
        padding: 5px 10px;
        cursor: pointer;
        transition: var(--t-fast);
    }

        .homeNotes div:hover {
            background: linear-gradient(90deg, var(--amber-100) 0%, var(--amber-200) 100%);
        }

    .homeNotes > div b {
        color: var(--blue-600);
    }

    .homeNotes > div i {
        color: var(--text-body);
        text-align: left;
        display: block;
    }

.verticalTableHeader {
    text-align: center;
    white-space: nowrap;
    transform: rotate(-90deg);
}

    .verticalTableHeader p {
        margin: 0 -100%;
        display: inline-block;
    }

        .verticalTableHeader p:before {
            content: '';
            width: 0;
            padding-top: 110%; /* takes width as reference, + 10% for faking some extra padding */
            display: inline-block;
            vertical-align: middle;
        }

.expCriteria {
    text-align: center;
    table-layout: fixed;
    width: 100%;
}

    .expCriteria tr td:nth-child(1) {
        width: 150px;
        background: rgba(var(--rgb-blue-700), 0.13);
    }

    .expCriteria tr td:nth-child(4) {
        width: 120px;
        background: rgba(var(--rgb-ink), 0.35)
    }




.fileUploadPrevCont {
    display: flex !important;
    gap: 23px;
    flex-wrap: wrap;
    flex-direction: row;
    width: 800px;
}

    .fileUploadPrevCont .fileUploadPrev {
        width: 218px;
        background: var(--blue-50) url(images/selectCamIco.png) no-repeat 50% 30px/60px auto;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        border-radius: var(--radius-md);
    }

        .fileUploadPrevCont .fileUploadPrev.multipleFile:after,
        .fileUploadPrevCont .fileUploadPrev.otherFile:after {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            height: 120px;
            content: 'چند فایل انتخاب شده است';
            text-align: center;
            color: var(--text-inverse);
            padding-top: 47px;
            display: block;
            background: var(--green-600);
            box-sizing: border-box;
        }

        .fileUploadPrevCont .fileUploadPrev.otherFile:after {
            content: 'فایل انتخاب شده است';
        }

        .fileUploadPrevCont .fileUploadPrev input {
            display: none;
        }

        .fileUploadPrevCont .fileUploadPrev img {
            display: block;
            height: 120px;
            width: 100%;
            opacity: 0;
        }

        .fileUploadPrevCont .fileUploadPrev.hasFile:not(.multipleFile ) img,
        .fileUploadPrevCont .fileUploadPrev.hasFile:not(.otherFile ) img {
            opacity: 1;
        }

        .fileUploadPrevCont .fileUploadPrev a {
            position: absolute;
            top: 0;
            left: 10px;
            border-radius: 0 0 10px 10px;
            background: var(--red-600);
            padding: 2px 12px;
            color: var(--text-inverse);
            font-weight: bold;
            display: none;
            z-index: 5;
        }

        .fileUploadPrevCont .fileUploadPrev.hasFile a {
            display: block;
        }

        .fileUploadPrevCont .fileUploadPrev select {
            width: 100%;
            border: none !important;
            outline: none;
            background: var(--border-default);
            border-radius: 0;
            appearance: none;
            text-align: center;
            font-size: 12px;
            padding: 8px 0;
            margin: 0;
        }
