﻿.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        -webkit-transition: none;
        transition: none;
    }
}

.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}

.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden;
    }

    .modal-dialog-scrollable .modal-header,
    .modal-dialog-scrollable .modal-footer {
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - 1rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
        content: '';
    }

    .modal-dialog-centered.modal-dialog-scrollable {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        height: 100%;
    }

        .modal-dialog-centered.modal-dialog-scrollable .modal-content {
            max-height: none;
        }

        .modal-dialog-centered.modal-dialog-scrollable::before {
            content: none;
        }

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 0 solid rgba(0, 0, 0, 0.2);
    border-radius: 0.42rem;
    -webkit-box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: auto;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
}

    .modal-backdrop.fade {
        opacity: 0;
    }

    .modal-backdrop.show {
        opacity: 0.2;
    }

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #ebedf3;
    border-top-left-radius: 0.42rem;
    border-top-right-radius: 0.42rem;
}

    .modal-header .close {
        padding: 1.5rem 1.75rem;
        margin: -1.5rem -1.75rem -1.5rem auto;
    }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.75rem;
}

.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid #ebedf3;
    border-bottom-right-radius: 0.42rem;
    border-bottom-left-radius: 0.42rem;
}

    .modal-footer > * {
        margin: 0.25rem;
    }

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }

        .modal-dialog-scrollable .modal-content {
            max-height: calc(100vh - 3.5rem);
        }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

        .modal-dialog-centered::before {
            height: calc(100vh - 3.5rem);
            height: -webkit-min-content;
            height: -moz-min-content;
            height: min-content;
        }

    .modal-content {
        -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

.card {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.aside .aside-menu .menu-nav > .menu-item > .menu-link {
    width: auto !important;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .active > .menu-text {
    color: #fff;
    font-size: 1.2rem;
}

.aside-menu .menu-nav .menu-item.menu-item-open > .menu-submenu {
    width: 100%;
}

.b-file-picker .b-text-drop {
    display: none !important;
}

.xtabs .xtabs-header {
    padding: 1rem 2rem !important;
}

.card-light {
    border: 1px solid #ebedf3 !important;
}

    .card-light .card-header {
        background-color: #f3f6f9 !important;
    }

.max-width-80 {
    max-width: 80px;
}

.max-width-140 {
    max-width: 140px;
}

.max-width-200 {
    max-width: 200px;
}

@media print {
    :has(.print-element) > :not(.print-element):not(:has(.print-element)) {
        display: none;
    }
}

.font-size-large,
.font-size-large table,
.font-size-large table,
.font-size-large th,
.form-large table,
.form-large table,
.form-large th,
.form-large select,
.form-large .checkbox,
.form-large #OrderSchedules,
.form-large .form-group label,
.form-large .form-group .form-control,
.form-large .form-group .form-control-plaintext,
.form-large .form-group .btn-light,
.form-large .form-group .dropdown-item,
.form-large .nav .nav-item,
.form-group .e-delim-values,
.form-large .form-group .blazored-typeahead__input-mask,
.form-large .form-group .blazored-typeahead__result {
    font-size: 1.3rem !important;
}

.form-group label.font-weight-bolder {
    display: block;
}

.form-large .e-switch-wrapper {
    width: 76px !important;
    height: 30px !important;
}

    .form-large .e-switch-wrapper .e-switch-handle {
        top: 8px !important;
    }

tr.table-dark .text-muted {
    color: #fff !important;
}

.form-large .form-group .e-multi-select-wrapper {
    min-height: 34px !important;
    margin-top: 8px !important;
    font-size: 1.3rem !important;
}

.form-large .form-group input.e-input {
    min-height: 43px !important;
    font-size: 1.3rem !important;
}

.card.card-custom > .card-header.card-header-tabs-line .nav .nav-link {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.blazored-modal {
    border: none;
    padding: 0;
}

.blazored-modal-header,
input[inputfileclassname='customfileupload'] {
    display: none;
}

.modal-fullscreen {
    width: 90vw;
    max-width: none;
    height: 90%;
    margin: 10px auto;
}

    .modal-fullscreen .modal-header {
        border-radius: 0;
    }

    .modal-fullscreen .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto;
    }

    .modal-fullscreen .modal-footer {
        border-radius: 0;
    }

.blazored-typeahead {
    border: 1px solid #e2e5ec;
    border-radius: 4px;
}

.blazored-typeahead__input,
.blazored-typeahead__input-mask {
    height: calc(1.5em + 1.3rem + 2px) !important;
    padding: 0.65rem 1rem !important;
}

ul.validation-errors {
    background: #fd397a;
    border: 1px solid #fd397a;
    color: #fff;
    display: list-item;
    align-items: stretch;
    padding: 1rem 2rem;
    margin: 0 0 20px 0;
    border-radius: 4px;
}

    ul.validation-errors li.validation-message {
        display: block;
        color: white !important;
        list-style-type: circle;
    }

.swal2-actions button {
    padding: 0.75rem 3rem !important;
    margin: 0.5rem !important;
    color: #ffffff !important;
}

    .swal2-actions button.swal2-confirm {
        background-color: #187de4 !important;
        border-color: #187de4 !important;
    }

    .swal2-actions button.swal2-cancel {
        background-color: #181c32 !important;
        border-color: #181c32 !important;
    }

.e-bigger {
    font-size: medium;
}

    .e-bigger .e-multi-select-wrapper input[type='text'] {
        font-size: 1rem !important;
        padding: 0.5rem !important;
    }

.panzoom {
    text-align: center;
}

/*.e-upload .e-file-select-wrap, */
.e-bigger.e-small .e-upload .e-file-select-wrap {
    padding: 2px 5px !important;
}

.e-bigger.e-checkbox-wrapper .e-frame {
    height: 20px;
    width: 20px;
    /*padding: 8px 0;*/
}

.e-bigger.e-checkbox-wrapper .e-check {
    font-size: 20px;
}

.e-bigger.e-checkbox-wrapper .e-ripple-container {
    height: 52px;
    top: -11px;
    width: 47px;
}

.e-bigger.e-checkbox-wrapper .e-label {
    line-height: 20px;
    font-size: 20px;
}

.e-numeric.e-custom .e-input-group-icon.e-spin-up:before {
    content: "\e805";
    color: rgba(0, 0, 0, 0.54);
}

.e-numeric.e-custom .e-input-group-icon.e-spin-down:before {
    content: "\e807";
    color: rgba(0, 0, 0, 0.54);
}

.e-schedule td.holiday {
    background-color: #FFE2E5 !important;
}
.e-schedule .e-month-view .e-appointment .e-appointment-details {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}
.e-schedule .e-month-view .e-appointment{
    height: auto !important;
    background-color : rgb(59 130 246 / 1) !important;
    border: none !important;
}
.e-schedule .e-month-view .e-appointment .e-appointment-details .e-subject {
    white-space: normal !important;
    text-align: left !important;
    font-size: inherit !important;/* 继承父元素字体大小 */
}
.e-schedule .e-month-view .e-current-date .e-date-header, .e-schedule .e-month-agenda-view .e-current-date .e-date-header{
    background-color: rgb(239 68 68 / 1) !important;
}
@media print {
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #000 !important;
    }
}
