/* ╠══════════════ 導航列：online_main ══════════════╣ */
.online_main,
.online_main_list{
    padding-top: 0;
    height: 100%;
}
.online_main_list{
    margin-top: 130px;
}
.online_main .css_td{
	padding: 5px 6px;
}
.online_nav_bg{
    background: url("/Public/common/img/footer_bg.d73a56850531.webp") no-repeat;
    background-size: cover;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    padding: 1px 17px 17px 17px;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 10px;
}
.online_nav{
    display: flex;
    color: white;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    height: auto;
}
.online_nav_title{
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    white-space: nowrap;
    flex-direction: column;
}
.online_nav_title span,
.Drug_One_Title{
    font-weight: bold;
    letter-spacing: 6px;
    font-size: 1.8rem;
}
.online_nav_btn{
    width: 100%;
    display: flex;
    align-items: center;
    background-color: transparent;
    font-weight: 700;
}
.online_nav_btn div{
    width: 100%;
    text-align: center;
    padding: 5px;
    background-color: #fff;
}
.online_nav_btn div a{
    transition: color 0.3s ,opacity 0.3s ,
    background-color 0.3s ease-in-out;
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 1.2;
    padding: 10px 0;
}
.online_nav_btn a.active{
    color: #f29305 !important;
    background-color: transparent !important;
}
.online_nav_btn div:not(:last-child){
    border-right: 2px solid #9d7861;
}
.user_icon::before{
    content: "\f406";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}
.user_icon{
    display: flex;
    white-space: nowrap;
    justify-content: center;
	font-size: 18px;
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    border-left: 0px solid #dee2e6;
    margin: 0 .25rem;
    padding-left: 0.5rem;
}
.user_icon div{
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 90px;
}


/* ╠══════════════ 登入主頁 ══════════════╣ */

/* 【----- 登入：Drugs_login -----】 */
.Drugs_login{
    padding: 15px 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    border-radius: .25rem;
    background-color: #fff;
}
.login_title{
    text-align: center;
    font-size: 2.5rem;
    color: #75482b;
    font-weight: bold;
    margin-bottom: 25px;
    background-color: antiquewhite;
}
.Confirm_btn_100,
.Confirm_btn_50{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.Confirm_btn_100 input,
.Confirm_btn_50 input{
    border-radius: 0px;
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: bold;
}
.Confirm_btn_100 input{
    width: 100%;
}
.Confirm_btn_50 input{
    width: 49%;
}

/* 【----- 領藥規則及說明：Drug_Notes -----】 */

.Note_title{
    width: 100%;
    text-align: center;
    max-width: 60px;
}
.Note_title div{
    width: 100% !important;
    font-weight: bold;
}
.Drug_Notes p{
    text-align: justify;
}
.Drug_Notes .number-circle-list {
    list-style: none;
    padding: 0 .8em 0 1.96em;
    counter-reset: circle-counter;
    margin: 0.5rem 1rem;
}
.Drug_Notes .number-circle-list--list-item {
    counter-increment: circle-counter;
    margin-bottom: 0.7rem;
    line-height: 30px;
    text-align: justify;
    text-indent: -2em;
}
.Drug_Notes .number-circle-list--list-item:before {
    content: counter(circle-counter);
    background-color: #e1e1e1;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1.5rem;
    color: black;
    text-align: center;
    margin-right: 0.5rem;
    position: relative;
    top: -2px;
    text-indent: 0em;
}
.Drug_Notes .number-circle-list--list-item:last-child {
    margin-bottom: 0;
}
.Drug_Notes .number-circle-list--list-item .number-circle-list--list-item {
    margin-left: 0.25rem;
}
.Drug_Notes .number-circle-list--primary-color .number-circle-list--list-item:before {
    background-color: #0d5cab;
    color: white;
}
.Drug_Notes .number-circle-list--secondary-color .number-circle-list--list-item:before {
    background-color: #72c267;
    color: white;
}
.Drug_Notes .number-circle-list--tertiary-color .number-circle-list--list-item:before {
    background-color: #168dde;
    color: white;
}
.Drug_Notes .ribbon {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}
.Drug_Notes .ribbon {
    --r: .8em; /* control the cutout */
    border-inline: .5em solid #0000;
    padding: .5em .2em calc(var(--r) + .2em);
    clip-path: polygon(0 0,100% 0,100% 100%,calc(100% - .5em) calc(100% - var(--r)),50% 100%,.5em calc(100% - var(--r)),0 100%);
    background:
    radial-gradient(50% .2em at top,#000a,#0000) border-box,
    #bd1550 padding-box; /* the color  */
    width: fit-content;
}

/* ╠══════════════ 慢箋預約記錄 ══════════════╣ */

/* 【----- 慢箋預約記錄：Drugs_booking_list： -----】 */
.Drugs_booking_Title{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.Drugs_booking_Title .week_btn{
    font-size: 20px;
}
.Drugs_booking_Title .week_btn i{
    font-size: 16px;
}

/* 【----- 領藥規則及注意事項： -----】 */
.week_btn{
    white-space: nowrap;
    padding: 2px 5px;
    font-size: 18px;
    font-weight: 600;
    color: #754826;
    background-color: #f3eaea;
    border-radius: 0;
}
.week_btn:hover{
    text-decoration: none;
    background-color: #754826;
    color: #fff;
}

/* 【----- 病人基本資料 -----】 */
.Basic_Name{
    border-radius: 0px;
    background-color: #64625f;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 5px;
    letter-spacing: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.Basic_Name i{
    font-size: 20px;
}
.Basic_bg{
    background-color: #f3f0f0;
    color: #754826;
    padding: .75rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}
.Basic_data{
    font-size: 1.1rem;
    align-content: center;
    padding: .5rem;
    text-align: center;
}
.Basic_bg, .Basic_data{
    border-color: #dee2e6;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: none;
    border-width: 1px;
}

/* 【----- 各科預約清單 -----】 */
.Lists_Drugs{
    border: 1px solid #a6968a;
}
.Lists_Drugs:not(:last-child){
    margin-bottom: 20px;
}
.list_title{
    border-right: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 0;
    background-color: #fdf5e6;
    color: #75482b;
}
.slow_note_No{
    font-weight: bold;
}
.slow_note_No::before{
    content: '慢箋序號 ';
}
.Lists_Drugs .table-bordered td, 
.Lists_Drugs .table-bordered th{
    border: 1px solid #dee2e6 !important;
}
.Lists_Drugs tbody td{
    padding: 10px 0 !important;
}
.Date_Title{
    font-size: 16px;
    font-weight: bold;
    background-color: #eaf6e9 !important;
    color: #333 !important;
    width: 50%;
}
.date_lines:not(:first-child){
    border-left: 1px solid #dee2e6;
}
.date_lines h3{
    font-weight: bold;
    margin-bottom: 0;
    font-size: 1.12rem;
}
.date_lines button,
.date_lines input{
    border-radius: 0px;
    padding: .1rem .4rem;
    font-weight: bold;
    font-size: 15px;
    margin: 0 5px;
}
.date_lines span{
    font-size: 12px;
}
.see_num_no{
    color: #f05a2b;
}
.see_room_no{
    color: #009688;
}

/* 【----- 各科細項-按我預約 -----】 */
.Cancel_data{
    display:none;
    max-width:500px;
    width: 100%;
}
.Confirm_btn_100,
.Confirm_btn_50{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.Confirm_btn_100 input,
.Confirm_btn_50 input{
    border-radius: 0px;
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: bold;
}
.Confirm_btn_100 input{
    width: 100%;
}
.Confirm_btn_50 input{
    width: 49%;
}
input[type="radio"].c-radio-table__radio {
    position: absolute;
    appearance: none;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
}
.c-radio-table__label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: calc(33.3% - 1%);
    height: 70px;
    border: 1px solid #a1a1a1;
    font-size: .9rem;
    padding: 5px;
    margin: .5%;
    line-height: 25px;
    font-weight: bold;
    text-align: center;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.1s ease;
}
.c-radio-table__label:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-color: var(--color-primary);
}
input[type="radio"].c-radio-table__radio:checked + .c-radio-table__label {
    color: var(--color-bg-white);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
/* 【----- 各科細項-預約成功 -----】 */
.message-icon{
    position: relative;
    box-sizing: content-box;
    justify-content: center;
    width: 5em;
    height: 5em;
    margin: 1.5em auto;
    border: 0.25em solid rgba(0,0,0,0);
    border-radius: 50%;
    border-color: #000;
    line-height: 5em;
    cursor: default;
    user-select: none;
    font-family: inherit;
    display: flex;
}
.message-icon.message-warning{
    border-color: #facea8;
    color: #f8bb86;
}
.message-icon.message-warning.message-icon-show{
    animation: message-animate-error-icon .5s;					
}
@keyframes message-animate-error-icon {
    0%{
        transform: rotateX(100deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
.message-icon .message-icon-content{
    display: flex;
    align-items: center;
    font-size: 3.75em;
}
.message-icon.message-warning.message-icon-show .message-icon-content{
    animation: message-animate-i-mark .5s;
}
@keyframes message-animate-i-mark {
    0%{
        transform: rotateZ(45deg);
        opacity: 0;
    }
    25% {
        transform: rotateZ(-25deg);
        opacity: .4;
    }
    50% {
        transform: rotateZ(15deg);
        opacity: .8;
    }
    75% {
        transform: rotateZ(-5deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

/* 【----- 各科細項-第2次預約 -----】 */


/* 【----- 各科細項-黑名單 -----】 */


/* 【----- 各科細項-預約中 loading -----】 */
.Date_Ok_btn {
    border-radius: 0px;
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: bold;
    width: 49%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.3s;
}
.Date_Ok_btn.Date_loading {
    pointer-events: none;
    background-color: #cccccc;
}

.Date_Ok_btn.Date_loading .Date_text {
    display: none;
}
.Date_Ok_btn.Date_loading .Date_spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid green;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 【----- 各科細項-取消預約 -----】 */
.Cancel_data .css_table{
    background-color: #f9eeee;
    min-height: auto;
    height: auto;
}
.Cancel_data .css_th{
    background-color: transparent;
    padding: 5px;
    width: 90px;
    border-right: 0 solid;
}
.Cancel_data .login_title{
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}
.login_title div:nth-child(2){
    font-size: 22px;
}
.Cancel_data .css_th{
    text-align-last: justify;
    text-align: justify;
    width: 150px;
    padding: 5px 10px;
}

/* ╠══════════════ 套件樣式 ══════════════╣ */

/* 【----- Fancybox -----】 */
.F_box{
    width: 100%;
    max-width: 900px;
    display: none;
}
.fancybox__backdrop{
    background: rgba(24, 24, 27, 0.7);
}

/* 【----- Sweet alert2 -----】 */
.swal2-styled{
    padding: .5em 1.1em !important;
}
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel{
    border-radius: 0 !important;
    font-size: 20px !important;
    font-weight: bold;
}
.swal2-styled.swal2-confirm{
    background-color: #28a745 !important;
}


/* ╠══════════════ RWD ══════════════╣ */
@media only screen and (max-width: 768px) {
    .cell_row .de_caption{
        background-color: #8C6D55;
        color: #fff;
        line-height: 35px;
    }
    .cell-table > tbody > tr > td > .cell_left,
    .cell-table > tbody > tr > td > .cell_right{
        width: 125px;
        text-align: center;
    }
}
@media (min-width: 576px) {}
@media (min-width: 768px) {
    /* 【----- 導航列 -----】 */
    .online_main,
    .online_main_list{
        display: flex;
        align-items: center;
    }
    .online_nav_bg{
        padding: 10px 22px 10px 17px;
    }
    .online_nav{						
        max-width: 80rem;
        padding: 0 0 0 1rem;
    }
    .online_nav_title{
        width: 30%;
        margin-bottom: 0px;
        flex-direction: initial;
    }
    .online_nav_btn{
        width: 70%;
        justify-content: right;
    }
    .online_nav_btn div{
        padding: 10px;
        width: 25%;
    }
    .online_nav_btn div a{
        font-size: 1.25rem;
    }
    .user_icon{
        border-left: 1px solid #dee2e6;
    }
    /* 【----- 預約項目清單 -----】 */
    .date_lines span{
        font-size: 14px;
    }
    /* 【----- 按我預約 -----】 */
    .c-radio-table__label {
        font-size: 1.3rem;
    }
}
@media (min-width: 992px) {}
@media (min-width: 1200px) {}
@media (min-width: 1400px) {}

/* ╠══════════════ 功能命名 ══════════════╣ */
/* ╠══════════════ 功能命名 ══════════════╣ */
/* ╠══════════════ 功能命名 ══════════════╣ */