/*Content CSS*/
#header_wrap { position:absolute; left:0; top:0; width:100%; height:90px; 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,.2);}
/* #header_wrap.sub {position: absolute;} */
#header_wrap #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; }
#header #logo { position: relative; display: flex; justify-content: center; align-items: center; padding:0; z-index: 2; }
#header #logo a { display:block; width:174px; height: 47px; transition: all .3s ease; background: url('../img/logo_w.png?v=230404') no-repeat; }
#header .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width:1900px;
height:100%; margin:0 auto; z-index: 10; padding:0 290px 0 60px; }

#top_nav { display: flex; height: 100%; }
#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:60px; 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:18px; height: 100%; color:#fff; font-weight:500; word-break: keep-all; }
/* #top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -1px; left:50%; transform:translateX(-50%); width: 0; height: 3px;
background-color:#53b1d4; -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:80px; } */
/* #top_nav .gnb > li > a.active::after { width:80px; background-color: #53b1d4; } */

/*child_menu*/
#top_nav .gnb .snb { display: none; position: absolute; left:50%; transform:translateX(-50%); top:90px;  z-index:2; text-align: center; list-style:none;
box-shadow: 2.9px 4px 31px 1px rgba(8, 20, 41, 0.2); background: #fff; padding:10px 25px;  border-radius: 5px; min-width: 200px;}
#top_nav .gnb .snb::before {content: ''; display: block; width: 23px; height: 14px; position: absolute; top:-14px; background: url('../img/snb_tri.png') no-repeat;
 left:50%; transform:translateX(-50%); transition: all .4s;  }

#top_nav .gnb .snb li a { display: block; text-align: center; font-weight: 400; padding:13px 20px; line-height: 1.2; white-space: nowrap; font-size:16px; color:#666; transition: all .3s ease; border-bottom: 1px solid #ddd; }
#top_nav .gnb .snb li:last-child a {border-bottom: 0;}
#top_nav .gnb .snb li a:hover { color:#53b1d4; }
/* #top_nav .gnb .snb li a.active { color:#000; } */

#h_right_btn {display: flex; align-items: center; }
/* hidden_nav */
.menu_slider_btn { position: relative; cursor: pointer; width: 30px; display: flex; flex-wrap:wrap;}
.menu_slider_btn span { display: block;  width: 30px; height: 2px; background: #fff; transition: all .3s ease; }
.menu_slider_btn span:nth-child(n+2) {margin-top: 5px; }

#header_wrap .select_lang {display: flex; height: 100%; background: #53b1d4; position: absolute; right: 0; top:0; width: 230px; z-index: 11;
justify-content: center; align-items: center; }
#header_wrap .select_lang button {display: flex; justify-content: center; align-items: center; font-size: 17px; font-weight: 500; letter-spacing: -.3px; color:#fff;
text-transform: uppercase; cursor: pointer; line-height: 1; width: 100%; height: 100%; }
#header_wrap .select_lang button span {display: block; margin:0 10px 0 20px;}
#header_wrap .select_lang ul {display: none; position: absolute; left: 0; top:100%; width: 100%; background: rgba(0,0,0,.7);  text-align: center;
padding: 10px 30px; }
#header_wrap .select_lang li a {font-size: 15px; font-weight: 500; color:#fff; text-transform: uppercase; transition: all .3s ease; width: 100%;
padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.4); display: block; }
#header_wrap .select_lang li a:hover {color:#53b1d4;}
#header_wrap .select_lang li:last-child a {border-bottom: 0;}


.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: -640px; width: 640px; height: 100vh; padding:120px 70px 0 70px; background: #fbfbfb; z-index: 10000; }

.h_lm { position: relative; margin-bottom:50px; }
.h_lm > a { display: block; position: relative; font-size:32px; font-weight: 700; color:rgba(0,0,0,.5) !important; transition: all .3s ease; max-width:240px;}
.h_lm > a:hover,
.h_lm > a.active { color:rgba(0,0,0,1) !important;}

.h_snb { display: none; position: absolute; left:230px; top:5px; z-index: 2;}
.h_snb li { margin-bottom:20px; }
.h_snb li a { font-size:20px; font-weight: 400; 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 #53b1d4; color:#53b1d4;}

.menu_slider_btn2 { display: block; position: absolute; right:60px; top:80px; cursor: pointer; transform: translate(-50%, -50%); }
.menu_slider_btn2 span { display: block; width: 25px; height: 2px; border-radius: 3px; background:#53b1d4; }
.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); }

/* scroll header */
/* .scrolled #header_wrap #header #logo a {background-image: url('../img/logo.png');} */


@media screen and (max-width: 1740px) {
    #header_wrap {height: 80px;}
    #header #logo a {width: 140px; height: 35px; background-size: contain; background-position: 50%;}
    #top_nav .gnb > li {margin-right: 50px; }
    #top_nav .gnb .snb  {top:80px;}

}

@media screen and (max-width: 1420px) {
    #header .header-inner { padding:0 230px 0 50px; }

    #top_nav .gnb > li {margin-right: 40px; }
    #top_nav .gnb > li > a {font-size: 16px;}
    #top_nav .gnb .snb li a {font-size: 14px; }

    #header_wrap .select_lang {width: 180px; }
    #header_wrap .select_lang button {font-size: 15px; }
    #header_wrap .select_lang li a {font-size: 14px;}

}

@media screen and (max-width: 1024px) {
    #top_nav .gnb { display: none; }
    .menu_slider_btn { display: none; }
    #header_wrap .select_lang {display: none;}
    #header_wrap.sub {position: fixed;}

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

    #header_wrap { height: 60px; position:fixed; }
    .scrolled #header_wrap {background-color:rgba(0,0,0,.7);}
    #header #logo a { width:133px; height:28px;   }
    /* #header #logo a img { max-width: 100%; } */

}
