/*Content CSS*/
#header_wrap { position:fixed; left:0; top:0; width:100%; height:90px; z-index:57; background: rgba(0,0,0,.22); -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,0);}

#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; }
/* logo */
#logo {transition: all .3s; }
#logo a {display: flex; align-items: center; justify-content: center; position: relative; transition: all .3s; }
#logo a img {transition: all .3s; }
#logo a img + img {opacity: 0; position: absolute; left:50%; top:50%; transform: translate(-50%, -50%); z-index: 2;}

#header .header-inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width:1800px;
height:100%; margin:0 auto; z-index: 10; padding:0 50px; }

#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:85px; 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; justify-content: center;font-size:20px; height: 100%; color:#fff; font-weight:400; word-break: keep-all; white-space: nowrap; font-family:  'Play', 'Pretendard',sans-serif; transition: color .3s;}
#top_nav .gnb > li > a::after { content: ""; position: absolute; bottom: -1px; left:50%; transform:translateX(-50%); width: 0; height: 3px;
background-color:#1556a6; -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:120px; } */


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

.snb_bg { display: none; position: absolute; left:0; right:0; top:90px; height: 70px; background-color:#fff;  z-index: -1; border-top: 1px solid rgba(0,0,0,.15);}


/* hover */
@media screen and (min-width: 1025px) {
    /* scrolled */
    .scrolled #header_wrap {background-color:#fff;  border-bottom-color: #ddd; height: 60px;}
    .scrolled #logo a { height: 30px;}
    .scrolled #logo a img { opacity: 0; height: 22px;}
    .scrolled #logo a img + img {opacity: 1; }
    #top_nav .gnb > li > a {font-size: 18px;}

    .scrolled #top_nav .gnb > li > a {color:#000;}
    .scrolled #top_nav .gnb > li > a:hover {color:#1556a6;}

    #header_wrap:hover {background: #fff;}
    #header_wrap:hover #logo a img  {opacity: 0;}
    #header_wrap:hover #logo a img + img {opacity: 1; }
    #header_wrap:hover #top_nav .gnb > li > a {color:#000;}
    #header_wrap:hover #top_nav .gnb > li > a:hover {color:#1556a6;}
    #header_wrap:hover .menu_slider_btn span {background-color:#000; }

}

/* sub */
#header_wrap.sub {border-bottom-color:#ddd; background: #fff; position: relative;}
#header_wrap.sub .snb_bg  {border-top: 0;}
#header_wrap.sub #logo a img  {opacity: 0;}
#header_wrap.sub #logo a img + img {opacity: 1; }
#header_wrap.sub #top_nav .gnb > li > a {color:#000;}
#header_wrap.sub .menu_slider_btn span {background-color:#000; }



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

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

}

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

    #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 img  {opacity: 0;}
    .scrolled #header_wrap #logo a img + img {opacity: 1; }
    /* .scrolled #header_wrap #logo a {background-image: url('../img/logo.png');} */

}
