/*header*/
#header{
	position:fixed;
	z-index:200;
	width:100%;
	background:rgba(0,0,0,0);
	min-height:7.5rem;
	transition: all .3s;
}
#header:hover,
#header.header_scroll{background: rgba(0,0,0,.6);}

#header h1{
	position:absolute;
	top:1.5rem;
	left:3rem;
	z-index:30;
}
#header h1 > a{
	display:block;
}
#header .gnb_side{
	position:absolute;
	top:2.7rem;
	right:3rem;
	z-index:30;
}
#header .gnb_side img{
	vertical-align: middle;
	margin-top: -.4rem;
}
#header .gnb_side > a,
#header .gnb_side > .lan{
	float:left;
	position:relative;
	padding:0 1.5rem;
	color:#fff;
	font-size:1.6rem;
}
#header .gnb_side > a:after,
#header .gnb_side > .lan::after{
	content:"";
	position:absolute;
	left:0;
	top:50%;
	height:1.2rem;
	margin-top:-0.6rem;
	border-left:1px solid #fff;
}
#header .gnb_side > a:first-child:after,
#header .gnb_side > .lan:first-child:after{
	display:none;
}
#header .gnb_side > a:last-child{padding-right: 0;}
#header .gnb_side > a img{
	width: 20px;
	margin-right: 5px;
}
#header .gnb_side .lan{
	font-family: 'Roboto';
	transform: translateY(1px);
}
#header .gnb_side .lan > a{
	color: #fff;
}
#header .gnb_side .lan > a img{
	margin-left: 5px;
	transform: rotate(0deg);
	transition: all .3s;
}
#header .gnb_side .lan > a img.on{
	transform: rotate(180deg);
}
#header .gnb_side .lan > p{
	position:absolute;
	width:80px;
	left:50%;
	margin-left:-40px;
	background:#000;
	padding:9px 0 6px;
	display:none;
}
#header .gnb_side .lan > p > a{
	display:block;
	text-align: center;
	color: #fff;
}

/*search*/
#top_search{
	position:fixed;
	z-index:90;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,.6);
	display:none;
}
#top_search div{
	position:absolute;
	width:90%;
	max-width:600px;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%)
}
#top_search div input{
	border:0;
	border-radius:0;
	height:60px;
	font-size:2.2rem;
	padding:0px 2rem;
}
#top_search div button{
	position:absolute;
	right:1rem;
	top:50%;
	transform:translatey(-50%);
	font-size:3rem;
	background:none;
	border:0;
}
#top_search .search_close{
	position:absolute;
	top:35%;
	left:50%;
	transform:translatex(-50%);
	color:#fff;
	font-size:4rem;
}

/*gnb*/
.gnb{
	text-align:center;
	z-index:15;
	position:relative;
	left:0;
	top:0;
	width:100%;
	/* box-shadow:0px 0px 2px rgba(0,0,0,.2); */
}
.gnb > .gnb_container{
	display:inline-block;
	vertical-align:top;
}
.gnb > .gnb_container > ul > li{
	float:left;
}
.gnb > .gnb_container > ul > li > a{
	padding:2.5rem 3rem;
	display:block;
	font-size:2rem;
	font-weight: bold;
	color:#fff;
}
.gnb > .gnb_container > ul > li > ul{
	position:relative;
	top:-1rem;
	display:none;
}
.gnb > .gnb_container > ul > li > ul > li:last-child{
	padding-bottom:2rem;
}
.gnb > .gnb_container > ul > li > ul > li > a{
	display:block;
	padding:1rem;
	font-size:1.6rem;
	color:#fff;
	font-weight:300;
}
.gnb > .gnb_container > ul > li > ul > li:hover > a{
	text-decoration: underline;
	text-underline-offset: 4px;
	-webkit-text-underline-offset: 4px;
}


/*모바일 메뉴*/
div.burger {
	height: 30px;
	width: 26px;
	position: relative;
	cursor: pointer;
	z-index:10;
}
div.x,
div.y,
div.z {
	position: absolute; margin: auto;
	top: 4px;
	background: #fff;
	border-radius:2px;
	-webkit-transition: all 200ms ease-out;
	   -moz-transition: all 200ms ease-out;
		-ms-transition: all 200ms ease-out;
		 -o-transition: all 200ms ease-out;
			transition: all 200ms ease-out;
}
div.x, div.y, div.z { height: 3px; width: 26px; }
div.y{top: 14px;}
div.z{top: 24px;}
div.coll{
	top: 15px;
	background:#fff;
	-webkit-transition: all 70ms ease-out;
	   -moz-transition: all 70ms ease-out;
		-ms-transition: all 70ms ease-out;
		 -o-transition: all 70ms ease-out;
			transition: all 70ms ease-out;
}


div.rotate30{
	-ms-transform: rotate(30deg);
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
	-webkit-transition: all 50ms ease-out;
	   -moz-transition: all 50ms ease-out;
		-ms-transition: all 50ms ease-out;
		 -o-transition: all 50ms ease-out;
			transition: all 50ms ease-out;
}
div.rotate150{
	-ms-transform: rotate(150deg);
	-webkit-transform: rotate(150deg);
	transform: rotate(150deg);
	-webkit-transition: all 50ms ease-out;
	   -moz-transition: all 50ms ease-out;
		-ms-transition: all 50ms ease-out;
		 -o-transition: all 50ms ease-out;
			transition: all 50ms ease-out;
}

div.rotate45{
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: all 100ms ease-out;
	   -moz-transition: all 100ms ease-out;
		-ms-transition: all 100ms ease-out;
		 -o-transition: all 100ms ease-out;
			transition: all 100ms ease-out;
}
div.rotate135{
	-ms-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	-webkit-transition: all 100ms ease-out;
	   -moz-transition: all 100ms ease-out;
		-ms-transition: all 100ms ease-out;
		 -o-transition: all 100ms ease-out;
			transition: all 100ms ease-out;
}
div.circle{
	border-radius: 50%;
	width: 0px;
	height: 0px;
	position:absolute;
	top: 36px;
	right: 36px;
	background:#000;
	opacity:1;
	z-index:10;
	-webkit-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	   -moz-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	    -ms-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	     -o-transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	        transition: all 300ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
}
div.circle.expand{
	width:3000px;
	height:3000px;
	top: -1500px;
	right: -1500px;
	-webkit-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	   -moz-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	    -ms-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	     -o-transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	        transition: all 1400ms cubic-bezier(0.000, 0.995, 0.990, 1.000);

}

@media(max-width:1500px){
	#header h1 {left: 2rem;}
	#header h1 img{max-width: 160px !important;}
	#header .gnb_side {right: 2rem;}
	#header .gnb_side > a, #header .gnb_side > .lan {
    padding: 0 1rem;
    font-size: 1.4rem;
	}
	.gnb > .gnb_container{margin-left: -8rem;}
	.gnb > .gnb_container > ul > li > a{
		padding: 2.5rem 2.2rem;
		font-size:1.8rem;
	}
}
@media(min-width:1200px){
	.gnb{display:block !important;}
	div.circle.expand{display:none !important;}
}
@media(max-width:1199.98px){
	#header h1 {top: 1.4rem;}
	#header h1 img{max-width: 150px !important;}
	#header .gnb_side1{right:8rem;}
	#header .gnb_side2{
		position:absolute;
		top:2.1rem;
		right:3rem;
		z-index:30;
	}
	.gnb{
		visibility:hidden;
		height:0;
		overflow:hidden;
	}
	.gnb.open{
		visibility:visible;
		height:auto;
	}
	.gnb > .gnb_container{margin-left: 0;}
	.gnb > .gnb_container >  ul >  li {
		float:none;
		width:100%;
		margin:0;
		opacity:0;
		-webkit-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-moz-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-o-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	}
	.gnb > .gnb_container >  ul > li.animate{
		opacity:1;
		-webkit-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-moz-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-ms-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		-o-transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
		transition: all 500ms cubic-bezier(0.000, 0.995, 0.990, 1.000);
	}
	.gnb > .gnb_container > ul > li.animate:nth-of-type(1){
		margin-top:50px;
		transition-delay: 0.5s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(2){
		transition-delay: 0.55s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(3){
		transition-delay: 0.60s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(4){
		transition-delay: 0.65s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(5){
		transition-delay: 0.70s;
	}
	.gnb > .gnb_container >  ul >  li.animate:nth-of-type(6){
		transition-delay: 0.75s;
	}
	.gnb > .gnb_container >  ul >  li > a{
		color:#fff;
		font-size:2.2rem;
	}
	.gnb > .gnb_container > ul > li > ul > li > a{
		color:#fff;
		font-size:1.8rem
	}
}
@media (max-width:767.98px) {
	#header h1 img{max-width: 140px !important;}
}
@media (max-width:575.98px) {
	#header h1{left: 15px;}
	#header h1 img{max-width: 130px !important;}
	#header .gnb_side > a, #header .gnb_side > .lan {
		padding: 0 1.5rem;
  }
	#header .gnb_side1 {right: 7rem; top: 2.5rem}
	#header .gnb_side1 > a img{margin: 0;}
	#header .gnb_side > a span{display: none;}
	 #header .gnb_side > .lan{font-size: 1.5rem;}
	#header .gnb_side2{right:15px;top: 1.9rem;}
}
