
/*Content CSS*/
#header_wrap { position:absolute; left:0; top:0; width:100%; height:150px; z-index:57; background: #fff;
    -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); }

/* 헤더 상단 */
#hd_top_wrap { position:relative; max-width: 1540px; width:100%; padding:0 20px; margin:0 auto; height: 60px; background:#fff; display: flex; justify-content: flex-end; align-items: center; transition: all .3s ease; -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease; }
#hd_top_wrap ul { display: flex; }
#hd_top_wrap ul ~ ul { margin-left: 65px; }

#hd_top_wrap .txt_ul li { position:relative; }
#hd_top_wrap .txt_ul a { position:relative; display: block; font-size: 14px; font-weight: 500; color: #757575; white-space: nowrap; }
#hd_top_wrap .txt_ul a:after { content:""; display: inline-block; width:1px; height: 15px; background:#ddd; margin:-2px 15px; }
#hd_top_wrap .txt_ul li:last-child a:after { display: none; }

#hd_top_wrap .lang_ul { display: flex; }
#hd_top_wrap .lang_ul li { margin-right: 17px; }
#hd_top_wrap .lang_ul li:last-child { margin-right: 0; }
#hd_top_wrap .lang_ul a { display: block; width:33px; height: 33px; background:no-repeat center / 100% auto; transition: all .3s ease; -webkit-transition:all .3s ease;-moz-transition: all .3s ease;-ms-transition: all .3s ease;-o-transition: all .3s ease;}

#hd_top_wrap .lang_ul .btn_en a { background-image:url('../img/lang_en.png'); }
#hd_top_wrap .lang_ul .btn_ch a { background-image:url('../img/lang_ch.png'); }
#hd_top_wrap .lang_ul .btn_vt a { background-image:url('../img/lang_ve.png'); }
#hd_top_wrap .lang_ul .btn_ko a { background-image:url('../img/lang_ko.png'); }
#hd_top_wrap .lang_ul .btn_en.active a,
#hd_top_wrap .lang_ul .btn_en:hover a { background-image:url('../img/lang_en_hv.png'); }
#hd_top_wrap .lang_ul .btn_ch.active a,
#hd_top_wrap .lang_ul .btn_ch:hover a { background-image:url('../img/lang_ch_hv.png'); }
#hd_top_wrap .lang_ul .btn_vt.active a,
#hd_top_wrap .lang_ul .btn_vt:hover a { background-image:url('../img/lang_ve_hv.png'); }
#hd_top_wrap .lang_ul .btn_ko.active a,
#hd_top_wrap .lang_ul .btn_ko:hover a { background-image:url('../img/lang_ko_hv.png'); }


/* 헤더 */
#header_wrap #header { position: relative; height: 90px; 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; background:#fff; border-top: 1px solid rgba(92,134,124,0.2); border-bottom: 1px solid rgba(92,134,124,0.2); }
#header #logo { position: relative; display: flex; justify-content: center; align-items: center; padding:0; z-index: 2; }
#header #logo a { display:block; width: 180px; height: 50px; transition: all .3s ease; background: url('../img/logo.png') no-repeat center; }
#header .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width:1540px;
    height:100%; margin:0 auto; z-index: 10; padding:0 20px; width:100%; }

#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; text-align:center; margin-left:110px; height: 100%; -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:first-child { margin-left:0; }
#top_nav .gnb > li:last-child { margin-right:110px; }
#top_nav .gnb > li > a { display: flex; align-items: center; font-size:17px; height: 100%; color:#678d85; font-weight: 500; transition: all .3s; word-break: keep-all; line-height: 1.2; }
#top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -1px; left:50%; transform:translateX(-50%); width: 0; height: 2px; background-color:#69b9bf; -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:130%; }
#top_nav .gnb > li > a.active { color:#69b9bf; }
#top_nav .gnb > li:hover > a { color:#69b9bf; }


/*child_menu 가운데 정렬 */
#top_nav .gnb .snb { display: none; position: absolute; left:50%; transform:translateX(-50%); top:90px; height:80px; z-index:2;
    text-align: center; flex-wrap:nowrap; list-style:none; }
#top_nav .gnb .snb li a { height: 80px; display: flex; align-items: center; text-align: left; font-weight: 300; margin-right:70px;
font-size:16px; color:#678d85; transition: all .3s ease;  white-space: nowrap; letter-spacing: -0.4px; }
#top_nav .gnb .snb li:last-child a { margin-right: 0; }
#top_nav .gnb .snb li a.active { color:#333; font-weight: 400; }

/* 1번째 snb 왼쪽 정렬 */
#top_nav .gnb > li:nth-child(1) .snb { width:100%; }

/* 4,5번째 snb 오른쪽 정렬 */
#top_nav .gnb > li:nth-child(4) .snb,
#top_nav .gnb > li:nth-child(5) .snb { width:100%; justify-content: flex-end; left:0; transform: none;  }


.snb_bg { display: none; position: absolute; left:0; right:0; top:150px; height: 80px; background: #f7f7f7; z-index: -1; }


/* hidden_nav */
.menu_slider_btn { display: block; position: relative; padding-top: 35px; cursor: pointer; }
.menu_slider_btn span { display: block;  width: 23px; height: 2px; background: #000;border-radius: 0px; transition: 0.25s margin 0.25s, 0.25s transform; }
.menu_slider_btn span:nth-child(2) {margin: 5px 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:40px; }
.h_lm > a { display: block; position: relative; font-size:25px; font-weight: 500; color:rgba(0,0,0,.5) !important; transition: all .3s ease; max-width:290px; }
.h_lm > a:hover,
.h_lm > a.active { color:rgba(0,0,0,1) !important;}

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

.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:#5db3ba; }
.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); }



@media screen and (max-width: 1800px) {
    #top_nav .gnb .snb li a { margin-right: 45px; }
}

@media screen and (max-width: 1500px) {
    #top_nav .gnb > li { margin-left: 70px; }
    #top_nav .gnb > li:last-child { margin-right: 70px; }
    #top_nav .gnb > li:nth-child(1) .snb { left:0; }
    #top_nav .gnb > li:nth-child(3) .snb { left:0; }

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

@media screen and (max-width: 1150px) {
    #header_wrap { position:fixed; height: 100px; box-shadow:0 0 10px rgb(0 0 0 / 15%); }

    #hd_top_wrap { height: 40px; justify-content: space-between; }
    #hd_top_wrap .lang_ul a { width: 26px; height: 26px; background-size: contain; }
    #hd_top_wrap ul ~ ul { margin-left: 25px; }
    #hd_top_wrap .lang_ul li { margin-right: 10px; }

    #header_wrap #header { position:fixed; height: 60px; border-bottom: 0; }
    #header .header-inner { justify-content: center; }

    #header #logo a { width: 120px; height: 40px; background-size: contain; }
    #top_nav { display: none; }
}

@media screen and (max-width: 767px) {
    #hd_top_wrap .txt_ul a { font-size: 12px; }
    #hd_top_wrap .txt_ul a:after { margin: -2px 10px; }
    #hd_top_wrap .lang_ul a { width: 23px; }
    #hd_top_wrap .lang_ul li { margin-right: 8px; }
}
