/*
 * Copyright inpleworks, Co.
 * default is Mobile
*/

/* ------------------------------------------------------------------------------------------------------------------ */
/* HEADER
/* ------------------------------------------------------------------------------------------------------------------ */
#xet-header {
	height: 60px;
	transition: all 0.3s ease-in-out;
}

/***** Header Body *****/
#xet-header .xet-header-body {
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;	
	
	background-color: #fff;
	transition: all 0.3s ease-in-out;
	box-shadow: 0px 2px 4px rgba(0,0,0,.07);
}
#xet-header .xet-header-body .flex-container {
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}


/***** Logo *****/
#xet-header .xet-header-logo {
	width: 50%;
}
#xet-header .xet-header-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	overflow: hidden;
	transition:all 0.3s ease-in-out;
}
#xet-header .xet-header-logo a img {	
	max-width: 100%;
	height: 100%;
	vertical-align: top;
}	



/* PC - Dropdown
----------------------------------------------------------- */	
.xet-navWrp {
	display: none;
}
.xet-nav-ul { 
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.xet-nav-ul > li { 
	position: relative; 
	margin: 0 10px;
	padding: 0; 	
}
.xet-nav-ul > li > a { 
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px; 
	font-weight: 700;
	height: 80px;
	white-space: nowrap;
	text-decoration:none;
	margin: 0;
	padding: 0; 
	color: #221c24;
	transition:all 0.3s ease-in-out;
}

/* 2차 메뉴 */
.xet-nav-ul ul.submenu { 
	z-index: 99; 
	opacity: 0;
	visibility: hidden;
	position: absolute; 
	left: -20px; 
	top: 100%;	
	min-width: 210px;
	list-style: none;
	margin: 0; 
	padding: 10px 0;
	background: #1b1b1b;
	border: 0px solid rgba(0, 0, 0, .1);
	-moz-box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 5px 2px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.2);
	transform: translateY(30px);
	transition: all 0.33s ease-in-out;
}
.xet-nav-ul ul.submenu li { 
	display: block;
	margin: 0;
	padding: 0;
}
.xet-nav-ul ul.submenu li a { 
	display: block; 
	font-size: 14px; 
	white-space: nowrap;
	font-weight: normal; 
	padding: 10px 22px 10px 22px;
	margin: 0;
	color: #ababab; 
	transform: translateX(0px);
	transition: all 0.3s ease-in-out;
}

/* 마우스오버시 */
.xet-nav-ul > li:hover > .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0px);
}
.xet-nav-ul ul.submenu li:hover a {
	transform: translateX(10px);
}
/* current color NAV 1차 */
.xet-nav-ul li:hover > a,
.xet-nav-ul > li.current > a {
	color: #0090d0 !important;
}


/***** 로그인 버튼 *****/
#xet-header .xet-loginWrp {
	display: flex;
	justify-content: flex-end;
	width: 45px;
}
#xet-header .xet-loginWrp a,
#xet-header .xet-loginWrp button { 
	display: flex;
	align-items: center;
	justify-content: center;
	cursor:pointer;
	border: 0;
	margin: 0;
	padding: 0; 
	background: none;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, .1);
}
#xet-header .xet-loginWrp i {
	font-size: 16px;
}
#xet-header .xet-loginWrp a>span,
#xet-header .xet-loginWrp button>span {
	display: none;
}
#xet-header .xet-loginWrp a {
	display: none;
}


/* Mobile hamburger icon 
----------------------------------------------------------- */	
.xet-mobileNavWrp {}
.xet-toggle-menu {
	position: relative;
	display: block !important;
	width: 45px;
	height: 60px;
	padding: 0;
	font-size: 0 !important;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
	color: transparent;
	border: 0;
	background: none;
	transition:all 0.3s ease-in-out;
	-moz-transition:all 0.3s ease-in-out;
	-webkit-transition:all 0.3s ease-in-out;
}
.xet-toggle-menu span,
.xet-toggle-menu span::before,
.xet-toggle-menu span::after {
	position: absolute;
	display: inline-block;
	height: 2px;
	width: 24px;
	background: #333;
}
.xet-toggle-menu span {
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -2px;
	margin-left: -12px;
	background: #333;
}
.xet-toggle-menu span::before, 
.xet-toggle-menu span::after {
	content: '';
	right: 0;
	transform: translateZ(0);
	backface-visibility: hidden;
	transform-origin: 0% 50%;
	transition: transform 0.2s;
}
.xet-toggle-menu span::before {
	top: -6px;
}
.xet-toggle-menu span::after {
	top: 6px;
}
.xet-toggle-menu.push-active span {
	background: none;
}
.xet-toggle-menu.push-active span::before, 
.xet-toggle-menu.push-active span::after {
	background: #333;
}
.xet-toggle-menu.push-active span::before {
	transform: translateX(4px) translateY(-3px) rotate(45deg);
}
.xet-toggle-menu.push-active span::after {
	transform: translateX(4px) translateY(2px) rotate(-45deg);
}






/* Medium devices (desktops, 992px 이상)
---------------------------------------------------------------------------- */ 
@media (min-width: 992px) {	
	
	/* HEADER
	-------------------------------------- */ 	
	#xet-header {
		height: 80px;
	}
	#xet-header .xet-header-logo {
		width: 180px;
	}
	#xet-header .xet-header-logo a {
		justify-content: flex-start;
		height: 70px;
	}

	/* PC 드롭다운 메뉴 */
	#xet-header .xet-navWrp {
		display: block;
	}
	#xet-header .xet-nav-ul > li { 
		display: flex;
		align-items: center;
		height: 80px;
	}

	/* 모바일 메뉴 버튼 */
	#xet-header .xet-mobileNavWrp {
		display: none;
	}

	/***** 로그인 버튼 *****/
	#xet-header .xet-loginWrp {
		width: 180px;
	}
	#xet-header .xet-loginWrp a {
		display: flex;
		margin-left: 4px;
	}

}

/* Large devices (large desktops, 1200px 이상)
---------------------------------------------------------------------------- */ 
@media (min-width: 1200px) {	
	
	/* HEADER
	-------------------------------------- */ 	
	#xet-header .xet-header-logo {
		width: 200px;
	}

	#xet-header .xet-nav-ul > li { 
		margin: 0 20px;
	}


	/***** 로그인 버튼 *****/
	#xet-header .xet-loginWrp {
		width: 200px;
	}
	
	#xet-header .xet-loginWrp a,
	#xet-header .xet-loginWrp button { 
		width: 98px;
		height: 40px;
	}
	#xet-header .xet-loginWrp i {
		display: none;
		margin-right: 4px;
	}
	#xet-header .xet-loginWrp a>span,
	#xet-header .xet-loginWrp button>span {
		display: block;
	}

}
