@media all and (min-width: 641px) {

	body.outpatient #title .container-inner {
		background: url(../images/outpatient/outpatient.jpg) top right no-repeat;
	}

	body#outpatient table.schedule {
		width: 100%;
		border-bottom: 1px solid #c0c8c5;
		border-right: 1px solid #c0c8c5;
	}
	body#outpatient table.schedule th,
	body#outpatient table.schedule td {
		text-align: center;
		line-height: 1.3;
		border-top: 1px solid #c0c8c5;
		border-left: 1px solid #c0c8c5;
		padding: 20px 3px;
	}
	body#outpatient table.schedule th {
		color: #FFF;
		background: #0c6965;
	}
	body#outpatient table.schedule tr.l2 th,
	body#outpatient table.schedule tr.l2 td {
		padding: 12px 2px;
	}
	body#outpatient table.schedule tr.l3 th,
	body#outpatient table.schedule tr.l3 td {
		padding: 4px 2px;
	}
	body#outpatient table.schedule tr.head th {
		padding: 15px 2px;
	}
	body#outpatient table.schedule th.blank {
		border-top: none;
		border-left: none;
		background: none;
	}
	/* body#outpatient table.schedule th.sbj1,
	body#outpatient table.schedule th.sbj2,
	body#outpatient table.schedule th.sbj4,
	body#outpatient table.schedule th.sbj3,
	body#outpatient table.schedule th.sbj5,
	body#outpatient table.schedule th.sbj6 {
		width: 14.8%;
	} */
	body#outpatient table.schedule td.time {
		width: auto;
	}
	body#outpatient table.schedule tr.am td {
		background: #E6F7F0;
	}
	body#outpatient table.schedule tr.pm td {
		background: #FFFFFF;
	}
	body#outpatient table.schedule tr.ev td {
		background: #E8E3DF;
	}
	body#outpatient table.schedule tr.close td {
		background: #FBDEE0;
	}
	body#outpatient table.schedule td .fm {
		color :#EA5962;
	}

	body#outpatient table.open {
		width: 100%;
		border-bottom: 1px solid #c0c8c5;
		border-right: 1px solid #c0c8c5;
	}
	body#outpatient table.open th,
	body#outpatient table.open td {
		text-align: center;
		line-height: 1.3;
		border-top: 1px solid #c0c8c5;
		border-left: 1px solid #c0c8c5;
		padding: 16px 3px;
	}
	body#outpatient table.open th {
		color: #FFF;
		background: #0c6965;
	}
	body#outpatient table.open tr.l2 th,
	body#outpatient table.open tr.l2 td {
		padding: 6px 2px;
	}
	body#outpatient table.open tr.head th {
		padding: 12px 2px;
	}
	body#outpatient table.open th.blank {
		border-top: none;
		border-left: none;
		background: none;
	}
	body#outpatient table.open td {
		width: 13%;
	}
	body#outpatient table.open td img {
		vertical-align: middle;
	}
	body#outpatient table.open td.time {
		width: auto;
		background: #E6F7F0;
	}
	body#outpatient table.schedule tr.extends td {
		padding: 20px 3px;
	}
	body#outpatient #open .note {
	text-indent: -4em;
	padding-left: 5em;
	}


	/* 240404 */
	body#outpatient .scroll{
		overflow: auto;
		white-space: nowrap;
		margin-bottom: 20px;
	}
	body#outpatient table.schedule {
		width: 780px;
	}
	body#outpatient .schedule .head th:not(.blank){
		width: 100px;
		box-sizing: border-box;
	}
	body#outpatient .capt-scroll{
		color: #EA5962;
		font-weight: bold;
	}
}
@media only screen and (max-width: 640px) {
	
body.outpatient #title .container-inner {
	background: url(../images/outpatient/outpatient.jpg) top right no-repeat;
	background-size: contain;
}
body#outpatient .scroll {
	overflow: auto;
	white-space: nowrap;
	margin-bottom: 20px;
}
body#outpatient .scroll::-webkit-scrollbar {
	height: 5px;
}
body#outpatient .scroll::-webkit-scrollbar-track {
	background: #F1F1F1;
}
body#outpatient .scroll::-webkit-scrollbar-thumb {
	background: #BCBCBC;
}
body#outpatient table.schedule {
	width: 100%;
	font-size: 13px;
	border-bottom: 1px solid #c0c8c5;
	border-right: 1px solid #c0c8c5;
}
body#outpatient table.schedule th,
body#outpatient table.schedule td {
	text-align: center;
	line-height: 1.3;
	border-top: 1px solid #c0c8c5;
	border-left: 1px solid #c0c8c5;
	padding: 6px 2px;
}
body#outpatient table.schedule th {
	color: #FFF;
	background: #0c6965;
}
body#outpatient table.schedule th.blank {
	border-top: none;
	border-left: none;
	background: none;
}
body#outpatient table.schedule tr.am td {
	background: #E6F7F0;
}
body#outpatient table.schedule tr.pm td {
	background: #FFFFFF;
}
body#outpatient table.schedule tr.ev td {
	background: #E8E3DF;
}
body#outpatient table.schedule tr.close td {
	background: #FBDEE0;
}
body#outpatient table.schedule td .fm {
	color :#EA5962;
}

body#outpatient table.open {
	width: 100%;
	font-size: 13px;
	border-bottom: 1px solid #c0c8c5;
	border-right: 1px solid #c0c8c5;
}
body#outpatient table.open th,
body#outpatient table.open td {
	text-align: center;
	line-height: 1.3;
	border-top: 1px solid #c0c8c5;
	border-left: 1px solid #c0c8c5;
	padding: 6px 3px;
}
body#outpatient table.open th {
	color: #FFF;
	background: #0c6965;
}
body#outpatient table.open th.blank {
	border-top: none;
	border-left: none;
	background: none;
}
body#outpatient table.open td {
	min-width: 70px;
}
body#outpatient table.open td img {
	vertical-align: middle;
}
body#outpatient table.open td.time {
	width: auto;
	background: #E6F7F0;
}



	/* 240404 */
	body#outpatient .capt-scroll{
		color: #EA5962;
		font-weight: bold;
	}
	

	body#outpatient #open .note {
	text-indent: -4em;
	padding-left: 5em;
	}

}
