@import url('fonts.css');

* {
    direction: rtl !important;
    font-family: "Vazir", "Shabnam";
}

:root {
    scroll-behavior: smooth;
}

html {
    font-family: "Vazir", "Shabnam";
}

body {
    font-family: "Vazir", "Shabnam";
}

/* scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    position: fixed;
    float: left;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 6px;
    opacity: 0.6;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

    ::-webkit-scrollbar-thumb:hover {
        border-radius: 6px;
        border: none;
        opacity: 0.9;
        -webkit-transition: all 0.6s;
        transition: all 0.6s;
    }

*::-webkit-scrollbar-thumb {
    visibility: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

*:active::-webkit-scrollbar-thumb,
*:focus::-webkit-scrollbar-thumb,
*:hover::-webkit-scrollbar-thumb {
    visibility: visible;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

*::-webkit-scrollbar {
    position: absolute;
    left: 0;
}

.scroll-hidden {
    overflow: hidden;
}

.scroll-auto {
    overflow: auto;
}

.scroll-scroll {
    overflow: scroll;
}

.scroll-box {
    overflow: auto;
    visibility: hidden;
}

    .scroll-box:hover,
    .scroll-box:focus {
        visibility: visible;
    }

.scroll-box-delayed {
    transition: visibility 0.2s;
}

    .scroll-box-delayed:hover {
        transition: visibility 0s 0.2s;
    }

/* Miscellanoeous */
body,
html {
    overflow-x: hidden;
    padding-left: 0 !important;
}

*:-moz-full-screen,
*:-webkit-full-screen,
*:fullscreen *:-ms-fullscreen {
    overflow: auto;
}

.navbar-brand img {
    -webkit-filter: drop-shadow(0 0 15px #fff);
    filter: drop-shadow(0 0 15px #fff);
}

.sidebar {
    z-index: 1030 !important;
}

    .sidebar *,
    .navbar * {
        font-family: "Anjoman";
    }

    .sidebar .nav-title {
        font-size: 1.075em;
    }

.container-scroller {
    overflow: hidden;
}

.page-body-wrapper {
    margin: 70px 0 0 0;
    height: calc(100vh - 70px) !important;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    overflow-x: hidden;
    overflow-y: auto;
}

    .page-body-wrapper.full-page-wrapper {
        margin-top: 0 !important;
        width: 100%;
        height: 100vh;
    }

.main-content {
    transition: width 0.25s ease, margin 0.25s ease;
    width: 100%;
    height: fit-content !important;
    min-height: calc(100vh - 70px) !important;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.frame {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: calc(100vh - 110px) !important;
    max-height: calc(100vh - 110px) !important;
    background-color: transparent !important;
    border: none !important;
    overflow: hidden !important;
    z-index: 1;
}

.frame-body {
    position: absolute;
    display: block;
    width: 100%;
    height: 100vh;
    background: none transparent !important;
    overflow-x: hidden;
    overflow-y: auto;
}

    .frame-body:after {
        background: none transparent !important;
    }

.frame-content {
    padding: 0;
    transition: all 0.3s;
}

.content-error {
    padding: 1.5rem 2rem 1.5rem 2rem;
    transition: all 0.3s;
}

@media (max-width: 1199.98px) {
    .content-error {
        padding: .75rem 1.5rem .75rem 1.5rem;
    }
}

/* Auth */
body:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: url(../img/bg-login.png) no-repeat left center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: .99;
    filter: blur(0px) saturate(150%);
    z-index: -1;
}

.login-box {
    background: radial-gradient( ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.25) 100% );
}

.content-wrapper {
    background-size: cover;
    z-index: 1;
}

    .content-wrapper .title {
        color: #000 !important;
        font-size: 28px;
        font-family: "Iranian Nastaliq" !important;
        margin: 20px 0;
        display: block !important;
        text-shadow: 1px 1px 0 rgb(255, 255, 255), -1px -1px 0 rgb(255, 255, 255), 1px -1px 0 rgb(255, 255, 255), -1px 1px 0 rgb(255, 255, 255), 1px 1px 0 rgb(255, 255, 2550);
    }

    .content-wrapper .form-title {
        font-family: "Hamoon" !important;
        font-size: 24px !important;
        font-weight: bold;
        color: #f06000;
    }

    .content-wrapper .error-message {
        display: none;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.3333333;
        text-align: center;
        width: 100%;
        color: #ff0000;
        background: #fff;
        border: 1px solid #ff0000;
        border-radius: 6px;
    }

    .content-wrapper .submit-message {
        display: none;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.3333333;
        text-align: center;
        width: 100%;
        color: #198654;
        background: #fff;
        border: 1px solid #198654;
        border-radius: 6px;
    }

        .content-wrapper .submit-message.submit-loading:before {
            content: "";
            display: inline-block;
            margin: 0 0 -6px 10px;
            width: 24px;
            height: 24px;
            border: 3px solid #198654;
            border-top-color: #eee;
            border-radius: 50%;
            animation: animate-loading 1s linear infinite;
        }

    .content-wrapper .loading {
        display: none;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.3333333;
        text-align: center;
        width: 100%;
        color: #3594b4;
        background: #fff;
        border: 1px solid #3594b4;
        border-radius: 6px;
    }

        .content-wrapper .loading:before {
            content: "";
            display: inline-block;
            margin: 0 0 -6px 10px;
            width: 24px;
            height: 24px;
            border: 3px solid #3594b4;
            border-top-color: #eee;
            border-radius: 50%;
            animation: animate-loading 1s linear infinite;
        }

    .content-wrapper .notify-btn {
        font-weight: 600;
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.3333333;
        text-align: center;
        width: 100%;
        color: #fff;
        background: #198654;
        border: 1px solid #198654;
        border-radius: 6px;
    }

        .content-wrapper .notify-btn:hover {
            color: #198654;
            background: none;
        }

        .content-wrapper .notify-btn:focus,
        .content-wrapper .notify-btn:active {
            color: #fff;
            border: 2px solid #198654;
            box-shadow: 0 0 8px #198654;
        }

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.center-text {
    text-align: center;
}

.auth-content {
    width: 50%;
    height: 100vh;
    min-height: fit-content;
}

@media (min-width: 794px) {
    .auth-content {
        width: 100% !important;
    }
}

@media (min-width: 1018px) {
    .auth-content {
        width: 80% !important;
    }
}

@media (min-width: 1146px) {
    .auth-content {
        width: 70% !important;
    }
}

@media (min-width: 1352px) {
    .auth-content {
        width: 60% !important;
    }
}

@media (min-width: 1592px) {
    .auth-content {
        width: 50% !important;
    }
}

@media (min-width: 1912px) {
    .auth-content {
        width: 40% !important;
    }
}

.auth-form {
    width: 50%;
}

    .auth-form .captcha {
        padding: 4px 12px 2px 2px;
        text-align: right;
        width: 100%;
        border-radius: 5px;
    }

        .auth-form .captcha .captcha-label {
            font-family: "Vazir";
            font-size: 1rem;
            font-weight: bold;
            width: calc(40% - 10px);
            border: none;
        }

        .auth-form .captcha .captcha-input {
            font-family: "Vazir";
            font-size: 1rem;
            margin: 0 5px;
            padding: 5px 42px;
            transition: 0.4s;
            width: 60%;
            border: 0;
        }

            .auth-form .captcha .captcha-input:focus,
            .auth-form .captcha .captcha-input:active {
                border: 0 !important;
            }

@media (max-width: 1022px) {
    .auth-form {
        width: 60% !important;
    }
}

@media (max-width: 1150px) {
    .auth-form {
        width: 65% !important;
    }
}

@media (max-width: 1358px) {
    .auth-form {
        width: 70% !important;
    }
}

@media (max-width: 1150px) {
    .auth-form {
        width: 75% !important;
    }
}

@media (max-width: 1022px) {
    .auth-form {
        width: 80% !important;
    }
}

@media (max-width: 798px) {
    .auth-form {
        width: 85% !important;
    }

    .auth-content {
        width: 100% !important;
    }
}

/* Select2 */
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    left: 3px;
}

    .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
        right: 50%;
        margin-right: -4px;
    }

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-right: 0.75em;
    text-align: right;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    padding: 0;
    padding-left: 5px;
    float: right;
    margin-right: 5px;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 3px;
    margin-left: 1px;
    padding-left: 3px;
    padding-right: 3px;
    float: right;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear {
    margin-left: 0;
    left: 0.7em;
}

.select2-container--bootstrap4 .select2-search--inline {
    float: right;
}

.input-group-prepend ~ .select2-container--bootstrap4 .select2-selection {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .select2-container--bootstrap4:not(:last-child) .select2-selection {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.select2-container--bootstrap4 .select2-results__option[role=group] .select2-results__options--nested .select2-results__option {
    padding-right: 1em;
}

.select2-container--bootstrap4 .select2-selection__clear {
    padding-right: 0.15em;
    float: left;
    margin-left: 0.3em;
}

/* Card */
.title-text {
    min-width: 120px;
}

.title-dash {
    font-size: 1.125rem;
    font-weight: lighter !important;
    margin: 0 10px;
}

.card-title-dash {
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 2px;
}

    .card-title-dash.card-subtitle-dash {
        font-style: normal;
        font-weight: normal;
        font-size: 13px;
        line-height: 18px;
        margin: 0;
    }

/* Data table */
.data-table {
    font-size: 0.815rem !important;
    font-weight: normal;
}

    .data-table .length-card {
        position: relative;
        float: left !important;
        margin: 0 10px 0 0 !important;
    }

        .data-table .length-card label {
            margin: 0 !important;
        }

        .data-table .length-card select {
            font-size: 0.815rem !important;
            font-weight: normal;
            height: 30px !important;
            width: 58px;
        }

    .data-table .filter-card {
        width: 100% !important;
    }

        .data-table .filter-card label {
            padding: 0 !important;
            width: 100% !important;
        }

        .data-table .filter-card input {
            width: calc(100% - 15px);
            padding: 0 7px !important;
            font-size: 0.815rem !important;
            background-clip: padding-box;
            border-radius: 5px;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, width 0.5s;
        }

            .data-table .filter-card input:hover,
            .data-table .filter-card input:focus {
                outline: 0;
            }

/* Table */
.table {
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

    .table > :not(caption) > * > * {
        padding: 0.5rem 0.5rem;
        border-bottom-width: var(--bs-border-width);
    }

    .table > tbody {
        vertical-align: inherit;
    }

    .table > thead {
        vertical-align: bottom;
    }

.table-group-divider {
    border-top: calc(var(--bs-border-width) * 2) solid currentcolor;
}

.caption-top {
    caption-side: top;
}

.table-sm > :not(caption) > * > * {
    padding: 0.25rem 0.25rem;
}

.table-bordered > :not(caption) > * {
    border-width: var(--bs-border-width) 0;
}

    .table-bordered > :not(caption) > * > * {
        border-width: 0 var(--bs-border-width);
    }

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 0;
}

.table-borderless > :not(:first-child) {
    border-top-width: 0;
}

.table-primary {
    --bs-table-color: #000;
    --bs-table-bg: #cfe2ff;
    --bs-table-border-color: #a6b5cc;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-secondary {
    --bs-table-color: #000;
    --bs-table-bg: #e2e3e5;
    --bs-table-border-color: #b5b6b7;
    --bs-table-striped-bg: #d7d8da;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #cbccce;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #d1d2d4;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-success {
    --bs-table-color: #000;
    --bs-table-bg: #d1e7dd;
    --bs-table-border-color: #a7b9b1;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-info {
    --bs-table-color: #000;
    --bs-table-bg: #cff4fc;
    --bs-table-border-color: #a6c3ca;
    --bs-table-striped-bg: #c5e8ef;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #badce3;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfe2e9;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-warning {
    --bs-table-color: #000;
    --bs-table-bg: #fff3cd;
    --bs-table-border-color: #ccc2a4;
    --bs-table-striped-bg: #f2e7c3;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #e6dbb9;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #ece1be;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-danger {
    --bs-table-color: #000;
    --bs-table-bg: #f8d7da;
    --bs-table-border-color: #c6acae;
    --bs-table-striped-bg: #eccccf;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfc2c4;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5c7ca;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-light {
    --bs-table-color: #000;
    --bs-table-bg: #f8f9fa;
    --bs-table-border-color: #c6c7c8;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-dark {
    --bs-table-color: #fff;
    --bs-table-bg: #212529;
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.table-box {
    min-height: 315px !important;
    overflow: auto;
}

.table-btn {
    min-width: 72px;
}

.table thead th {
    padding: 5px;
    height: 28px;
    vertical-align: middle;
}

.table thead > tr.filters > th {
    padding: 3px 0 3px 5px;
    border-top: none;
}

    .table thead > tr.filters > th:before,
    .table thead > tr.filters > th:after {
        right: 0;
        content: "";
    }

.table td.col-label {
    min-width: 135px;
    text-align: left;
}

.table td.col-field {
    text-align: right;
}

.table-sm {
    font-size: 0.875rem !important;
}

    .table-sm thead th,
    .table-sm tbody td {
        padding: 7px 12px;
        height: 28px;
        vertical-align: middle;
    }

    .table-sm thead tr.title {
        text-align: right;
        font-weight: bold;
    }

        .table-sm thead tr.title th.title-label {
            text-align: left !important;
        }

    .table-sm thead > tr.filters > th {
        padding: 0.75px 0 0.75px 1.5px;
        border-top: none;
    }

    .table-sm.table-head-fixed {
        min-height: 315px !important;
        max-height: calc(100vh - 200px) !important;
    }

        .table-sm.table-head-fixed thead,
        .table-sm.table-head-fixed thead tr:nth-child(1) th {
            border-top: none;
            box-shadow: none;
            position: -webkit-sticky;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .table-sm.table-head-fixed.table-height-relative {
            min-height: fit-content !important;
            max-height: fit-content !important;
        }

    .table-sm.table-head-realative tbody tr,
    .table-sm.table-head-realative tbody th {
        pointer-events: none;
    }

.table tr.conflict-row {
    color: #000000;
    background-color: rgba(255, 55, 0, 0.7);
}

    .table tr.conflict-row:hover {
        color: #000000;
        background-color: rgba(255, 125, 0, 0.9);
    }

.table tr.deactive-row {
    color: #999999;
    background-color: rgba(208, 208, 208, 0.1);
}

    .table tr.deactive-row:hover {
        color: #666666;
        background-color: rgba(208, 208, 208, 0.5);
    }

.table tr.deleted-row {
    color: #ff0000;
    background-color: rgba(208, 208, 208, 0.1);
    text-decoration: line-through;
}

    .table tr.deleted-row:hover {
        color: #990000;
        background-color: rgba(208, 208, 208, 0.5);
    }

.table.box-shadow {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.table.border-top-primary {
    border-top: 3px solid #3c8dbc;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-info {
    border-top: 3px solid #00c0ef;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-danger {
    border-top: 3px solid #dd4b39;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-warning {
    border-top: 3px solid #f39c12;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-success {
    border-top: 3px solid #00a65a;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-light {
    border-top: 3px solid #f0f3f6;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-dark {
    border-top: 3px solid #606c84;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-white {
    border-top: 3px solid #fff;
    border-radius: 3px 3px 2px 2px;
}

.table.border-top-primary th,
.table.border-top-info,
.table.border-top-danger,
.table.border-top-warning,
.table.border-top-success,
.table.border-top-light,
.table.border-top-dark,
.table.border-top-white {
    border-top: none;
}

.table tr.hold-row td {
    background-color: #fff0df;
    color: #333;
}

.table tr.complete-row td {
    color: #339966;
    font-weight: bolder
}

.table tr.complete-row:hover td {
    color: #337755;
}

.table tr.not-complete-row td {
    color: #dd6633;
}

.table tr.not-complete-row:hover td {
    color: #bb6633;
}

.table tr.initialize-row td {
    color: #3366ff;
}

.table tr.initialize-row:hover td {
    color: #3366bb;
}

.table tr.conflict-row td {
    color: #ff0000;
}

.table tr.conflict-row:hover td {
    color: #dd0000;
}

.table tr.deactive-row td {
    color: #999999;
}

.table tr.deactive-row:hover td {
    color: #666666;
}

.table tr.deleted-row td {
    color: #dd0000;
    text-decoration: line-through;
}

.table tr.deleted-row:hover td {
    color: #990000;
}

.col-detail {
    background-color: #f6f6f6 !important;
    border: 1px solid #dfdfdf !important;
}

/* Image */
.img-attach {
    width: 100%;
    height: auto !important;
    min-height: 250px;
    border-radius: 4px;
    padding: 4px 4px 24px 4px;
}

    .img-attach.thumb {
        padding: 8px 72px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

    .img-attach.logo {
        padding: 8px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }

.img-profile {
    width: 100%;
    min-width: 225px;
    height: auto !important;
    min-height: 230px;
    border-radius: 4px;
    padding: 4px 4px 24px 4px;
}

    .img-profile.thumbnail {
        min-width: 45px;
        min-height: 48px;
        padding: calc(18% - .4rem);
    }

.img-list.thumbnail {
    width: 100%;
    height: auto;
    border-radius: 2px;
    padding: 2px;
}

/* Modal */
.modal-box .modal-dialog {
    position: relative;
    margin: 0;
    padding: 10px;
    max-width: 100%;
    height: 100vh !important;
    display: flex;
    justify-content: center;
}

.modal-box .modal-content {
    margin: auto !important;
    max-width: calc(100% - 20px) !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 5px;
    overflow: auto;
}

    .modal-box .modal-content.modal-fit {
        width: fit-content !important;
    }

    .modal-box .modal-content.modal-sm {
        width: calc(30% - 20px) !important;
        min-width: 300px !important;
    }

    .modal-box .modal-content.modal-md {
        width: calc(50% - 20px) !important;
        min-width: 600px !important;
    }

    .modal-box .modal-content.modal-lg {
        width: calc(70% - 20px) !important;
        width: 800px !important;
    }

    .modal-box .modal-content.modal-xl {
        width: calc(90% - 20px) !important;
        width: 1024px !important;
    }

    .modal-box .modal-content.modal-full {
        width: calc(100% - 20px) !important;
    }

    .modal-box .modal-content .modal-header {
        padding: 10px 25px;
        width: 100% !important;
    }

        .modal-box .modal-content .modal-header h3,
        .modal-box .modal-content .modal-header h5 {
            float: right !important;
            font-size: 16px;
        }

        .modal-box .modal-content .modal-header .icon {
            top: 5px !important;
            float: right !important;
            margin-left: 12px;
        }

        .modal-box .modal-content .modal-header .close-btn,
        .modal-box .modal-content .modal-header .resize-btn {
            position: absolute;
            top: 10px !important;
            left: 20px !important;
            float: left !important;
            margin: 0 !important;
            padding: 0 !important;
            opacity: 1;
        }

            .modal-box .modal-content .modal-header .close-btn i,
            .modal-box .modal-content .modal-header .resize-btn i {
                margin-right: 24px !important;
                font-size: 14px;
            }

    .modal-box .modal-content .modal-body {
        padding: 20px 25px 15px 25px;
        width: 100% !important;
        height: 100% !important;
        min-height: 90px !important;
        max-height: calc(100vh - 126px) !important;
        overflow-x: hidden;
        overflow-y: auto;
    }

        .modal-box .modal-content .modal-body .dia-iframe {
            position: absolute;
            margin: 0;
            padding: 0 !important;
            top: 0 !important;
            left: 0 !important;
            bottom: 0 !important;
            right: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background-color: transparent;
            border-radius: 0 0 5px 5px;
            z-index: 9999;
        }

        .modal-box .modal-content .modal-body .dia-loading {
            position: absolute;
            background-color: transparent;
            text-align: center;
            width: 100%;
            z-index: 10000;
            display: none;
        }

            .modal-box .modal-content .modal-body .dia-loading i {
                vertical-align: middle
            }

        .modal-box .modal-content .modal-body .dia-overlay {
            position: absolute;
            background-color: transparent;
            width: 100%;
            z-index: 10000;
            display: none;
        }

    .modal-box .modal-content .modal-footer {
        padding: 7px 25px;
        width: 100% !important;
    }

    .modal-box .modal-content .print-body {
        margin: 0;
        padding: 0 !important;
        max-height: calc(100vh - 92px) !important;
        background-color: transparent;
        border-radius: 0 0 5px 5px;
        overflow: hidden;
        z-index: 9999;
    }

        .modal-box .modal-content .print-body .prn-iframe {
            position: relative;
            padding: 0 !important;
            width: 100%;
            height: calc(100vh - 92px);
            min-height: 330px;
            overflow: hidden;
            overflow-x: hidden;
            overflow-y: auto;
            clear: both;
        }

            .modal-box .modal-content .print-body .prn-iframe .prn-preview {
                position: absolute;
                margin: 0;
                padding: 0 !important;
                top: 0 !important;
                left: 0 !important;
                bottom: 0 !important;
                right: 0 !important;
                width: 100% !important;
                height: 100% !important;
                background-color: transparent;
                border-radius: 0 0 5px 5px;
                z-index: 9999;
            }

            .modal-box .modal-content .print-body .prn-iframe .img-preview {
                position: absolute;
                margin: auto !important;
                padding: 0 !important;
                top: 0 !important;
                left: 0 !important;
                bottom: 0 !important;
                right: 0 !important;
                width: auto !important;
                height: 100% !important;
                background-color: transparent;
                border-radius: 0 5px 5px 0;
                z-index: 9999;
            }

div.frame-box {
    position: relative;
    padding: 20px !important;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 330px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    clear: both;
}

/* Preloader */
.preloader {
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    width: 100%;
    transition: height 200ms linear;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

    .preloader > i.spin {
        width: 82px !important;
        height: 82px !important;
        -webkit-animation: spin 0.8s linear infinite;
        animation: spin 0.8s linear infinite;
    }

/*! waiting */
.waiting {
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    width: 100%;
    transition: height 200ms linear;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

    .waiting > i.spin {
        width: 82px !important;
        height: 82px !important;
        -webkit-animation: spin 0.8s linear infinite;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* datepicker */
.ui-datepicker * {
    font-family: "Vazir" !important;
}

.ui-datepicker .ui-datepicker-prev {
    transform: scale(-1, 1);
    right: 2px !important;
    left: auto !important
}

.ui-datepicker .ui-datepicker-next {
    transform: scale(-1, 1);
    left: 2px !important;
    right: auto !important
}

    .ui-datepicker .ui-datepicker-next span, .ui-datepicker .ui-datepicker-prev span {
        right: 50% !important;
        margin-right: -8px !important;
    }

/* daterangepicker */
.daterangepicker * {
    font-family: "Vazir" !important;
}

.daterangepicker td.start-date {
    border-radius: 0px 4px 4px 0px !important;
}

.daterangepicker td.end-date {
    border-radius: 4px 0px 0px 4px !important;
}

/* dropdown */
.navbar-dropdown-menu {
    padding: 0 0 0.75rem 0;
}

    .navbar-dropdown-menu .dropdown-item {
        margin: 0;
    }

    .navbar-dropdown-menu a.dropdown-item {
        margin: 0.5rem 0;
    }

.flip-h {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.flip-v {
    -moz-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    transform: scale(1, -1);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    margin: 0 !important;
    min-height: 0 !important;
    color: #8f908f;
    background-color: transparent !important;
    border-top: none !important;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

    .footer .copyright {
        float: left;
        font-weight: normal !important;
        text-shadow: 2px 2px 0 rgb(255, 255, 255), -2px -2px 0 rgb(255, 255, 255), 2px -2px 0 rgb(255, 255, 255), -2px 2px 0 rgb(255, 255, 255), 2px 2px 0 rgb(255, 255, 2550);
    }

    .footer .credits {
        padding-top: 5px;
        float: right;
        font-size: 13px;
        font-weight: bold !important;
        text-shadow: 1px 1px 0 rgb(255, 255, 255), -1px -1px 0 rgb(255, 255, 255), 1px -1px 0 rgb(255, 255, 255), -1px 1px 0 rgb(255, 255, 255), 1px 1px 0 rgb(255, 255, 2550);
    }

        .footer .credits a {
            color: #00683c !important;
        }

    .footer .error-license {
        color: #f02200 !important;
        font-weight: bold;
        filter: brightness(110%);
        text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #f90b3e, 0 0 5px #f93b6e, 0 0 6px #f96b9e, 0 0 7px #f93bce, 0 0 8px #f90bfe;
        -webkit-animation: orang 1.5s ease-in-out infinite alternate;
        animation: orang 1.5s ease-in-out infinite alternate;
    }
