/*Content CSS*/
#header_wrap { position:absolute; left:0;width:100%; height:100px; z-index:57; background: white; -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,.2);}
#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; }
#logo { position: relative; display: flex; justify-content: center; align-items: flex-start; z-index: 2;  }
#logo a { display:block;width: 420px;
    height: 81px; transition: all .3s ease; background: url('../img/log1.png') no-repeat; }
#header .header-inner { 
    position: relative; display: flex; justify-content:space-between; align-items: center; max-width: 90%; height:100%; margin:0 auto; z-index: 10;}

#top_nav { display: flex; height: 100%; }
#top_nav .gnb { list-style:none; display: flex; justify-content: flex-end; padding:0; height: 100%; margin-right:35px;}
#top_nav .gnb > li { position: relative; display:block; width:auto; text-align:center; 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 {     text-decoration: none; display: flex; align-items: center; font-size:22px; height: 100%; color:#061848; font-weight:400; word-break: keep-all; transition: all .3s;
justify-content: center;  padding: 0 25px; }
/* #top_nav .gnb > li > a:hover {background-color: rgba(59,30,136,.9);}
#top_nav .gnb > li.active > a {background-color: rgba(59,30,136,.9);} */

/*#top_nav .gnb > li > a::before{
        content: "";
    position: absolute;
    /* bottom: -1px; */
    right: 50%;
    transform: translateX(-50%);
    width: 3;
    height: 5px;
    background-color: #0087ca;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -ms-transition: all 0.4s;
    transition: all 0.4s;
}
*/

#top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -1px; left:50%; transform:translateX(-50%); width: 0; height:5px;
background-color:#0087ca; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -o-transition: all 0.4s; -ms-transition: all 0.4s; transition: all 0.4s;}
#top_nav .gnb > li > a:hover::after,
#top_nav .gnb > li.active > a::after { width:100%; }
/* #top_nav .gnb > li > a.active::after { width:84px; background-color: #ef3f35; } */

/*child_menu*/
#top_nav .gnb .snb { display: none; position: absolute; left:50%; transform:translateX(-50%); top:99px;  z-index:2; text-align: center; list-style:none;
width: 100%; }
/* #top_nav .gnb .snb::before {content: ''; display: block; width: 23px; height: 14px; position: absolute; top:-13px; background: url('../img/snb_tri.png') no-repeat;
 left:50%; transform:translateX(-50%); transition: all .4s;  } */

#top_nav .gnb .snb li:first-child a { border-top:1px solid rgba(222,222,222,.2);}
#top_nav .gnb .snb li a { text-decoration: none;display: block; text-align: center; font-weight: 400; padding:12px 5px; line-height: 1.2; word-break: keep-all; font-size:16px; color:rgba(255,255,255,1); transition: all .3s ease; background: rgba(0,0,0,.65); line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,.15); }
#top_nav .gnb .snb li:last-child a {border-bottom: 0; border-radius: 0 0 20px 0;}
#top_nav .gnb .snb li a:hover { color:;}
/* #top_nav .gnb .snb li a.active { color:#000; } */

#h_right_btn {display: flex; align-items: center;  cursor: pointer;}
/* hidden_nav */
#header_wrap .menu_slider_btn { position: relative; width:30px; height: 19px; display: flex; flex-direction: column; background:url("../img/menu_btn.png") 50%/contain no-repeat;  }
/* #header_wrap .menu_slider_btn span { display: block;  width: 100%; height: 2px; background: #fff; transition: all .3s ease; }
#header_wrap .menu_slider_btn span:nth-child(n+2) {margin-top: 5px; } */

#header_wrap .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; }
#header_wrap .hidden_nav { position:fixed; top:0; right: -450px; width: 450px; height: 100vh; padding:60px 50px 50px 50px; background: #fbfbfb; z-index: 10000;
overflow-y: auto;}
#header_wrap .hidden_nav::-webkit-scrollbar {
    width: 6px;
}
#header_wrap .hidden_nav::-webkit-scrollbar-thumb {
    background-color: #cfd6df;
    border-radius: 10px;
    /* height: 15px; */
}
#header_wrap .hidden_nav::-webkit-scrollbar-track {
    background-color: rgba(166,185,211,.2);
}

#header_wrap .h_lm { position: relative; margin-bottom:30px; padding-bottom:30px; border-bottom: 1px solid #ddd; }
#header_wrap .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; }
#header_wrap .h_lm:last-child {border-bottom: 0; padding-bottom: 0; margin-bottom:0;}

#header_wrap .h_snb {margin-top: 20px;}
#header_wrap .h_snb li { margin-bottom:10px; }
#header_wrap .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; }
#header_wrap .h_snb li a:hover { padding:2px 15px; border-bottom:2px solid #ef3f35; color:#ef3f35;}

#header_wrap .menu_slider_btn2 { display: block; position: absolute; right:30px; top:50px; cursor: pointer; transform: translate(-50%, -50%); width:35px; height: 35px;
display: flex; flex-direction: column; justify-content: center; z-index: 2; align-items: center;}
#header_wrap .menu_slider_btn2 span { display: block; width: 25px; height: 2px; border-radius: 3px; background:#ef3f35; }
#header_wrap .menu_slider_btn2 span:nth-child(1) { margin:0; transform: rotate(45deg);}
#header_wrap .menu_slider_btn2 span:nth-child(2) { display: none; transform: rotate(45deg); }
#header_wrap .menu_slider_btn2 span:nth-child(3) { margin-top: -2px; transform: rotate(135deg); }

/* scroll header */
/* .scrolled #header_wrap #header #logo a {background-image: url('../img/logo.png');} */





@media screen and (max-width: 1740px) {

}

@media screen and (max-width: 1400px) {
    /* #logo a {width: 300px; background-size: contain; background-position:left center; } */
    /* #top_nav .gnb > li {margin-right:40px; } */
    #top_nav .gnb {margin-right:25px; }
    #top_nav .gnb > li > a {font-size: 18px; padding: 0 20px;}
    #top_nav .gnb .snb li a {font-size: 14px;}

}

@media screen and (max-width: 1024px) {
    #top_nav .gnb { display: none; }
    #header_wrap .menu_slider_btn { display: none; }
    #logo {display: flex; }
    #logo a {height:40px; background-size: contain; background-position: center;}

    #header .header-inner { justify-content: center; padding: 0 20px; }

    #header_wrap { height: 60px; position:fixed; }
    .scrolled #header_wrap { background: rgba(0,0,0,.8); }

}
