﻿/* datetime picker fix */
.mds-bootstrap-persian-datetime-picker-container {
    min-width: 200px;
}

/* White Space Fix */
html {
    overflow-x: hidden;
}

/* rtl fix */
body {
    direction: rtl;
    font-family: "IRANSansWeb", Tahoma;
    text-align: right;
    background-repeat: no-repeat;
    background-size: 43% 100%;
    background-position: top right;
    background-position-y: center;
    padding-right: 0 !important;
}

.persian-numbers {
    font-feature-settings: "lnum" 0, "tnum" 0; /* تبدیل به اعداد فارسی */
}

.navbar-nav {
    padding-right: 0 !important;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.input-group > .custom-select:not(:last-child),
.input-group > .form-control:not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group > .custom-select:not(:last-child),
.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item:first-child .page-link {
    margin-right: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-control-label::before,
.custom-control-label::after {
    right: -1.5rem;
}

.custom-control {
    padding-right: 1.5rem;
}

.dir-ltr {
    direction: ltr;
}

.modal-header .close {
    margin: -1rem auto -1rem -1rem !important;
}

/* end rtl fix */

#wrapper {
    display: flex;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #494a53;
    background-color: #e6e6ed;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-form {
    background-color: #efefef !important;
}

.form-control:focus {
    box-shadow: 0 0 0.8rem 0rem rgba(0, 123, 255, 0.09);
}

.card .form-control {
    background-color: #fbfbfb;
}

    .card .form-control:disabled {
        background-color: #e9ecef;
        border-color: #eee;
    }

    .card .form-control:focus {
        background-color: #fff;
    }

/* User Form */
form.user .form-control-user {
    background-color: #ffffff;
    font-size: .8rem;
    border-radius: 10rem;
    padding: 1.5rem 1rem;
}

form.user .btn-user {
    font-size: .8rem;
    border-radius: 10rem;
    padding: .75rem 1rem;
}

form.user .custom-control {
    padding-right: 1.5rem;
}

.custom-checkbox {
    line-height: 1.5rem;
}

.custom-switch .custom-control-label::before {
    right: -2.25rem;
}

.custom-switch {
    padding-right: 2.25rem;
}

/* Button */

.btn-rounded {
    padding: .5rem .75rem;
    font-size: .825rem;
    border-radius: 5rem;
}

.btn-form {
    width: auto;
    font-size: 1rem;
    padding: .4rem .5rem;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: #111;
    border-radius: 5rem;
    display: inline-block;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: 0 1px 2px #eee;
}

    .btn-form:focus {
        outline: none;
    }

    .btn-form.btn-sm {
        font-size: .725rem;
        line-height: 1rem;
    }

@media only screen and (max-width: 768px) {
    .btn-form.btn-sm {
        font-size: .525rem;
        line-height: .75rem;
    }
}

.btn-grad-blue {
    background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA 51%, #1FA2FF 100%)
}

    .btn-grad-blue:hover {
        background-position: right center;
        /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.btn-grad-red {
    background-image: linear-gradient(to right, #ff1f2e 0%, #ff6363 51%, #e90000 100%);
}

    .btn-grad-red:hover {
        background-position: right center;
        /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.btn-grad-dark {
    background-image: linear-gradient(to right, #283048 0%, #859398 51%, #283048 100%)
}

    .btn-grad-dark:hover {
        background-position: right center;
        /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.btn-grad-light {
    background-image: linear-gradient(to right, #757F9A 0%, #D7DDE8 51%, #757F9A 100%)
}

    .btn-grad-light:hover {
        background-position: right center;
        /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.btn-green {
    font-size: .9rem;
    line-height: 1.6rem;
    background-color: #fff;
    color: #00c230;
    transition: .3s;
    border: 1px solid #e9e9e9;
}

    .btn-green:hover:not(:disabled) {
        text-decoration: none;
        background-color: #00c230;
        color: #fff;
        box-shadow: 0 1px 8px #eee;
        transform: translateY(-1px);
        cursor: pointer;
    }


.btn-blue {
    font-size: .9rem;
    line-height: 1.6rem;
    background-color: #fff;
    color: blue;
    transition: .3s;
    border: 1px solid #e9e9e9;
    cursor: pointer;
}

    .btn-blue:hover {
        text-decoration: none;
        box-shadow: 0 1px 8px #eee;
        background-color: blue;
        color: #fff;
        transform: translateY(-1px);
    }

.btn-red {
    font-size: .9rem;
    line-height: 1.6rem;
    background-color: #fff;
    color: red;
    transition: .3s;
    border: 1px solid #e9e9e9;
    cursor: pointer;
}

    .btn-red:hover {
        text-decoration: none;
        box-shadow: 0 1px 8px #eee;
        background-color: red;
        color: #fff;
        transform: translateY(-1px);
    }

.btn-dark {
    font-size: .9rem;
    line-height: 1.6rem;
    background-color: #fff;
    color: #111;
    transition: .3s;
    border: 1px solid #e9e9e9;
    cursor: pointer;
}

    .btn-dark:hover {
        text-decoration: none;
        box-shadow: 0 1px 8px #eee;
        background-color: #111;
        color: #fff;
        transform: translateY(-1px);
    }



/* Firefox */
input[type=number].no-spin {
    -moz-appearance: textfield;
}

.logo-img {
    max-width: 80px;
    max-height: 40px;
    width: auto;
    height: auto;
}

/* Sidebar */

@media only screen and (max-width: 768px) {
    .sidebar {
        display: none;
    }

        .sidebar.toggled {
            display: block !important;
            z-index: 10000;
        }
}

.close-side {
    position: absolute;
    top: 15px;
    left: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10000;
}

    .close-side:hover,
    .close-side:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

.sidebar {
    height: 100vh;
    z-index: 1000;
    box-shadow: 0 .75rem 1.5rem #12263f08;
    transition: 0.5s;
    overflow-y: scroll;
    scrollbar-width: none;
    background-color: #232e51;
}

.sidebar-dark .sidebar-brand {
    color: #fff;
}

.sidebar .sidebar-brand {
    height: 4.375rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    padding: 1.5rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .05rem;
    z-index: 1;
}

.sidebar-dark hr.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.sidebar hr.sidebar-divider {
    margin: 0 1rem 1rem;
}

.sidebar-dark .nav-item.active .nav-link i {
    color: #fff;
}

.sidebar-dark .nav-item .nav-link i {
    color: rgba(255, 255, 255, .3);
}

.sidebar-dark .nav-item.active .nav-link {
    color: #fff;
}

.sidebar .nav-item.active .nav-link {
    font-weight: 700;
}

.sidebar-dark .nav-item .nav-link {
    color: rgb(182 182 182);
}

.sidebar .nav-item .nav-link {
    /* text-align: center; */
    padding: .75rem 1rem;
    /* width: 6.5rem; */
    transition: .3s;
}

    .sidebar .nav-item .nav-link:hover {
        color: #fff;
        transform: translateX(-1px);
    }

.sidebar .nav-item .nav-link,
.topbar .nav-item .nav-link {
    position: relative;
}

.sidebar-dark .sidebar-heading {
    color: rgba(255, 255, 255, .4);
}

.sidebar .sidebar-heading {
    text-align: center;
    padding: 0 1rem;
    font-weight: 800;
    font-size: .65rem;
}

.sidebar-collapse {
    background-color: #fff;
}

.collapse-link {
    padding: .5rem 1.5rem;
    display: block;
    color: #3a3b45;
    text-decoration: none;
    white-space: nowrap;
    transition: .3s;
}

    .collapse-link:hover {
        background-color: #eaecf4;
        text-decoration: none;
        transform: translateX(-1px);
    }

.sidebar .nav-item .collapse-link.active {
    color: #4e73df;
    border-right: 2px solid #4e73df;
}

.sidebar-overlay {
    content: ' ';
    display: none;
    position: fixed;
    background: #00000082;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

@media (min-width: 768px) {
    .sidebar .nav-item .nav-link {
        display: block;
        width: 100%;
        text-align: right;
        padding: 1rem;
        width: 14rem;
    }

        .sidebar .nav-item .nav-link i {
            font-size: .85rem;
            margin-left: .25rem;
        }

    .sidebar .sidebar-heading {
        text-align: right;
    }

    .sidebar .nav-item .nav-link span {
        font-size: .85rem;
        display: inline;
    }
}


.topbar .dropdown-list {
    width: 20rem !important;
}

.topbar .dropdown-list {
    padding: 0;
    border: none;
    overflow: hidden;
}

    .topbar .dropdown-list .dropdown-header {
        background-color: #4e73df;
        border: 1px solid #4e73df;
        padding-top: .75rem;
        padding-bottom: .75rem;
        color: #fff;
    }

.dropdown-header {
    display: block;
    padding: .5rem 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
    font-size: .875rem;
    color: #858796;
    white-space: nowrap;
}

.dropdown-menu {
    text-align: right !important;
}

.topbar .dropdown-list .dropdown-item .text-truncate {
    max-width: 17.375rem;
}

/* Content */
#wrapper #content-wrapper {
    background-color: #fdfdfd;
}

/* topbar */
.topbar {
    width: 100%;
    height: 4.375rem;
    z-index: 1000;
}

    .topbar.navbar-light .navbar-nav .nav-item .nav-link {
        color: #d1d3e2;
    }

    .topbar .nav-item .nav-link {
        height: 4.375rem;
        display: flex;
        align-items: center;
        padding: 0 .75rem;
    }

        .sidebar .nav-item .nav-link .badge-counter,
        .topbar .nav-item .nav-link .badge-counter {
            position: absolute;
            transform: scale(.7);
            transform-origin: top right;
            right: .25rem;
            margin-top: -.25rem;
        }


        .sidebar .nav-item .nav-link .img-profile,
        .topbar .nav-item .nav-link .img-profile {
            height: 2rem;
            width: 2rem;
        }

.dropdown.no-arrow .dropdown-toggle::after {
    display: none;
}

/* dashboard */

.dashboard-summary {
    box-shadow: 0 .75rem 1.5rem #12263f08;
}

    .dashboard-summary:hover {
        text-decoration: none;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
        transition: .3s;
    }

        .dashboard-summary:hover h6 {
            color: #111 !important;
        }

/* table */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sort-header {
    color: #666 !important;
}

    .sort-header a {
        color: #666 !important;
        cursor: pointer;
    }

        .sort-header a:hover {
            color: #444 !important;
            text-decoration: none;
        }

        .sort-header a.sort-selected {
            color: #111 !important;
            font-weight: 900;
        }

    .sort-header th {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500 !important;
        border-bottom: 2px solid #eee !important;
        background-color: #fff !important;
    }

.table thead th {
    font-size: .8rem;
    font-weight: 300;
    border: none;
    background-color: #f8f9fa;
}

.table td, .table th {
    vertical-align: middle;
}

.table-spacing {
    border-spacing: 0 .2rem !important;
    border-collapse: separate;
}

    .table-spacing thead th {
        font-size: .8rem;
        font-weight: bold;
        border: none;
        background-color: #fafafa;
    }

    .table-spacing thead tr {
        box-shadow: 1px 4px 4px #ddd;
    }

    .table-spacing tr {
        box-shadow: 1px 2px 4px #f1f1f1;
    }

        .table-spacing tr:hover {
            box-shadow: 1px 4px 4px #ddd;
            background-color: #fbfbfb;
            transition: .3s;
        }

    .table-spacing td {
        border: none;
        padding: 1rem;
    }


/* detail */
.detail-name {
    color: #104477;
    font-size: .8rem;
    font-weight: 300;
}

.detail-value {
    font-size: 1rem;
    color: #000;
}

.contract-title {
    font-size: 1.5rem;
    line-height: 2.5rem;
}

/* Statement */
.statement-table td {
    width: 16%;
}

.btn-autorepotrt {
    border: solid 1px green;
    border-radius: 2rem;
}

.service-report-box {
    width: 13rem;
    margin-left: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: .2s ease-in-out;
}

    .service-report-box:hover {
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    }

    .service-report-box.draft {
        border-color: #ffc107;
    }

    .service-report-box.body {
        border-color: #17a2b8;
    }

    .service-report-box.final {
        border-color: #28a745;
    }

    .service-report-box.selected {
        box-shadow: 0 .25rem .5rem rgba(0,0,0,.15) !important;
        transform: translateY(-2px);
        border-color: #007bff;
    }

#report-normal-header {
    background-color: #6c757d;
    color: white;
    padding: .5rem;
    margin-bottom: 0;
}

    #report-normal-header.active {
        background-color: #007bff;
    }
/* Notification */
.notification {
    padding: 1rem;
    background-color: #fafafa;
    z-index: 1;
}

    .notification:hover {
        text-decoration: none;
        background-color: #ffffff;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        z-index: 10;
        transform: translateX(-1px);
    }
/*  */

.card-header:first-child {
    border-radius: calc(.35rem - 1px) calc(.35rem - 1px) 0 0;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #fafafa;
    border-bottom: 1px solid #e3e6f0;
}

    .card-header h6 {
        margin-bottom: 0;
    }


/* temp */

.dropdown a {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: auto;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0;
    margin: .125rem 0 0;
    font-size: .85rem;
    color: #858796;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e3e6f0;
    border-radius: .35rem;
}

.dropno::after {
    display: none;
}

.dropdown-item {
    text-align: right;
    padding: .5rem 1.5rem;
    border-right: 2px solid transparent;
    transition: .2s;
}

    .dropdown-item:hover {
        background-color: #f5f5f5;
        border-color: #007bff;
    }



.new-event .dropdown-menu {
    width: 100%;
    border: none;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.075);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.new-event .dropdown.show {
    background-color: #fff;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.075);
    transition: .3s;
}

.new-event .dropdown {
    border-bottom: 1px solid #f8f9fa;
}

.new-event .dropdown-item {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

    .new-event .dropdown-item:hover {
        border-right: 1px solid #007bff;
        transition: .3s;
    }

.new-event .dropdown:hover {
    color: #333;
    background-color: #fff;
    border-bottom: 1px solid #007bff;
    transition: .3s;
}



/* animations */
.animated--grow-in {
    -webkit-animation-name: growIn;
    animation-name: growIn;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-timing-function: transform cubic-bezier(.18,1.25,.4,1),opacity cubic-bezier(0,1,.4,1);
    animation-timing-function: transform cubic-bezier(.18,1.25,.4,1),opacity cubic-bezier(0,1,.4,1);
}

.animated--fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-timing-function: opacity cubic-bezier(0,1,.4,1);
    animation-timing-function: opacity cubic-bezier(0,1,.4,1);
}

@-webkit-keyframes growIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes growIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Sizes */
.w-40 {
    width: 40%;
}

/* Extra */

.rotate-text {
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    float: right;
}


/* colors */

.full-height {
    height: 100vh;
}

.text-gray-100 {
    color: #f8f9fc !important;
}

.text-gray-200 {
    color: #eaecf4 !important;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-400 {
    color: #d1d3e2 !important;
}

.text-gray-500 {
    color: #b7b9cc !important;
}

.text-gray-600 {
    color: #858796 !important;
}

.text-gray-700 {
    color: #6e707e !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.text-gray-900 {
    color: #3a3b45 !important;
}

.bg-light-100 {
    background-color: #fcfcfc;
}

.bg-gradient-primary {
    background-color: #4e73df;
    background-image: linear-gradient(180deg, #335cd3 10%, #092a88 100%);
    background-size: cover;
}

.bg-gradient-primary-dark {
    background-color: rgb(15, 40, 138);
    background-image: linear-gradient(180deg,rgb(15, 40, 138) 20%, rgb(31, 115, 223) 92%); /*linear-gradient(180deg, #335cd3 10%, #092a88 100%);*/
    background-size: cover;
}

.bg-gradient-secondary {
    background-color: #858796;
    background-image: linear-gradient(180deg, #858796 10%, #60616f 100%);
    background-size: cover;
}

.bg-gradient-success {
    background-color: #1cc88a;
    background-image: linear-gradient(180deg, #1cc88a 10%, #13855c 100%);
    background-size: cover;
}

.bg-gradient-info {
    background-color: #36b9cc;
    background-image: linear-gradient(180deg, #36b9cc 10%, #258391 100%);
    background-size: cover;
}

.bg-gradient-warning {
    background-color: #f6c23e;
    background-image: linear-gradient(180deg, #f6c23e 10%, #dda20a 100%);
    background-size: cover;
}

.bg-gradient-danger {
    background-color: #e74a3b;
    background-image: linear-gradient(180deg, #e74a3b 10%, #be2617 100%);
    background-size: cover;
}

.bg-gradient-light {
    background-color: #f8f9fc;
    background-image: linear-gradient(180deg, #f8f9fc 10%, #c2cbe5 100%);
    background-size: cover;
}

.bg-gradient-dark {
    background-color: #5a5c69;
    background-image: linear-gradient(180deg, #5a5c69 10%, #373840 100%);
    background-size: cover;
}


/* ajax loading animation */
.loader {
    position: fixed;
    top: 0;
    padding-top: 6rem;
    width: 100%;
    height: 100%;
    opacity: .6;
    background-color: #fff;
    display: none;
    color: #000;
    z-index: 1001;
}

.paginate_button {
    margin-left: 0 !important;
    padding: 0 !important;
}

    .paginate_button:hover {
        background: none !important;
        border: none !important;
    }

/*//bootstrap right stop left upload*/
.custom-file-label::after {
    left: 0;
    right: auto;
    border-left-width: 0;
    border-right: inherit;
}

.thumbline {
    border: 1px solid #ddd; /* Gray border */
    border-radius: 4px; /* Rounded border */
    padding: 5px; /* Some padding */
}

    /* Add a hover effect (blue shadow) */
    .thumbline:hover {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }



/*intro page css*/
.intro {
    background: url('../image/wall.JPG') no-repeat fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
}

    .intro .title {
        margin-top: 0;
        margin-bottom: 0;
        color: #fafafa;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 18px;
    }

    .intro .center-box {
        width: 45%;
        height: 450px;
        border-radius: 5px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        background-color: rgba(255,255,255,.8);
        text-align: center;
        padding-top: 10px;
        box-shadow: 1px 1px 4px #aaa;
    }

    .intro .btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .intro .btn-link {
        color: #0102fa;
    }

        .intro .btn-link:hover {
            color: #093954;
        }


    .intro img {
    }













.filter-box {
    cursor: pointer;
}

.items .card {
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #edf2f9;
    border-radius: .375rem;
    box-shadow: 2px 2px 8px 1px #ddd;
    z-index: 2;
    margin-bottom: 1rem;
}

.items .reception-item {
    min-height: 240px;
}

.img-dicom-preview {
    /*for real size*/
    /*height: 250px;*/
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .img-dicom-preview:hover {
        opacity: 0.7;
    }

    .img-dicom-preview img {
        /*width: 100px;*/
        height: 240px;
        object-fit: cover;
    }

.pdf-dicom-preview img {
    object-fit: contain;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #000000bb;
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 60%;
    border: 2px solid white;
    /*max-height: 80vh;*/
}

/*/* Caption of Modal Image (Image Text) - Same Width as the Image 
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}*/

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    /*animation-name: zoom;*/
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.closeBtn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .closeBtn:hover,
    .closeBtn:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}



/*
    colors
*/

.text-title {
    color: #00369c !important;
}

.text-title-big {
    font-size: 1rem;
    color: #00369c !important;
}


/* Table Responsive */
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    .table-responsive-row table, .table-responsive-row thead, .table-responsive-row tbody, .table-responsive-row th, .table-responsive-row td, .table-responsive-row tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        .table-responsive-row thead tr {
            /*position: absolute;
            top: -9999px;
            left: -9999px;*/
            display: none;
        }

    .table-responsive-row tr {
        margin: 0 0 1rem 0;
    }

        .table-responsive-row tr:nth-child(even) {
            background: #eee;
        }

    .table-responsive-row td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-right: 50% !important;
    }

        .table-responsive-row td > .label {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            right: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            font-weight: bold;
        }
}



/* ajax loading animation */
.LoadingAnime {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: .6;
    background-color: #fff;
    display: none;
    text-align: center;
    color: #000;
    right: 0;
}

/* Button for recording audio */

.NotRec {
    background-color: red;
    border-color: red;
    color: white;
}

.Rec {
    background-color: white;
    border-color: red;
    color: red;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#recordButton:focus {
    box-shadow: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3);
    }

    65% {
        box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3);
    }

    90% {
        box-shadow: 0px 0px 5px 13px rgba(173,0,0,0);
    }
}


.document-container-print {
    background-color: #fcfcfc;
}

.report-print {
    width: 20cm;
    padding: .5cm 2cm;
    margin: 0.5cm auto;
    /*border: 1px #D3D3D3 solid;*/
    /*border-radius: 5px;*/
    background: #ffffff;
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 24px;
}
/*textParagraph*/
.textParagraph {
    line-height: 2 !important;
    font-size: 14px;
}

.text-header {
    color: #213a71e3;
}


/*sizing for icons fa 1.6rem */
.fa-blg {
    font-size: 1.45rem;
}

/*My Table*/
.myTable {
    border: 1px solid #dee2e6;
    border-collapse: collapse;
    color: #212529;
    margin: 1rem;
}

    .myTable thead th {
        font-size: 0.9rem;
        background-color: #f8f9fa;
        color: #007bff;
        font-weight: bold;
        padding: 0.5rem;
        text-align: center;
    }

    .myTable tr {
        padding: 0.5rem;
        margin: 0.1rem;
        background-color: #fff;
        border-bottom: 1px solid #dee2e6
    }

        .myTable tr:nth-of-type(2n+1) {
            background-color: #f1f1f1;
        }

        .myTable tr:hover {
            font-weight: bold;
        }

        .myTable tr td {
            padding: 1rem;
            text-align: center;
        }

/*print Table*/
/*My Table*/
.myTable-print {
    border: 1px solid #212529;
    border-collapse: collapse;
    color: #212529;
    margin: 1rem;
}

    .myTable-print thead th {
        font-size: 0.9rem;
        font-weight: bold;
        padding: 0.5rem;
        text-align: center;
    }

    .myTable-print tr {
        padding: 0.5rem;
        margin: 0.1rem;
    }

        .myTable-print tr td {
            padding: 1rem;
            text-align: center;
            border: 1px solid #212529;
        }




.sidebar-brand-report {
    width: 200px;
}

/* The sidebar menu */
.report-sidebar {
    position: sticky; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    height: 100%;
    margin-bottom: 2rem;
}

/* The sidebar links */
.closebtn {
    text-decoration: none;
    font-size: 24px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

    /* When you mouse over the navigation links, change their color */
    .closebtn:hover {
        color: #f1f1f1;
    }


/* The button used to open the sidebar */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

    .openbtn:hover {
        background-color: #444;
    }

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-right .5s; /* If you want a transition effect */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

        .sidebar a {
            font-size: 18px;
        }
}

#menu-btn {
    position: fixed;
    height: 100%;
    top: 50%;
    right: 0;
}

    #menu-btn i {
        cursor: pointer;
        padding: 2.5rem .5rem;
        background: #ffffffbb;
    }

.image-report {
    width: 100px;
    height: 100px;
}

.image-report-footer {
    position: relative;
    bottom: 0;
    background-color: #ffffffaa;
}


i {
    margin-left: 0.2rem;
}

#savemenu .dropdown-menu {
    z-index: 1000;
}





/*Upload*/
.upload__box {
    padding: 40px;
}

.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.upload__btn {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    min-width: 116px;
    padding: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    background-color: #4045ba;
    border-color: #4045ba;
    border-radius: 10px;
    line-height: 26px;
    font-size: 14px;
}

    .upload__btn:hover {
        background-color: unset;
        color: #4045ba;
        transition: all 0.3s ease;
    }

    .upload__btn p {
        margin: 0;
    }

.upload__btn-box {
    margin-bottom: 10px;
}

.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.upload__img-box {
    width: 200px;
    padding: 0 10px;
    margin-bottom: 12px;
}

.image-modality-change {
    width: 100px;
    margin-bottom: .5rem;
    border-radius: .25rem;
    border: none;
    box-shadow: 1px 1px 4px #bbb;
}

.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}

    .upload__img-close:after {
        content: '\2716';
        font-size: 14px;
        color: #fff;
    }

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}


.images-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    float: left;
    margin-left: 1.5rem;
}

.image-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    float: left;
    margin-left: 1.5rem;
}

.images-status {
    position: absolute;
    top: 0px;
    right: 0px;
}




.loader {
    position: absolute;
    backdrop-filter: blur(3px);
    padding: 2rem;
    width: 100%;
    height: 100%;
    text-align: center;
}

.service-item {
    margin: 0 1rem;
    box-shadow: 2px 2px 4px #bbb;
    text-align: center;
    width: 150px;
    border: 1px solid #bbb;
    cursor: pointer;
    transition: .3s;
    color: #888;
}

    .service-item:hover {
        border-color: #0183ce;
        box-shadow: 3px 3px 8px #bbb;
        transform: translateY(-1px);
        color: #111;
    }

    .service-item.active {
        border: 1px solid green;
        color: green;
        transform: translateY(-1px);
        box-shadow: 6px 6px 8px #bbb;
    }

        .service-item.active:before {
            position: absolute;
            font-size: 1rem;
            font-weight: bolder;
            content: '✓';
            color: green;
            top: .5rem;
            right: .5rem;
        }


.tab {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 40px;
    width: 40px;
    margin: 0 5px;
    border: 2px solid #444;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    vertical-align: middle;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
}

    /* Mark the active step: */
    .step.active {
        opacity: 1;
        color: blue;
        border: 2px solid blue;
    }

    /* Mark the steps that are finished and valid: */
    .step.finish {
        opacity: .8;
        color: green;
        border: 2px solid green;
    }

    .step i {
        margin-left: 0;
    }



.day {
    border: 1px solid #dee2e6;
    padding: 20px;
    cursor: pointer;
    margin-bottom: 10px;
}

    .day:hover {
        background-color: #e2e6ea;
    }

.event {
    background-color: #00418d;
    color: white;
    padding: 5px;
    margin-top: 10px;
    border-radius: 3px;
}

.delete-btn {
    background: none;
    color: #ff0000;
    border-radius: 50%;
    border: 2px solid;
}


/* APP CSS*/
body.app {
    background-color: rgb(15, 40, 138);
    background-image: radial-gradient(circle, rgb(31, 115, 223) 0%, rgb(15, 40, 138) 92%);
    background-size: cover;
}

.app-container {
    width: 60%;
    height: auto;
    background-color: #fcfcfc;
    border-radius: .5rem;
    padding: 3vh 1.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    z-index: 1;
}

    .app-container input {
        background-color: #e6e6e6;
        border: 1px solid transparent;
        padding: .75rem;
    }

    .app-container .input-group input {
        flex: 1 1 auto;
        width: 1px;
    }

    .app-container .input-text-icon i {
        position: absolute;
        padding: 1rem;
        min-width: 40px;
    }

    .app-container .input-text-icon input {
        padding-right: 2.5rem;
    }

        .app-container .input-text-icon input:focus {
            background-color: #f4f4f4;
            border: 1px solid #c8c8c8;
        }

        .app-container .input-text-icon input:valid {
            background-color: #f4f4f4;
        }

    .app-container input::-webkit-outer-spin-button,
    .app-container input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .app-container input[type=number] {
        -moz-appearance: textfield;
    }

    .app-container input, .app-container button {
        border: 0;
        outline: 0;
        border-radius: .5rem;
        display: block;
        margin-top: 1em;
        text-align: right;
    }

    .app-container .support-phone {
        direction: ltr;
        text-align: center;
        font-size: 1rem;
        transition: .5s;
    }

        .app-container .support-phone:hover {
            color: #000;
            cursor: help;
            transform: scale(1.1);
        }

        .app-container .support-phone i {
            margin-right: .5rem;
            color: #6c757d;
        }

    .app-container footer {
        color: #f2f2f2;
        text-align: center;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 0;
        direction: ltr;
        padding-top: .5rem;
        font-size: 1rem;
    }

        .app-container footer a {
            color: #fbfbfb;
            font-weight: bold;
        }

            .app-container footer a:hover {
                color: #eee;
                font-weight: bolder;
            }

@media only screen and (max-width: 768px) {
    .app-container {
        width: 100%;
        min-height: 100vh;
    }
}

.result {
    border-collapse: collapse;
    border: 2px;
    border-style: dashed;
}

    .result th {
        padding: 15px;
        border: 2px solid;
    }

    .result tr {
        line-height: 35px;
    }


.links-passcode {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#timer-container {
    margin-top: 1em;
    font-weight: bold;
}

.links {
    text-align: center;
}

    .links a {
        font-size: .9rem;
        line-height: 1.6rem;
        background-color: #fff;
        color: #333;
        transition: .3s;
        box-shadow: 0 1px 8px #eee;
        border: 1px solid #e9e9e9;
        cursor: pointer;
        margin-top: 1em;
    }

        .links a:hover {
            text-decoration: none;
            background-color: #00c230;
            color: #fff;
            transform: translateY(-1px);
        }



.service-time {
    background-color: white;
    color: #03b104;
    padding: .5rem .25rem;
    margin: .5rem .3rem;
    border-radius: 1rem;
    font-size: .65rem;
    width: 80px;
    text-align: center;
    box-shadow: 1px 1px 3px 0px #bbb;
    cursor: pointer;
    transition: .3s;
}

    .service-time:hover {
        box-shadow: 2px 2px 4px 0px #bbb;
        transform: translateY(-1px);
    }

.service-time-full {
    box-shadow: 1px 1px 3px 0px #eee !important;
    color: #999 !important;
    transform: none !important;
    cursor: default !important;
}

.service-time.active {
    color: white;
    background-color: #03b104;
}


.mds-bootstrap-persian-datetime-picker-container
table td, .mds-bootstrap-persian-datetime-picker-container th, .mds-bootstrap-persian-datetime-picker-container tr, .mds-bootstrap-persian-datetime-picker-container button {
    background-color: #fff !important;
}

.mds-bootstrap-persian-datetime-picker-container
table th[data-selecteddatestring] {
    border: 0;
    font-size: 1rem;
}

.mds-bootstrap-persian-datetime-picker-container
table td[data-day] {
    border-radius: 1rem;
}

    .mds-bootstrap-persian-datetime-picker-container
    table td[data-day]:hover {
        background-color: #f6f6f6;
    }

.mds-bootstrap-persian-datetime-picker-container
table td[data-today] {
    color: blue;
}

.mds-bootstrap-persian-datetime-picker-container
table td[data-selectedday] {
    color: white;
    background-color: #03b104 !important;
}

.mds-bootstrap-persian-datetime-picker-container
table, button:hover {
    background-color: #f6f6f6;
}



.header-center-logo {
    width: 80px;
    height: 80px;
}


#dropZone {
    width: 100%;
    height: 100px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

    #dropZone.dragover {
        background-color: #f8f9fa;
        border-color: #007bff;
    }

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    width: 120px;
    text-align: center;
}

.preview-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}



/*rich dropdown*/
.rich-dropdown-container {
    display: flex;
    border: 1px solid #bbb;
    border-radius: .25rem;
    background-color: #fff;
}

    .rich-dropdown-container .dropdown-menu {
        min-width: 300px;
        max-height: 400px;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-bottom: 2rem;
    }

        .rich-dropdown-container .dropdown-menu::-webkit-scrollbar {
            display: none;
        }

    .rich-dropdown-container .selected {
        background-color: #bcd7ff;
    }


.agreement-form {
    position: sticky;
    bottom: 0;
    background-color: #fffffff1;
    width: 100%;
    padding: .75rem;
    text-align: left;
}
@media only screen and (max-width: 768px) {
    .goftino-wakeup {
        right: 0px !important;
    }
}