﻿@font-face {
    font-family: 'irsans';
    src: url('../../Fonts/IRANSans(FaNum)_Light.eot'); /* IE9 Compat Modes */
    src: url('../../Fonts/IRANSans(FaNum)_Light.woff');
    src: url('../../Fonts/IRANSans(FaNum)_Light.woff2');
    src: url('../../Fonts/IRANSans(FaNum)_Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../../Fonts/IRANSans(FaNum)_Light.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    display: block;
}

body {
    font-family: 'irsans';
    direction: rtl;
    text-align: right;
    width: 100%;
    font-size: 14px;
    background: #f9f9f9;
}

p {
    font-family: 'irsans';
    font-weight: 400;
    line-height: 24px;
    color: #222;
}

    p:focus {
        border: none;
        outline: 0;
    }

a, button {
    text-decoration: none;
    outline: none !important;
    color: #007bff;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

    a:hover,
    a:focus {
        text-decoration: none;
        color: #000;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol {
    padding-left: 0;
}

.dir-ltr {
    direction: ltr;
}

.text-underline {
    background: transparent;
    border: 0 none;
    /*text-decoration: underline;*/
    border-bottom: 1px solid #007bff;
}

    .text-underline:hover {
        font-weight: bold;
        color: #007bff;
        margin-bottom: -1px;
        border-bottom: 2px solid #007bff;
        /*text-decoration: underline;*/
    }

.tooltip, .popover:not(.datepicker) {
    z-index: 99998;
    font-family: 'irsans';
}

.popover:not(.datepicker) {
    box-shadow: 0 0 750px 60px #000;
}

.btn:focus,
button:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: 0;
}

.btn.disabled, .btn:disabled {
    background: #aaa;
    border-color: #aaa;
}

a[data-toggle="popover"] {
    cursor: pointer;
}

.popover:not(.datepicker) {
    max-width: 50%;
}

@media(max-width: 878px) {
    .popover:not(.datepicker) {
        max-width: 95%;
    }
}

.popover:not(.datepicker) .popover-header {
    border-bottom: 2px solid #007bff;
    font-weight: bold;
    background: #007bff;
    color: #fff;
}

.popover:not(.datepicker) .popover-body {
    padding: 5px;
    background: #fcfcfc;
    text-align: justify;
}

    .popover:not(.datepicker) .popover-body ol {
        padding: 0 20px 0 0;
        margin: 0;
    }

img {
    max-width: 100%;
}

.mb-0 {
    margin-bottom: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.ov-h {
    overflow: hidden;
}

.btn,
button,
input,
textarea {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.font-size-0 {
    font-size: 0;
}

canvas {
    max-width: 100%;
}

.btn {
    border-radius: 3px;
}

.btn-secondary {
    color: #fff;
    background-color: #999;
    border-color: #999;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #bbb;
        border-color: #bbb;
    }
/******Scrol bar ******/
::-webkit-scrollbar {
    width: 8px;
    height: 7px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px #007bff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }
/* Global Styles */
/***  NavBar , Nav  ***/
header.header {
    background: #fff;
    border-bottom: 2px solid #007bff;
    -webkit-box-shadow: none;
    box-shadow: none;
    clear: both;
    padding: 0 15px;
    height: 75px;
    position: fixed;
    right: 280px;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
}

    header.header .navbar-header {
        background-color: #fff;
        white-space: nowrap;
    }

    header.header .menutoggle {
        background-color: transparent;
        color: #444 !important;
        cursor: pointer;
        font-size: 22px;
        width: 65px;
        text-align: center;
    }

        header.header .menutoggle > div {
            font-size: 11px;
            padding: 0;
            line-height: 12px;
            font-weight: bold;
        }

    header.header .navbar-header > a {
        display: inline-block;
    }

    header.header .navbar-brand {
        margin-right: 0;
        text-align: right;
    }

        header.header .navbar-brand img {
            max-height: 60px;
            vertical-align: bottom;
        }

    header.header h1, header.header h2, header.header h3 {
        font-size: 20px;
        padding: 15px 5px;
        font-weight: bold;
        color: #007bff;
        text-shadow: 0 0 1px #007bff;
        display: inline-block;
    }

header .mw-280 {
    min-width: 280px;
}

.user-area {
    float: left;
    padding-left: 0;
    padding: 0 10px;
    direction: ltr;
    text-align: left;
}

    .user-area .dropdown-toggle {
        line-height: 25px;
        height: 72px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
    }

        .user-area .dropdown-toggle:before {
            content: "";
            position: absolute;
            left: -3px;
            bottom: 18px;
            background: #54a667;
            width: 11px;
            height: 11px;
            border-radius: 100%;
            border: 2px solid white;
            z-index: 1;
        }

        .user-area .dropdown-toggle::after {
            display: none;
        }

    .user-area .user-avatar {
        width: 45px;
    }

    .user-area a .user-info {
        text-align: center;
        direction: rtl;
        line-height: 25px;
        padding: 20px 0 5px;
        white-space: nowrap;
    }

    .user-area .user-info .name {
        color: #272a2f;
        font-size: 14px;
        position: relative;
        padding-left: 10px;
        font-weight: bold;
    }

    .user-area a .user-info:after {
        display: block;
        text-align: center;
        top: -4px;
        position: relative;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 20px;
        color: #007bff;
        margin-bottom: -15px;
        margin-left: -35px;
    }

    .user-area .user-menu {
        background: #fff;
        border: none;
        right: inherit !important;
        margin: 0;
        padding: 5px 10px;
        position: absolute;
        width: 100%;
        z-index: 999;
        min-width: 150px;
        text-align: right;
        -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
        direction: rtl;
    }

        .user-area .user-menu .nav-link {
            color: #272a2f;
            display: block;
            font-size: 13px;
            line-height: 22px;
            padding: 5px 0;
        }

            .user-area .user-menu .nav-link > i {
                margin-left: 10px;
            }

            .user-area .user-menu .nav-link:hover {
                color: #007bff;
            }

    .user-area .btn-role {
        cursor: default !important;
    }

        .user-area .btn-role:hover {
            background-color: #999;
            border-color: #999;
        }

@media(max-width:767px) {
    .user-area .dropdown-toggle {
        height: 45px;
    }

    .user-area a .user-info:after {
        top: -9px;
    }

    .user-area .user-avatar {
        width: 40px;
    }

    .user-area .dropdown-toggle:before {
        bottom: 2px;
    }
}

main {
    margin-top: 75px;
    min-height: calc(100vh - 110px);
}

.sidenav {
    overflow-x: scroll;
    background: #272a2f;
    height: 100vh;
    padding: 0;
    vertical-align: top;
    -webkit-box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
    box-shadow: 1px 0 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    right: 0;
    bottom: 0;
    top: 75px;
    z-index: 9999;
    width: 280px;
    max-width: 280px;
    /*transition: all 0.3s ease-in;*/
}

.navbar {
    background: #000;
    border-radius: 0;
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: top;
    padding-top: 15px;
    min-height: 100%;
    align-items: flex-start;
    padding-bottom: 30px;
}

    .navbar .main-menu {
        padding: 0;
        padding-bottom: 50px;
    }

    .navbar .navbar-nav {
        position: relative;
        padding-right: 0;
        width: 100%;
    }

        .navbar .navbar-nav > li {
            padding-left: 15px;
            padding-right: 20px;
            width: 100%;
        }

        .navbar .navbar-nav li > a {
            background: none !important;
            color: #dbdbdb;
            display: inline-block;
            font-size: 14px;
            line-height: 26px;
            padding: 10px 0;
            position: relative;
            width: 100%;
            border-bottom: 1px solid #50555e;
        }

            .navbar .navbar-nav li > a:hover {
                color: #007bff;
                font-weight: bold;
            }

.main-content {
    margin-right: 280px;
    padding: 15px 0;
}

body .main-content {
    transition: margin-right 0.3s ease-in;
}

.main-content .card {
    background: #fff;
    border-radius: 2px;
    border: 0px solid transparent;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    min-height: calc(100vh - 105px);
    transition: all 0.7s;
    width: calc(100% - 280px);
    margin-right: 280px;
}

.main-content .card-body {
    padding: 20px 15px;
}

.card .box-title {
    font-weight: 600;
    font-size: 1.25em;
    padding: 0px 25px 10px;
    text-align: justify;
    margin-bottom: 1em;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

@media (max-width: 1368px) {
    .card .box-title {
        font-size: 1.15em;
        padding: 0px 15px 10px;
    }
}
/*@media(max-width: 1280px) {*/
.sidenav {
    display: none;
}

.main-content {
    margin-right: 0;
}
/*}*/
@media (max-width: 767px) {
    header .mw-280 {
        min-width: initial;
        border-bottom: 1px solid #ccc;
    }

    header.header {
        height: 100px;
    }

        header.header .navbar-brand img {
            max-height: 40px;
        }

        header.header h1, header.header h2, header.header h3 {
            padding: 5px 5px 0;
            font-size: 14px;
            white-space: normal;
            line-height: 18px;
        }

    .user-area a .user-info {
        padding: 10px 0 5px;
    }

    .user-area .user-info .name {
        font-size: 13px;
    }

    .sidenav {
        display: none;
        top: 51px;
        width: 100%;
        max-width: 100%;
    }

    main {
        margin-top: 100px;
    }

    .main-content .card {
        width: 100%;
        margin-right: 0;
    }
}
/* Tabs */
.nav-tabs a.active {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.nav-tabs .dropdown .dropdown-menu {
    top: 100% !important;
}
/* Button Reset */
.btn, .button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    border-radius: 3px;
    cursor: pointer;
}
/* Forms */
.input-group-addon {
    background-color: transparent;
    border-left: 0;
}

.input-group-addon, .input-group-btn {
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon {
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    color: #495057;
    text-align: center;
    background-color: #e9ecef;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: .25rem;
}

.legend table {
    border-spacing: 5px;
}

@media (max-width: 992px) {
    [class*="col"].no-padding {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
    }
}

.navbar .navbar-nav li .dropdown-toggle:after {
    display: none;
}

.navbar .navbar-nav li.menu-item-has-children {
    position: relative;
    cursor: pointer;
}

    .navbar .navbar-nav li.menu-item-has-children a {
        line-height: 30px;
    }

        .navbar .navbar-nav li.menu-item-has-children a:before {
            content: "";
            position: absolute;
            top: 23px;
            left: 0;
            width: 8px;
            height: 8px;
            border-style: solid;
            border-width: 1px;
            border-color: transparent transparent #fff #fff;
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            -webkit-transition: all .25s ease;
            transition: all .25s ease;
        }

        .navbar .navbar-nav li.menu-item-has-children a:hover:before {
            border-color: transparent transparent #3fb9cf #3fb9cf;
        }

    .navbar .navbar-nav li.menu-item-has-children .sub-menu {
        background: #272a2f;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        overflow-y: hidden;
        padding: 0 0px 0 0;
    }

        .navbar .navbar-nav li.menu-item-has-children .sub-menu li {
            position: relative;
        }

        .navbar .navbar-nav li.menu-item-has-children .sub-menu i {
            position: absolute;
            right: 0;
            font-size: 14px;
            top: 9px;
        }

        .navbar .navbar-nav li.menu-item-has-children .sub-menu a {
            padding: 2px 30px 2px 0px;
            text-align: right;
        }

            .navbar .navbar-nav li.menu-item-has-children .sub-menu a:before {
                content: '';
                display: none;
            }
    /* .navbar .navbar-nav li.menu-item-has-children .sub-menu a .menu-icon {
                            top: 13px;
                            text-align: right;
                            width: 25px;
                        }*/
    .navbar .navbar-nav li.menu-item-has-children.show > a:before {
        border-color: transparent #3fb9cf #3fb9cf transparent;
        top: 20px;
        left: -5px;
    }

    .navbar .navbar-nav li.menu-item-has-children.show > a:hover:before {
        border-color: transparent #3fb9cf #3fb9cf transparent;
    }

    .navbar .navbar-nav li.menu-item-has-children.show .sub-menu {
        max-height: 1000px;
        opacity: 1;
        position: static !important;
    }

    .navbar .navbar-nav li.menu-item-has-children .sub-menu li:hover i {
        color: #007bff;
    }
/***
    MODAL
    ***/
.modal {
    z-index: 99997;
}

    .modal .modal-header {
        background: #c00;
        color: #fff;
        font-weight: bold;
    }

    .modal .modal-title {
        font-weight: bold;
    }

    .modal .modal-header .close {
        margin: -1rem auto -1rem -1rem;
        outline: none;
    }

    .modal .modal-body p {
        font-weight: bold;
        margin-top: 1rem;
    }

.modal-footer > :not(:last-child) {
    margin-left: .25rem;
}

#MyModal2 {
    z-index: 99998;
    background: rgba(0, 0, 0, 0.7);
}

.modal-body2 {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
/***BTN***/
.btn {
    transition: all 0.5s;
}

.btn-success, .btn-success:hover,
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
    background-color: #62b258;
    border-color: #62b258;
}

    .btn-success:focus, .btn-success.focus,
    .btn-success:not(:disabled):not(.disabled):active:focus,
    .btn-success:not(:disabled):not(.disabled).active:focus, .show > .btn-success.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(98, 178, 88, 0.5);
    }

.btn:hover {
    background-color: #272a2f;
    border-color: #272a2f;
    color: #fff;
}

.btn-success.disabled, .btn-success:disabled {
    background: #272a2f !important;
    background-color: #272a2f !important;
    border-color: #272a2f !important;
    border-radius: 0;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff !important;
}

    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(10, 146, 158, 0.5);
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        background-color: #007bff;
        border-color: #007bff;
    }

.btn-outline-primary {
    color: #007bff;
    background-color: transparent;
    background-image: none;
    border-color: #007bff;
}

    .btn-outline-primary:hover, .btn-outline-primary:focus,
    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .btn-outline-primary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }

.white-space-nowrap {
    white-space: nowrap;
}

span.field-validation-error {
    color: #c00;
}

.btn-danger {
    background: #dd6363;
    border-color: #dd6363;
}

.btn-light {
    background-color: #fff;
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: bold;
}

.text-success {
    color: #28a745 !important;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: 0 none !important;
    border-bottom: 2px solid #007bff;
}

.checkb input[type="radio"],
.checkb input[type=checkbox] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    .checkb input[type="radio"] ~ label {
        line-height: 22px;
    }

        .checkb input[type="radio"] ~ label:before {
            border: 2.5px solid #007bff;
            width: 19px;
            height: 19px;
            position: relative;
            display: inline-block;
            content: "";
            vertical-align: middle;
            margin-right: 0px;
            border-radius: 50%;
            text-align: center !important;
        }

    .checkb input[type="radio"]:checked ~ label:before {
        background: #ffffff;
        content: "";
        font-family: "Font Awesome 5 Free";
        color: #007bff;
        font-weight: 900;
        line-height: 17px;
        font-size: 12px;
        border-width: 1.5px;
        /*padding: 0 2.5px;*/
    }

    .checkb input[type=checkbox] ~ label:before {
        border: 2.5px solid #007bff;
        width: 20px;
        height: 20px;
        position: relative;
        display: inline-block;
        content: "";
        vertical-align: middle;
        margin-left: 4px;
    }

.checkb input[type="checkbox"]:checked ~ label:before {
    background: #007bff;
    content: "";
    font-family: "Font Awesome 5 Free";
    color: #fff;
    font-weight: 900;
    line-height: 17px;
    padding-right: 0px;
    font-size: 15px;
}

.row .checkb2:first-child label {
    border-radius: 0 4px 4px 0;
}

.row .checkb2:last-child label {
    border-radius: 4px 0 0 4px;
}

.checkb2 {
    padding: 0;
}

    .checkb2 input[type="radio"],
    .checkb2 input[type="checkbox"] {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

        .checkb2 input[type="radio"] ~ label,
        .checkb2 input[type="checkbox"] ~ label {
            padding: 7px 15px;
            border: 1px solid #ccc;
            background: #efefef;
            text-align: center;
        }

        .checkb2 input[type="radio"]:checked ~ label,
        .checkb2 input[type="checkbox"]:checked ~ label {
            background: #007bff;
            border-color: #007bff;
            color: #fff;
            font-weight: bold;
        }

.form-control {
    outline: 0;
    max-width: 100%;
    font-size: 14px;
    border: 1px solid #eee;
    border-bottom: 1px solid #ddd;
}

    .form-control:focus {
        border-color: transparent;
        box-shadow: 0 0 transparent;
        color: #3c3c3c;
        background-color: #fff;
    }

        .form-control:focus + .focus-input::before {
            width: 100%;
        }

.focus-input:before {
    content: "";
    display: block;
    position: relative;
    bottom: 0px;
    right: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.datepicker .form-control[readonly] {
    background-color: transparent;
    opacity: 1;
    cursor: auto;
    text-align: center;
}

.balert {
    background: #fff;
    border-radius: 0;
    color: #000;
    padding: 0px;
    border: 2px solid #c00;
    margin-bottom: 15px;
}

    .balert .alert-icon {
        background: #CC0000;
        color: #fff;
        text-align: center;
        padding: 10px;
        font-size: 35px;
        justify-content: center;
        margin-left: 7px;
    }

        .balert .alert-icon i.fas.fa-exclamation-triangle {
            color: #fff;
            font-size: 35px;
        }

.error-page .logo {
    width: 125px;
    height: auto;
}

.error-page .errorCode {
    font-size: 150px;
    border-bottom: dashed;
    margin: 50px 0;
}
/******************   modal   ****************/
.info-modal a {
    font-size: 14px;
    color: #333;
    background: rgba(63, 185, 207, 0.25);
    padding: 4px;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid #007bff;
}

    .info-modal a i.fas {
        color: #007bff;
        font-size: 20px;
        vertical-align: middle;
    }

.filterform .btn {
    font-size: 13px;
    font-weight: bold;
}

.filter-option .badge {
    font-size: 85%;
}

.bootstrap-select .dropdown-toggle .filter-option-inner {
    padding-right: 0 !important;
}

.bootstrap-select .dropdown-menu {
    text-align: right;
}

.bootstrap-select .dropdown-toggle .filter-option {
    text-align: right !important;
    right: 0 !important;
    left: initial !important;
}

.bootstrap-select > .dropdown-toggle {
    text-align: left !important;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-right: 10px !important;
}

.bootstrap-select.show-tick .dropdown-item .check-mark {
    color: #54a667;
}

.bootstrap-select.show-tick .badge-success, .rules .badge-success {
    background: #54a667;
}

.bootstrap-select.show-tick .badge-danger, .rules .badge-danger {
    background: #d55e5e;
}

.bootstrap-select.show-tick .badge, .rules .badge {
    padding: 5px 7px;
}

fieldset.form-group {
    border: 2px solid #007bff;
    padding: 0 15px 10px;
}

    fieldset.form-group legend {
        width: auto;
        padding: 10px;
        margin: 0 10px;
        font-size: 16px;
        font-weight: bold;
    }
/*************NEW TYPEAHEAD**************/
.typeahead.dropdown-menu {
    margin: 0;
    margin-top: -2px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    border: 0;
    border-top: 1px solid #bbb;
    left: auto;
    right: 0;
    text-align: right;
    width: 100%;
    padding: 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    max-height: 250px;
    overflow-y: auto;
}

    .typeahead.dropdown-menu li a {
        font-size: 0.9em;
        margin: 0;
    }

    .typeahead.dropdown-menu li.active .dropdown-item,
    .typeahead.dropdown-menu li .dropdown-item.active,
    .typeahead.dropdown-menu li .dropdown-item:active,
    .typeahead.dropdown-menu li .dropdown-item:hover,
    .typeahead.dropdown-menu li .dropdown-item:focus {
        color: #fff;
        background-color: #007bff;
        border: 0;
        outline: 0;
    }

    .typeahead.dropdown-menu.no-result,
    .typeahead.dropdown-menu.no-result1,
    .typeahead.dropdown-menu.no-result2,
    .typeahead.dropdown-menu.no-result3 {
        z-index: 997;
        font-size: 15px;
    }
/*************END - NEW TYPEAHEAD**************/
/*******************    *****************/
fieldset.form-group {
    position: relative;
}

    fieldset.form-group .more-info a {
        border: 1px solid #ccc;
        padding: 0 5px;
        border-radius: 2px;
    }

        fieldset.form-group .more-info a i {
            color: #ffffff;
            width: 20px;
            text-align: center;
            display: inline-block;
            font-size: 13px;
            padding: 4px 5px;
            background: #ccc;
            border-radius: 50%;
            vertical-align: middle;
            line-height: 12px;
        }

            fieldset.form-group .more-info a i ~ span {
                color: #777;
                font-size: 10px;
                font-weight: bold;
            }

.checkb input[type=checkbox]:checked ~ svg {
    opacity: 1;
    fill: #54a667;
}

.datepickerinput-wrap {
    position: relative;
    z-index: 1;
}

    .datepickerinput-wrap:before {
        display: inline-block;
        width: 25px;
        height: 30px;
        position: absolute;
        margin: 4px 1px;
        content: "\f073";
        vertical-align: middle;
        text-align: center;
        font-family: 'Font Awesome 5 Free';
        font-weight: 400;
        color: #007bff;
        font-size: 20px;
        z-index: -1;
    }

.lightbox {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    padding-top: 30px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/******************  no more table   ***********************/
@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }
        /* Hide table headers (but not display: none;, for accessibility) */
        #no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            right: -9999px;
        }

    #no-more-tables tr {
        border: 1px solid #ccc;
        margin: 5px 0;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
    }

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #ccc;
        position: relative;
        padding-right: 50% !important;
        white-space: normal;
        text-align: right;
        min-height: 45px;
    }

        #no-more-tables td:before {
            /* Now like a table header */
            position: absolute;
            right: 6px;
            width: 45%;
            padding-left: 10px;
            /*white-space: nowrap;*/
            text-align: right;
            font-weight: bold;
            height: 100%;
            /* align-items: center;
        display: flex;
        margin-top: -0.75rem;*/
        }
        /*
	Label the data
	*/
        #no-more-tables td:before {
            content: attr(data-title);
        }

        #no-more-tables td.pr-0-imp {
            padding-right: 10px !important;
        }

            #no-more-tables td.pr-0-imp:before {
                content: '' !important;
                display: none !important;
            }

    #no-more-tables tfoot {
        width: 100% !important;
        display: block;
    }

        #no-more-tables tfoot td {
            padding: 0 !important;
        }
}
/****************************** Report Page *************************************/
.report-form ::placeholder {
    font-size: 14px;
    opacity: 0.7;
}

.report-form .btn-secondary {
    font-size: 13px;
}

.result-info {
    border: 2px solid #00788d;
    border-radius: 3px;
    text-align: center;
    margin: 15px -14px;
}

    .result-info i {
        display: block;
        border-radius: 50%;
        font-size: 25px;
        background: #00788d;
        width: 45px;
        height: 45px;
        line-height: 45px;
        color: #fff;
        margin: -20px auto 5px;
    }

    .result-info label {
        display: block;
        font-size: 15px;
        white-space: nowrap;
        letter-spacing: -0.7px;
        padding: 0 2px;
        cursor: pointer;
    }

    .result-info span {
        display: block;
        font-weight: bold;
        font-size: 20px;
        padding: 5px;
        text-shadow: 1px 0 2px #000, -1px 0 2px #000, 0 -1px 2px #000, 0 1px 2px #000;
        color: #fff;
    }

        .result-info span b {
            font-size: 14px;
            text-shadow: none;
            color: #222;
        }

.text-ban {
    color: #300;
}

.report-table .buttons {
    white-space: nowrap;
}

    .report-table .buttons > * {
        display: inline-block;
        min-width: 36px;
    }

    .report-table .buttons .btn-light {
        color: #777;
        margin: 0;
        border-width: 0;
        font-size: 25px;
        width: 35px;
        background: transparent;
        padding: 2px 3px;
        line-height: 16px;
        position: relative;
    }

        .report-table .buttons .btn-light .badge {
            font-size: 12px;
            padding: 3px;
            background: #ffc107;
            color: #333;
            position: absolute;
            right: 0;
            border-radius: 50%;
            top: 0;
            min-width: 15px;
        }

        .report-table .buttons .btn-light:hover {
            color: #fff;
            background: #272a2f;
        }

    .report-table .buttons .disablebtn {
        color: rgba(36, 118, 55, 0.3);
        cursor: not-allowed !important;
    }

        .report-table .buttons .disablebtn:hover {
            cursor: not-allowed !important;
            background: transparent;
            color: rgba(36, 118, 55, 0.3);
        }

    .report-table .buttons form {
        display: inline-block;
    }

    .report-table .buttons .slider-checkbox {
        width: 36px;
    }

        .report-table .buttons .slider-checkbox label {
            padding-left: 35px;
        }

        .report-table .buttons .slider-checkbox input {
            width: 35px;
            height: 17px;
        }

        .report-table .buttons .slider-checkbox label:before {
            height: 17px !important;
            width: 35px !important;
            padding-left: 20px;
            line-height: 18px;
        }

        .report-table .buttons .slider-checkbox label:after {
            height: 15px;
            width: 15px;
            letter-spacing: 15px;
        }

        .report-table .buttons .slider-checkbox input:checked ~ label:before {
            padding-left: 5px;
        }

        .report-table .buttons .slider-checkbox input:checked ~ label:after {
            left: 19px;
        }

.report-table tr td, .report-table tr th {
    vertical-align: middle;
    text-align: center;
}

@media(max-width: 767px) {
    .report-table .buttons > * {
        min-width: initial;
    }
}

.bootstrap-select .dropdown-menu {
    max-width: 100%;
}

    .bootstrap-select .dropdown-menu li a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        padding: 2px 5px;
    }

        .bootstrap-select .dropdown-menu li a span.check-mark ~ .text {
            padding-right: 15px;
        }

.bootstrap-select .bs-searchbox {
    padding: 1px 2px;
    margin-top: -7px;
}

    .bootstrap-select .bs-searchbox input:focus {
        border: 1px solid #eee;
        border-bottom: 2px solid #007bff;
        margin: 0;
    }
/*#region paging*/
.pagination ul {
    direction: rtl;
    padding: 0;
    margin: 0.5rem auto;
}

    .pagination ul > li {
        display: inline-block;
    }

        .pagination ul > li > a,
        .pagination ul > li > span {
            float: left;
            padding: 7px 12px;
            line-height: 20px;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #6c757d;
            border-left-width: 0;
            color: #00788d;
            font-weight: bold;
        }

            .pagination ul > li > a:hover,
            .pagination ul > li > a:focus,
            .pagination ul > .active > a,
            .pagination ul > .active > span {
                background-color: #d6d8db;
                color: #000 !important;
            }

    .pagination ul > .active > a,
    .pagination ul > .active > span {
        color: #999999;
        cursor: default;
    }

    .pagination ul > .disabled > span,
    .pagination ul > .disabled > a,
    .pagination ul > .disabled > a:hover,
    .pagination ul > .disabled > a:focus {
        color: #999999;
        cursor: default;
        background-color: transparent;
    }

    .pagination ul > li:last-child > a,
    .pagination ul > li:last-child > span {
        border-left-width: 1px;
        -webkit-border-bottom-left-radius: 4px;
        border-bottom-left-radius: 4px;
        -webkit-border-top-left-radius: 4px;
        border-top-left-radius: 4px;
        -moz-border-radius-bottomleft: 4px;
        -moz-border-radius-topleft: 4px;
    }

    .pagination ul > li:first-child > a,
    .pagination ul > li:first-child > span {
        -webkit-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
        -webkit-border-bottom-right-radius: 4px;
        border-bottom-right-radius: 4px;
        -moz-border-radius-topright: 4px;
        -moz-border-radius-bottomright: 4px;
    }

.pager1 {
    margin-left: auto !important;
    margin-right: auto !important;
}

.pagination-centered {
    text-align: center;
}
/*#endregion*/
/***************** setting *********************/
.slider-checkbox {
    position: relative;
    direction: ltr;
}

    .slider-checkbox input {
        margin: 0px;
        margin-top: 1px;
        cursor: pointer;
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        -moz-opacity: 0;
        -khtml-opacity: 0;
        opacity: 0;
        position: absolute;
        z-index: 1;
        top: 0px;
        left: 0px;
        width: 40px;
        height: 20px;
    }

        .slider-checkbox input:checked ~ label:before {
            background-color: #007bff;
            content: "\f00c" !important;
            padding-left: 7px;
        }

        .slider-checkbox input:checked ~ label:after {
            left: 21px;
        }

    .slider-checkbox label {
        position: relative;
        padding-left: 46px;
    }

        .slider-checkbox label:before, .slider-checkbox label:after {
            position: absolute;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            transition: background-color 0.3s, left 0.3s;
        }

        .slider-checkbox label:before {
            content: "\f00d" !important;
            color: #fff;
            box-sizing: border-box;
            font-family: "Font Awesome 5 Free";
            padding-left: 23px;
            font-size: 12px;
            line-height: 20px;
            background-color: #ccc;
            left: 0px;
            top: 0px;
            height: 20px !important;
            width: 40px !important;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            position: absolute !important;
            border: 0 !important;
            font-weight: 900;
        }

        .slider-checkbox label:after {
            content: "";
            letter-spacing: 20px;
            background: #fff;
            left: 1px;
            top: 1px;
            height: 18px;
            width: 18px;
        }

.slider-checkbox {
    margin-top: 0px;
    margin-bottom: 7px;
    width: 42px;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
}

    .slider-checkbox input:checked ~ label:before {
        background-color: #007bff;
    }

    .slider-checkbox input:not(:checked) ~ label:before {
        /*background-color: #ccc;*/
    }

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input {
    opacity: 1;
    padding: 0;
    line-height: 2.28;
}

    .custom-file-input::before {
        content: 'انتخاب فایل';
        display: inline-block;
        background: #ccc;
        border-radius: 3px;
        padding: 9px 8px;
        outline: none;
        white-space: nowrap;
        -webkit-user-select: none;
        cursor: pointer;
        font-weight: 700;
        font-size: 12px;
        line-height: 1.5;
    }

    .custom-file-input:active::before, .custom-file-input:hover::before {
        background: #999;
    }

    .custom-file-input:focus {
        border: 1px solid #007bff;
    }
/***************   jquery ui autocomplete   ****************/
.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
    z-index: 99999;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.ui-menu .ui-menu-item {
    list-style-image: none;
    font-family: irsans;
    font-size: 0.95em;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 3px .6em 3px .2em;
}

.jq-toast-single, .jq-toast-single h2 {
    font-family: irsans;
}
/***********  floatThead  ***********/
table.floatThead-table {
    border-top: none;
    border-bottom: none;
    background-color: #fff;
}

.floatThead-container {
    border-bottom: 2px solid #007bff;
    left: initial !important;
}

.floatThead-wrapper {
    z-index: 998;
}

.modal-content .floatThead-container {
    border: 0 none;
    margin-top: -28px !important;
}
/**********  END -  floatThead  *********/
.time-mask {
    direction: ltr;
    text-align: left;
    font-size: 16px;
    letter-spacing: 4px;
}

.table-info, .table-info > th, .table-info > td {
    background-color: #e5f8f5;
}

.record-Counts {
    font-weight: bold;
    padding: 4px 5px 0 25px;
    position: relative;
    text-align: right;
    border-radius: 10px 2px 2px 10px;
    margin: 7px 2px;
    border: 1px solid #007bff;
    color: #007bff;
    width: 120px;
}

    .record-Counts span {
        background: #007bff;
        color: #fff;
        border-radius: 50%;
        padding: 5px;
        position: absolute;
        top: -3px;
        left: -7px;
        min-width: 30px;
        text-align: center;
    }

.sorat-contact {
    width: 155px;
    line-height: 30px;
}

    .sorat-contact span {
        min-width: 37px;
    }
