@font-face {
    font-family: "IranSansWeb";
    src: url("../fonts/eot/IRANSansWeb.eot");
    src: url("../fonts/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff/IRANSansWeb.woff") format("woff"),
        url("../fonts/woff2/IRANSansWeb.woff2") format("woff2"),
        url("../fonts/ttf/IRANSansWeb.ttf") format("truetype");
}
@font-face {
    font-family: "IranSansWeb";
    src: url("../fonts/eot/IRANSansWeb_Bold.eot");
    src: url("../fonts/eot/IRANSansWeb_Bold.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff/IRANSansWeb_Bold.woff") format("woff"),
        url("../fonts/woff2/IRANSansWeb_Bold.woff2") format("woff2"),
        url("../fonts/ttf/IRANSansWeb_Bold.ttf") format("truetype");
}
@font-face {
    font-family: "IranSansWeb";
    src: url("../fonts/eot/IRANSansWeb_Light.eot");
    src: url("../fonts/eot/IRANSansWeb_Light.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff/IRANSansWeb_Light.woff") format("woff"),
        url("../fonts/woff2/IRANSansWeb_Light.woff2") format("woff2"),
        url("../fonts/ttf/IRANSansWeb_Light.ttf") format("truetype");
}
@font-face {
    font-family: "IranSansWeb";
    src: url("../fonts/eot/IRANSansWeb_Medium.eot");
    src: url("../fonts/eot/IRANSansWeb_Medium.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff/IRANSansWeb_Medium.woff") format("woff"),
        url("../fonts/woff2/IRANSansWeb_Medium.woff2") format("woff2"),
        url("../fonts/ttf/IRANSansWeb_Medium.ttf") format("truetype");
}
@font-face {
    font-family: "IranSansWeb";
    src: url("../fonts/eot/IRANSansWeb_UltraLight.eot");
    src: url("../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix")
            format("embedded-opentype"),
        url("../fonts/woff/IRANSansWeb_UltraLight.woff") format("woff"),
        url("../fonts/woff2/IRANSansWeb_UltraLight.woff2") format("woff2"),
        url("../fonts/ttf/IRANSansWeb_UltraLight.ttf") format("truetype");
}
@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir.eot");
    src: url("../fonts/eot/Vazir.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir.woff2") format("woff2"),
        url("../fonts/woff/Vazir.woff") format("woff"),
        url("../fonts/ttf/Vazir.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir-Bold.eot");
    src: url("../fonts/eot/Vazir-Bold.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir-Bold.woff2") format("woff2"),
        url("../fonts/woff/Vazir-Bold.woff") format("woff"),
        url("../fonts/ttf/Vazir-Bold.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir-Light.eot");
    src: url("../fonts/eot/Vazir-Light.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir-Light.woff2") format("woff2"),
        url("../fonts/woff/Vazir-Light.woff") format("woff"),
        url("../fonts/ttf/Vazir-Light.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir-Medium.eot");
    src: url("../fonts/eot/Vazir-Medium.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir-Medium.woff2") format("woff2"),
        url("../fonts/woff/Vazir-Medium.woff") format("woff"),
        url("../fonts/ttf/Vazir-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir-Thin.eot");
    src: url("../fonts/eot/Vazir-Thin.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir-Thin.woff2") format("woff2"),
        url("../fonts/woff/Vazir-Thin.woff") format("woff"),
        url("../fonts/ttf/Vazir-Thin.ttf") format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/eot/Vazir-Black.eot");
    src: url("../fonts/eot/Vazir-Black.eot?#iefix") format("embedded-opentype"),
        url("../fonts/woff2/Vazir-Black.woff2") format("woff2"),
        url("../fonts/woff/Vazir-Black.woff") format("woff"),
        url("../fonts/ttf/Vazir-Black.ttf") format("truetype");
    font-weight: 900;
}

/*---------------------------------- End of fonts ---------------------------------- */

body {
    font-family: "IRANSansWeb", "Vazir", sans-serif !important;
    background: #fafafa;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label,
a,
input,
multiselect,
select,
button {
    font-family: "IRANSansWeb", "Vazir", sans-serif !important;
    margin: 0;
}
.content-header {
    padding: 7.5px .5rem;
}
.close-modal {
    font-size: 20px;
    color: #969696;
    cursor: pointer;
    transition: .15s;
}
.close-modal:hover{
    color: #767676;
}
.swal2-rtl .swal2-close {
    right: 0 !important;
    font-size: 35px;
    color: #969696;
    transition: .15s;
}
.swal2-close:hover{
    color: #767676 !important;
}
.swal2-close:focus {
    outline: unset !important;
}
.ltr {
    direction: ltr;
}

ul {
    padding-inline-start: 0px;
}

label {
    margin-bottom: 7.5px;
}

.dropdown-item {
    text-align: right;
}
.dropdown-footer,
.dropdown-header {
    text-align: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-left: 0.5rem;
}

.btn-danger:not(:disabled):not(.disabled):active:focus {
    box-shadow: unset;
}
.btn-danger:not(:disabled):not(.disabled):active {
    background: none !important;
    color: unset !important;
}
.btn-danger {
    background: none;
    color: #454545;
    border: none;
    padding: 0 !important;
}
.btn-danger:hover {
    color: #353535;
    background: none;
    padding: 0 !important;
}
.fa-pen {
    cursor: pointer;
    color: #3bccf6;
}
.fa-pen:hover {
    color: #007bff;
}
.text-danger {
    display: inline-block;
}
/*------------------------------------ contacts-list ------------------------------------*/

.contacts-list-img {
    float: right;
}

.contacts-list-info {
    margin-right: 45px;
    margin-left: 0;
}

.inValaid {
    border: 1px solid #dc3545 !important;
}
.slct-style {
    border-radius: 5px;
}
/* sidebar */

.sidebar {
    direction: rtl;
}

.sidebar > div:first-child {
    direction: rtl;
}

.control-sidebar,
.control-sidebar:before {
    left: -250px;
    right: auto;
    transition: left 0.3s ease-in-out;
}

.control-sidebar-slide-open .control-sidebar,
.control-sidebar-slide-open .control-sidebar:before {
    left: 0;
    right: auto;
}

.small-box .icon {
    right: auto;
    left: 10px;
}
.custom-file-label::after {
    border-left: none !important;
}
.star-validate {
    color: #dc3545 !important;
    font-size: 16px;
    font-weight: bold;
}
.link-enter{
    color: #3bccf6 !important;
    cursor: pointer;
}
.link-enter:hover{
    color: #007bff !important;
}
.nav-sidebar .nav-link > p > .right {
    left: 1rem;
    right: auto;
}
.btn-add{
    float: left !important;
}
.nav-sidebar > .nav-item .nav-icon {
    margin-right: 0;
    margin-left: 0.2rem;
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-right: 4.1rem;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem !important;
        margin-right: 4.1rem !important;
        z-index: 100;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .user-panel,
    .sidebar-mini.sidebar-collapse .main-sidebar:hover .user-panel {
        text-align: right;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar:before {
        margin-right: 0;
        width: 4.1rem;
    }
}

@media (min-width: 992px) {
    .content-wrapper,
    .main-footer,
    .main-header {
        transition: margin-right 0.3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 1010;
    }
    body:not(.sidebar-mini-md) .content-wrapper,
    body:not(.sidebar-mini-md) .main-footer,
    body:not(.sidebar-mini-md) .main-header {
        transition: margin-right 0.3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 1010;
    }
    nav.main-header {
        transition: margin-right 0.3s ease-in-out;
        margin-right: 250px;
        margin-left: 0;
        z-index: 1010;
    }
}

@media (max-width: 991.98px) {
    .main-sidebar,
    .main-sidebar:before {
        box-shadow: none !important;
        margin-right: -250px;
        margin-left: 0;
    }

    .content-wrapper,
    .content-wrapper:before,
    .main-footer,
    .main-footer:before,
    .main-header,
    .main-header:before {
        margin-right: 0;
    }

    .sidebar-open .main-sidebar,
    .sidebar-open .main-sidebar:before {
        margin-right: 0;
        z-index: 4000;
    }
}
.main-header {
    border-bottom: none;
}
.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar:before {
    margin-right: -250px;
}

.main-sidebar {
    left: auto;
    right: 0;
}

/* Cards */

.card-header > .card-tools {
    right: auto;
    left: 1rem;
}

.user-block img {
    float: right;
}

.attachment-block .attachment-img {
    float: right;
}

.attachment-block .attachment-pushed {
    margin-left: 0px;
    margin-right: 110px;
}

.card-comments .card-comment img,
.img-lg,
.img-md,
.img-sm,
.user-block.user-block-sm img {
    float: right;
}

.card-comments .comment-text {
    margin-right: 40px;
    margin-left: 0;
}

.card-comments .card-comment img + .img-push,
.img-sm + .img-push,
.user-block.user-block-sm img + .img-push {
    margin-left: 0px;
    margin-right: 40px;
}

.user-block .comment,
.user-block .description,
.user-block .username {
    margin-right: 50px;
    margin-left: 0px;
}

.btn-group-vertical {
    align-items: center;
}

/*------------------------- Form ----------------------------*/
.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-search--inline .select2-search__field {
    text-align: right;
}

/*----------------------- Extra Page ---------------------------*/
.error-page > .headline {
    float: right;
}

.error-page > .error-content {
    margin-right: 190px;
    margin-left: 0;
}

.lockscreen-image {
    left: auto;
    right: -10px;
}

.lockscreen-credentials {
    margin-left: 0px;
    margin-right: 70px;
}

.nav {
    padding-inline-start: 0px !important;
}

/*---------------------------------- Persian Date Picker ---------------------------------- */

.datepicker-plot-area {
    font-family: IRANSansWeb "Vazir", sans-serif;
}

/* ------------------------------ custom style me ----------------------------  */

/* ------------------------------   style sidebar    -----------------------------  */

[class*="sidebar-dark"] .brand-link .brand-image {
    width: 175px;
    min-height: 52px;
    float: none;
    box-shadow: none !important;
    border-radius: 0;
}
[class*="sidebar-dark"] .brand-link {
    display: grid;
    justify-items: center;
    padding-right: 0;
    padding-left: 0;
    border-bottom: none;
    background: #fafafa;
}

[class*="sidebar-dark"] .user-panel img {
    height: 45px;
    width: 45px;
}
[class*="sidebar-dark"] .user-panel .info h3 {
    color: #666666;
    font-size: 14px;
    font-weight: bold;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > a.d-block.nav-link {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    position: absolute;
    left: 20px;
    transition: 0.15s;
    overflow: visible;
    width: 160px;
    top: -70px;
    text-align: right;
    margin: 0;
}
[class*="sidebar-dark"] .user-panel .info {
    display: block;
    padding: 0;
}
[class*="sidebar-dark"] .user-panel {
    border: none;
    padding: 0;
    padding-right: 8px;
}
[class*="sidebar-dark"] .d-block .user-panel {
    border: none;
    padding: 0;
}
[class*="sidebar-dark"] .nav-link .user-panel p {
    font-size: 12px;
    color: #777777;
    display: inline-block;
}
[class*="sidebar-dark"] .nav-link .user-panel i {
    position: absolute;
    left: 5px;
    top: 15px;
    font-size: 12px;
    color: #707070;
}
.sidebar-mini .nav-sidebar {
    overflow: visible;
}
.nav-p {
    font-size: 16px;
    font-weight: bold;
    color: #fafafa;
    margin: 0;
    padding-top: 6px;
    padding-left: 16px;
    padding-right: 16px;
}
.navbar-light .navbar-nav .nav-link {
    color: #fff;
    transition: 0.3s;
}
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, 0.5);
}
[class*="sidebar-dark-"] {
    background-color: #fff;
}
.content-wrapper,
.navbar-white,
.main-footer {
    background: none;
    border: none;
}
.os-theme-light > .os-scrollbar > .os-scrollbar-track > .os-scrollbar-handle,
.os-theme-light
    > .os-scrollbar
    > .os-scrollbar-track
    > .os-scrollbar-handle.active,
.os-theme-light
    > .os-scrollbar:hover
    > .os-scrollbar-track
    > .os-scrollbar-handle {
    background: #666666;
}
.os-theme-light
    > .os-scrollbar:hover
    > .os-scrollbar-track
    > .os-scrollbar-handle {
    background: #666666;
}
[class*="sidebar-dark-"] .sidebar a p {
    font-size: 14px;
}
[class*="sidebar-dark-"] .sidebar a {
    color: #666666;
}
.main-sidebar,
.main-sidebar::before {
    transition: 0.3s ease-in-out, width 0.3s ease-in-out;
}
[class*="sidebar-dark-"] .nav-sidebar > .nav-item.menu-open > .nav-link,
[class*="sidebar-dark-"] .nav-sidebar > .nav-item:hover > .nav-link,
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link:focus,
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link:active {
    background: #fafafa;
    color: #3bccf6;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:focus,
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link:hover {
    background: #fafafa;
    color: #3bccf6;
}
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .nav-link.active,
[class*="sidebar-dark-"] .nav-sidebar > .nav-item > .router-link-exact-active {
    box-shadow: none;
    background: #fafafa;
    color: #3bccf6;
}
.sidebar {
    padding: 0;
}
.nav-user {
    border-bottom: 2px solid #cccccc;
    margin-bottom: 5px;
}
[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    color: #666666;
}
.item-user .nav-user .item-nav .link-drop p {
    font-size: 10px;
}
.item-user .nav-user .item-nav .link-drop i {
    font-size: 14px;
}

/* ------------------------------   END style sidebar    -----------------------------  */

/*---------------------------------- style body -----------------------------------   */
.style-content {
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    padding: 20px;
}
td,
th {
    text-align: center;
}
.btn-success {
    background-color: #58c16c;
    border-color: #58c16c;
}
.btn-success:hover {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-primary {
    background: #3bccf6;
    border: #3bccf6;
}
.btn-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
}
/*---------------------------------- END   style body -----------------------------------   */

/*------------------- style login page  ------------------*/

.custom-file {
    z-index: 0;
}
.login-box {
    width: 410px;
}
[class*="icheck-"] > label {
    direction: ltr;
}
.login-card-body .input-group .form-control {
    border-right: 1px solid #ced4da;
}
.login-card-body .input-group .input-group-text {
    border-left: 1px solid #ced4da;
}

/*------------------- END  style login page  ------------------*/

/*--------------------  style multiselect input button --------------------*/

.multiselect__input {
    direction: rtl;
}
.multiselect__input:focus {
    border-color: #00aeff;
}
.multiselect__tags {
    padding: 8px 8px 0 40px;
}
.multiselect__tags:focus {
    border-color: #00aeff;
}
.multiselect__placeholder {
    float: right;
}
.multiselect__select {
    padding-top: 16px;
    left: 1px;
    right: auto;
}
.input-style {
    margin: 0;
    padding: 0 8px 0 40px;
    border: 1px solid #e8e8e8;
    min-height: 40px;
}
.btn {
    padding: 10px 100px 10px 100px;
}
.register-btn {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.form-group .card {
    border: 1px solid #e8e8e8;
    box-shadow: unset;
}

.margin-buttm {
    margin-bottom: 5px;
}

/*--------------------  --------   END   --------- multiselect input button --------------------*/

/*-------------------- tables , jQuery UI --------------------*/

.ui-state-default {
    border: none;
}
.ui-state-default:nth-of-type(2n + 1) {
    background: white;
}
#payments_wrapper > .row:last-of-type,
#payments_wrapper .row:first-of-type,
#requests_wrapper > .row:last-of-type,
#requests_wrapper .row:first-of-type {
    direction: ltr;
    text-align: left;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: flex-start;
}
#table_info {
    text-align: start;
}
.page-item:first-child .page-link {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}
.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter {
    direction: rtl;
}


.table-bordered,
.table-bordered td,
.table-bordered th {
    border: none;
}
table.dataTable {
    border-collapse: collapse !important;
}
table.table-bordered.dataTable tbody th,
table.table-bordered.dataTable tbody td {
    border-bottom-width: 1px;
}
.table thead th {
    border-bottom: 1px solid #e2e3e5;
}
.table thead tr {
    background: #f8f9fb;
}
.table-bordered tbody tr td {
    border-top: 1px solid #e2e3e5;
}
.table-bordered tbody tr:first-of-type td {
    border-top: none;
}


.lead.text-muted {
    margin: 10px auto 15px;
}

.spinner-wrapper{
    text-align: center;
    font-size: 50px;
    color: #bbb;
    padding: 150px 0;
}

.v-scroll  div.dataTables_wrapper > div:nth-of-type(2){
    overflow-x: scroll;
}
@media screen and (max-width:768px) {
    div.dataTables_wrapper div.dataTables_filter {
        width: 100%;
        display: block;
        text-align: right;
    }
    
    div.dataTables_wrapper div.dataTables_filter label{
        display: block;
        text-align: right;       
    }
    .content-wrapper > .content ,.content-wrapper > .content > div{
        padding:0;
    }
    .item-info{
        display: inline-block;
    }
}   