.fs-15px{ font-size: 15px;}
.fs-16px{ font-size: 16px;}
h3.appointment-title{
	color: #2936ac;
	margin-bottom: 20px;
}
.appointment-info{
	border-left: 4px solid #16B29C;
	padding-left: 16px;
}
.appointment-icon a{ 
	font-size: 30px;
	padding: 0px;
	line-height: 30px;
	vertical-align: middle;
}
.appointment-icon img{ 
	width: 30px;
	margin-bottom: 0px;
	vertical-align: middle;
}
/* nav */
.btn-appointment{
	background-color: #bbbbbb;
	padding: 12px 8px;
	position: relative;
	color: #ffffff;
	font-weight: 700;
	font-size: 18px;
}
.btn-appointment:hover{
	background-color: #01AAC1;
	color: #ffffff;
}
.btn-appointment.active{
	background-color: #01AAC1;
}
.btn-appointment.active:after{
	position: absolute;
	content: '';
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 10px solid transparent;
	border-top: 12px solid #01AAC1;
	width: 0;
	height: 0;
}
@media screen and (max-width: 767.9px){
	.btn-appointment{
		padding: 12px 8px;
		font-size: 15px;
	}
	.btn-appointment.active:after{
		border-width: 0px;
	}
}
@media screen and (max-width: 575.9px){
	h3.appointment-title{ font-size: 20px;}
	.appointment-info h6{ font-size: 15px;}
	.appointment-icon a{ 
		font-size: 24px;
		line-height: 24px;
	}
	.appointment-icon img{ width: 24px;}
}
/* ----- 掛號步驟 ----- */
.steps-box{
	width: 80%;
	margin: 0px auto 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}
.steps-box:before{
	position: absolute;
	top: 50%;
	left: 0px;
	content: "";
	background-color: #dddddd;
	height: 3px;
	width: 100%;
	z-index: -1;
}
.steps-box:after{
	position: absolute;
	top: 50%;
	left: 0px;
	content: "";
	background-color: #F79486;
	height: 3px;
	width: 0px;
	z-index: 0;
}
.steps-box.active-step2:after{width: 50%;}
.steps-box.active-step3:after{width: 100%;}
.step{
	position: relative;
	width: 48px;
	height: 48px;
	display: inline-block;
	border-radius: 50%;
	color: #ffffff;
	background-color: #dddddd;
	text-align: center;
	line-height: 48px;
	font-size: 28px; 
	font-weight: bold;
	padding: 0px;
	z-index: 2;
}
.step:after {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	color: #818698;
	content: attr(data-desc);
	font-weight: 400;
	font-size: 13px;
	width: 100px;
}
.step:last-child:after {
	width: 60px;
}
/* 正在進行樣式 */
.step.active{ background-color: #F79486;}
/* 已完成樣式 */
.step.done{
	background-color: #F79486;
	color: #ffffff;
}
.step.done:after{ color: #F79486;}
@media screen and (max-width: 575.9px){
	.steps-box{ width: 90%;}
	.step{
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-size: 24px;
	}
}
/* ----- 門診時段選擇 ----- */
.text-major{ color: #16B29C;}
.table-appointment{
	text-align: center;
	border: 1px solid #dee2e6;
}
.table-appointment thead th{
	vertical-align: middle;
	word-break: break-all;
	color: #006C9A;
	border-width: 0px!important;
}
.table-appointment tbody td{
	height: 141px;
	word-break: break-all;
	padding: 1.5rem 0.75rem;
}
.table-appointment tbody td:first-child{
	vertical-align: middle;
}
.table-appointment .th-date{ width: 13%;}
.table-appointment .th-morning,
.table-appointment .th-noon,
.table-appointment .th-night{
	width: 29%;
}
.table-appointment .row{ margin: -8px;}
.table-appointment .row > div{
	padding: 4px 4px;
}
.table-appointment .td-date{ 
	font-size: 18px; 
	min-width: 82px;
}
.table-appointment .doctor{
	display: block;
	background-color: #4FD3C4;
	padding: 16px 8px;
	color: #232323;
	border: 1px solid transparent;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 12px;
}
.table-appointment .doctor:last-child{ margin-bottom: 0px;}
.table-appointment .doctor span{
	font-size: 16px;
	color: #333333;
}
.table-appointment .doctor:hover{
	border-color: #088395;
	text-decoration: none;
}
.table-appointment tbody td:nth-child(3) .doctor{
	background-color: #FFC93C;
}
.table-appointment tbody td:nth-child(3) .doctor:hover{
	border-color: #F58634;
}
.table-appointment .doctor.disabled{
	pointer-events: none;
	opacity: 0.5;
}
.table-appointment .closed{
	font-size: 24px;
	font-weight: bold;
	color: #aaaaaa;
}
@media screen and (max-width:991.9px){
	.table-appointment tbody td{ 
		font-size: 14px;
		padding: 1rem 0.75rem;
		height: 119px;
	}
}
@media screen and (max-width:575.9px){
	.table-appointment .th-date{ width: 16%;}
	.table-appointment .th-morning,
	.table-appointment .th-noon,
	.table-appointment .th-night{
		width: 28%;
	}
	.table-appointment thead th{
		font-size: 13px;
		padding: 1rem 0.75rem;
	}
	.table-appointment tbody td:first-child{ 
		font-size: 13px;
		padding: 1rem 0.25rem;
	}
	.table-appointment tbody td{
		height: 104px;
	}
	.table-appointment .td-date{ 
		font-size: 15px; 
		min-width: 60px;
	}
	.table-appointment .doctor{
		font-size: 15px;
	}
	.table-appointment .doctor span{
		font-size: 13px;
	}
	.table-appointment .closed{
		font-size: 18px;
	}
}
@media screen and (max-width:449.9px){
	.table-appointment thead th{
		padding: 1rem 0.5rem;
		font-size: 12px;
	}
	.table-appointment tbody td{ 
		padding: 1rem 0.5rem;
		font-size: 13px;
	}


}
/* ----- 掛號填寫資料 ----- */
.hidden{ display: none;}
.form-items{
	display: flex;
	align-items: center;
	margin-bottom: 24px;
	font-size: 16px;
	min-height: 30px;
}
.form-items .form-title{
	flex: 0 0 72px;
	font-weight: 700;
	color: #D83A56;
	font-size: 20px;
}
.form-items .form-content{
	flex-grow: 1;
	font-size: 20px;
}
/* 單選按鈕 */
.radio input[type="radio"]:checked,
.radio input[type="radio"]:not(:checked){
    position: absolute;
    left: -9999px;
}
.radio input[type="radio"]:checked + label,
.radio input[type="radio"]:not(:checked) + label{
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #4d4d4d;
    font-size: 16px;
}
.radio input[type="radio"]:checked + label:before,
.radio input[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #B1B1B1;
    border-radius: 100%;
    background: #fff;
}
.radio input[type="radio"]:checked + label:after,
.radio input[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #16B29C;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.radio input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.radio input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
@media screen and (max-width:575.9px){
	.form-items{ font-size: 15px;}
	.form-control{ font-size: 15px;}
	.radio input[type="radio"]:checked + label,
	.radio input[type="radio"]:not(:checked) + label{
	    line-height: 18px;
	    font-size: 15px;
	}
	.form-birthday .form-control.form-year{
		flex: 0 0 calc(100% - 33px);
	}
	.form-birthday .form-control.form-month,
	.form-birthday .form-control.form-day{
		flex: 0 0 calc((100% - 64px)/2);
	}
	.form-items { margin-bottom: 12px;}
	.form-items .form-title{ 
		font-size: 16px;
		flex: 0 0 56px;
	}
	.form-items .form-content{ font-size: 16px;}
}
@media screen and (max-width:449.9px){
	.form-birthday .form-control{
		padding: 0.375rem 0.25rem;
	}
}
/* ----- 掛號結果 ----- */
.result-card{ background-color: #f5f5f5;}
.img-result{ 
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	padding: 0px;
	text-align: center;
	line-height: 64px;
	border: 8px solid;
	border-radius: 50%;
	font-size: 40px;
}
h3.text-major{ color: #16B29C;}
.appointment-number{
	border: 1px solid #D83A56;
	border-radius: 4px;
	margin-bottom: 20px;
}
.number-header{ 
	background: #D83A56;
	padding: 8px 12px;
	color: #ffffff;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
}
.number-body{
	font-size: 40px;
	font-weight: bold;
	text-align: center;
	padding: 16px 12px;
}
@media screen and (max-width:575.9px){
	.img-result{ 
		flex: 0 0 60px;
		width: 60px;
		height: 60px;
		line-height: 48px;
		border: 6px solid;
		font-size: 32px;
	}
	.number-header{ 
		font-size: 17px;
	}
	.number-body{
		font-size: 28px;
	}
}
/* ----- 看診進度 ----- */
.period-title {
	max-width: 600px;
	color: #777777;
	font-size: 24px;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	margin-top: 40px;
	font-weight: 600;
	color: #555555;
}
.period-title:after {
	content: "";
	flex-grow: 1;
	height: 1px;
}
.period-title:after {
  margin-left: 16px;
  background: linear-gradient(90deg, #555555, transparent);
}
.room-card{
	border: 2px solid #64CCC5;
	border-radius: 8px;
	background-color: #ffffff;
}
.room-card .card-header{
	background-color: #64CCC5;
	color: #ffffff;
	font-size: 28px;
	text-align: center;
	letter-spacing: 1px;
	font-weight: 700;
	border-width: 0px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.room-card .card-body{
	min-height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.room-card .period-end{
	text-align: center;
	color: #cccccc;
	font-size: 32px;
	font-weight: 900;
}
.room-card .period-ing{
	display: flex;
}
.room-card .period-ing .call-number{
	flex-grow:1;
	text-align: center;
	font-size: 80px;
	line-height: 1;
	font-family: Helvetica,Verdana,Arial,"微軟正黑體";
}
@media screen and (max-width:575.9px){
	.sm-fs-14px{ font-size: 14px;}
	.sm-fs-15px{ font-size: 15px;}
	.sm-fs-17px{ font-size: 17px}
	.room-card .card-header{ 
		font-size: 20px;
		padding: 0.5rem 1rem;
	}
	.room-card .card-body{
		min-height: 120px;
		padding: 0.5rem 1rem;
	}
	.room-card .period-end{ font-size: 24px;}
	.room-card .period-ing .call-number{ font-size: 60px;}
	.period-title {
		max-width: 300px;
		font-size: 18px;
	}
}