/* ╟ 子頁各功能專屬樣式 ╢ */

/* ===== 交通資訊 ===== */

/* ===== 媒體報導、影音消息 ===== */
.out_divimg{
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    /* border-radius: 5px; */
}
.Img_div{
    height: 150px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}
.Img_div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.48s ease-in-out;
    transform: scale(1.1);
}
/* .youtube_page .Img_div{
    height: 100px;
} */
.youtube_page:hover .Img_div img{
    transform: scale(1.1) !important;
}
.media_new:hover .Img_div img{
    transform: scale(1.2);
}
.list_c_div{
    /* border-top: 5px solid transparent;
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1); */
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.list_c_div:hover{
    background: linear-gradient(to bottom, #f5f5f5 0%, #f2f2f2 100%) !important;
    /* border-top: 5px solid #ec483b; */
    /* box-shadow: 5px 10px 5px 0 rgba(0, 0, 0, 0.1) !important; */
    border-top: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1;
    transform: scale(1.01);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}																	
.list_c_img_div, .list_c_mov_div{
    width: 300px;
    height:160px;
    position:relative;	
    transition: transform 300ms ease;	
}
.list_c_img{
    /* height: 150px; */
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    position:absolute;
    overflow: hidden;
}
.cardlist li:nth-child(2n){
    background: #f6f6f6;
}
.mov_size{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.26%;
}
.mov_size iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card-block {
    font-size: 1em;
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    border-top: 1px solid rgba(34, 36, 38, .1);
    box-shadow: none;     
}
.card {
    font-size: 1em;
    overflow: hidden;
    padding: 5;
    border: none;
    border-radius: .28571429rem;
    box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
    margin-top:8px;
}
.mov_size{
	/* height: 145px; */
	height: 181px;
}
.text-date{
	font-size: 13px;
	color: #888;
	margin-bottom: 5px;
	line-height: 1.7;
}
.text-date > small:before{
    margin-right: 5px;
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f017";
}
.mark_arrow_title > h5:before{
    margin-right: 5px;
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f0da";
}

.hr_line{
	height: 1px;
	width: 100%;
	background-color: #999;
	margin-bottom: 10px;
}
.card-body .text{
	color: #000;
	font-size: 18px;
	font-weight: 600;
}

.is-brown{
	background-color: #dbd5d5;
	transition: color 0.3s ease-in-out;
}
.youtube-player {
    position: relative;
    padding-bottom: 56.25%;
/*    height: 0;*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
  }

  .youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
  }

  .youtube-player img {
    object-fit: cover;
    display: block;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    transition: 0.4s all;
  }

  .youtube-player img:hover {
    -webkit-filter: brightness(75%);
  }

  .youtube-player .play {
    height: 48px;
    width: 68px;
    left: 50%;
    top: 50%;
    margin-left: -34px;
    margin-top: -24px;
    position: absolute;
    background: url('https://i.ibb.co/j3jcJKv/yt.png') no-repeat;
    cursor: pointer;
  }

/* ===== 停休診公告 ===== */

.break_wd{
	white-space: normal;
} 
.stop_date th{
	width: 80px;
}
.stop_date th{
	border-right: 1px solid #dee2e6;
}
.sticky_circle{
	border-radius: 50%;
	width: 60px;
	height: 45px;
	vertical-align: middle;
	line-height: 45px;
	font-size: 20px;
}
.sky_blue_color{
	background:#E5F3FE;
	color: #2196f3;
}
.green_lake_color{
	background: #E1F3F1;
	color: #009688;
}
.box_out{
    width: 10%;
    padding: 2px;
}
.stop_date{
    /*background-color: #ece1bf;*/
    border: 1px solid #9a9b9c;
    color: #7f8081;
    font-weight: bold;
    text-align: left;
    padding: 15px 3px 3px 15px;
    position: relative;
}
/* .mor_date{
    background-color: #BAE7FF;
    color:#1151B3;
}
.eve_date{
    background-color: #EFDBFF;
    color: #552F97;
}
.noon_date{
    background-color: #FFF1B8;
    color: #905911;
} */
.mor_date::after,
.eve_date::after,
.noon_date::after{
    position: absolute;
    font-size: 13px;
    left: 1px;
    top: 2px;
    white-space: normal;
    line-height: 13px;
}																
.mor_date::after{
    /* content: "早\A診"; */
    content: "早";
    /* color: rgba(17, 81, 179, .82); */
}
.eve_date::after{
    /* content: '晚\A診'; */
    content: '晚';
    /* color: rgba(85, 47, 151, 0.70); */
}
.noon_date::after{
    /* content: '午\A診'; */
    content: '午';
    /* color: rgba(144, 89, 17, 0.82); */
}

/* ===== 醫療科室介紹、意見反映 ===== */
.d_intro{
    background-color: #f6f0e9;
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    -webkit-transition: .3s;
    transition: .3s;
    overflow: hidden;
}
.d_intro .in_icon{
    bottom: -14px;
    right: 8px;
}
.d_intro .in_icon i{
    width: 80%;
    font-size: 140px;
    float: right;
}
.d_intro .in_content{
    height: auto;
    min-height: 100%;
    padding: 15px 20px 20px;	
}
.d_intro .in_content .in_title{
    color: #754826;
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;	
	margin-top: 5px;
}
.d_intro .in_content .in_subtitle{
    margin-top: 3px;
    color: #754826;
    font-size: 16px;
    line-height: 28px;
    text-align: left;
	margin-bottom: 18px;
}
a .d_intro:hover{
    background-color: #fbe6d0;
}
.process-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	justify-content: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
}
.traineeship .activity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 300px;
    margin: 6px;
    background-color: #f6f0e9;
    /* background-color: #242835; */
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
    -webkit-transition: .3s;
    transition: .3s;
    overflow: hidden;
}
.animate-from-bottom__0 {
    -webkit-animation-name: from-left;
    animation-name: from-left;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
}
.traineeship .activity .relative-block {
    width: 100%;
    /* min-height: 350px; */
}
@-webkit-keyframes from-left {
    from {
        -webkit-transform: translateY(50px);
        transform: translateY(50px)
    }

    to {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}
@keyframes from-left {
    from {
        -webkit-transform: translateY(50px);
        transform: translateY(50px)
    }

    to {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
}
.relative-block {
    position: relative;
}
.activity-icon {
    position: absolute;
    /* bottom: 0; */
	/* right: 0; */
    bottom: -15px;
    right: 15px;
}
.activity-icon i{
    width: 65%;
	font-size: 70px;
    float: right;
}
.traineeship .inactive {
    padding: 20px;
	position: relative;
}
.traineeship .inactive .title {
    border-bottom: 3px solid #f5961d;
    /* padding-bottom: 14px; */
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    color: #754826;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 28px;
}
.traineeship .activity .con_active {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    height: auto;
    min-height: 100%;
    padding: 25px 30px 50px;
}
.traineeship .activity .con_active .title {
    color: #754826;
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
}
.traineeship .activity .con_active .sub-title {
    margin-top: 10px;
    color: #754826;
    font-size: 16px;
    line-height: 28px;
    text-align: left;
}
.traineeship .activity:hover {
    width: 558px;
    background-color: #f6f0e9;
}
.traineeship .activity:hover .inactive {
    display: none;
}
.traineeship .activity:hover .con_active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* width: 340px; */
}

/* ===== 醫師介紹 ===== */
.doc_list > div{
    border-bottom: 1px solid #eee !important;
}
.doc_list > div:last-child{
    border-bottom: 0px solid #eee !important;
}

.d_img_div{
    position: relative;
    width: 100%;
    height: 280px;
    /* height: 310px; */
    max-width: 200px;
    overflow: hidden;
    margin: 0 auto;
}
.d_img_div.news_img{
    max-height: 100%;
    height: 110px;
}
.d_img_div img{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    max-width: 100%;
    height: auto;
}
.doctor_wh{
    height: 330px !important;
    max-width: 250px !important;
}
.list-bullets li{
    margin-bottom: 5px;
}
.doctor_news h5,
.media_new h5{
    margin-bottom: 5px;
    font-weight: bold;
}
.doctor_news small,
.text-date small,
.media_new small{
    color: #6c757d;
    font-size: 14px;
    margin: 5px 0px;
}
.doctor_mov{
    padding: 10px 10px 20px 10px;
}
.doctor_mov .spacing_mp{
    margin: 0.25rem 0.5rem 1rem 0.5rem;
}
.doctor_mov .info_card{
    background-color: #fff;
    border: 1px solid #ddd;
}
.doctor_mov .info_card > div{
    padding: 5px;
}
.doctor_mov .info_card img{
    width: 100%;
}
.group-btn{
    color:#000;
    margin: 0 2px;
    font-size: 15px;
    background: #ddd;
    /* padding: 10px 15px;  */
    /* -webkit-box-shadow: 0 5px 6px -3px #999;
    -moz-box-shadow: 0 5px 6px -3px #999;
    box-shadow: 0 5px 6px -3px #999; */
}
.group-btn.cofe_color{
    color:#754826;
    background: #f6f0e9;
}
.group-btn:hover,
.group-btn.yellow:hover{
    -webkit-box-shadow: 0 4px 6px -3px #aaa;
    -moz-box-shadow: 0 4px 6px -3px #aaa;
    box-shadow: 0 4px 6px -3px #aaa;
}
.giant { font-size: 1.2em;} 

.group-btn.grey {
    color: #222;
    background-color: #f5f5f5;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f5f5f5), to(#d1d0d0));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #d1d0d0); 
    background-image:    -moz-linear-gradient(top, #f5f5f5, #d1d0d0);
    background-image:     -ms-linear-gradient(top, #f5f5f5, #d1d0d0);
    background-image:      -o-linear-gradient(top, #f5f5f5, #d1d0d0);
    border: 1px solid #cccccc;
    text-shadow: #fff 1px 1px 0;
}
.group-btn.yellow {
    color: #000;
    background-color: #ffd500; 
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffd500), to(#f7a600));
    background-image: -webkit-linear-gradient(top, #ffd500, #f7a600); 
    background-image:    -moz-linear-gradient(top, #ffd500, #f7a600);
    background-image:     -ms-linear-gradient(top, #ffd500, #f7a600);
    background-image:      -o-linear-gradient(top, #ffd500, #f7a600);
    border: 1px solid #e79b00;
    text-shadow: #f4d492 1px 1px 0;
}
.group-btn.grey:active,
.group-btn.grey:hover{
    margin-top: 10px
    -webkit-box-shadow:inset 0 4px 6px -3px #999;
    -moz-box-shadow:inset 0 4px 6px -3px #999;
    box-shadow:inset 0 4px 6px -3px #999;
    background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#dddddd), to(#dddddd));
    background-image:-webkit-linear-gradient(top, #dddddd, #dddddd); 
    background-image:-moz-linear-gradient(top, #dddddd, #dddddd);
    background-image:-ms-linear-gradient(top, #dddddd, #dddddd);
    background-image:-o-linear-gradient(top, #dddddd, #dddddd);
}
.group-btn.yellow:active,
.group-btn.yellow:hover{
    /* color: #fff;
    text-shadow: #f3b53a 1px 1px 0; */
    margin-top: 10px;
    -webkit-box-shadow: inset 0 4px 6px -3px #938c8c;
    -moz-box-shadow: inset 0 4px 6px -3px #938c8c;
    box-shadow: inset 0 4px 6px -3px #938c8c;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f7a600), to(#f7a600));
    background-image: -webkit-linear-gradient(top, #f7a600, #f7a600); 
    background-image: -moz-linear-gradient(top, #f7a600, #f7a600);
    background-image: -ms-linear-gradient(top, #f7a600, #f7a600);
    background-image: -o-linear-gradient(top, #f7a600, #f7a600);
}
/* article a, article a:hover {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin: 0 5px;
}	 */
.postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    color: #fff;
}									
.postcard.light {
    /* background-color: #e1e5ea; */
    background-color: #f6f0e9;
}
.postcard .t-dark {
    color: #18151f;
}
.postcard a {
    color: inherit;
}
.postcard h1, .postcard .h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}
.postcard .small {
    font-size: 80%;
}
.postcard .postcard__title {
    font-size: 1.75rem;
}
.postcard .postcard__img {
    /* max-height: 550px; */
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}
.postcard .postcard__img_link {
    display: contents;
}
.postcard .postcard__title i{
        color: #1877f2;
}
.postcard .postcard__bar {
    width: 50px;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #695454;
    transition: width 0.2s ease;
}
.postcard .postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.postcard .postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}
.postcard .postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
}
.postcard .postcard__tagbox .tag__item {
    display: inline-block;
    background: rgba(83, 83, 83, 0.4);
    border-radius: 3px;
    padding: 2.5px 10px;
    margin: 0 5px 5px 0;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
}
.postcard .postcard__tagbox .tag__item:hover {
    background: rgba(83, 83, 83, 0.8);
}
.postcard:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-70deg, #424242, transparent 50%);
    opacity: 1;
    border-radius: 10px;
}
.postcard:hover .postcard__bar {
    width: 100px;
}														
.postcard .postcard__tagbox .red.play:hover {
    background: #bdbb49;
    color: black;
}
.red .postcard__title:hover {
    color: #bdbb49;
}
.red .postcard__bar {
    background-color: #bdbb49;
}
.red::before {
    background-image:linear-gradient(-30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}
.red:nth-child(2n)::before {
    background-image: linear-gradient(30deg, rgba(189, 187, 73, 0.1), transparent 50%);
}
/* youtube 播放的設定 */
.youtube-player {
    position: relative;
    padding-bottom: 56.25%;
/*    height: 0;*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.youtube-player img {
    object-fit: cover;
    display: block;
    left: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: 0.4s all;
    -moz-transition: 0.4s all;
    transition: 0.4s all;
}

.youtube-player img:hover {
    -webkit-filter: brightness(75%);
}
.youtube-player .play {
    height: 48px;
    width: 68px;
    left: 50%;
    top: 50%;
    margin-left: -34px;
    margin-top: -24px;
    position: absolute;
    background: url('https://i.ibb.co/j3jcJKv/yt.png') no-repeat;
    cursor: pointer;
}
.embed-container { 
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 769px) {
    .postcard {
        flex-wrap: inherit;
    }
    .postcard .postcard__title {
        font-size: 2rem;
    }
    .postcard .postcard__tagbox {
        justify-content: start;
    }
    .postcard .postcard__img {
        /* max-width: 300px; */
        max-height: 400px;
        height: 100%;
        transition: transform 0.3s ease;
    }
    .postcard .postcard__text {
        padding: 2rem 0rem 1rem 2rem;
        width: 100%;
    }
    .postcard .media.postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        background: #18151f;
        top: -20%;
        height: 130%;
        width: 55px;
    }
    .postcard:hover .postcard__img {
        transform: scale(1.1);
    }
    .postcard:nth-child(2n+1) {
        flex-direction: row;
    }
    .postcard:nth-child(2n+0) {
        flex-direction: row-reverse;
    }
    /* .postcard:nth-child(2n+1) .postcard__text::before {
        left: -20px !important;
        transform: rotate(4deg);
    }
    .postcard:nth-child(2n+0) .postcard__text::before {
        right: -12px !important;
        transform: rotate(-4deg);
    } */
    .red::before {
        background-image: linear-gradient(-80deg, rgba(189, 187, 73, 0.1), transparent 50%);
    }
    .red:nth-child(2n)::before {
        background-image: linear-gradient(80deg, rgba(189, 187, 73, 0.1), transparent 50%);
    }	
}
@media screen and (min-width: 1024px) {
    .postcard__text {
        padding: 2rem 3.5rem;
    }
    .postcard__text:before {
        content: "";
        position: absolute;
        display: block;
        top: -20%;
        height: 130%;
        width: 60px;
    }
    /* .postcard.light .postcard__text:before {
        background: #e1e5ea;
    } */
}
.list-bullets {
    list-style: none;
    font-size: 16px;
}
.list-bullets li {
    display: flex;
    align-items: baseline;
}
.list-bullets li::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f5961d;
    /* border: 2px solid #754826; */
    display: block;
    margin-right: 1rem;
    padding-right: 0.8rem;
}
/* Unordered list with custom numbers style */
ol.custom-numbers {
    list-style: none;
    font-size: 1.1rem;
}
ol.custom-numbers li {
    counter-increment: my-awesome-counter;
    display: flex;
}
ol.custom-numbers li::before {
    content: counter(my-awesome-counter) ". ";
    color: #f5961d;
    font-weight: bold;
    margin-right: 1rem;
}
/* ===== 掛號須知 ===== */
.morning::before{
    content: '早';
    background-color: #BAE7FF;
    color:#1151B3;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.evening::before{
    content: '晚';
    background-color: #EFDBFF;
    color: #552F97;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.afteroon::before{
    content: '午';
    background-color: #FFF1B8;
    color: #905911;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.registered_notice{
    letter-spacing: 1px;
    font-size: 18px;
    text-align: justify;
    margin-bottom: 0px;
    padding: 0 .25rem;
}
.registered_notice .text_only{
    
}
.registered_notice .text_in{
    padding: 0 25px;
}

/* ===== 我要看哪一科 ===== */
.thh-title{
    font-size: 1.8rem;
    font-weight: bold;
}
.which_class h3{
    margin-bottom: 15px;
}
.which_class table{
    margin-bottom: 0px !important;
}
.which_class table tbody th{
    width: 30%;
}
.which_class table tbody th{
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 5px;
}
/* ===== 預約慢性處方箋 ===== */
.p_name{
    font-size: 28px;
    margin-bottom: 5px;
}
.p_id{
    font-size: 20px;
}	
.p_name::before{
    content: '\f2bd';
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
    color: #f5961d;
}											
.p_id::before{
    content: '病歷號碼：';
    font-size: 20px;
}

/* ===== 衛教園地 ===== */
.health_list .card-body{
    padding: .8rem;
}
.health_list .card-title{
    transition: .3s;
    width: 85%;
}
.health_list .card-title h5{
    font-weight: bold;
}	
.health_list .card-subtitle{
    width: 15%;
    padding: 5px;
    margin-top: 5px;
}											
.health_list .card:hover{
    background-color: #f8f9fa;
}
.health_list .card:hover .card-title{
    color: #f5961d;    
}

/* |======== 看診進度 ========| */

.see_memo .media{
    border-bottom: 1px solid #dee2e6;
    padding: .5rem 0;
}
.see_memo .media > div:first-child{
    width: 100%;
}
									
.tab-content .morning_which_doc .Div_box,
.tab-content .noon_which_doc .Div_box,
.tab-content .night_which_doc .Div_box{
    width: calc(100% - 1%);
}
.tab-content .morning_which_doc .Div_body,
.tab-content .noon_which_doc .Div_body,
.tab-content .night_which_doc .Div_body{
    padding: 0;
}
.tab-content .morning_which_doc .card,
.tab-content .noon_which_doc .card,
.tab-content .night_which_doc .card{
    margin-top: 0;
    border: 1px solid #a89e9e;
}
.see_data{
    width: 70%;
    align-self: center;
}
.see_title{
    padding: 8px;
    margin-bottom: 5px;
}
.see_title h5{
    margin-bottom: 0px;
    font-weight: bold;
}
.see_num{
    text-align: center;
    border-left: 1px solid #dee2e6!important;
}
.see_num:nth-child(2) {
    width: 50%;
    padding: 0 15px;
}
.see_num h3{
    font-weight: bold;
    margin-top: 10px;
    font-size: 1rem;
}
.see_room_no{
    color: #009688;
}
.see_num_no{
    color: #f05a2b;
}
.see_num span{
    font-size: 13px;
}
.see_detail{
    border-radius: 0px;
    font-weight: bold;
    width: 100%;	
}
.see_time{
    line-height: 30px;
}											
/* 顏色-早診 */
.mor_a input,
.noon_a input,
.night_a input{
    border: 0px;
}
.mor_a,
.mor_a input{
    /* background-color: #dcf3ff !important; */
    background-color: #ebf4f9 !important;
    color: #1151B3 !important;
}
.mor_a input:hover,
.mor_a input .active{
    background-color: #1151B3 !important;
    color: #dcf3ff !important;
}
.mor_c{
    color: #295e89;											
}
.mor_c:hover{
    color: #1f6ee6;
    background-color: rgba(228, 243, 250, 0.55);
    border-color: rgba(228, 243, 250, 0.55);
}
/* 顏色-午診 */
.noon_a,
.noon_a input{
    /* background-color: #faf3d7 !important; */
    background-color: #fcf9ef !important;
    color: #905911 !important;
}
.noon_a input:hover,
.noon_a input .active{
    background-color: #905911 !important;
    color: #faf3d7 !important;
}
.noon_c{
    color: #905911;
}
.noon_c:hover{
    color: #f05a2b;
    background-color: rgba(255, 241, 184, 0.65);
    border-color: rgba(255, 241, 184, 0.65);
}
/* 顏色-晚診 */
.night_a,
.night_a input{
    /* background-color: #f2eaf8 !important; */
    background-color: #f5effb !important;
    color: #552F97 !important;
}
.night_a input:hover,
.night_a input .active{
    background-color: #552F97 !important;
    color: #f2eaf8 !important;
}
.night_c{
    color: #270f51;
}
.night_c:hover{
    color: #5e0bee;
    background-color: #f3ecfa;
    border-color: #f3ecfa;
}
.morning{
    background-color: #BAE7FF;
    color:#1151B3;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.morning::before{
    content: '早';
}
.evening{
    background-color: #EFDBFF;
    color: #552F97;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.evening::before{
    content: '晚';
}
.afteroon{
    background-color: #FFF1B8;
    color: #905911;
    padding: 3px;
    border-radius: 2px;
    font-weight: bold;
}
.afteroon::before{
    content: '午';
}
.nav-pills .nav-link{
    border-radius: 0px;
}
.nav-pills .mor_a .nav-link:hover, .nav-pills .mor_a .nav-link.active{
    background-color: #1151B3 !important;
    color: #fff !important;
}
.nav-pills .noon_a .nav-link:hover, .nav-pills .noon_a .nav-link.active{
    background-color: #FF9800 !important;
}
.nav-pills .night_a .nav-link:hover, .nav-pills .night_a .nav-link.active{
    background-color: #552F97 !important;
}
.text_memo{
    color: #6c757d;
    font-size: .85rem;
    margin-top: .5rem;
    text-align: center;
}
.searchbox_div{
    max-width: 400px;
    width: 100%;
}
.see_memo .media-body{
    line-height: 25px;
    font-weight: bold;
    text-align: center;
}

/* 詳細資料 */
.Kir_bei::before{
    content: '科別：';
}
.clinic_room::before{
    content: '診間位置：';
}
.clinic_doc::before{
    content: '看診醫師：';
}
.clinic_num::before{
    content: '目前看診號碼：';
}
.card-counter{
    box-shadow: 2px 2px 10px #DADADA;
    margin: 5px;
    padding: 20px 10px;
    background-color: #fff;
    height: 100px;
    border-radius: 5px;
    transition: .3s linear all;
}
.card-counter:hover{
    box-shadow: 4px 4px 20px #DADADA;
    transition: .3s linear all;
}
.card-counter.primary{
    background-color: #7b5237;
    color: #FFF;
}
.card-counter.danger{
    background-color: #ef5350;
    color: #FFF;
}  
.card-counter.success{
    background-color: #66bb6a;
    color: #FFF;
}  
.card-counter.info{
    background-color: #17a2b8;
    color: #FFF;
}  
.card-counter i{
    font-size: 4.5em;
    opacity: 0.2;
}
.card-counter .count-numbers{
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 32px;
    display: block;
}
.card-counter .count-name{
    position: absolute;
    right: 35px;
    top: 65px;
    font-style: italic;
    text-transform: capitalize;
    opacity: 1;
    display: block;
    font-size: 18px;
    font-weight: bold;
}
.grid_out{
    width: 20%;
    position: relative;
    border: 1px solid #f1f1f1;
    padding: 0 .5rem;
    height: 50px;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
}
.grid_out span:nth-child(2){
    position: absolute;
    font-size: 14px;
    font-weight: bold !important;
    bottom: 0;
    right: 3px;
}
.no_Checked_in{
    background-color: #fff;
}
.no_Checked_in span:nth-child(2)::after{
    content: '未報到';
}
.doc_seeing{
    background-color: #28a745;
    color: #fff;
}
.doc_seeing span:nth-child(2)::after{
    content: '看診中';
}
.check_num span:nth-child(2)::after{
    /* content: '檢查中'; */
    content: '已報到';
}
.Checked_in_num, .check_num{
    background-color: rgba(255, 87, 34, .18);
}
.Checked_in_num span:nth-child(2)::after{
    content: '已報到';
}
.completed_num{
    background-color: #d7f3d8;
    color: #28a745;
}
.completed_num span:nth-child(2)::after{
    content: '已完成';
}
.cancel_num{
    background-color: #eee;
    color: #949ca3;
}
.cancel_num span:nth-child(2)::after{
    content: ' 取消';
}
.spinner {
    width: 25px;
    height: 25px;
    position: relative;
    border-radius: 30px;
    border: 2px solid #fff;
    margin: 0 auto;
    top: -15px;
}
.spinner:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #fff;
    top: 10px;
    left: 10px;  
    transform-origin: 1px 1px;
    animation: spin 2.5s infinite linear;
}
.spinner:before {
    content: "";
    position: absolute;
    left: 9px;
    top: 9px;
    height: 4px;
    width: 4px;
    background: #fff;
    border-radius: 4px;
    animation: expand .5s infinite linear alternate;
}
@keyframes spin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
    }
    @keyframes expand {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.5);
    }
}

.Number_persons_list{
    background-color: #fef4d4;
}
.Number_persons_list .card-body{
    padding: 0.25rem 1.25rem;
    text-align: left;
}
.Number_persons_list .row{
    color: #6c757d;
    font-size: 20px;
    font-weight: bold;
}
.Number_persons::before{
    content:'掛號人數：';
}
.Done_persons::before{
    content:'已完診：';
}
.Not_finished_persons::before{
    content:'未看診：';
    font-family: "Font Awesome 5 Free";
}
.Number_persons::after, .Done_persons::after, .Not_finished_persons::after{
    content:'人';
    font-size: 14px;
    padding-left: 5px;
}

@media only screen and (max-width: 992px) {
    .grid_out{
        height: 60px;
    }
}
@media only screen and (max-width: 767px) {
    .grid_out{
        height: 70px;
    }
    .spinner{
        top: -5px;
    }
}

/* |======== 醫療資訊 ========| */

.media_info{
    letter-spacing: 1px;
    line-height: 30px;
    text-align: justify;
    font-size: 18px;
    color: #3b3432;
}

/* 文章時間 */
.media_info .text-date{
    margin-top: -10px;
    text-align: right;
}
/* 文章標題*/
.caption,
.caption_noline{
    border-left: 5px #795548 solid;
    padding: 0.3em;
    background: #e8eadf;
    font-weight: bold;
    line-height: 35px;
    letter-spacing: 2px;
    font-size: 22px;
    color: #754826;
}
.caption_noline{
    border-left: 0px #795548 solid;
}
.media_info .caption{
    margin: 15px 0;
}
/* 文章內文 */
.media_info p{
    color: #121212;
    margin: 1rem 0;
}

/* 文章-嵌入youtube */
.info_iframe{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 15px 0;
}
.info_iframe iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 1px;
}
/* 文章內文-項目列表 */
.triangle {
    position: relative;
    padding-left: 20px;
    font-weight: bold;
    margin: 10px 10px 10px 0;
    line-height: 30px
}
.triangle::before {
    position: absolute;
    top: calc(50% - 9px);
    left: 0px;
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left: 8px solid #8FC21F;
}
/* 文章內文-按鈕連結網址 */
.media_info .a-btn{
    color: #222;
    background-color: #8bc34a !important;
    border-color: #8bc34a !important;
    font-weight: bold !important;
    cursor: pointer;
    white-space: nowrap!important;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .75rem;
    font-size: 1.3rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-right: 5px;
    margin-top: 5px;
}
.media_info .a-btn:hover,
.media_info .a-btn:focus{
    color: #fff !important;
    outline: 0;
}
/* 文章內文-連結網址 */
.media_info p a{
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.36px;
    word-break: break-all;
}

/* |======== 網路掛號 ========| */
.online_main{
    margin-top: 100px; 
	margin-bottom: 20px;
}
.items_div_w{
    width: 100%;
    max-width: 100%;
    margin: 10px auto 0 auto;
}
.items_div{
    /* height: 100%; */
    margin-top: 5%;
}
.online_main .css_td{
	padding: 5px 6px;
}
/* 網掛_初診、複診/首頁btn */
.A_card{
    max-width: 380px;
    width: 100%;
    line-height: 40px;
    background: #795548;
    background: -webkit-linear-gradient(to bottom, #cebda6, #795548);
    background: linear-gradient(to bottom, #cebda6, #795548);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 4px 14px 0 rgba(0,0,0,.1);
    cursor: pointer;
    position: relative;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-self: center;
}
.A_card:hover{
    box-shadow: 0 5px 40px 0 rgba(0,0,0,.2);
    opacity: 1;
    background: #307233;
    background: -webkit-linear-gradient(to bottom, #b4d48f, #307233);
    background: linear-gradient(to bottom, #b4d48f, #307233);
}
.A_card:hover .fa-child,
.A_card:hover .fa-chalkboard-teacher,
.A_card:hover .fa-notes-medical,
.A_card:hover .fa-user-md,
.A_card:hover .fa-file-alt {
    animation: lock 1.2s cubic-bezier(.36,.07,.57,.99) infinite;
}
    @keyframes lock {
    0% {
        transform: scale(1.1) translateY(0);
    }
    20% {
        transform: scale(1.1) translateY(-5px);
    }
    30% {
        transform: scale(1.1) translateY(5px);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
    60% {
        transform: scale(1.1) translateY(5px);
    }
    100% {
        transform: scale(1.1) translateY(0);
    }
}
.info{
    font-family: sans-serif;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
}
.info .title{
    font-size: 2.3rem;
    line-height: 40px;
}
.info .descricao{
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	font-weight: 400;
    padding: 10px 0px;
}
.items_div_w .descricao{
   font-size: 1.1rem;
}
.A_card:hover .descricao,
.A_card:hover .info{
    color: #ffffff;
}
.A_card:active{
    opacity: 0.9;
}
.A_card .icon_1,
.A_card .icon_2{
    padding-top: 0rem;
    padding-bottom: .8rem;
    font-size: 4.2rem;
}
/* 網掛_導航列 */
.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;
}
.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;
}
.online_nav_title span,
.Drug_One_Title{
    font-weight: bold;
    letter-spacing: 6px;
    font-size: 2rem;
}
.online_nav_btn{
    width: 100%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    /* background-color: #fff; */
    background-color: transparent;
    font-weight: 700;
}
.online_nav_btn div{
    width: 25%;
    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: 1px solid #dee2e6;
    margin: 0 .25rem;
    padding-left: 0.5rem;
}
.user_icon div{
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 90px;
}

/* 網掛_首頁 */
.serviceBox{text-align: center;margin-top: 60px;position: relative;z-index: 1; margin-bottom: 21px;}
.serviceBox .service-icon{width: 78px;height: 78px;border-radius:3px;background: #f1f1f1;margin: 0 auto;position: absolute;top: -34px;left: 0;right: 0;z-index: 1;transition: all 0.3s ease-out 0s;}
.serviceBox:hover .service-icon{transform: rotate(45deg);}
.serviceBox .service-icon span{display: inline-block;width: 60px;height: 60px;line-height: 60px;border-radius:3px;background: #727cb6;font-size: 30px;color: #fff;margin: auto;position: absolute;top: 0;left: 0;bottom: 0;right: 0;transition: all 0.3s ease-out 0s;}
.serviceBox .service-icon span i{transition: all 0.3s ease-out 0s;}
.serviceBox:hover .service-icon span i{transform: rotate(-45deg);}
.serviceBox .service-content{background: #f1f1f1;border: 1px solid #e7e7e7;border-radius: 3px;padding: 55px 15px 15px 15px;position: relative;}
.serviceBox .service-content:before{content: "";display: block;width: 80px;height: 80px;border: 1px solid #e7e7e7;border-radius: 3px;margin: 0 auto;position: absolute;top: -37px;left: 0;right: 0;z-index: -1;transition: all 0.3s ease-out 0s;}
.serviceBox:hover .service-content:before{transform: rotate(45deg);}
.serviceBox .title{font-size: 17px;font-weight: 500;color: #324545;text-transform: uppercase;margin: 0;position: relative;transition: all 0.3s ease-out 0s;}
.serviceBox:hover .title{color: #727cb6;}
.serviceBox.green .service-icon span{ background: #008b8b; }
.serviceBox.blue .service-icon span{ background: #3498db; }
.serviceBox.orange .service-icon span{ background: #e67e22; }
.serviceBox.green:hover .title{ color: #008b8b; }
.serviceBox.blue:hover .title{ color: #3498db; }
.serviceBox.orange:hover .title{ color: #e67e22; }

/* 網掛_登入預約 */
.keyin_data_div{
	max-width: 500px;
	width: 100%;
	margin: 30px auto 10px auto;
	background-color: #fff;
	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: 1px solid #896750;
	padding: 1rem;
	border-radius: .25rem;
}
.reg_bg{
    background-color: #f5e5d1;
    color: #75482b;
    padding: 10px;
}
.reg_50{
    width: calc(50% - 3%);
    margin: 1.5%;
}
.reg_bg .d_intro{
    background-color: #8b6d5a;
    min-height: 150px;
    display: flex;
    border-radius: .25rem;
    position: relative;
}
.reg_bg .d_intro .in_content{
    position: relative;
}
.reg_bg .d_intro .in_content .in_title{
    font-size: 40px;
    color: #fff;
    line-height: 45px;
}
.reg_bg .d_intro .in_icon{
    position: absolute;
}
.reg_bg .d_intro .in_icon i{
    font-size: 90px;
    color: rgba(255, 255, 255, 0.36);
}
.reg_bg a .d_intro:hover{
    background-color: #75482b;
}
.this_month{
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
}
.booking{
	font-size: 16px;
	color: blue;
	white-space: nowrap;
    text-align: center;
}
.booking::after{
	content: '人';
}
.booking div{
	font-size: 14px;
}
.booking_full{
    /* background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 1px 6px; */
    font-size: 20px;
    font-weight:bold;    
    color: red;    
}
.Div_box_3pic{
    border-right: 0px solid #c3a18a;
    width: calc(100% - 1%);
}
.Div_box_3pic:not(:last-child){
    border-bottom: 1px solid #c3a18a;
}
.Div_box_3pic .Div_body{
    position: initial;
}
.booking_btn{
	background-color: #75482b;
	color: #fff;
	font-weight: bold;
	border-radius: 0px;
	padding: 5px 10px;
	border: 0px solid #17a2b8;
	font-size: 20px;
}
.booking_btn:hover{
	background-color:#3e9e54;
	color: #fff;
}
.Booking_login, 
.Cancel_data, 
.visit-info-div{
    display:none;
    max-width:500px;
    width: 100%;
}
.visit-info-div{
    max-width: 650px;
}
.login_title{
    text-align: center;
    font-size: 2.5rem;
    color: #75482b;
    font-weight: bold;
    margin-bottom: 25px;
    background-color: antiquewhite;
}
.Booking_login .reg_bg{
    background-color: transparent;
}
.Booking_login .reg_bg .d_intro{
    min-height: 200px;
}
.Booking_login .reg_bg .d_intro .in_icon i{
    font-size: 150px;
}
.Booking_login .reg_bg .d_intro .in_content .in_title{
    font-size: 60px;
    line-height: 60px;
}
.Booking_login .hr_line,
#booking_sure_1 .hr_line{
    margin-bottom: -15px;
    margin-top: 50px;
    border-top: 1px dashed #999;
    background-color: transparent;
}
.Order_title{
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    align-self: center;
    padding: 10px;
    display: inline;
    background-color: #e2e6ea;
}
.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%;
}
/* 網掛_確認預約/個人資料 */
.make_sure_1 .css_table{
    width: 96%;
    margin-top: 20px;
}
.make_sure_1 .css_th{
    padding: 5px 15px 5px 0;
    width: 140px;
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
    background-color: transparent;
    border-right: 0 solid;
    height: auto;
}
.make_sure_1 .css_th::after{
    content: ":";
}
.make_sure_again .css_table{
    height: auto;
}
.make_sure_again .css_th{
    padding: 5px 15px 5px 0;
    width: 140px;
    text-align: justify;
    text-justify: distribute-all-lines;
    text-align-last: justify;
    background-color: transparent;
    border-right: 0 solid;
    height: auto;
}

/* 網掛_選擇科別 */
.badge-promo {
    position: relative;
    overflow: hidden;
    max-height: 60px;
    margin-bottom: -8px;
    z-index: 1;
    padding: 12px 14px;
    border-radius: 2px 2px 0 0;
    color: #fff;
    text-align: left;
    font-weight: bold;
    margin-bottom: 10px;
    padding-top: 5px;
}
.badge-promo:before,
.badge-promo:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
}
.badge-promo:before {
    background: rgba(255, 152, 0, 0.35);
    height: 100%;
    width: 110%;
    transform-origin: bottom right;
    transform: rotate(1deg);
}
.badge-promo:after {
    background: #FF9800;
    transform: rotate(-3deg);
    transform-origin: bottom left;
    height: 100%;
    width: 110%;
}
.badge-promo-content {
    position: relative;
    z-index: 1;
    font-family: sans-serif;
    font-size: 2rem;
    color: #fff;
}

/* 網掛_表格細節設計 */
.booking_date_col{
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
}
.booking_date_col > div{
    margin-right: 0px;
	font-size: 16px;
}
/* 網掛_退掛資料 */
.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;
}
/* 網掛_選月份/選週按鈕 */
.booking_sys .form-control{
    border-radius: 0 !important;
    background-color: #e4e4e4;
    font-size: 1.3rem !important;
}
.booking_sys .tabs_a{
    padding: 0;
}
.switch-field {
    display: flex;
    overflow: hidden;
    justify-content: center;
}
.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}
.switch-field label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 22px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
    font-weight: bold;
}
.switch-field label:hover {
    cursor: pointer;
}
.switch-field input:checked + label {
    background-color: #4CAF50;
    box-shadow: none;
    color: #fff;
}
.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}
.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}
.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;
}
/* 網掛_前後綴詞設定 */
.booking::before{
	content: '已掛號 ';
}
/* disable 樣式 */
.disable_click{
    cursor: not-allowed;
}
.disable_click a{
    text-decoration: none;
}
.disable_click:hover .booking_disable,
.disable_click:hover .booking_full{
    pointer-events: none;
}
.booking_disable{
    color:#999 !important;
	background-color: transparent;
    border: solid 0px #CCC;
}
.booking_disable:hover{
    cursor: not-allowed;
	background-color: transparent;
	color:#999;
}

/* 網掛_訊息樣式-warning */
.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;
    }
}

/* 網掛_訊息樣式-success */
.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle,
.circle-border {
    width: 5em;
    height: 5em;
    border-radius: 50%;
}
.circle {
    z-index: 1;
    position: relative;
    background: white;
    transform: scale(1);
    animation: success-anim 700ms ease;
}
.circle-border {
    z-index: 0;
    position: absolute;
    background: #28a745;
    transform: scale(1.1);
    animation: circle-anim 400ms ease;
}

@keyframes success-anim {
    0% {
        transform: scale(0);
    }
    30% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes circle-anim {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1.1);
    }
}

.success::before,
.success::after {
    content: "";
    display: block;
    height: 4px;
    background: #28a745;
    position: absolute;
}

.success::before {
    width: 22px;
    top: 58%;
    left: 23%;
    transform: rotateZ(50deg);
}

.success::after {
    width: 40px;
    top: 50%;
    left: 35%;
    transform: rotateZ(-50deg);
}


/* 網掛_初診注意事項 */
.visit-info{
    border-radius: 0;
    margin-top: 1rem;
    font-size: 20px;
    text-align: justify;
}
/*.visit-info a{
    font-weight: bold;
    text-decoration: underline !important;
    color: inherit;
}
 .visit-info a:hover{
    color: red;
}
.visit-info span{
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #dc3545;
    color: white;
    padding: 3px;
    margin: 0 5px;
}*/
/*.visit-info-div .visit-info{
    font-size: 22px;
}*/


/*有流程圖的初診注意事項*/
.alert-text{
    text-align: center;
    margin: 1em 0;
}
.alert-text h3{
    font-weight: bold; 
    color: #28a745;
    margin-bottom: 0 !important;
}

.res-num{
    padding: 3px 5px;
    font-size: 1.25rem;
    line-height: normal;
    margin: 0 5px;
    border-radius: 0px;
    letter-spacing: 2px;
    text-align: center;
    display: inline-block;
    color: #fff;
    background-color: #28a745;
}

.visit-info hr{
    margin: 8px 0px;
    border-top-color: #e3b99d;
}
.step-guide{
    font-size: 1.1rem;
    text-align: center;
    margin: 15px 0px;
}
.step-guide strong{
    border-bottom: 1px solid #333;
}
.flow_info{
    font-size: 16px;
}



/* |======== 慢箋預約 ========| */

#Drugs_Prescription .online_main{
    padding-top: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0px ;
}

#Drugs_Prescription .online_nav_bg{
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 10px;
}

#Drugs_Prescription .online_nav_title{
    flex-direction: column;
}

.Drugs_nav_btn div{
    width: 100%;
}
#Drugs_Prescription .user_icon{
    border-left: 0px solid #dee2e6;
}
.Drugs_booking_list .first_td{
    font-size: 30px;
    font-weight: bold;
    padding: 5px;
    margin-right: 3px;
}
.Drugs_booking{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

/* ▼▼▼ 預約慢箋-登入頁 ▼▼▼ */

.Drug_Notes .login-area{
    background-color: #fff;
    /* height: 100vh;  */
}
.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;
}
.Note_title{
    width: 100%;
    text-align: center;
    max-width: 60px;
}
.Note_title div{
    width: 100% !important;
    font-weight: bold;
}

/* ▼▼▼ 預約慢箋-領藥規則及注意事項 ▼▼▼ */
.Drug_Notes .number-circle-list {
    list-style: none;
    padding-left: 0rem;
    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;
}
.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;
}
.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;
}

/* ▼▼▼ 預約慢箋-慢箋預約記錄 ▼▼▼ */

/* 訊息視窗；Fancy box 面板 */
.F_box{
    width: 100%;
    max-width: 900px;
    display: none;
}
/* 訊息視窗：按我預約-可預約日期 */
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: 1.3rem;
    padding: 5px;
    margin: .5%;
    line-height: 25px;
    font-weight: bold;
    text-align: center;
    color: #754826;
}
input[type="radio"].c-radio-table__radio:checked + .c-radio-table__label {
    color: #ffffff;
    background-color: #75482b;
    border-color: #75482b;
}
/* 訊息視窗：取消預約 */
.login_title div:nth-child(2){
    font-size: 22px;
}
.Cancel_data .css_th{
    text-align-last: justify;
    text-align: justify;
    text-align: distribute-all-lines;
    width: 130px;
    padding: 5px 10px;
}
/* 訊息視窗：慢箋預約 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;
}

/* 當按鈕處於 loading 狀態時 */
.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); }
}

/* ▼▼▼ 慢箋預約明細 ▼▼▼ */
.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;
}
.Drugs_booking_list .first_td::before{
    content: attr(data-th) "" !important;
    width: 0 !important;
    margin: -1px !important;
}
/* 預約慢箋-病患基本資料 */
.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: 14px;
}

/* ===== 資安政策聲明 ===== */
.safe_content{
    padding: 1rem;
    color: #6c757d;
}
.safe_content p{
    letter-spacing: 1px;
    line-height: 28px;
    text-align: justify;
}
.safe_content h4{
    font-weight: bold;
    text-align: justify;
}
.safe_slogan{
    font-weight: bold;
    font-size: 1.75rem;
    margin: 2rem 0;
}
.safe_slogan p{
    text-align: center;
}


/* Fancybox 樣式 */
.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 (min-width: 576px){
    .login_form label{
        text-align: right;
    }
}

@media only screen and (max-width: 768px) {
    .list_c_img_div {
        width: 100%;
    }
    .list_c_mov_div {
        width: 100%;
    }
    .health_list .card-title{
        width: 100%;
    }
    .health_list .card-subtitle{
        width: 100%;
    }
    .box_out{
        width: 25%;
    }
    .stop_date{
        font-size: 14px;
        line-height: 14px;
    }
    .cell_row .de_caption{
        background-color: #8C6D55;
        color: #fff;
        line-height: 35px;
    }
    .c-radio-table__label {
        font-size: .9rem;
    }
    .date_lines span{
        font-size: 12px;
    }
    .full_date{
        display: flex;
        flex-direction: row-reverse;
        align-content: center;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #eee;
        padding: 6px 10px;
    }
    .full_date h3{
        font-size: 16px;
        padding-right: 9px;
    }
    .full_date span{
        padding-right: 5px;
        font-size: 16px;
        font-weight: bold;
    }
}

/* 【科室總覽卡片 max-w:1000px】 */
@media only screen and (max-width: 1000px) {
    .process-row {
        flex-direction: column;
    }    
    .traineeship .inactive .title{
        font-size: 1.5rem;
    }
    .traineeship .activity {
        width: 93%;
    }
    .traineeship .activity .con_active{
        width: 93%;
    }
    .traineeship .activity .con_active .title {
        font-size: 1.2rem;
        font-weight: bold;
    }
    .traineeship .activity .relative-block {
        min-height: 100%;
    }
    .traineeship .activity:hover {
        width: 98%;
		margin-left:2px;
		margin-right:10px;
    }
    .process-row {
        align-items: center;
    }
}

@media (min-width: 576px) {
    .tab-content .morning_which_doc .Div_box,
    .tab-content .noon_which_doc .Div_box,
    .tab-content .night_which_doc .Div_box{
        width: calc(50% - 1%);
    }
    .see_num h3{
        font-size: 1.1rem;
    }										
    .see_num span{
        font-size: 13px;
    }
}
@media (min-width: 768px) {
    .see_memo .media{
        flex-direction: row;
    }
    .see_memo .media > div:first-child{
        width: auto;
    }
    .tab-content .morning_which_doc .Div_box,
    .tab-content .noon_which_doc .Div_box,
    .tab-content .night_which_doc .Div_box{
        width: calc(33.3% - 1%);
    }
    .stop_date{
        padding: 3px 3px 3px 20px;
    }
    .mor_date::after,
    .eve_date::after,
    .noon_date::after{
        top: 1px;
        white-space: pre-line;
    }
    /* 網路掛號 */
    .online_main{
        margin-top: 65px;
    }
    /* .items_div_w{
        max-width: 70%;
    } */
    .items_div{
        /* height: 45vh; */
        margin-top: 3%;
    }
	.info .title{
		font-size: 45px;
		line-height: 45px;
	}
	.items_div_w .descricao{
	    text-align: center;
	}
    .online_nav_bg{
        padding: 10px 22px 10px 17px;
    }
    .online_nav{						
        max-width: 80rem;
    }
    .online_nav_title{
        width: 30%;
        margin-bottom: 0px;
    }
    .online_nav_btn{
        width: 70%;
        justify-content: right;
    }
    .online_nav_btn div{
        padding: 10px;
    }
    .online_nav_btn div a{
        font-size: 1.25rem;
    }
    .A_card .icon_1,
    .A_card .icon_2{
        padding-top: 1rem;
        padding-bottom: 2rem;
        font-size: 6rem;
    }
    .this_month{
        font-size: 1.75rem;
    }
    .Div_box_3pic{
        width: 33.3%;
        margin: 0;
        box-shadow: none;
        border: 0px solid #ddd;
        background-color: transparent;
    }
    .Div_box_3pic:not(:last-child){
        border-right: 1px solid #c3a18a;
        border-bottom: 0px solid #c3a18a;
    }
    .booking_date_col{
        flex-direction: initial;
    }
    .booking_date_col > div{
        margin-right: 5px;
		font-size: 20px;
    }
	.booking{
		font-size: 20px;
	}
	.booking_btn{
		font-size: 24px;
	}
    /* 慢箋預約 */
    #Drugs_Prescription .online_main{
        padding-top: 0px;
        margin-top: 0px !important;
    }
    #Drugs_Prescription .online_nav_bg{
        height: 65px !important;
    }
    #Drugs_Prescription .online_nav_title{
        flex-direction: initial;
    }
    .Drugs_nav_btn div{
        width: 25%;
    }
    #Drugs_Prescription .user_icon{
        border-left: 1px solid #dee2e6;
    }
    .Drugs_booking_list .first_td{
        font-size: 20px;
    }
    .Drugs_booking{
        padding: 0;
    }
}
@media (min-width: 1400px) {
    .tab-content .morning_which_doc .Div_box,
    .tab-content .noon_which_doc .Div_box,
    .tab-content .night_which_doc .Div_box{
        width: calc(30% - 6%);
    }
}