/*Content CSS*/
#header_wrap { position:absolute; left:0; top:0; width:100%; z-index:57; background: transparent; -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease; transition: all .3s ease; border-bottom: 1px solid rgba(255,255,255,.15); height:90px; }
#header_wrap .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width:1820px; width: 100%;
height:100%; margin:0 auto; z-index: 10; padding:0 60px; }

#header { position: relative; height: 100%; width: 100%; max-width: 100%;  z-index:6; -webkit-transition:all .3s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease; -o-transition: all .3s ease;transition: all .3s ease; }
.sub #header {border-bottom-color: #ddd;}
#logo { position: relative; display: flex; justify-content: center; align-items: center; padding:0; z-index: 2; }
#logo a { display:block; width:227px; height: 45px; transition: all .3s ease; background: url('../img/logo_w.png') 50%/contain no-repeat; }


#top_nav { display: flex; height: 100%; align-items: center;}
#top_nav .gnb { list-style:none; display: flex; justify-content: flex-end; padding:0; height: 100%; }
#top_nav .gnb > li { position: relative; display:block; width:auto; text-align:center; margin-right:80px; height: 100%; }
#top_nav .gnb > li:last-child { margin-right:0;}
#top_nav .gnb > li { -webkit-transition: all .4s ease; -moz-transition: all .3s ease; -ms-transition: all .3s ease;
    -o-transition: all .3s ease; transition: all .3s ease; height:100%; }
#top_nav .gnb > li > a { display: flex; align-items: center; font-size:20px; height: 100%; color:#fff; font-weight:400; word-break: keep-all; transition: color .3s; }
#top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -1px; left:50%; transform:translateX(-50%); width: 0; height: 2px;
background-color:#0055a2; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.4s; -ms-transition: all 0.3s; transition: all 0.3s;}
#top_nav .gnb > li > a:hover::after,
#top_nav .gnb > li.active > a::after { width:100px; }
/* #top_nav .gnb > li > a.active::after { width:80px; background-color: #0055a2; } */

/*child_menu*/
#top_nav .gnb .snb { display: none; position: absolute; left:50%; transform:translateX(-50%); top:90px; height:70px; z-index:2; text-align: center; flex-wrap:nowrap; list-style:none; }
/* #top_nav .gnb > li:last-child .snb {transform: translateX(-75%); } */
#top_nav .gnb .snb li a { display: flex; align-items: center; text-align: left; font-weight: 300; padding:0 30px; letter-spacing: -.4px;
white-space: nowrap; font-size:16px; height:70px; color:#333; transition: all .3s ease; }
#top_nav .gnb .snb li a:hover { color:#0055a2; }
#top_nav .gnb .snb li a.active { color:#000; }

.snb_bg { display: none; position: absolute; left:0; right:0; top:89px; height: 70px; background-color:#fff;  z-index: -1; border-top:1px solid #ddd; }

/* hidden_nav */
#hd_right {display: flex; align-items: center; height: 100%; }
/* lang */
#hd_lang {display: flex; height: 30px; width: 100px;  justify-content: center; align-items: center; margin-right: 25px; position: relative; }
#hd_lang button {display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: 300; color:#fff; cursor: pointer;  width: 100%; height: 100%;  position: relative; z-index: 2; background-color: transparent; transition: all .3s; border-radius: 15px; border:1px solid #fff; }
#hd_lang button span {display: block; margin:0 13px 0 8px; padding-bottom: 2px;}
#hd_lang button i {display: block; transition: background-image .3s; }
#hd_lang button .lang_icon {width: 13px; height: 13px; background:url("../img/lang_icon_w.png") 50%/contain no-repeat;}
#hd_lang button .lang_tri {width: 6px; height: 5px; background:url("../img/lang_tri_w.png") 50%/contain no-repeat;}
#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;}


.menu_slider_btn { position: relative; cursor: pointer; width: 35px; display: flex; flex-wrap:wrap;}
.menu_slider_btn span { display: block;  width: 100%; height: 2px; background: #fff; transition: all .3s ease; }
.menu_slider_btn span:nth-child(n+2) {margin-top: 7px; }
.menu_slider_btn span:nth-child(3) {width: 50%; margin-left: 50%; }


.hidden_nav_box { display: none; position: fixed; top: 0; bottom:0; right:0; left: 0; background: rgba(0,0,0,0.7); z-index: 9999; }
.hidden_nav { position:fixed; top:0; right: -450px; width: 450px; height: 100vh; padding:80px 50px 0 50px; background: #fbfbfb; z-index: 10000; }

.h_lm { position: relative; margin-bottom:30px; padding-bottom:30px; border-bottom: 1px solid #ddd; }
.h_lm > a { display: inline-block; position: relative; font-size:26px; font-weight: 600; color:rgba(0,0,0,1) !important; transition: all .3s ease; }
/* .h_lm > a:hover,
.h_lm > a.active { color:#000 !important;} */
.h_lm:last-child {border-bottom: 0; padding-bottom: 0; margin-bottom:0;}

.h_snb {margin-top: 20px;}
.h_snb li { margin-bottom:10px; }
.h_snb li a { font-size:17px; font-weight: 300; color:#707070; transition: all .3s ease; border-bottom:2px solid transparent; padding:2px 0;
white-space: nowrap; }
.h_snb li a:hover { padding:2px 15px; border-bottom:2px solid #0055a2; color:#0055a2;}

.menu_slider_btn2 { display: block; position: absolute; right:50px; top:50px; cursor: pointer; transform: translate(-50%, -50%); }
.menu_slider_btn2 span { display: block; width: 25px; height: 2px; border-radius: 3px; background:#0055a2; }
.menu_slider_btn2 span:nth-child(1) { margin:0; transform: rotate(45deg);}
.menu_slider_btn2 span:nth-child(2) { display: none; transform: rotate(45deg); }
.menu_slider_btn2 span:nth-child(3) { margin-top: -2px; transform: rotate(135deg); }

/* hover */
@media screen and (min-width: 1025px) {
    #header_wrap:hover {background-color: #fff; border-bottom-color: #ddd;}
    #header_wrap:hover #logo a {background-image: url('../img/logo.png');}
    #header_wrap:hover #top_nav .gnb > li > a {color: #2b2d33;}
    #header_wrap:hover .menu_slider_btn span {background-color: #000;}
    #header_wrap:hover .menu_slider_btn span:nth-child(3) {background-color: #0055a2; }
    #header_wrap:hover #hd_lang button {background-color: #fff; border-color: #ddd; color:#000; }
    #header_wrap:hover #hd_lang button .lang_icon {background-image: url('../img/lang_icon.png');}
    #header_wrap:hover #hd_lang button .lang_tri {background-image: url('../img/lang_tri.png');}
}

@media screen and (max-width: 1500px) {
    #header .header-inner { padding:0 20px; }
    #logo a {background-position:0 center; width: 250px; }

    #top_nav .gnb > li { margin-right: 30px; }
    #top_nav .gnb > li > a { font-size: 16px; }
    #top_nav .gnb .snb li a {padding:0 10px; letter-spacing: -.5px; font-size: 14px;}

}

@media screen and (max-width: 1200px) {
    #logo a {width: 170px;}
}

@media screen and (max-width: 1024px) {
    #top_nav .gnb { display: none; }
    #hd_right { display: none; }
    #logo a {background-position: center; width: 150px;}

    #header .header-inner { justify-content: center; padding: 0 20px; }

    #header_wrap { height: 60px; position:fixed; }
    .scrolled #header_wrap {background-color: #fff; border-bottom-color: #ddd; }
    .scrolled #header_wrap #logo a {background-image: url('../img/logo.png');}

}
