
/* 탭 영역 */
.tabArea {
	border-top: 1px solid #bebebe;
	border-left: 1px solid #bebebe;
	margin-bottom: 28px;
	display: flex;
	flex-wrap: wrap;
}
.tabArea .tab {
	border-right: 1px solid #bebebe;
	border-bottom: 1px solid #bebebe;
	text-align: center;
	flex-basis: 50%;
}
.tabArea .tab.selected {
	border: 1px solid #000000;
}
.tabArea .tab a {
	display: flex;
	width: 100%;
	height: 48px;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	color: #000000;
}
.tabArea .tab.selected a {
}
.tabArea .tab a:hover {
	background-color: #f8f8f8;
}
@keyframes selectTab {
	0% {
		border-top-width: 0;
		border-bottom-width: 0;
	}
	100% {
		border-top-width: 5px;
		border-bottom-width: 5px;
	}
}

@media (min-width: 992px) {
	.tabArea {
		border-top: 1px solid #bebebe;
		border-left: 1px solid #bebebe;
		margin-bottom: 28px;
		display: flex;
		flex-wrap: nowrap;
	}
	.tabArea .tab {
		border-right: 1px solid #bebebe;
		border-bottom: 1px solid #bebebe;
		text-align: center;
		flex-basis: auto;
		flex-grow: 1;
	}
	.tabArea .tab a {
		display: flex;
		width: 100%;
		height: 48px;
		justify-content: center;
		align-items: center;
		text-decoration: none;
		font-size: 18px;
		font-weight: 700;
		color: #000000;
	}
	.tabArea .tab.selected {
		border: 0;
		border-right: 1px solid #bebebe;
		border-bottom: 1px solid #bebebe;
	}
	.tabArea .tab.selected a {
		border-top: 5px solid #ffffff;
		border-bottom: 5px solid #ffc341;
	}
	.tabArea .tab a:hover {
		animation-name: selctTab;
		animation-duration: 2s;
		animation-iteration-count: 1;
		animation-timing-function: ease;
		border-top-style: solid;
		border-top-color: #f8f8f8;
		border-bottom-style: solid;
		border-bottom-color: #999999;
	}
}

@media (min-width: 1400px) {
	.tabArea {
		border-top: 1px solid #bebebe;
		border-left: 1px solid #bebebe;
		margin-bottom: 28px;
		display: flex;
		flex-wrap: nowrap;
	}
	.tabArea .tab {
		border-right: 1px solid #bebebe;
		border-bottom: 1px solid #bebebe;
		text-align: center;
		flex-basis: auto;
		flex-grow: 1;
	}
	.tabArea .tab a {
		display: flex;
		width: 100%;
		height: 48px;
		justify-content: center;
		align-items: center;
		text-decoration: none;
		font-size: 18px;
		font-weight: 700;
		color: #000000;
	}
	.tabArea .tab.selected {
		border: 0;
		border-right: 1px solid #bebebe;
		border-bottom: 1px solid #bebebe;
	}
	.tabArea .tab.selected a {
		border-top: 5px solid #ffffff;
		border-bottom: 5px solid #ffc341;
	}
	.tabArea .tab a:hover {
		animation-name: selctTab;
		animation-duration: 2s;
		animation-iteration-count: 1;
		animation-timing-function: ease;
		border-top-style: solid;
		border-top-color: #f8f8f8;
		border-bottom-style: solid;
		border-bottom-color: #999999;
	}
}


/* 과목명 */
.doctors_category_title {
	font-size: 24px;
	font-weight: 700;
	padding: 5px 0;
}
@media(min-width: 992px) {
	.doctors_category_title {
		font-size: 32px;
		font-weight: 700;
		padding: 20px 0;
	}
}

/* 목록 */
.doctors_area {
	border-top: 1px solid #cecece;
}
.doctor_box {
	width: 100%;
	height: 100%;
	border-bottom: 1px solid #cecece;
	padding: 25px 5px;
	display: flex;
}
.doctor_box .doctor_img {
	display: inline-block;
	margin-right: 10px;
}
.doctor_box .doctor_img img {
	height: 130px;
}
.doctor_box .doctor_content {
	width: 55%;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.doctor_box .doctor_category {
	font-size: 14px;
	line-height: 16px;
	font-weight: 800;
	color: #1f4bb4;
	margin-bottom: 0;
}
.doctor_box .doctor_nameduty {
	margin-bottom: 5px;
}
.doctor_box .doctor_name {
	font-size: 20px;
	font-weight: 800;
}
.doctor_box .doctor_duty {
	font-size: 14px;
	font-weight: 800;
}
.doctor_box .doctor_subject {
	display:-webkit-box; 
    word-wrap:break-all; 
    -webkit-line-clamp:2; 
    -webkit-box-orient:vertical; 
    overflow:hidden; 
    text-overflow: ellipsis;
    height:44px;
	font-size: 14px;
}
.doctor_box a.doctor_detail_button {
	display: inline-flex;
	text-decoration: none;
	width: 90px;
	height: 30px;
	color: #000000;
	border:1px solid #b7b7b7;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	align-items: center;
	margin-top: 0px;
}

@media(min-width: 992px) {
	.doctors_area {
		border-top: 1px solid #cecece;
	}
	.doctor_box {
		width: 100%;
		height: 100%;
		border-bottom: 1px solid #cecece;
		padding: 46px 15px;
		display: flex;
	}
	.doctor_box .doctor_img {
		display: inline-block;
		margin-right: 20px;
	}
	.doctor_box .doctor_img img {
		height: 250px;
	}
	.doctor_box .doctor_content {
		padding: 10px 0;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.doctor_box .doctor_category {
		font-size: 18px;
		font-weight: 800;
		color: #1f4bb4;
		margin-bottom: 5px;
	}
	.doctor_box .doctor_nameduty {
		margin-bottom: 15px;
	}
	.doctor_box .doctor_name {
		font-size: 30px;
		font-weight: 800;
	}
	.doctor_box .doctor_duty {
		font-size: 20px;
		font-weight: 800;
	}
	.doctor_box .doctor_subject {
		display:-webkit-box; 
		word-wrap:break-all; 
		-webkit-line-clamp:3; 
		-webkit-box-orient:vertical; 
		overflow:hidden; 
		text-overflow: ellipsis;
		height:66px;
		font-size: 16px;
	}
	.doctor_box a.doctor_detail_button {
		display: inline-flex;
		text-decoration: none;
		width: 150px;
		height: 48px;
		color: #000000;
		border:1px solid #b7b7b7;
		font-size: 20px;
		font-weight: 700;
		justify-content: center;
		align-items: center;
		margin-top: 40px;
	}
}