@media (max-height: 735.98px) {
    .auth-logo img {
        max-height: 17vh;
    }
}

/*----------------------------------------------------------------
# 針對layout
----------------------------------------------------------------*/
table.CustomTH thead {
    background-color: #BCDCF5;
}

#system-background {
    background-image: url("..//picture/user0-bg.png");
    background-position: center;
    background-size: cover;
    height: 100%;
}

#content-out-frame {
    height: auto;
}

.page-content {
    padding-top: 70px;
}

body:not([data-sidebar-size=sm]) #sidebar-menu ul li ul.sub-menu li a {
    padding: 0.4rem 1.5rem 0.4rem 3.75rem;
}

.pace-done.sidebar-enable #vertical-menu-btn {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

@media (max-width: 990.98px) {

    .pace-done #vertical-menu-btn {
        transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
    }

    body:not([data-sidebar-size=sm]).pace-done.sidebar-enable #vertical-menu-btn {
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}



#sidebar-menu ul li:hover a {
    font-size: 0.93rem;
    font-weight: 800;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li:hover {
    border-bottom: 1.5px solid var(--bs-primary);
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li ul li:hover {
    border-bottom: 0;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a>i {
    background-color: var(--bs-primary);
    border-radius: 0.2em;
    color: #fff;
    padding: .6rem;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>.mm-active:hover .active i {
    color: #fff;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li>a i {
    margin-left: -0.5rem;
    padding: .6rem;
}

.body[data-sidebar-size=sm] .vertical-menu #sidebar-menu>.copy-none,
.pace-done.sidebar-enable .copy-none {
    display: none;
}

#sidebar-menu ul li a i {
    padding: .3rem;
    margin-right: .3rem;
}

.noti-icon i {
    font-size: 28px;
}

#sidebar-menu ul li a {
    padding: 1rem 1.5rem;
}

/*----------------------------------------------------------------
# 針對醫生頁面
----------------------------------------------------------------*/
#user-Intro p {
    line-height: 1rem;
}

.to-do-display {
    display: block;
}

.user-Intro-iconbtn {
    margin-top: -8px;
    margin-left: 15px;
    width: 5vw;
}

.btn-outline-user-Intro-btn {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-user-Intro-btn:hover a {
    color: #fff;
}

.btn-outline-user-Intro-btn:hover {
    color: #000;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-check:focus+.btn-outline-user-Intro-btn,
.btn-outline-user-Intro-btn:focus {
    box-shadow: 0 0 0 .25rem rgba(13, 202, 240, .5)
}

.btn-check:active+.btn-outline-user-Intro-btn,
.btn-check:checked+.btn-outline-user-Intro-btn,
.btn-outline-user-Intro-btn.active,
.btn-outline-user-Intro-btn.dropdown-toggle.show,
.btn-outline-user-Intro-btn:active {
    color: #000;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-check:active+.btn-outline-user-Intro-btn:focus,
.btn-check:checked+.btn-outline-user-Intro-btn:focus,
.btn-outline-user-Intro-btn.active:focus,
.btn-outline-user-Intro-btn.dropdown-toggle.show:focus,
.btn-outline-user-Intro-btn:active:focus {
    box-shadow: 0 0 0 .25rem rgba(13, 202, 240, .5)
}

.btn-outline-user-Intro-btn.disabled,
.btn-outline-user-Intro-btn:disabled {
    color: var(--bs-primary);
    background-color: transparent
}

#clinic-situation {
    overflow-y: scroll;
    height: 40vh;
}

.clinic-situation-mb-md-5 {
    margin-bottom: 15vh;
}

/*----------------------------------------------------------------
# 針對使用者頁面的排班
----------------------------------------------------------------*/
.shift-schedule-d1,
.shift-schedule-d2,
.shift-schedule-d3,
.shift-schedule-d4,
.shift-schedule-d5,
.shift-schedule-d6,
.shift-schedule-d7 {
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #fff;
}

.shift-schedule-d1:hover,
.shift-schedule-d2:hover,
.shift-schedule-d3:hover,
.shift-schedule-d4:hover,
.shift-schedule-d5:hover,
.shift-schedule-d6:hover,
.shift-schedule-d7:hover {
    background-color: #e2f9ff;
    color: var(--bs-primary);
    font-size: 1.rem;
}

.shift-schedule-active {
    width: 90%;
    height: 10px;
    border-radius: 2rem;
    background-color: var(--bs-primary);
}

.shift-schedule-d2 .shift-schedule-active,
.shift-schedule-d3 .shift-schedule-active,
.shift-schedule-d4 .shift-schedule-active,
.shift-schedule-d5 .shift-schedule-active,
.shift-schedule-d6 .shift-schedule-active,
.shift-schedule-d7 .shift-schedule-active {
    display: none;
}

/*----------------------------------------------------------------
# 針對目前診間狀況
----------------------------------------------------------------*/
.c-s-number {
    font-size: 2.3rem;
    font-weight: bolder;
    line-height: 2.2rem;
    margin-top: .8rem;
}

#current-table {
    overflow-x: auto;
    width: 100%;
}

#see-doctor-time {
    overflow-y: auto;
    height: 22vh;
}


/*----------------------------------------------------------------
# 針對患者頁面
----------------------------------------------------------------*/

#patient-infor .btn.btn-light:hover,
#total-cost-all .btn.btn-light:hover,
#read-health-card:hover {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0
}

.patient-number {
    font-size: 0.5rem;
    line-height: .9em;
}

#user-boxuibtn .btn.btn-outline-primary {
    background-color: rgba(255, 255, 255, 0.8);
}

#user-boxuibtn .btn.btn-outline-primary:hover a {
    color: #fff;
}

#user-boxuibtn .btn.btn-outline-primary:hover {
    background-color: var(--bs-primary);
}

/*----------------------------------------------------------------
# 針對患者基本資料
----------------------------------------------------------------*/
.edit-patient-profile {
    background-color: #fff;
}

.edit-patient-profile:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

#make-appointment-table {
    width: 99%;
    overflow-x: auto;
}

#make-appointment-table table {
    min-width: 730px;
}

#right-frame-collapse {
    display: block;
}

#right-frame-collapse.active {
    display: none;
}

.treat-SOAP-top-c-mb {
    width: calc(100% / 2 - 8px);
}

.ehis-sp-display-1270 {
    display: block;
}

.ehis-display-h840 {
    display: none;
}

.a-l-events {
    min-height: 30vh;
    line-height: 1.65rem;
    background-color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1200px) {
    .ehis-sp-display-1270 {
        display: none;
    }
}

@media (min-width: 992px) {
/*    #content-out-frame {
        height: 84vh;
    }*/

    .clinic-situation-mb-md-5 {
        margin-bottom: 0;
    }

    .bg-lg-primary {
        background-color: var(--bs-primary);
    }

    .to-do-display {
        display: none;
    }

    .btn-outline-user-Intro-btn {
        color: #0dcaf0;
        border-color: #0dcaf0
    }

    .btn-outline-user-Intro-btn a {
        color: #fff;
    }

    .btn-outline-user-Intro-btn:hover {
        color: #000;
        background-color: #0dcaf0;
        border-color: #0dcaf0
    }

    .btn-check:focus+.btn-outline-user-Intro-btn,
    .btn-outline-user-Intro-btn:focus {
        box-shadow: 0 0 0 .25rem rgba(13, 202, 240, .5)
    }

    .btn-check:active+.btn-outline-user-Intro-btn,
    .btn-check:checked+.btn-outline-user-Intro-btn,
    .btn-outline-user-Intro-btn.active,
    .btn-outline-user-Intro-btn.dropdown-toggle.show,
    .btn-outline-user-Intro-btn:active {
        color: #000;
        background-color: #0dcaf0;
        border-color: #0dcaf0
    }

    #nurse-Intro .btn-outline-user-Intro-btn {
        color: #b897ff;
        border-color: #b897ff
    }

    #nurse-Intro .btn-outline-user-Intro-btn:hover {
        color: #000;
        background-color: #b897ff;
        border-color: #b897ff
    }

    #nurse-Intro .btn-check:focus+.btn-outline-user-Intro-btn,
    #nurse-Intro .btn-outline-user-Intro-btn:focus {
        box-shadow: 0 0 0 .25rem rgba(152, 127, 255, .5)
    }

    .btn-check:active+.btn-outline-user-Intro-btn,
    .btn-check:checked+.btn-outline-user-Intro-btn,
    .btn-outline-user-Intro-btn.active,
    .btn-outline-user-Intro-btn.dropdown-toggle.show,
    .btn-outline-user-Intro-btn:active {
        color: #000;
        background-color: #b897ff;
        border-color: #b897ff
    }

    #nurse-Intro .btn-check:active+.btn-outline-user-Intro-btn:focus,
    #nurse-Intro .btn-check:checked+.btn-outline-user-Intro-btn:focus,
    #nurse-Intro .btn-outline-user-Intro-btn.active:focus,
    #nurse-Intro .btn-outline-user-Intro-btn.dropdown-toggle.show:focus,
    #nurse-Intro .btn-outline-user-Intro-btn:active:focus {
        box-shadow: 0 0 0 .25rem rgba(152, 127, 255, .5)
    }

    #patient-infor,
    #doctor-consultation,
    #total-cost-all {
        height: 82.5vh;
    }

    #user-boxuibtn .btn.btn-outline-primary {
        width: calc(100% / 4 - 8px);
    }

    #Clinic-conditions-List,
    #medical-work,
    #appraisal-result {
        max-height: 560px;
        overflow-y: auto;
    }

    #GeneralMedicalCertificate {
        max-height: 680px;
        overflow-y: auto;
    }


    #treat-SOAP-top-l {
        max-height: 165px;
    }

    #treat-SOAP-top-l.active {
        max-height: 290px;
    }

    #treat-SOAP-top-c {
        max-width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

    .treat-SOAP-top-c-mb {
        width: 100%;
    }


    .ehis-soap-min {
        max-width: 65px;
    }

}



@media (min-width: 1200px) {

    @media (max-width: 1359.98px) {
        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-2 {
            width: 22%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-4 {
            width: 35%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-6 {
            width: 43%;
        }
    }

    @media (max-width: 1259.98px) {
        body:not([data-sidebar-size=sm]) .medical-records-active {
            display: none;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-2 {
            width: 23%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-4 {
            width: 36%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-6 {
            width: 41%;
        }

    }

    .user-Intro-iconbtn {
        margin-top: -4px;
        margin-left: 15px;
        width: 2.5vw;
    }

    .user-Intro-btn {
        position: absolute;
        bottom: 0;
    }

    #user-Intro,
    .vertical-menu #sidebar-menu #user-Intro {
        height: 85vh;
        max-width: 25vw;
    }

    #current-table table {
        min-width: 400px;
    }

    .border-sm-end {
        border-right: 1px solid #dee2e6 !important
    }

    .border-sm-end-0 {
        border-right: 0;
    }

    .medical-records-display {
        display: block;
        max-width: 96%;
    }

    #edit-patient-profile,
    #on-site-registration,
    #make-appointment,
    #doctor-consultation-record,
    #medical-work,
    #appraisal-result,
    #Clinic-conditions-List,
    #total-cost,
    #right-frame-collapse {
        max-width: 96%;
    }

    body[data-sidebar-size=sm] .medical-records-active {
        max-height: 15vh;
        overflow-y: hidden;
    }

    body:not([data-sidebar-size=sm]) .medical-records-active {
        max-height: 12vh;
        margin-bottom: .5vh;
        overflow-y: hidden;
    }

    body:not([data-sidebar-size=sm]) .medical-records-of {
        max-height: 48vh;
        overflow-y: hidden;
    }

    .ehis-soap-min {
        max-width: 45px;
    }

    #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-5 {
        width: 33%;
    }

    #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-7 {
        width: 67%;
    }

    #treat-SOAP-fottor .col-lg-11 {
        width: 95%;
    }

    body:not([data-sidebar-size=sm]) #treat-SOAP-fottor .col-lg-11 {
        width: 100%;
    }

    #treat-SOAP-top {
        max-height: 45vh;
        margin-bottom: 3vh;
    }

    #treat-SOAP-top-r {
        height: 300px;
        overflow-y: auto;
    }

    #treat-SOAP-fottor {
        height: 280px;
        overflow-y: auto;
    }

    @media (min-width: 1329.98px) {

        body:not([data-sidebar-size=sm]) #content-out-frame .doctor-consultation-layout .col-lg-3 {
            width: 35%;
        }

        body:not([data-sidebar-size=sm]) #content-out-frame .doctor-consultation-layout .col-lg-9 {
            width: 65%;
        }

        body:not([data-sidebar-size=sm]) .medical-records-of {
            max-height: 50vh;
            overflow-y: hidden;
        }

        body[data-sidebar-size=sm] {
            min-height: max-content;
        }

        body[data-sidebar-size=sm] .medical-records-active {
            max-height: 12vh;
            overflow-y: hidden;
        }

        body:not([data-sidebar-size=sm]) .medical-records-active {
            display: none;
        }

        #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-5 {
            width: 39%;
        }

        #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-7 {
            width: 61%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-5 {
            width: 32%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-7 {
            width: 68%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-fottor .col-lg-11 {
            width: 95%;
        }
    }

    @media (min-width: 1440.98px) {

        body:not([data-sidebar-size=sm]) .medical-records-active {
            display: block;
            max-height: 12vh;
            overflow-y: hidden;
        }



    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .user-Intro-iconbtn {
        margin-top: -4px;
        width: 3vw;
    }

    body:not([data-sidebar-size=sm]) .user-Intro-iconbtn {
        margin-top: 5px;
        margin-left: 0;
        width: 3vw;
    }

    #user-Intro {
        height: 83vh;
    }

    body:not([data-sidebar-size=sm]) #user-Intro {
        height: 102vh;
    }

    body[data-sidebar-size=sm] #content-out-frame .clinic-situation-mb-md-5 .col-sm-4 {
        width: 30%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .clinic-situation-mb-md-5 .col-sm-4 {
        width: 100%;
    }

    body[data-sidebar-size=sm] #content-out-frame .clinic-situation-mb-md-5 .col-sm-8 {
        width: 70%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .clinic-situation-mb-md-5 .col-sm-8 {
        width: 100%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .clinic-situation-mb-md-5 {
        margin-bottom: 20vh;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .shift-schedule-d7 {
        display: none;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .col-lg-11 {
        margin-top: 5vh;
    }

    body[data-sidebar-size=sm].border-sm-end {
        border-right: 1px solid #dee2e6 !important
    }

    body:not([data-sidebar-size=sm]) .border-sm-end {
        border-right: 0px solid #dee2e6 !important
    }



    body:not([data-sidebar-size=sm]) #content-out-frame .col-lg-3 {
        width: 30%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .doctor-consultation-layout .col-lg-9 {
        width: 60%;
    }


    .user-Intro-btn {
        position: absolute;
        bottom: 0;
    }

    #current-table table {
        min-width: 600px;
    }

    .medical-records-display {
        display: block;
        max-width: 94%;
    }

    #edit-patient-profile,
    #on-site-registration,
    #make-appointment,
    #doctor-consultation-record,
    #medical-work,
    #appraisal-result,
    #Clinic-conditions-List,
    #total-cost,
    #right-frame-collapse {
        max-width: 94%;
        margin-bottom: 10vh;
    }

    body[data-sidebar-size=sm] .edit-patient-profile,
    #doctor-consultation-record {
        margin-bottom: 3.5vh;
    }

    .medical-records-active {
        display: none;
    }

    body[data-sidebar-size=sm] .medical-records-active {
        max-height: 12.5vh;
        overflow-y: hidden;
    }

    body:not([data-sidebar-size=sm]) .medical-records-active {
        max-height: 0.8vh;
        overflow-y: hidden;
    }

    .patient-number {
        margin-left: 0px;
    }

    .patient-title-me {
        margin-right: 20%;
    }



    body:not([data-sidebar-size=sm]) #content-out-frame.col-lg-3 {
        width: 30%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .col-lg-9 {
        width: 70%;
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .row-cols-md-4>* {
        flex: 0 0 auto;
        width: calc(50% - 8px)
    }

    body:not([data-sidebar-size=sm]) #content-out-frame .user-Intro-iconbtn {
        margin-top: -5px;
        margin-left: 5px;
    }

    .ehis-soap-min {
        max-width: 30px;
    }

    #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-5 {
        width: 70%;
    }

    #treat-SOAP-fottor .col-lg-11 .col-12 .col-lg-7 {
        width: 100%;
        margin-bottom: 40px;
    }

    body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-2 {
        width: 30%;
    }

    body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-4 {
        width: 70%;
    }

    body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-6 {
        width: 100%;
    }

    body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-2 {
        width: 30%;
    }

    body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-4 {
        width: 70%;
    }

    body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-6 {
        width: 100%;
    }

    #treat-SOAP-fottor .col-lg-11 {
        width: 95%;
    }

    #treat-SOAP-top {
        max-height: 55vh;
        margin-bottom: 3vh;
    }

    #treat-SOAP-top-r {
        height: 82px;
        overflow-y: auto;
    }

    #treat-SOAP-fottor {
        height: 180px;
        overflow-y: auto;
        margin-top: 4vh;
    }

    @media (min-width: 1063.98px) {
        .user-Intro-iconbtn {
            margin-top: -4px;
            width: 2.5vw;
        }

        body:not([data-sidebar-size=sm]) .user-Intro-iconbtn {
            margin-top: -4px;
            margin-left: 10px;
            width: 2.5vw;
        }

        #user-Intro,
        body:not([data-sidebar-size=sm]) #user-Intro {
            height: 83.5vh;
        }

        body:not([data-sidebar-size=sm]) .shift-schedule-d7 {
            display: none;
        }

        body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-2 {
            width: 23%;
        }

        body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-4 {
            width: 32%;
        }

        body[data-sidebar-size=sm] #treat-SOAP-top .col-lg-6 {
            width: 45%;
        }


        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-2 {
            width: 23%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-4 {
            width: 36%;
        }

        body:not([data-sidebar-size=sm]) #treat-SOAP-top .col-lg-6 {
            width: 41%;
        }

        .ehis-soap-min {
            max-width: 40px;
        }


        #treat-SOAP-top {
            max-height: 45vh;
            margin-bottom: 3vh;
        }

        #treat-SOAP-top-r {
            height: 300px;
            overflow-y: auto;
        }

        #treat-SOAP-fottor {
            height: 280px;
            overflow-y: auto;
        }
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-outline-user-Intro-btn {
        margin-left: 4px;
        margin-right: 4px;
        width: calc(100%/4 - 8px);
    }

    .border-sm-end {
        border-right: 0px solid #dee2e6 !important
    }

    .border-sm-end-0 {
        border-right: 0 !important
    }

    .medical-records-display {
        display: none;
    }

    .medical-records-mb {
        margin-bottom: 4vh;
    }

    #edit-patient-profile,
    #on-site-registration,
    #make-appointment,
    #doctor-consultation-record,
    #medical-work,
    #appraisal-result,
    #Clinic-conditions-List,
    #total-cost,
    #right-frame-collapse {
        max-width: 98%;
        margin-bottom: 10vh;
    }

    #content-out-frame .row-cols-md-4>* {
        flex: 0 0 auto;
        width: calc(50% - 8px);
        margin-left: 4px;
        margin-right: 4px;
        margin-top: 8px;
    }

    #doctor-consultation .col {
        max-width: calc(50% - 15px);
        margin-left: auto;
        margin-right: auto;
    }

    @media (min-width: 768px) and (max-width: 896.98px) {}
}

@media (min-height: 779.98px) and (min-width: 992px) {
/*    #content-out-frame {
        height: 85.6vh;
    }*/

    .page-content {
        padding-top: 62px;
    }

    #ReceiptFeeDetails {
        margin-top: 5vh;
    }

    body[data-sidebar-size=sm] .medical-records-active {
        max-height: auto;
        min-height: 28vh;
        overflow-y: hidden;
    }

    body:not([data-sidebar-size=sm]) .medical-records-active {
        max-height: auto;
        min-height: 28vh;
        overflow-y: hidden;
    }

    #medical-work,
    #Clinic-conditions-List {
        min-height: 82vh;
    }

    #see-doctor-time {
        height: 35vh;
    }

    #appraisal-result {
        max-height: 88.5vh;
    }
    #treat-SOAP-fottor {
        height: 380px;
        overflow-y: auto;
    }

}

@media (min-height: 838.98px) and (min-width: 992px) {
    .ehis-display-h840 {
        display: block;
    }

/*    #content-out-frame {
        height: 87.3vh;
    }*/

/*    @media (min-height: 995.98px) {
        #content-out-frame {
            height: 88.7vh;
        }
    }*/
}

@media (max-width: 767.98px) {
    .auth-logo-mb {
        width: 65%;
    }

    .border-sm-end {
        border-right: 0px;
    }

    .border-sm-end-0 {
        border-right: 0 !important
    }

    #clinic-situation table {
        min-width: 450px;
    }

    .medical-records-mb {
        margin-bottom: 5vh;
    }

    .medical-records-display {
        display: none;
    }

    #edit-patient-profile,
    #on-site-registration,
    #make-appointment,
    #doctor-consultation-record,
    #medical-work,
    #appraisal-result,
    #Clinic-conditions-List,
    #total-cost {
        max-width: 98%;
        margin-bottom: 10vh;
    }

    .btn-outline-user-Intro-btn {
        color: var(--bs-primary);
        background-color: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--bs-primary);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .auth-logo-mb {
        width: 65%;
    }

    .btn-outline-user-Intro-btn {
        margin-left: 4px;
        margin-right: 4px;
        width: calc(100%/2 - 8px);
    }

    .shift-schedule-d6,
    .shift-schedule-d7 {
        display: none;
    }

    #content-out-frame .row-cols-md-4>* {
        flex: 0 0 auto;
        width: calc(50% - 8px);
        margin-left: 4px;
        margin-right: 4px;
    }

    @media (max-width: 619.98px) {
        .treat-SOAP-top-c-mb {
            width: 100%;
        }
    }
}

@media (max-width: 575.98px) {
    .auth-logo-mb {
        width: 65%;
    }

    .clinic-situation-mb-md-5 {
        margin-bottom: 20vh;
    }

    .user-Intro-iconbtn {
        width: 7vw;
    }

    .shift-schedule-d5,
    .shift-schedule-d6,
    .shift-schedule-d7 {
        display: none;
    }

    .treat-SOAP-top-c-mb {
        width: 100%;
    }

    @media (max-width: 419.98px) {
        .auth-logo-mb {
            width: 85%;
        }
    }
}