/*-----기본-----*/
html{font-size:20px;}
body{font-size:1rem}
.tablet{display:none;}
.mob{display:none;}
#wrap{position:relative; line-height:1.5; overflow:hidden; font-size: .9rem;}
#wrap img { border:none; }
#wrap i{vertical-align:inherit;}


/*헤더*/
#header{position: fixed; top:0; left: 0; width:100%;  z-index:100;-webkit-transition:all .3s;transition:all .3s;}
#header h1{position:absolute; left:1rem; top:50%; transform:translateY(-50%); z-index:10;}
#header h1 a{display: block;}
#header h1 img,
#footer h3 img{width: 7.85rem; }
#header .header_inner{position:relative; width:1300px; margin:0 auto; height:4.3rem; }
#header .header_inner:after{content:""; display:block; clear:both;}


/*-----네비게이션-----*/
#header .header_inner #nav {display: flex; flex-direction: row; justify-content: center; align-items: center;}
#header .header_inner #nav{}
#header .header_inner #nav ul {clear:both;  position:relative; box-sizing:border-box;height:100%;}
#header .header_inner #nav ul li { display:inline-block;width: auto; float:none; vertical-align:top;position:relative;}
#header .header_inner #nav ul li {position:relative; }
#header .header_inner #nav ul li a{text-align:center; color:#fff; display:inline-block; height:4.3rem; line-height:4.3rem; text-transform: uppercase; position:relative;padding:0 1.85rem; transition: all .2s; -webkit-transition: all .2s; }

#header .header_inner #nav ul li ul {z-index: 10;display:none; position: absolute; width:10rem;  left:50%; margin-left:-5rem; top:4rem; padding:1.5rem 0 .5rem; box-sizing:border-box; text-align:center; background:#fff; border: 4px solid #083C6B; border-radius: .5rem; height:auto;   display: none;	animation-name: slide_down;	animation-duration:0.5s;    animation-duration: linear; animation-direction: alternate; animation-fill-mode: forwards;}
#header .header_inner #nav ul li ul:before {display: block; content: '';  position: absolute; z-index:0; top:-20px;  left: 50%;  transform:translateX(-50%);  width: 10px;  height: 10px; background: #083C6B; border-radius: 100%; z-index: -1;}
#header .header_inner #nav ul li ul li {display:block;margin:0; margin-bottom:13px; line-height:1.5;}
#header .header_inner #nav ul li ul li a{display:block;color:#000; font-size:0.85rem; padding:0; height:auto; font-weight: 400; line-height:1.5; transition: all .2s; -webkit-transition: all .2s;}
#header .header_inner #nav ul li ul li a:before{content:""; display:block; clear:both;}
#header .header_inner #nav ul li ul li a:hover{color:#083C6B; }
#header .header_inner #nav ul li.active > div > a{}
#header .header_inner #nav ul li.active ul li:after{display:none;}


/*-----회원서비스-----*/
.log_menu{position:absolute;right:8rem;top:50%;transform:translateY(-50%); color:#fff; font-size:0.75rem;}
.log_menu li{display:inline-block; margin-right:10px;}
.log_menu li a{color:#fff;}

/*-----언어별-----*/
.select_btn{position:absolute;right:4.5rem;top:50%;transform:translateY(-50%); color:#fff;}
.option_list { display:none; position: absolute;  top: 4.3rem;  right:4.3rem; z-index:1000; background: #fff;  border: solid 1px #d9d9d9;  padding: 15px 25px;}
.option_list li { margin-top: 5px;}
.option_list li a { display: block;  font-size: 15px;  color: #353535;}
.option_list li a:hover { text-decoration: underline !important;}
.option_list li:first-child { margin-top: 0;}


/*-----사이트맵 버튼-----*/
#header .btn-gnb-menu{position:absolute; right:0; top:0; width:5rem; height:4.3rem; cursor:pointer; z-index:9999;text-align:center; -webkit-transition: all 0.25s; transition: all 0.25s;}
#header .btnAll {position:relative; display:block; width:1.6rem; height:1.15rem; margin:0 auto; top:50%;  transform:translateY(-50%);outline: none; z-index:9999;}
#header .btnAll span { display: inline-block; width: 100%; height: 2px; position: absolute; background-color: #fff; -webkit-transition: all 0.25s; transition: all 0.25s; }
#header .btnAll > span:nth-child(1) { top: 0; right:0;}
#header .btnAll > span:nth-child(2) { top: 0.5rem; right:0; width:80%;}
#header .btnAll > span:nth-child(3) { top: 1rem; right:0;}
#header.open .btnAll > span{}
#header.open .btnAll > span:nth-child(1) { top: 0.5rem; -webkit-transform: rotate(-135deg); transform: rotate(-135deg); width: 1.5rem;}
#header.open .btnAll > span:nth-child(2) { top: 0; opacity: 0; width: 1.5rem;}
#header.open .btnAll > span:nth-child(3) { top: 0.5rem; -webkit-transform: rotate(135deg); transform: rotate(135deg); width: 1.5rem;}
@keyframes slide_down {
  from {
    transform: translateX(0px) translateY(-30px);
	opacity:0;
  }
  to {
    transform: translateX(0px) translateY(0px);
	opacity:1;
  }
}

#header a img {filter: brightness(3);}

/* 헤더 오버스크롤 */
#header.over,
#header.scroll{background:#fff; box-shadow: 1.2px 3.8px 22.8px 1.2px rgb(0 0 0 / 4%);}
#header.scroll a img,
#header.over a img { filter: brightness(1);}
#header.over .header_inner #nav ul li a,
#header.scroll .header_inner #nav ul li a,
#header.over a,
#header.scroll a{color:#444;}
#header.over .btn-gnb-menu ,
#header.scroll .btn-gnb-menu{background-color: #083C6B;}
#header.over .select_btn{color:#444;}

/*사이트맵*/
#header #navi{background:#023a73; position:fixed; top:0; left:-100%; width:100%; height:100%; padding-top:0; overflow:hidden;  z-index:20; transition:left 0.45s;overflow-y:scroll;}
#header.open #navi{transition:left 0.45s; left:0px;}
#header #navi .mobile_top{height:100%;position:relative;}
#header #navi .site-bg{position:absolute;z-index:1;width:0;margin:0 auto;height:100%;}
#header #navi .site-bg .bg{position: fixed;width:0;left: 0;top: 0;max-height: 980px;height: 100vh;margin-left: 0;background: url(/images/default/main/sitemap1.jpg) left no-repeat;background-size: cover;transition-duration: 0.5s;  animation-delay:1s; transition: all 0.5s cubic-bezier(.16,1,.64,1);}
#header #navi  .mbtop{width:0;padding-left:calc(30% + 5.75rem);background:#023a73;padding-top:4.75rem;transition-duration: 0.5s;padding-right:6.5rem;}
#header #navi  .mbtop li a{color:#fff;}

#header #navi{
  -ms-overflow-style: none; /* 인터넷 익스플로러 */
  scrollbar-width: none; /* 파이어폭스 */
}

#header.open #navi .site-bg.open .bg {width:30%;transition: all 0.8s cubic-bezier(.16,1,.64,1);}
#header.open #navi .mbtop{width:100%;transition-duration: 0.5s;margin-top:3rem;}
#header #navi  .mbtop > li {padding:1.75rem 0;border-bottom:1px solid rgba(255,255,255,0.3);    opacity: 0;margin-left: 100px;transition-duration: 0.5s;}
#header.open #navi  .mbtop > li  {opacity: 1;margin-left: 0px;transition-duration: 0.5s;    animation-delay: .4s;}
#header.open #navi  .mbtop > li > ul {display:flex;}
#header.open #navi  .mbtop > li > ul > li:not(:last-child) {margin-right:7rem;}
#header #navi  .mbtop > li:first-child{padding-top:0;}
#header #navi  .mbtop > li:first-child{padding-top:0;}
#header #navi  .mbtop > li > a{font-size:1.3rem;font-weight:700;}
#header #navi  .mbtop .depth1-div{margin-top:0.75rem;}
#header #navi  .mbtop .depth1-div > ul {display:flex;}
#header #navi  .mbtop .depth1-div > ul > li:not(:last-child){margin-right:7rem;}
#header #navi  .mbtop .depth1-div > ul > li > a{font-size:0.9rem;color:rgba(255,255,255,0.7);font-weight:600;margin-top:0.75rem;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul {margin-top:0.75rem;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a{font-size:15px;color:rgba(255,255,255,0.4);position:relative;padding-left:0.5rem;display:inline-block;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a:before{content:'';display:block;position:absolute;width:5px;height:1px;background:rgba(255,255,255,0.4);top:0.5rem;left:0;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a:after{content:'';display:block;width:100%;height:1px;background:#fff;left:0;bottom:0;opacity:0;}

#header #navi  .mbtop .depth1-div > ul > li:hover > a {color:#fff;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a:hover:after{opacity:1;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a:hover{color:#fff;}
#header #navi  .mbtop .depth1-div > ul > li .depth2 > ul > li > a:hover:before{background:#fff;}


#header.open #menuAll .mobile_top > ul > li:nth-child(1){    transition-delay: .2s;transition-duration: 0.5s;padding-top:0;}
#header.open #menuAll .mobile_top > ul > li:nth-child(2){    transition-delay: .4s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(3){    transition-delay: .6s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(4){    transition-delay: .8s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(5){    transition-delay: 1.0s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(6){    transition-delay: 1.2s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(7){    transition-delay: 1.4s;transition-duration: 0.5s;}
#header.open #menuAll .mobile_top > ul > li:nth-child(8){    transition-delay: 1.6s;transition-duration: 0.5s;}

@media (max-width:1650px){
	#header #navi .mbtop{padding-left:calc(30% + 3rem);padding-right:3rem;	}
}
@media (max-width:1300px){
	#header #navi .mbtop .depth1-div > ul > li:not(:last-child){margin-right:5rem;}
}

@media (max-width:1030px){
	#header #navi .site-bg{display:none;}
	#header #navi .mbtop{padding:0;}
	#header #navi .mbtop .depth1-div > ul{display:none;}
	#header #navi:after{background:#023a73;}
}

/*푸터*/
#footer{clear:both; padding:3rem 0; color:#999; font-size:.75rem; letter-spacing:0.02em; background: #0E0E0E; z-index:1;}
#footer .inn{width:1300px; margin:0 auto;}
#footer .copy{margin-top:2rem;text-transform:uppercase; color:#AEAEAE;}
#footer ul{position:absolute; left:45%; bottom:4.5rem;}
#footer ul li{margin-top:10px;}
#footer ul li:first-child{margin-top:0;}
#footer ul a{color:#999;}
#footer a { color:#999; }

/*팝업 롤링 추가*/
.layerPopup {position:absolute;top:230px;left:10rem; width:450px; background:#fff;line-height:auto;z-index:99999;border:10px solid #15334F;box-shadow:0 0 4px rgba(0,0,0,0.2); padding-bottom:40px;}
.layerPopWrap{position:relative; width:100%; height:100%;}
.layerPopup ul li img{width:100%;}





/********************************************************
■ 레이아웃 변경
********************************************************/
@media (max-width:1300px){
	/*헤더*/
	#header .header_inner{width: 100%;}
	#header .header_inner #nav ul{}
	#header .header_inner #nav ul li a {font-size: .9rem; padding: 0 1.5rem;}
	
	#footer ul{left:80%;}
}



/********************************************************
■ 태블릿
********************************************************/
@media (max-width:1030px){
	html{font-size:16px;}
    body{font-size:1rem}
	#wrap{font-size:1rem;}
	.tablet{display:block;}


	/*헤더*/
	#header h1 img,
	#footer h3 img{width: 6rem; vertical-align:middle; }
	#header .header_inner {height: 4rem;}
	#header .header_inner #nav {display: none;}

	/*언어*/
	.option_list{top:4rem;right:4rem;}

	/*-----사이트맵 버튼-----*/
	#header .btn-gnb-menu{width: 4rem; height: 4rem;}

	/*-----회원서비스-----*/
	#wrap .log_menu{display:none;}
	#menuAll h3{text-align:center; padding:15px 0 10px; font-weight:normal; font-size:1.2rem; color:#fff;}
	#menuAll .log{display:block; width: 100%; position:absolute; left:0; top:0; padding-left:1.5rem; box-sizing:border-box; z-index:10;}
	#menuAll .log li{display:inline-block; height:4rem; line-height:4rem; color: #fff; position:relative;}
	#menuAll .log li a{padding: 0 1rem;}
	#menuAll .log li:after{right: .75rem; background: #000; width: 2px;}
	#menuAll .log li b{font-size:1.1rem;}
	#menuAll .log li.log_join a{padding-left:0;}
	#menuAll .log li.log_join:after{content : ""; display : block; position : absolute; right:0; top: 35%; width :1px; height : 30%; background:rgba(255, 255, 255, .3);}

	/*-----마이페이지-----*/
	#menuAll .membership{display: block; background: #DC4976; margin-top:4rem;}
	#menuAll .membership {clear:both;overflow:hidden;  }
	#menuAll .membership li {position: relative; float:left;width: 50%; border-bottom:1px solid rgba(255, 255, 255, .3); text-align:center; line-height:1;padding:1.3rem 0;}
	#menuAll .membership li:after{content : ""; display : block; position : absolute; right:0; top: 0; width :1px; height : 100%; background:rgba(255, 255, 255, .3);}
	#menuAll .membership li:nth-of-type(2n):after{display: none;}
	#menuAll .membership li a{color:#fff;}
	#menuAll .membership li i{vertical-align:middle; margin-right:5px; font-size:1.1rem;}

	/*전체메뉴*/
	#header.open{background:#D47490;}
	#header #navi{ background : #fff; overflow-y:scroll;}
	#header #navi:after{content:'';display : block; position : absolute; left :0; top:0; width :100%; height : 4rem;background:#fff;}  


	#menuAll .mobile_top{width:100%;height:auto; background:transparent; margin-top:4rem;border-top:1px solid #ddd;}
	#menuAll .mobile_top:before,
	#menuAll .mobile_top:after{display: none;}
	


    /*1차*/
	#menuAll .mobile_top .mbtop{border: 0; width: 100%; padding:0; }
	#menuAll .mobile_top .mbtop > li{width: 100%; margin:0 !important;}
	#menuAll .mobile_top .mbtop > li:before{display:none;}
	#menuAll .mobile_top .mbtop > li > a{border:0; border-radius: 0; font-size:1.1rem; padding: 20px 1.5rem 14px; color:#333; }
	#menuAll .mobile_top .mbtop > li > a:before{display:none;}
    #navi ul.mbtop {width:100%; margin:0; padding:0;}
    #navi ul.mbtop li{margin:0; float:none; width:100%; border-bottom:1px solid rgba(0, 0, 0, .1); position:relative;}
	#navi ul.mbtop li:after{ content :"\e913"; display : block; position : absolute; right:1.5rem;  top:1rem; font-size:1.15rem; font-family:'xeicon'; font-weight:500; color:#333; }
	#navi ul.mbtop li.nosub:after{display:none;}


	#navi ul.mbtop > li > a {padding:0; background: none; text-align:left; display:block; width:100%; padding: 1rem;box-sizing:border-box; font-size:1.15rem;  font-weight: 700;  color:#262626;}
    #navi ul.mbtop li.open_li{position:relative;}
	#navi ul.mbtop > li.open_li > a{}
    #navi ul.mbtop li.open_li:after{ content :"\e91a";}

    /*2차*/
    #navi ul.mbtop li ul {display:none; float:none; background-color:#efefef; position:relative; left:0; top:0; width:auto; height:auto; visibility:visible; padding: 2rem 1.5rem; margin-top:0; margin-left: 0;}
    #navi ul.mbtop li ul.on{display:block;}
	#navi ul.mbtop li ul li {float:none;border:none; box-sizing:border-box;  background: none; padding-left:0;}
    #navi ul.mbtop li ul li a {background:url(none);  height:auto; padding-left:0;  font-size:1rem; color:#333;}	
    #navi ul.mbtop li ul li:after,
	#navi ul.mbtop li ul li:before{display:none;}
    /*3차*/
    #navi ul.mbtop li ul li ul{display:none;border:none; height:0;background:none; margin:0; padding:0;}
    #navi ul.mbtop li ul li ul li {display:none;}
	

	/*팝업 롤링 추가*/
	.layerPopup {left:50% !important;  transform:translateX(-50%);}

	/*푸터*/
	#footer .inn{width:100%; padding:0 1rem;}
}


/********************************************************
■ 모바일
********************************************************/
@media (max-width:767px){
	html,body,#wrap{height:auto;}
	html{font-size:15px;}
    body{font-size:1rem; position:relative;}
	.web{display:none;}
	.mob{display:block;}

	/*팝업 롤링 추가*/
	.mobile_dim{width: 100%; height:100%; position: absolute; top: 0; left: 0; margin: 0; z-index: 1039; display: inline-block; background: rgba(0,0,0,0.5);}
	.layerPopup img{width:100% !important;}
	.layerPopup {left:5% !important;  transform:translateX(0%); width:90% !important; height:auto !important; top:130px;}
	.chkvsb{font-size:0.7rem !important;}
}

