﻿html {
    direction: rtl;
}

body {
    font-size: 1rem !important;
}

.body-bg {
    background-image: url(/img/header-bg.jpg);
    background-repeat: repeat;
    background-size: 100% auto;
}

.body-bg-login {
    background-image: url(/img/bg09-dark.jpg);
    background-position: center;
}

.error-page-bg {
    background: url(/img/bg01.webp), no-repeat;
}

.header .logo-wrapper a.logo img {
    max-width: 120px;
    max-height: 70px;
}

.header {
    background: inherit;
}

.footer {
    margin-top: 1rem;
}

footer a {
    color: #ffffff !important;
    text-decoration: auto;
}

    footer a:hover {
        color: #b6ff00 !important;
    }

    footer a:link {
        color: #00ff21 !important;
    }

i {
    color: inherit;
}

.avatar {
    width: 55px;
    height: 55px;
    border-radius: 55px;
}

.login-company-name-desktop, .login-company-name-mobile {
    color: #7E8299;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

@media screen and (min-width: 990px) {
    .login-company-name-desktop {
        display: block;
    }

    .login-company-name-mobile {
        display: none;
    }
}

@media screen and (max-width: 990px) {
    .login-company-name-desktop {
        display: none;
    }

    .login-company-name-mobile {
        display: block;
    }
}

.card-custom {
    border: 1px solid #ddd;
    margin: 15px;
}

@media (max-width: 992px) {
    .card-custom {
        margin: 0px;
    }

    .card .card-body {
        padding: 1rem 1rem;
    }

    .card .card-footer {
        padding: 1rem 1rem;
    }
}

/*--- begin :: Tree ---*/
.tree {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

    .tree li {
        list-style-type: none;
        margin: 0;
        padding: 10px 18px 0 5px;
        position: relative;
    }

        .tree li::before, .tree li::after {
            content: ''; /*right:-20px;*/
            position: absolute;
            right: 0;
        }

        .tree li::before {
            border-right: 1px solid #999;
            bottom: 50px;
            height: 100%;
            top: 0;
            width: 1px;
        }

        .tree li::after {
            border-top: 1px solid #999;
            height: 20px;
            top: 25px;
            width: 18px;
        }

    .tree .tree_objects {
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border: 1px solid #ccc;
        border-radius: 2px;
        display: inline-block;
        padding: 8px 9px;
        text-decoration: none;
    }

    .tree li.parent_li > span {
        cursor: pointer;
    }

    .tree > ul > li::before, .tree > ul > li::after {
        border: 0;
    }

    .tree > ul ul {
        margin-right: 30px;
    }

    .tree li:last-child::before {
        height: 30px;
    }

    .tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
        background: #eee;
        border: 1px solid #94a0b4;
        color: #000;
    }
/*--- end :: Tree ---*/

#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;
        left: 0.75rem;
        top: 0.5rem;
    }

.field-validation-error, .validation-message {
    float: left;
    color: red;
}

/*--- begin :: Metronic 802 top card ---*/
@media(min-width: 992px) {
    .content {
        padding: 0 0;
    }
}

.content > .card:first-child {
    display: flex;
    background: inherit;
}

.content > .card-custom:first-child {
    border: inherit;
}

.content > .card > .card-header:first-child {
    padding: 0;
    border-bottom: inherit;
    background-color: transparent;
    z-index: 1;
}

@media (max-width: 992px) {
    .content > .card > .card-header:first-child {
        padding: 1.75rem 1rem;
    }
}

.content > .card .card-body {
    background: #f5f8fa;
    border-radius: 0.475rem 0.475rem 0 0;
    border: 1px solid #dee2e6;
}

.content > .card .card-footer {
    background: white;
    border-radius: 0 0 0.475rem 0.475rem;
}

.content:first-child > .card > .card-header > .card-title, .content > .card > .card-header > .card-title h1, .content > .card > .card-header > .card-title h2, .content > .card .card-header .card-title h3, .content > .card > .card-header > .card-title h4, .content > .card > .card-header > .card-title h5, .content > .card > .card-header > .card-title h6, .content > .card > .card-header .card-title {
    color: #ffffff;
    font-size: x-large;
    font-weight: 600;
}

.content .card .card-header .row {
    display: contents;
}
/*--- end :: Metronic 802 top card ---*/

/* begin :: top Navbar*/
.navbar-nav .dropdown-menu {
    width: max-content;
    min-width: 180px;
}

.nav-link {
    color: #F5F8FA;
}

    .nav-link:hover, .nav-link:focus {
        color: #FFF;
        transition: color 0.2s ease, background-color 0.2s ease;
        background-color: rgba(255, 255, 255, 0.1);
        /*border-radius: 0.5rem;*/
    }

    .nav-link:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

@media (max-width: 992px) {
    .navbar-nav .dropdown-menu {
        width: auto;
    }

    .nav-link {
        color: #3f3f3f;
    }

        .nav-link:hover {
            color: #3f3f3f;
            transition: color 0.2s ease, background-color 0.2s ease;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 0.5rem;
        }

        .nav-link:active {
            color: #479cc8;
        }

    .dropdown-item {
        line-height: 2rem;
    }

    .navbar-collapse {
        background-color: #fff;
        position: fixed;
        top: 65px;
        width: 100vw;
        right: 0px;
        line-height: 1.5rem;
        overflow: auto;
        height: 100%;
        padding: 10px 20px;
    }
}

.navbar-toggler-icon {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(44deg) brightness(100%) contrast(100%);
}
/* end :: top Navbar*/

.toast {
    font-family: IRANYekan, Tahoma, Poppins, Helvetica, "sans-serif" !important;
    right: 50px;
}

.rz-dropdown {
    height: inherit;
}

.rz-dropdown-trigger {
    right: auto;
    left: 1rem;
}

.rz-clear .rz-dropdown-label {
    padding-right: 0.375rem;
}

.rz-dropdown-clear-icon {
    right: auto;
    left: 2.5rem;
}

.badge-break {
    white-space: inherit
}

.cp {
    cursor: pointer;
}

    .cp:disabled {
        cursor: not-allowed;
    }

.captcha {
    max-height: 40px;
}

.ul-bullet {
    list-style-type: circle;
    margin: 10px;
}

.prescriptionTopbar {
    margin: -16px 0px 12px 0;
    border-bottom: solid 1px #12a694;
    padding-bottom: 9px;
    font-size: 12px;
}

.popup_box {
    display: none;
    min-width: 200px;
    background: #fff;
    z-index: 100;
    margin-left: 15px;
    border: 1px solid #354f7e;
    border-top-color: rgb(53, 79, 126);
    border-right-color: rgb(53, 79, 126);
    border-bottom-color: rgb(53, 79, 126);
    border-left-color: rgb(53, 79, 126);
    border-top-color: rgb(53, 79, 126);
    border-right-color: rgb(53, 79, 126);
    border-bottom-color: rgb(53, 79, 126);
    border-left-color: rgb(53, 79, 126);
    font-size: 15px;
    -moz-box-shadow: 0 0 5px #354f7e;
    -webkit-box-shadow: 0 0 5px #354f7e;
    border-radius: 14px;
    position: absolute;
    right: 0;
    top: 20px;
    overflow: auto;
}

.text-hover {
    padding: 0.5rem;
    margin: -0.5rem;
}

    .text-hover:hover {
        color: #fff !important;
    }

.text-start {
     font-size: 16px !important; 
}

.text-green {
    color: #20b363;
    font-size: 14px;
    font-family: system-ui;
    font-weight: 500;
}

.text-red {
    color: #F1416C;
    font-size: 14px;
    font-family: system-ui;
    font-weight: 500;
}

.referBox {
    max-height: 300px;
    overflow: auto;
    border-bottom: 48px solid #b264ff;
    margin-bottom: -57px;
    z-index: -1;
}

.box-header * {
    font-size: 12px !important;
}

.badge-gray {
    background-color: #c3c3c3;
}

.ltr {
    direction: ltr !important;
    text-align: left !important;
}

.mytable td .form-control {
    padding: 0px;
    direction: ltr;
    font-size: 12px;
    font-family: sans-serif;
}

.HealthServices {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
}

    .HealthServices .card-body {
        background-color: #fff;
    }

.popup_box {
    display: none;
    min-width: 200px;
    background: #fff;
    z-index: 100;
    margin-left: 15px;
    border: 1px solid #354f7e;
    border-top-color: rgb(53, 79, 126);
    border-right-color: rgb(53, 79, 126);
    border-bottom-color: rgb(53, 79, 126);
    border-left-color: rgb(53, 79, 126);
    border-top-color: rgb(53, 79, 126);
    border-right-color: rgb(53, 79, 126);
    border-bottom-color: rgb(53, 79, 126);
    border-left-color: rgb(53, 79, 126);
    font-size: 15px;
    -moz-box-shadow: 0 0 5px #354f7e;
    -webkit-box-shadow: 0 0 5px #354f7e;
    border-radius: 14px;
    position: absolute;
    right: 0;
    top: 20px;
    overflow: auto;
}

.btnDetail {
    color: #d2691e;
    cursor: pointer;
    margin-top: 1px;
    float: right;
    margin-left: 7px;
    /* display: none !important; */
    position: absolute;
    right: -10px;
    top: 0px;
    padding: 0;
    opacity: 0;
    -webkit-transition: opacity 4s;
    transition: opacity 4s;
    -moz-transition: opacity 4s;
}

.btnDetail2 {
    color: #d2691e;
    cursor: pointer;
    margin-top: 1px;
    float: right;
    margin-left: 7px;
    /* display: none !important; */
    position: absolute;
    right: -10px;
    top: 0px;
    padding: 0;
    opacity: 0;
    -webkit-transition: opacity 4s;
    transition: opacity 4s;
    -moz-transition: opacity 4s;
}

.btnDetail3 {
    color: #d2691e;
    cursor: pointer;
    margin-top: 1px;
    float: right;
    margin-left: 7px;
    /* display: none !important; */
    position: absolute;
    right: -10px;
    top: 0px;
    padding: 0;
    opacity: 1;
    -webkit-transition: opacity 4s;
    transition: opacity 4s;
    -moz-transition: opacity 4s;
}

.historyIco:hover span {
    /*display: block !important;*/
    opacity: 1;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
    -moz-transition: opacity 1s;
}

.shadowgradiant {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgb(0 0 0 / 40%) 100%);
}

.modal .modal-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #eff2f5;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05), inset 0 -1px 0 rgba(0,0,0,0.15);
    z-index: 1000;
}

.card .card-header {
    border-bottom: 1px solid #dee2e6;
    background-color: #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05), inset 0 -1px 0 rgba(0,0,0,0.15);
    min-height: 58px;
}

.modal .modal-body {
    border-bottom: 1px solid #dee2e6;
    background-color: #f5f8fa;
}

.modal-content {
    background-color: #f5f8fa;
}

.card .card-body {
    border: 1px solid #e4e6ef;
    background-color: #f5f8fa;
}

.card {
    background-color: transparent;
}

    .card .card-footer {
        background-color: #f5f8fa;
    }

.btn:not(.btn-outline):not(.btn-dashed):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon) {
    border: 1px solid;
}

.table {
    --bs-table-striped-color: #000000;
    --bs-table-striped-bg: #006abd17;
}

.blazored-typeahead {
    background-color: #fff;
}

.dropdown-menu {
    width: 100%;
}

.datepicker-plot-area {
    font: inherit !important;
}

    .datepicker-plot-area .header {
        min-height: unset !important;
        height: auto !important;
        background-color: #eff2f5 !important;
    }

.blazored-typeahead__active-item, .blazored-typeahead__result:hover, .blazored-typeahead__result:focus {
    background-color: #bde3ff;
    border-top: none;
    border-bottom: none;
    color: #1b2247ef;
}

.blazored-typeahead__input-icon {
    width: 30px;
    border-radius: 5px 0px 0px 5px;
}

.vh40 {
    overflow: scroll;
    height: 40vh;
}

.fontEn {
    font-family: sans-serif;
    direction: ltr;
}

.loadingnew {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
    z-index:9999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}
.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/*.loadingnew {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 50px auto;
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

.loadingnew:before {
    content: "\f110";
    font-family: FontAwesome;
    font-size: 20px;
    position: absolute;
    top: 0;
}*/
.form-control {
    padding: 5px;
    color: #18191f;
}
.form-select {
    padding: 5px;
    color: #18191f;
}
.datepicker_wrapp .form-control-sm {
    padding: 5px;
    text-align: right;
}
.blazored-typeahead__results {
    color: #000 !important;
    font-weight: bold;
}
.modal .blazored-typeahead__results {
    position: relative;
}
.table {
    --bs-table-hover-bg: #a8e4fd;
    --bs-table-hover-color: #003439;
}
.appMenu .navi-link .navi-icon {
    width: 100% !important;
    display: block;
}
.appMenu .svg-icon svg {
    height: 3.15rem;
    width: 3.15rem;
    margin-top: 15px;
    margin-bottom: 10px;
}
.appMenu .navi-item .navi-text {
    color: #3f4149;
    font-weight: 700;
    cursor: pointer;
}
.appMenu .header {
    text-align: center !important;
    font-size: 35px;
    margin-top: 26px;
    font-weight: 900;
    color: white;
    width: 100% !important;
    display: block;
}
.appMenu .navi .navi-item {
    background-color: #e8e8e8;
    border-radius: 10px;
    margin: 0 14px;
    text-align: center;
    padding-bottom: 15px;
}
.appMenu .card-custom {
    border: 1px solid #dddddd8c;

}
.appMenu .card .card-body {
     border: none;
    background-color: #ffffff30;
}
.appMenu .navi .navi-item {
    background-color: #e8e8e8;
    border-radius: 10px;
    margin: 0 14px;
    text-align: center;
    padding: 15px 0;
}
.appMenu .navi-icon i {
    font-size: 25px;
    margin: 13px;
    color: #969696;
}

.FavouritList {
    max-height: 130px;
    overflow: auto;
}
.modal-full {
    width: 98% !important;
    max-width: 100% !important;
}

.Announcement1 {
    background-color: #03b0fd;
    padding: 6px 20px;
    border-radius: 32px;
    text-align: center;
    font-weight: 700;
    font-size: larger;

}

.Announcement2 {
    background-color: darkcyan;
    padding: 6px 20px;
    border-radius: 32px;
    text-align: center;
    font-weight: 700;
    font-size: larger;
}


.warning {
    background-color: #FFC107;
    color: black;
    font-weight: bold;
}


.ListHeight50 {
    max-height: 40vh;
    overflow: auto;
}
.ListHeight100 {
    max-height: 80vh;
    overflow: auto;
}
.modal-body .prescription button.nav-link {
    color: #757575;
}

.important_empty_class.row .card-body {
    max-height: 300px;
    overflow: auto;
    padding: 10px;
}
span, ol, ul, pre, div, .modal-body, span:hover, ol:hover, ul:hover, pre:hover, div:hover {
    scrollbar-width: thin;
    scrollbar-color: #929292 transparent;
}
.scroll-height4x4 {
    overflow: auto;
    height:calc(50vh - 200px);
}