#header_wrap {position:absolute; left:0; top:0; width:100%; z-index:57;   -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease; border-bottom: 1px solid rgba(255,255,255,.0);  }
#header{background: transparent;  -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease; }
#header .header-inner {position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; height:100%; margin:0 auto; z-index: 10;
padding: 0 50px; margin: 0 auto; max-width: 1830px;}
/* #header:hover,
.scrolled #header { border-bottom-color: #ddd;} */
/* #header_wrap.main {position: fixed; } */

/* logo */
#logo { position: absolute; top:0; left: 50%;  transform: translateX(-50%); height: 100%; display: flex ;align-items: center;}
#logo a {display: flex; align-items: center; justify-content: center; position: relative;}
#logo a img {transition: opacity .3s; }
#logo a img + img {opacity: 0; position: absolute; left:0; top:0;   z-index: 2;}

/* hd_btns */
#hd_btns {display: flex; align-items: center; margin-right: 23px; }
#hd_btns .menu_slider_btn { position: relative; width:30px; height:20px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; align-items: flex-end;}
#hd_btns .menu_slider_btn span { display: block;  width: 100%; height: 2px; background: #fff; transition: all .3s ease; }
/* #hd_btns .menu_slider_btn span:last-child {width:20px; background-color: #4096c9;} */


/* top_nav */
/* gnb */
#top_nav{height: 100px; transition: all .5s ease;  display: flex; align-items: center; }
#top_nav .gnb{display: flex; height: 100%; }
#top_nav .gnb > li {position: relative; text-align: center; max-width: 225px;}
#top_nav .gnb > li > a { display: flex; justify-content: center; align-items: center; font-size:15px; color:#fff; font-weight:700; word-break: keep-all; height: 100%;
 transition: all .5s ease; white-space: nowrap; padding: 0 25px; position: relative;}
#top_nav .gnb > li > a::before{content: ''; display: block; width: 0; height: 3px; z-index: 1; background-color: #f7c806; position: absolute; bottom:-2px;  opacity: 0; transition: .4s; left: 50%;  transform: translateX(-50%);}
#header .gnb > li:hover > a {background-color: #000;}
#header .gnb > li:hover > a::before {width: 100%; opacity: 1;}

/*snb  */
#top_nav .gnb > li + li .snb{border-left: 0;}
/* #top_nav .gnb > li:hover .snb::before{opacity: 1;} */
#top_nav .gnb .snb {width: 100%; position: relative; top: 0; padding: 25px 0; border-top: 0; border-bottom: 0; left: 50%; transform: translateX(-50%);
background-color: rgba(0,0,0,.6); display: none; border-radius: 0 0 15px 15px; }

#top_nav .gnb .snb li a {display: block; font-weight:400; letter-spacing: -.5px;  font-size:13px; line-height: 1.56 ; color: rgba(255, 255, 255, .7); transition: color .3s;  max-width: 150px; margin: 0 auto;}
#top_nav .gnb .snb li a:hover {color: rgba(255, 255, 255, 1) !important; }
#top_nav .gnb .snb li + li {margin-top: 12px;}


/* lang */
#hd_lang {display: flex;  justify-content: center; align-items: center; position: relative; }
#hd_lang button {display: flex; justify-content: center; align-items: center; font-size: 15px; font-weight: 700; color:#fff; cursor: pointer; position: relative; z-index: 2; background-color: transparent; transition: all .3s; width: 75px; height: 30px; border-radius: 15px; border:1px solid #fff;}
#hd_lang button span {display: block; }
#hd_lang button i {display: block; transition: background-image .3s; }
#hd_lang button .lang_icon {width: 13px; height: 13px; background:url("../img/lang_icon.png") 50%/contain no-repeat; margin-right: 6px; position: relative; top:-1px; }
#hd_lang ul {display: none; position: absolute; left: 0; top:100%; width: 100%; background: rgba(0,0,0,.7);  text-align: center; }
#hd_lang li a {font-size: 13px; font-weight: 500; color:rgba(255,255,255,.6); text-transform: uppercase; transition: all .3s ease; width: 100%;
padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.4); display: block; }
#hd_lang li a:hover {color:#fff;}
#hd_lang li:last-child a {border-bottom: 0;}

/* hidden_nav */
#menu_close_btn {position: absolute; right: 0; top:0; width: 60px; height: 60px; transition: all .3s; display: flex; align-items: center; justify-content: center; cursor: pointer; color:#000; background: #fff; font-size: 30px; z-index: 1000;  }
#menu_close_btn:hover {background: #f7c806; color:#000;}


.hidden_nav { width:0; top:0; height:100vh; z-index: 999; position: fixed; text-align: left; transition: all .8s cubic-bezier(0.215, 0.610, 0.355, 1.000);   overflow: hidden; background: rgba(0,0,0,.95);  }
/* .hidden_nav::before {content: ''; display: block; height: 100%; width: 100%; z-index: -1; pointer-events: none; position: absolute; right: 0; bottom: 0; opacity: .5;
background:url("../img/hidden_bg.png") 100% 100% no-repeat; background-size: auto 100%; } */
.hidden_nav.active { left:0; width: 100%; }
.hidden_nav > div { position: absolute; width: 100%; left:50%; transform:translateX(-50%); top:0; height:100%; display: none; padding: 100px;   overflow-y: auto;}

.hidden_nav .hidden_gnb { width: 100%; }
.h_gnb { display: flex; height: 100%; width: 100%; }
.h_lm { position: relative; }
.h_gnb .h_lm:last-child {margin-right: 0;}

.h_lm {flex:1; }
.h_lm > a { display: block; width: 100%; font-size:35px; font-weight: bold; color:#fff !important; white-space: nowrap; flex-shrink: 0; margin-bottom: 50px;
padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.3); position: relative; line-height: 1.1; }
.h_lm > a::before {content: ''; display: block; width: 50px; height: 5px; background-color: #f7c806; margin: 0 0 20px; }


.h_snb { position:relative; z-index: 1; }
.h_snb > li { margin-bottom:40px; padding-right: 30px;  }
.h_snb > li:last-child { margin-bottom: 0; }
.h_snb > li > a { font-size:22px; font-weight: 500; position: relative; color:#fff; transition: color .3s ease; max-width: 300px; line-height: 1.5;
display: inline; }
.h_snb > li > a::after {position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); content: ''; width: 0px; height: 1px; background-color: #fff; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -o-transition: all 0.4s; -ms-transition: all 0.4s; transition: all 0.4s;}
.h_snb > li > a:hover::after {width:100%;}

.h_snb_3depth {display: none;}
/* .h_snb_3depth > li + li {margin-top:10px; }
.h_snb_3depth > li > a {font-size: 15px; color:rgba(255,255,255,.7); position: relative; padding-left: 10px; }
.h_snb_3depth > li > a::before {content: '-'; display: block; position: absolute; left: 0; top:0; } */

@media screen and (max-width: 1700px) {


    .h_lm > a { font-size:30px; }
    .h_snb > li { margin-bottom: 28px; }
    .h_snb > li > a { font-size: 20px; }

    .hidden_nav > div {padding:70px;}
}

@media screen and (max-width: 1500px) {

    #top_nav .gnb { display: none;}


}

@media screen and (max-width: 1280px) {
    #header .header-inner{padding: 0 30px;}



    #menu_close_btn {width: 50px; height: 50px; font-size: 25px;}
    .h_lm > a { font-size:24px; margin-bottom: 40px; padding-bottom: 40px; }
    .h_lm > a::before {width: 30px; }
    .h_snb > li { margin-bottom: 20px;padding-right: 15px; }
    .h_snb > li > a { font-size: 16px; }
    .hidden_nav > div {padding:70px 50px 50px; }


}

 @media screen and (max-width: 1024px) {
    #top_nav { display: none; }
    #hd_btns { display: none; }
    #hd_lang { display: none; }

    #logo { position: relative; left: 0; transform: translateX(0);}
    #logo a {width: auto; }
    #logo a img {width: auto; max-height: 25px; }


    #header .header-inner { justify-content: center; padding: 0 20px; }

    #header_wrap {position: fixed; height: 60px; }
    #header {height: 60px;}

    /* scroll */
    .scrolled #header_wrap {background-color: rgba(0,0,0,.85); border-bottom-color: rgba(255,255,255,.15);}

     #header_wrap .hidden_nav{display: none !important;}

}
