@charset "utf-8";

/* Header area */
#denallHeader{ 
	position: fixed; left: 0; top: 0; z-index: 20;
	width: 100%; background-color: #fff;
}
#denallHeader .mainHeader {
	position: relative;
	display:flex; justify-content: space-between; align-items: center; 
	padding: 0 50px 0 32px; height: 49px;
	background: #fff;
}

/* mainHeader left area */
#denallHeader .header-left {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 100%;
}
/* mainHeader left area - logo area */
#denallHeader .denall_logo img { vertical-align: top; margin-top: -2px; }

/* mainHeader left area - GNB area */
#denallGnb { height: 100%; margin-left: 88px; }
#denallGnb .list_gnb{ display:flex; height:100%; }
#denallGnb .list_gnb_item { position: relative; height:100%; cursor: pointer; transition: .2s; display: flex; }
#denallGnb .list_gnb_item:hover, #denallGnb .list_gnb_item.active { background: #fff; }

#denallGnb .list_gnb_item.active .list_gnb_link::after {
	position: absolute;
    bottom: 0;
    left: 0;
    content: ' ';
    display: block;
    width: 100%;
    height: 4px;
    background: #eb6100;
}
#denallGnb .list_gnb_link {
	position: relative;
	display: inline-flex; align-items: center; 
	padding: 0 22px; height: 100%;
}
#denallGnb .list_gnb .gnb_maintitle{ font-weight:bold; font-size:18px; color: #333; }

/* mainHeader right area  - mini GNB area */
.mini_gnb_list { display: flex; align-items: center; flex-shrink: 0; font-size:12px; font-weight: bold; letter-spacing: -0.075em; }
.mini_gnb { display: flex; align-items: center; }
.mini_gnb > li { display: flex; align-items: center; cursor: pointer; }
.mini_gnb > li:not(:last-child)::after {
	content: ' ';
	display: block;
	width: 3px;
	height: 3px;
	background: rgb(159, 167, 171);
	margin: 0 9px;
	border-radius: 50%;
}
.mini_gnb span{color:#ccc;}
.mini_gnb .login_name { position: relative; }
.alert_logout_toggle {
	margin-left: 2px;
	vertical-align: -2px;
}
.alert_logout{
	position: absolute;right: 21px; top: calc(100% + 9px);
	box-shadow: 1.3px 2.7px 8px 0 rgba(0, 0, 0, 0.65);
	z-index:100;
	text-align: center;
	display:none;
}
.alert_logout_inner{background-color:#fff;padding: 15px 13px 16px 10px;font-size: 12px;border: #000 solid 1px;}
.alert_logout_inner li {
	cursor: pointer;
	white-space: nowrap;
	text-align: left;
	margin-bottom: 5px;
	letter-spacing: -0.075em;
}
.alert_logout_inner li:last-child {
	margin-bottom: 0;
}
.alert_logout_inner li:hover,
.alert_logout_inner li.selected,
.alert_logout_inner li:active,
.alert_logout_inner li a:hover,
.alert_logout_inner li a.selected,
.alert_logout_inner li a:active {
	color: #3333cc;
}


/* 
    로그인한 후 mini_gnb(오른쪽 상단)에 나타나져야 하는 것 
    class명 li:   login > login_name // signup > login_mypage
*/
.alert{position: relative;}

/* Header - mini gnb searching/alert (오른쪽 상단) */
.mini_gnb_2 {
	display: flex;
	align-items: center;
}
.mini_gnb_2::after { 
	content: ' ';
	display: inline-block;
	margin: 0 13px; width: 1px; height: 19px;
	background-color: #ccc;
}
.mini_gnb_2 > ul{display: block;}
.mini_gnb_2 .search_alert { font-size:13px; display:flex; flex-direction:row; align-items:center; }
.mini_gnb_2 .search_alert_item {
	position: relative;
}
.mini_gnb_2 .alert_area { position: relative; margin-left:16px; display: inline-block; }
.mini_gnb_2 .alert_icon { 
	display:inline-block; width:22px; height:23px;
	background:url("/images/icn-gnb-alert-n.png") no-repeat;
}
.mini_gnb_2 .alert_area:hover .alert_icon { background-image:url("/images/icn-gnb-alert-h-s.png"); }
.mini_gnb_2 .alert_num {
	position: absolute; top: -3px; right: -3px;
	display: none; /* 보일 때는 display: flex 해야 함*/ 
	justify-content: center; align-items: center;
	width:16px; height:16px; border-radius:50%; 
	background-color:#eb6100;
	font-size:10px; color:#fff; font-weight: bold;
}
.mini_gnb_2 .top_search_area { 
	position:relative; padding: 0 12px;
	border: 1px solid #d6d6dd; border-radius: 3px;
	display: flex; justify-content: space-between; align-items: center;
	width: 374px; height: 34px;
	background: #ececf0;
}
.mini_gnb_2 .search_detail {
	flex-shrink: 0;
	display: flex; align-items: center;
}
.mini_gnb_2 .search_detail_box {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	background-color: #e6e6f6;
	background: -moz-linear-gradient(#e6e6f6 66%, #b5b5e2 100%);
	background: -webkit-linear-gradient(#e6e6f6 66%, #b5b5e2 100%);		
	background: linear-gradient(#e6e6f6 66%, #b5b5e2 100%);
	box-shadow: 0px 6px 16px 0 rgba(32, 43, 83, 0.7), inset 1.1px 1.1px 0 0 #ffffff;	
  	border: 1px solid;
	border-radius: 2px;
  	border-image-source: linear-gradient(to top, #5757df, #a2a2e3);
  	border-image-slice: 1;
	padding: 16px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -0.1em;
}
.mini_gnb_2 .search_detail_close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 13px;
	height: 13px;
	cursor: pointer;
}
.mini_gnb_2 .search_detail_title {
	color: #333;
	margin-bottom: 7px;
}
.mini_gnb_2 .search_detail_teethBox {
	display: flex;
	align-items: center;
	margin-bottom: 14px;
}
.mini_gnb_2 .search_detail_teethNo {
	margin-right: 9px;
	display: flex;
	flex-wrap: wrap;
	width: 495px;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2);
	border: 1px solid rgb(194, 194, 204);
}
.mini_gnb_2 .header_search_detail_teethNoItem {
	padding: 5.5px 0;
	width: 6.25%;
	text-align: center;
	background: rgb(242,250,249);
	background: -moz-linear-gradient(0deg, rgba(242,250,249,1) 0%, rgba(229,250,249,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(242,250,249,1) 0%, rgba(229,250,249,1) 100%);
	background: linear-gradient(0deg, rgba(242,250,249,1) 0%, rgba(229,250,249,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f2faf9",endColorstr="#e5faf9",GradientType=1);
	cursor: pointer;
	color: #666;
}
.mini_gnb_2 .header_search_detail_teethNoItem + .header_search_detail_teethNoItem{
	border-left: 1px solid rgb(194, 194, 204);	
}
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(8),
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(24) {
	border-right: 1px solid rgb(48, 48, 48);
}
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(9),
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(17),
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(25) {
	border-left: 0;
}
.mini_gnb_2 .header_search_detail_teethNoItem:nth-child(-n+16) {
	border-bottom: 1px solid rgb(48, 48, 48);
}
.mini_gnb_2 .header_search_detail_teethNoItem:hover {
	background: #8d92d1;
	color: #fff;
}
.mini_gnb_2 .header_search_detail_teethNoItem:active,
.mini_gnb_2 .header_search_detail_teethNoItem.selected {
	background: #5b5bee;
	color: #fff;
	box-shadow: 0px 4px 10px 0 rgba(11, 50, 195, 0.6);
}
.mini_gnb_2 .header_search_detail_teethNoItem .number{
	position: relative;
	left: -1px;
}
.mini_gnb_2 .search_detail_teethGroupButton {
	width: 70px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2), inset 1px 1px 0 0 rgba(255, 255, 255, 0.6);
  	border-style: solid;
  	border-width: 1px;
  	border-image-source: linear-gradient(to top, #a6a6cb, #b0b0d7);
  	border-image-slice: 1;
  	background-image: linear-gradient(to top, #e1e1ed, #ddddee);
  	color: #4e4e7b;
  	font-size: 12px;
}
.mini_gnb_2 .search_detail_teethGroupButton.selected {
	background: #5b5bee;
	color: #fff;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2);
}
.mini_gnb_2 .search_detail_teethGroupButton:not(:last-child) {
	margin-bottom: 5px;
}
.mini_gnb_2 .header_search_detail_teethGroupButton {
	width: 70px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2), inset 1px 1px 0 0 rgba(255, 255, 255, 0.6);
	border-style: solid;
	border-width: 1px;
	border-image-source: linear-gradient(to top, #a6a6cb, #b0b0d7);
	border-image-slice: 1;
	background-image: linear-gradient(to top, #e1e1ed, #ddddee);
	color: #4e4e7b;
	font-size: 12px;
}
.mini_gnb_2 .header_search_detail_teethGroupButton.selected {
	background: #5b5bee;
	color: #fff;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2);
}
.mini_gnb_2 .header_search_detail_teethGroupButton:not(:last-child) {
	margin-bottom: 5px;
}
.mini_gnb_2 .search_detail_subject {
	display: flex;
	/* justify-content: space-evenly; */
	width: 575px;
	box-shadow: 0px 2px 3px 0 rgba(17, 3, 91, 0.2);
  	border-style: solid;
  	border-width: 1px;
  	border-image-source: linear-gradient(to top, #9e9eb5, #bbbbcb);
  	border-image-slice: 1;
  	background-image: linear-gradient(to top, #f2fbfa, #e5faf9);
}
.mini_gnb_2 .search_detail_subjectItem {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	color: #566070;
	width: 14.2857%;
	text-align: center;
	cursor: pointer;
	padding: 5px 0;
}
.mini_gnb_2 .search_detail_subjectItem:hover {
	background: #8d92d1;
	color: #fff;
}
.mini_gnb_2 .search_detail_subjectItem:active,
.mini_gnb_2 .search_detail_subjectItem.selected {
	background: #5b5bee;
	color: #fff;
	box-shadow: 0px 4px 10px 0 rgba(11, 50, 195, 0.6);
}
.mini_gnb_2 .search_detail_subjectItem .text {
	width: 100%;
}

.mini_gnb_2 .search_detail_subjectItem:not(:last-child)::after {
	content: ' ';
	display: block;
	width: 1px;
	height: 22px;
	background-color: #bfbfbf;
}
.mini_gnb_2 .header_search_detail_subjectItem {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	color: #566070;
	width: 14.2857%;
	text-align: center;
	cursor: pointer;
	padding: 5px 0;
}
.mini_gnb_2 .header_search_detail_subjectItem:hover {
	background: #8d92d1;
	color: #fff;
}
.mini_gnb_2 .header_search_detail_subjectItem:active,
.mini_gnb_2 .header_search_detail_subjectItem.selected {
	background: #5b5bee;
	color: #fff;
	box-shadow: 0px 4px 10px 0 rgba(11, 50, 195, 0.6);
}
.mini_gnb_2 .header_search_detail_subjectItem .text {
	width: 100%;
}

.mini_gnb_2 .header_search_detail_subjectItem:not(:last-child)::after {
	content: ' ';
	display: block;
	width: 1px;
	height: 22px;
	background-color: #bfbfbf;
}
.mini_gnb_2 .search_detail_button {
	display: flex; align-items: center;
	font-size: 12px;
	letter-spacing: -0.1em;
	color: #eb6100;
}
.mini_gnb_2 .search_detail_button::after {
	content: url(/images/icn-gnb-search-open.png);
	display: block;
	margin: -5px 0 0 10px; width: 7px;
}
.mini_gnb_2 .search_detail_button:hover,
.mini_gnb_2 .search_detail_button.selected {
	color: #eb6100;
}
.mini_gnb_2 .search_detail_button.selected::after {
	content: url(/images/icn-gnb-search-close.png);
}
.mini_gnb_2 .btn_top_search {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}
.mini_gnb_2 .search_detail:before{
	content: ' ';
	display: inline-block;
	margin: 0 12px;
	width: 1px;
	height: 19px;
	background-color: #ccc;
}
.mini_gnb_2 .icon_search {
	flex-shrink: 0;
	width: 100%; height: 100%;
	display:inline-block;
	background:url("/images/icn-gnb-search-n.png") no-repeat center; cursor: pointer;
}
.mini_gnb_2 .icon_search:hover { background-image:url("/images/icn-gnb-search-h-s.png"); }
.mini_gnb_2 .searchinput {
	text-indent: 0;
	color: #5c5c6d;
	outline: 0;
	font-size: 13px;
	letter-spacing: -0.1em;
	border: 0;
	background: transparent;
	flex-grow: 1;
	font-weight: bold;
}
.mini_gnb_2 .searchinput::placeholder{ color: #5c5c6d; }

.wrap_btn_search_popupbox{
	margin-top: 16px;
	text-align: center;
}
.btn_search_popupbox{
	display: inline-block;
	width: 176px;
	height: 32px;
	background-color: #5b5bee;
	box-shadow: 0px 4px 8px 0 rgba(27, 27, 89, 0.3);
	
	font-size: 14px;
	font-weight: bold;
	letter-spacing: -0.1em;
	color: #fff;
}
.btn_search_popupbox:hover{
	background-color: #6868ef;
}
.btn_search_popupbox.selected{
	background-color: #4d4dcb;
}






/* 영상검색 눌렀을 경우 검색창 나타나기*/
/*
    .mini_gnb_2 .search_alert > 너비 변경 // width:211px; > 344px;
*/

/*
.mini_gnb_2 .search_alert{width:344px;}
.mini_gnb_2 .search_alert li a img.icn-gnb-search-n{position: relative;right:25px;top:9px;}
.mini_gnb_2 .search_alert li a img.icn-gnb-search-h{position: relative;right:25px;top:9px;}
.mini_gnb_2 .search_alert {width:425px;}
.mini_gnb_2 .search_alert li a.searching >span{display: none;}
.mini_gnb_2 .search_alert li a.searching{margin-top:-9px;width:255px;}
*/
.mini_gnb_2 .alert_details {
	width:380px;max-height:520px;
	position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
	box-shadow:0px 4px 14px 0 rgba(0, 0, 0, 0.5);z-index:9999;display:none;
}
.mini_gnb_2 .alert_details_inner{max-height:475px;padding:0px 20px 0px 20px;/*그중 스크롤바20px*/display:block;overflow:auto;background-color:#fff;}
.mini_gnb_2 .alert_details .alert_details_inner li{border-bottom:1px solid #e5e5e5;text-align:left;padding:20px 0 15px;}
.mini_gnb_2 .alert_details .alert_details_inner li:last-child{border-bottom:0;}
.mini_gnb_2 .alert_details .alert_details_inner li a{display:block; overflow:hidden;}
.mini_gnb_2 .alert_details .alert_details_inner li a img{max-width: 100%; max-height: 100%; display:inline-block;}
.mini_gnb_2 .alert_details .alert_details_inner li a .alert_detail_box{width:192px;float: left;font-size:14px;letter-spacing:-1.4px;}
.mini_gnb_2 .alert_details .alert_details_inner li a .alert_detail_box strong{display:block;font-size:16px;line-height:18px;letter-spacing:-0.1em;font-weight:bold;margin-bottom:4px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
.mini_gnb_2 .alert_details .alert_details_inner li a .alert_detail_box .updated_time{color:#999;padding-top:5px;}
.mini_gnb_2 .alarm_desc {color: #333; font-size: 14px; letter-spacing: -0.1em; text-overflow: ellipsis; overflow: hidden; max-height: 36px; line-height: 18px; word-break: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box;}
.mini_gnb_2 .alert_thumb_wrapper { width: 112px; height: 62px; float:left; margin-right:14px; background-color: #e6e6e6; }

/* 알림 전체보기 버튼 */
.mini_gnb_2 .more{height:40px;line-height:40px;background-color:#e8e9ef;text-align: center;padding:0;}
.mini_gnb_2 .alert_button_more {
	background: url(/images/icn-alert-more.png) no-repeat right 2.5px;
	padding-right: 21px;
	color:#333;
	font-weight: bold;
	font-size:14px;
	letter-spacing: -0.1em;
}

#denallHeader .subHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 50px 0 216px; /* 216 = 32 + 96 + 88 (여백+로고크기+gnb여백) */
	height: 44px;
	background: #fff;
	box-shadow: 0px 4px 16px 0 rgba(0, 0, 0, 0.3);
	font-size: 14px;
	font-weight: bold;
	border-top: 1px solid #dee1e6;
}
/* #denallHeader .subHeader_program {
	display: flex;
	align-items: center;
	overflow: hidden;
}
#denallHeader .subHeader_program_item {
	flex-shrink: 0;
	margin-right: 26px;
	color: #666;
	cursor: pointer;
}
#denallHeader .subHeader_program_item:hover {
	color: #db5faa;
}
#denallHeader .subHeader_program_item:active,
#denallHeader .subHeader_program_item.selected {
	color: #ff0099;
}
#denallHeader a.subHeader_program_all {
	padding-left: 21px;
	display: inline-flex;
	flex-shrink: 0;
	margin-left: 80px;
	font-size: 13px;
	color: #542ca4;
	background: url(../images/btn-gnb-pro-all-n.png) no-repeat;
}
#denallHeader a.subHeader_program_all:hover,
#denallHeader a.subHeader_program_all:active {
	background: url(../images/btn-gnb-pro-all-h-s.png) no-repeat;
	color: #5b10f1;
}
 */
@media (max-width: 1440px) {
	#denallGnb {
		margin-left: 64px;
	}
	#denallHeader .subHeader {
		padding: 0 50px 0 192px; /* 192 = 32 + 96 + 64 (여백+로고크기+gnb여백) */
	}
	.mini_gnb_2 .top_search_area {
		width: 354px;
	}
}
@media (max-width: 1280px) {
	#denallGnb {
		margin-left: 38px;
	}
	#denallHeader .subHeader {
		padding: 0 50px 0 166px; /* 166 = 32 + 96 + 38 (여백+로고크기+gnb여백) */
	}
	.mini_gnb_2 .top_search_area {
		width: 314px;
	}
}