@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn UI FD;
    src: url('../fonts/webfonts/Vazirmatn-UI-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


a, a:hover, a:active, a:focus {
    text-decoration: none
}

html, body {
    background-color: #fafafa !important;
    font-family: 'Vazirmatn UI FD' !important;
    font-feature-settings: "ss01";
    direction: rtl;
    text-align: right;
    color: #040036;
    font-size: 14px;
    min-height: 100vh;
}

body {
    padding-bottom: 30px;
}

a, .btn-link {
    color: #0366d6;
}



.content {
    padding-top: 1.1rem;
}



.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.logo {
    margin: 0px auto;
    display: block;
    width: fit-content;
}


img.logo {
    max-height: 100px;
}

div.logo {
    color: #2ec4b6;
    font-size: 30px;
    font-weight: 300;
}

.intro1, .intro2, .bgblack {
    margin-top: 15px;
    margin-bottom: 35px;
    padding: 15px;
}

.intro1 {
    background-color: #fff;
    border-radius: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.intro2 {
    background: url('../img/back1.svg') center center;
    background-color: #2ec4b6;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.bgblack {
    background: url('../img/back1.svg') center center;
    background-color: #242424;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

@media (min-width: 576px) {
    .intro1 {
        border-radius: 20px;
    }
}

@media (min-width: 769px) {

    img.logo {
        max-height: 130px;
    }

    div.logo {
        font-size: 40px;
        font-weight: 500;
    }
}

.ltr-input {
    direction: ltr;
    text-align: left;
}

.spinner-border {
    width: 1.4rem !important;
    height: 1.4rem !important;
}

/*.allpage {
    margin: 0 auto;
    width: 98%;*/
/*وقتی هست در موبایل لاگین کوچک می شود
    display: flex;*/
/*}*/

.bigbtn {
    max-width: 220px;
}

footer {
    display: none;
    position: fixed;
    bottom: 0px;
    background-color: #626262;
    padding: 3px 10px;
    text-align: center;
    width: 100%;
}

@media (min-width: 769px) {
    footer {
        display: block;
    }

    /*    .allpage {
        margin-bottom: 35px;
    }*/
}

footer a {
    color: #fff;
}

    footer a:hover {
        color: #ffeb00;
    }

.validation-errors {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #d7191952;
    border-radius: 10px;
    box-shadow: 4px 6px 3px #ccc;
}

    .validation-errors li {
        list-style: none;
    }

.validation-message {
    color: #721c24;
}

.inputshadow {
    box-shadow: 3px 3px 3px #ccc;
    margin-bottom: 10px;
    border-radius: 7px;
    transition: box-shadow 0.5s;
}



.left {
    float: left;
}

.btn:hover {
    box-shadow: 3px 3px 3px #817e7e;
}

.inputshadow:has( .form-control:focus), .inputshadow:has( .form-control:active) {
    box-shadow: 3px 3px 6px #363535;
}

.inputshadow:has( .invalid) {
    box-shadow: 3px 3px 2px #ed2033;
}

.form-control {
    border-color: #e9e9e9;
    border-radius: 6px;
}

    .form-control:focus {
        border-color: #ced4da !important;
        box-shadow: none;
    }

.form-check-label {
    margin-right: 20px;
}
.btn {
 
    transition: all 1s;
    padding: 0.3rem 15px !important;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
    transform: scale(.80) translateY(-1rem) translateX(-0.15rem) !important;
    background-color: #fff6;
    width: fit-content;
    padding: 0px 10px !important;
    height: unset;
}

.form-floating > .form-control-plaintext:focus, .form-floating > .form-control-plaintext:not(:placeholder-shown), .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1rem !important;
}

.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    height: calc(2.5rem + 12px) !important;
}

.form-floating > label {
    padding: 1rem 0.75rem !important;
}

.top-row {
    background-color: #2ec4b6;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.btn .oi {
    top: 5px;
    font-size: 18px
}

.categorybox {
    border: 1px solid #ccc;
    border-radius: 8px;
    display: block;
    height: 100px;
    text-align: center;
    align-items: center;
    transition-duration: 0.4s;
}

    .categorybox:hover {
        border: 1px solid #555;
        box-shadow: 2px 2px 4px #333;
    }

    .categorybox img {
        width: 80px;
        display: block;
    }

.addbtn {
    background-color: #212529;
    border: 2px solid #000000;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    font-size: 20px;
    border-radius: 35px;
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

    .addbtn i {
        margin: 0px auto;
    }

.alert-info {
    border: 2px dashed #000891;
    text-align: justify;
}

.datatable {
    width: 100%;
    background-color: #fff;
}

    .datatable h3 {
        margin: 15px 15px 0px 0px;
    }

    .datatable tfoot, .datatable thead {
        background-color: #f0f0f0;
        border-radius: 5px;
        z-index: 2;
    }

    .datatable tr {
        border-bottom: 1px solid #ccc;
    }

    .datatable thead tr, .datatable tfoot tr {
        border-bottom: none;
    }

    .datatable td {
        padding: 3px 5px;
        line-height: 36px;
    }

        .datatable td > .checkbox {
            display: block;
        }

    .datatable tr:has( td:hover) {
        box-shadow: 2px 2px 3px #bbb;
        ;
    }

    .datatable thead tr:has( td:hover), .datatable tfoot tr:has( td:hover) {
        box-shadow: none;
    }

    .datatable tr:has(.checkbox:checked) {
        background-color: #deecf9;
    }



    .datatable tfoot ul {
        list-style: none;
        margin-bottom: 0px;
        padding-right: 0px;
    }

        .datatable tfoot ul li {
            display: inline-block;
            width: 28px;
            font-weight: 500;
            margin: 5px 2px;
            cursor: pointer;
            border: 1px solid #626262;
            border-radius: 6px;
            text-align: center;
            line-height: 33px;
        }

            .datatable tfoot ul li.active {
                background-color: #ffffff;
                color: #000;
                font-weight: 600;
            }

tfoot ul {
    display: contents !important;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: #2a2929;
    pointer-events: none;
    background-color: #9e9e9e;
    border-color: #9e9e9e;
}

.chips {
    margin: 2px;
    border: 1px solid #2ec4b6;
    background-color: #e6f4ff;
    border-radius: 17px;
    height: 34px;
    line-height: 30px;
    display: inline-table;
    word-break: keep-all;
    white-space: nowrap;
    padding: 0px 5px;
}

.ql-editor {
    direction: rtl;
    text-align: right;
}

.hand {
    cursor: pointer
}

.tagchips {
    padding: 4px 10px;
    width: fit-content;
    background-color: #2196f3;
    color: #fff;
    margin: 2px 6px;
    border-radius: 15px;
}

    .tagchips i {
        color: #870000;
    }

.ql-editor {
    text-align: right !important;
    direction: rtl !important;
}

td {
    vertical-align: top
}

.searchBtn {
    border: none;
    background-color: transparent;
    padding-top: 5px;
    height: 31px;
}

.filteringrow td {
    padding-top: 8px;
}

header div .bx {
    font-size: 24px;
}

td.hand {
    color: #0366d6;
}

    td.hand:hover {
        text-decoration: underline
    }

td.NumberCol {
    direction: ltr;
    text-align: left
}

input:read-only, textarea:read-only {
    background-color: #eee !important;
}

.form-check-input:checked {
    background-color: #13fd0d !important;
    border-color: #40bb40 !important;
}



.accordion {
    width: 224px;
}

.accordion-item, .accordion-button {
    background-color: transparent !important
}

.accordion-button {
    color: #afa5d9 !important;
}

.accordion-item {
    border: none !important;
}

.accordion-button:not(.collapsed) {
    box-shadow: none !important
}

.accordion-button .nav_icon {
    padding: 0 10px 0 10px;
}

.accordion-body {
    padding: 4px 40px !important;
    background-color: #39383b !important;
    color: #fff !important;
}

    .accordion-body .nav_logo, .accordion-body .nav_link {
        column-gap: 2.5rem !important;
        padding: 0.5rem 1.97rem 0.5rem 0 !important;
    }

.searchresault {
    position: absolute;
    z-index: 99999;
    background-color: #d9ebec;
    margin-bottom: 21px;
    border: 1px solid #8ff2f8;
    padding: 3px 5px;
    box-shadow: 8px 8px 16px #837a7a;
}

textarea {
    height: unset !important
}
.EndBtn {
    height: 80px;
}
.EndBtn, .EndBtn2 {
    justify-content: flex-end !important;
    padding: 10px;
    display: flow-root;
}
    .EndBtn .btn {
        margin: 2px 5px;
        float: left;
    }
@media (max-width: 575.98px) {
    .EndBtn {
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 1030;
    }
}

.NoImageBox {
    border-radius: 10px;
    background-color: #dfdfdf;
    display: block;
    text-align: center;
    padding: 8px 0px;
}

.form-select-sm ~ .select2-container--bootstrap-5 .select2-selection--single {
    padding: 1rem .5rem 1rem 2.25rem !important;
}

.select2-container .select2-selection--single {
    height: 51px !important;
}

.form-select-sm ~ .select2-container--bootstrap-5 .select2-selection,
.form-select-sm ~ .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option,
.form-select-sm ~ .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    font-size: 14px !important;
}
.red {
    color: red;
}

.green {
    color: green;
}

.black {
    color: black;
}
.ant-input-number  {
    width: 100% !important;
}
.btn-success {
    background-color: #009106;
}

    .btn-success:hover {
        background-color: #38913c;
    }
.flashing {
    -webkit-animation: flashing 6s infinite linear;
    animation: flashing 6s infinite linear;
}

@keyframes flashing {
    0% {
        opacity: 1
    }

    45% {
        opacity: 0
    }

    90% {
        opacity: 1
    }
}
.bi {
    font-size: 24px;
}

@media (max-width: 575.98px) {

    .bi {
        font-size: 26px;
    }

    .addbtn .bi {
        font-size: 31px;
        margin-top: -3px;
        padding: 0px;
        display: inline-flex;
        color: #ffffff !important;
    }

        .addbtn .bi.hasText {
            padding: 0px 0px 0px 7px !important;
        }
}

.ant-menu-item {
    padding-right: 30px !important;
}

.ant-input-number {
    width: 100% !important
}

.select > label {
    transform: scale(.80) translateY(-1rem) translateX(-0.15rem) !important;
    background-color: #fff6 !important;
    width: fit-content !important;
    padding: 0px 10px !important;
    height: unset !important;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
    height: 40px !important
}

.ant-select-selector {
    height: 40px;
}

.ant-message .anticon {
    font-size: 24px !important;
}

.ant-message {
    font-size: 16px !important;
    z-index: 9999 !important;
    top: 45px !important
}

.ant-message-notice-content:has(.ant-message-success) {
    background-color: green !important;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    direction: rtl;
}

.ant-message-notice-content:has(.ant-message-error) {
    background-color: #d70000 !important;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    direction: rtl;
}

.ant-message-notice-content:has(.ant-message-warning) {
    background-color: #FFEE58 !important;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    direction: rtl;
}

.ant-message-warning .anticon {
    color: #ff002d !important;
}

.ant-message-success .anticon {
    color: #fff !important;
}

.ant-message-error .anticon {
    color: #fff !important
}

.ant-menu-sub.ant-menu-inline {
    background: #2a2f33 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400 !important;
    color: unset !important;
}

.ant-switch-inner {
    font-size: 14px !important;
}

