@charset "utf-8";
/* *******************************************************
 * filename : layout_responsive.css
 * description : 전체 레이아웃 반응형 CSS
 * date : 2022-01-25
******************************************************** */

/* ========================================================
 * SETTING
======================================================== */
@media all and (max-width:1260px){
	:root{
		--area-padding: 5%;
		--header-height: 80px;
	}
}
@media all and (max-width:800px){
	:root{
		--sub-visual-height: 300px;
		--sub-menu-height: 55px;
	}
}
@media all and ( max-width: 480px ){
	:root{
		--header-height: 60px;
	}
}

/* ========================================================
 * LAYOUT
======================================================== */
/* ****************** 공통레이아웃 ********************** */
@media all and (max-width:1700px){	/* max-width : (area-box width) + 60px */
	.wide-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1560px){	/* max-width : (area-box width) + 60px */
	.area-box{padding:0 var(--area-padding); max-width:none;}
}
@media all and (max-width:1360px){ /* max-width : (area width) + 60px */ 
	.area{padding:0 var(--area-padding); max-width:none;}
}

/* ****************** HEADER ********************** */
@media all and ( max-width: 1580px ){
	#gnb > ul > li > a{padding:0 40px}
}
@media all and ( max-width: 1430px ){
	#gnb > ul{margin-left: -30px;}
	#gnb > ul > li > a{padding:0 35px}
}
@media all and ( max-width: 1366px ){
	#header .logo img{height:30px;}
	#gnb > ul{margin-left: -50px;}
	#gnb > ul > li > a{font-size: 17px; padding:0 30px}
}
@media all and ( max-width: 1260px ){	/* 1024까지 레이아웃유지가 안될시 max-width: 컨텐츠너비+20px */
	#header .logo img{height: auto;}
	/* -------- Header :: UTIL BOX -------- */
	.header-util-box{padding-right:0;}
	/* Header :: 사이트맵 버튼 */
	.util-menu-list, .sitemap-line-btn, .sitemap-custom-btn{display:none;}

	/* -------- Header :: GNB(Pc) -------- */
	#gnb{display:none;}
	.gnb-overlay-bg{display:none}

	/* -------- Header :: GNB(Mobile/기본스타일) -------- */
	.gnb-overlay-bg-m{display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:9998;}	
	#gnbM{ 
		display:block; 
		position:fixed; 
		top:0px; 
		right:-82%;
		width:80%; 
		height:100%;  
		max-width:280px; 
		background-color:#fff; 
		z-index:9999; 
		transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
		-webkit-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);  
		visibility:hidden;
	}
	#gnbM.open{
		right:0px; 
		visibility:visible;
	}
	/* GNB Mobile :: 레이아웃 */
	.gnb-navigation-wrapper{position:relative; height:100%; box-sizing:border-box; padding-top:var(--header-height); overflow-y:auto;}	
	.header-util-menu-box + .gnb-navigation-wrapper{padding-top:0; height:calc(100% - var(--header-height));}
	
	/* GNB Mobile :: 메뉴영역 :: 1차 */
	#navigation > li{border-bottom:1px solid #e3e3e3;}
	#navigation > li > a {position:relative; display:block; padding: 20px var(--area-padding); color:#646464; font-size:18px; font-weight:600;}
	#navigation > li.active > a{color:var(--main-color);}
	#navigation > li.has-2dep > a:before{font-family:xeicon; content: "\e914"; position:absolute; top:50%; right:var(--area-padding); font-size:1.3em; color: #d2d2d2; transform:translateY(-50%); font-weight: 400;}
	#navigation > li.has-2dep.active > a:before{content: "\e91b"; color:var(--main-color);}
	/* GNB Mobile ::  메뉴영역 :: 2차 */
	#navigation > li .gnb-2dep{display:none; border-top:1px solid #e3e3e3; padding:15px 0; background-color:#f5f5f5;}
	#navigation > li .gnb-2dep > ul > li{height:auto !important;}
	#navigation > li .gnb-2dep > ul > li > a{display:block; color:#646464; font-size:13px; padding: 10px var(--area-padding);}
	#navigation > li .gnb-2dep > ul > li > a span{position: relative; padding-left: 15px; width: 100%; -webkit-box-sizing: border-box; box-sizing: border-box; display: block;}
	#navigation > li .gnb-2dep > ul > li > a span:before{position: absolute; top: 0; left: 2px; display: inline-block; content: '·';}
	#navigation > li .gnb-2dep > ul > li.on > a{font-weight:600; color:var(--main-color);}
	/* GNB Mobile :: 메뉴영역 ::  3차 */
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep{display:none; padding:10px; background-color:#aaa; margin:0 10px}
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a{display:block; padding:8px 0; font-size:13px; color:#fff;}
	#navigation > li .gnb-2dep > ul > li > .gnb-3dep > li > a:before{display:inline-block; content:"-"; margin-right:5px;}
	
	/* -------- GNB Mobile :: 스타일2 (Full Style) -------- */
	#gnbM.gnb-style-full{ 
		top:-100%; 
		right:0;
		width:100%; 
		height:100%;  
		max-width:none; 
	}
	#gnbM.gnb-style-full.open{
		top:0px; 
	}
	.gnb-style-full .gnb-navigation-wrapper{height:auto; width:100%; position:absolute; top:0px; bottom:0px; left:0; padding-top:0;}
	.gnb-style-full .header-util-menu-box + .gnb-navigation-wrapper{top: calc(var(--header-height) + 10px); border-top: 1px solid #313131; -webkit-transition: top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); transition: top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);}
	#header.top-fixed .gnb-style-full .header-util-menu-box + .gnb-navigation-wrapper{top:var(--header-height);}
	.gnb-style-full-member .gnb-navigation-wrapper{bottom:var(--header-height);}
	.gnb-style-full .gnb-navigation-inner{display:table; width:100%; height:100%;}
	.gnb-style-full #navigation{
		display:table-cell;
		vertical-align:top;
	}
	.gnb-style-full #navigation > li{
		opacity:0;filter:Alpha(opacity=0); 
		-webkit-transform:translateY(-20px);
		transform:translateY(-20px);
		-webkit-transition:all 0s 0s;
		transition:all 0s 0s;
	}
	.gnb-style-full #navigation > li .gnb-icon i{display:none;}
	.gnb-style-full.open #navigation > li{
		opacity:1.0;filter:Alpha(opacity=100); 
		-webkit-transform:translateY(0px); 
		transform:translateY(0px); 
		-webkit-transition:transform 0.8s, opacity 0.8s;
		transition:transform 0.8s, opacity 0.8s;
	}
	.gnb-style-full.open #navigation > li:nth-child(1){-webkit-transition-delay: 0.3s; transition-delay:0.3s;}
	.gnb-style-full.open #navigation > li:nth-child(2){-webkit-transition-delay: 0.4s; transition-delay:0.4s;}
	.gnb-style-full.open #navigation > li:nth-child(3){-webkit-transition-delay: 0.6s; transition-delay:0.6s;}
	.gnb-style-full.open #navigation > li:nth-child(4){-webkit-transition-delay: 0.7s; transition-delay:0.7s;}
	.gnb-style-full.open #navigation > li:nth-child(5){-webkit-transition-delay: 0.9s; transition-delay:0.9s;}
	.gnb-style-full.open #navigation > li:nth-child(6){-webkit-transition-delay: 0.9s; transition-delay:0.9s;}
	
	/* -------- GNB Mobile :: 언어선택 및 회원메뉴 -------- */
	/* 회원메뉴 */
	.member-menu-box{
		margin-top: 10px; display: flex; align-items: center;
		height:var(--header-height);
		padding: 10px var(--area-padding);
		-webkit-box-sizing: border-box;
		box-sizing: border-box; 
		-webkit-transition: margin-top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); transition: margin-top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
	}
	#header.top-fixed .member-menu-box{margin-top: 0;}
	/* Header :: 회원관련 */
	.member-menu-box li{position:relative; margin-left:30px;}
	.member-menu-box li:first-child{margin-left:0;}
	.member-menu-box li:before{position: absolute; top: 50%; margin-top: -4px; left: -14px; display: block; content: ''; width: 1px; height: 8px; background-color: #e3e3e3;}
	.member-menu-box li:first-child:before{display:none;}
	.member-menu-box li a{display:block; font-size:14px; letter-spacing:-0.25px; color: #646464; transition:all 0.2s;}

	/* -------- Header :: 네비게이션 오픈 버튼 -------- */
	.nav-open-btn{margin-left: 30px; height:40px; display:block; position: relative;}
	.nav-close-btn{position:absolute; top: 30px; right:var(--area-padding); z-index: 10000; -webkit-transition: top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); transition: top 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);}
	.nav-close-btn .line,
	.nav-open-btn .line{
		display:block; width:32px; height:1px; background-color:#fff; margin: 9px auto;
		-webkit-transition: all 0.3s ease-in-out;
	     transition: all 0.3s ease-in-out;
	}
	.nav-close-btn .line{background-color: var(--main-color);}
	.nav-close-btn .line:nth-child(2), .nav-close-btn .line:nth-child(4){opacity: 0;}
	.nav-close-btn .line:nth-child(1){
		 -webkit-transform: translateY(10px) rotate(45deg);
		  transform: translateY(10px) rotate(45deg);
	}
	.nav-close-btn .line:nth-child(3){
		 -webkit-transform: translateY(-10px) rotate(-45deg);
		  transform: translateY(-10px) rotate(-45deg);
	}
	#header.top-fixed .nav-close-btn{top: 20px;}
	#header.top-fixed .nav-open-btn .line{background-color:#fff;}
}
@media all and (max-width:800px){
	#header .logo img{height:28px;}
	/* -------- Header :: UTIL BOX -------- */
	/* Header :: SNS리스트 */
	.util-sns-list{margin-left: 0;}
	.util-sns-list li{margin-left:20px;}
	.util-sns-list li a i{font-size: 20px;}
}
@media all and ( max-width: 480px ){
	#header .logo img{height:24px;}
	/* -------- Header :: UTIL BOX -------- */
	/* Header :: SNS리스트 */
	.util-sns-list li{margin-left:17px;}
	.util-sns-list li a i{font-size: 17px;}
	/* Header :: 사이트맵, 네비게이션 버튼 */
	.nav-open-btn{margin-left: 17px; height: 30px; margin-top:0;}
	.nav-close-btn{top:26px;}
	.nav-close-btn .line,
	.nav-open-btn .line{width:20px; height:1px; margin: 6px auto;}
	.nav-close-btn .line:nth-child(1){
		 -webkit-transform: translateY(7px) rotate(45deg);
		  transform: translateY(7px) rotate(45deg);
	}
	.nav-close-btn .line:nth-child(3){
		 -webkit-transform: translateY(-7px) rotate(-45deg);
		  transform: translateY(-7px) rotate(-45deg);
	}
	/* -------- Header :: fixed -------- */
	#header.top-fixed .nav-close-btn{top: 16px;}
	#header.top-fixed #headerInnerWrap,
	#header.top-fixed #headerInner{height: 60px;}
	#header.top-fixed #gnb > ul > li > a{line-height: 60px;}

}

/* ****************** FOOTER ********************** */
@media all and (max-width:1560px){
	.footer-right-con{right: 30px;}
}
@media all and (max-width:1260px){
	/* -------- FOOTER :: 레이아웃 -------- */
	#footer{text-align:center;}
	#footerInner .area-box,
	.footer-right-con{position: static;}
	.foot-menu{padding-bottom: 15px;}
	
	/* ****************** 오른쪽 퀵메뉴 ********************** */
	#rightBar{right: 5%;}
}
@media all and (max-width:800px){
	#footerInner{padding: 50px 0 55px;}

	/* Footer :: 푸터로고 */
	.foot-logo{padding-bottom:20px;}
	.foot-logo img{height:30px;}

	/* Footer :: 정보 */
	.footer-address p{font-size:13px;}

	/* Footer :: 정보 style02 */
	.footer-address-list dl{font-size:13px; line-height:2; margin-right:16px;}
	.footer-address-list dl:before{right:-8px; width:1px; height:12px; margin-top:-6px;}

	/* Footer :: Copyright */
	.footer-copyright{margin-top: 15px; font-size:13px;}

	/* Footer :: 푸터메뉴 */
	.foot-menu{padding-bottom: 10px;}
	.foot-menu li{padding-left:25px;}
	.foot-menu li:before{left:12px; width:1px; height:12px; margin-top:-6px;}
	.foot-menu li a{font-size:13px;}

	/* ****************** 오른쪽 퀵메뉴 ********************** */
	#rightBar{bottom: 40px;}
	#rightBar a img{height: 46px;}
}

/* ****************** SUB LAYOUT ********************** */
@media all and (max-width:1260px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-txt-con{padding:0}
	/*  SUB LAYOUT :: 서브메뉴(스타일2,3,4) */
	#topMenu02 .area,
	#topMenu03 .area,
	#topMenu04 .area{padding:0;}
	#topMenu02 .area,
	#topMenu03 .area{margin:0 -1px}	
	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:70px 15px}
	#content.wide{padding:70px 0 0 0}
}

@media all and (max-width:800px){
	/*  SUB LAYOUT :: 비주얼 */
	#visual .visual-tit{font-size:28px; }
	#visual .visual-sub-txt{font-size:13px; line-height:18px; padding-top:15px}
	/* SUB LAYOUT :: 위치정보(location) */
	.location li{font-size:12px;}
	.location li:before{margin:0 6px 0 4px; top:0px;}
	.location li i{margin-top:0px; font-size:16px;}
	/*  SUB LAYOUT :: 이전페이지,다음페이지 버튼 */
	.sub-page-controls-btn .sub-page-name{display:none}
	/*  SUB LAYOUT :: 서브메뉴(스타일4) */
	#topMenu04 .side-menu-inner{width:auto;}
	#topMenu04 .location-to-home-btn{/* position:absolute; */ width:var(--sub-menu-height); height:var(--sub-menu-height); left:0px; top:0px; border:0;}
	#topMenu04 .location-to-home-btn i{font-size:18px; line-height:var(--sub-menu-height);}
	#topMenu04 .menu-location > .cur-location:before{height:12px; top:22px;}
	#topMenu04 .menu-location.location1{width:36.125%; max-width:160px; min-width:0;}
	#topMenu04 .menu-location.location2{width:48.375%; max-width:160px; min-width:0;}
	#topMenu04 .menu-location > .cur-location{height:var(--sub-menu-height); border-right:0; padding:0 45px 0 15px}
	#topMenu04 .menu-location > .cur-location span{line-height:var(--sub-menu-height); font-size:13px;}
	#topMenu04 .menu-location > .cur-location .arrow{right:20px; width:20px; height:20px; line-height:20px; font-size:14px; margin-top:-11px;}
	#topMenu04 .menu-location.open > .cur-location .arrow{margin-top:-11px;}
	#topMenu04 .menu-location .location-menu-con{top:calc(var(--sub-menu-height) - 10px); left:0; /* padding-bottom:10px */ box-shadow: 5px 5px 9px 0px rgba(0, 0, 0, 0.17); border-top:1px solid #ddd;}
	#topMenu04 .menu-location .location-menu-con li a{font-size:14px; padding:7px 10px;}
	
	/*  SUB LAYOUT :: 상단정보 (공통) */
	#contentInfoCon{margin:30px 0; }
	#contentInfoCon .content-tit{font-size:24px}
	#contentInfoCon .content-tit:after{position:static; display:block; margin-top:15px;}
	#contentInfoCon .content-sub-tit{font-size:13px; line-height:18px; margin-top:15px;}
	/*  SUB LAYOUT :: 상단정보(스타일03) */
	#contentInfoCon.content-title-location{text-align:center;}
	#contentInfoCon.content-title-location .content-tit{float:none;}
	#contentInfoCon.content-title-location .location{float:none; padding-top:23px;}

	/*  SUB LAYOUT :: 컨텐츠 레이아웃 */
	#content:not(.wide){padding:50px 15px}
	#content.wide{padding:50px 0 0 0}
}

/* ****************** MODAL LAYERPOPUP ********************** */
@media all and ( max-width: 800px ){
	/* modal layer content */
	.footer-modal-content{width:auto; margin:50px 15px}
	.footer-modal-content h1{font-size:18px; text-align:left; padding:0 30px 15px 0}
	.modal-close-btn{right:-3px; top:-3px;}
	.modal-close-btn i{font-size:24px}
	.footer-inner-box{padding:15px}
	.footer-inner{padding:10px; height:250px;}
}