/********************************************* header *********************************************/
header .wrapper { padding: 0 5%; margin: 0 auto; position: relative; }
header .nav .nav-icon { display: none; }
header .nav .nav-icon:after, header .nav .nav-icon:before, header .nav .nav-icon div { background-color: #fff; content: ""; display: block; height: 2px; margin: 4px 0; -moz-transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }


header .nav .nav-icon:after, header .nav .nav-icon:before, header .nav .nav-icon div { background-color: #fff}
header .down .nav .nav-icon:after, header .down .nav .nav-icon:before, header .down .nav .nav-icon div { background-color: #1a1a1a; }
header .nav .nav-icon.active:after, header .nav .nav-icon.active:before, header .nav .nav-icon.active div { background-color: #1a1a1a; }
header .nav .nav-icon:before { margin-top: 0; }
header .nav .nav-icon:after { margin-bottom: 0; }
header .nav .nav-icon.active:before { transform: translateY(7px) rotate(135deg); -moz-transform: translateY(7px) rotate(135deg); -webkit-transform: translateY(7px) rotate(135deg); }
header .nav .nav-icon.active:after { transform: translateY(-5px) rotate(-135deg); -moz-transform: translateY(-5px) rotate(-135deg); -webkit-transform: translateY(-5px) rotate(-135deg); }
header .nav .nav-icon.active div { -moz-transform: scale(0); -webkit-transform: scale(0); transform: scale(0); }

.header-area { width: 100%; height: 100px; display: flex; flex-wrap: nowrap; align-items: center;  transition: all 0.3s ease;  linear; position: fixed; top: 0; z-index: 99; border-bottom: 1px solid rgba(255, 255, 255, .3) }
.header-area .flex-layout { position: relative; display: flex; flex-wrap: wrap; }
.header-area .logo, .header-area .nav, .header-area .header-right { flex-shrink: 0; }
.header-area .nav { flex: 1; display: flex; justify-content: center; }
.main .header-area .logo a { display: block; position: relative; width: 180px; height: 56px; background: url(../img/logo_w.png); background-repeat: no-repeat; background-size: 80%; }
.main .header-area .navbar > li > a { color: #fff}
.header-area .logo img { width: 166px; vertical-align: top; }
.header-area.up { top: 0px; background-color: #000; }
.header-area.on.up { top: 15px; position: absolute; }
.header-area.down { position: fixed; background-color: #fff; }
.header-area.up:before { height: 0; }
.header-area.down .logo a img { opacity: 0; }
.header-area .wrapper { width: 100%; margin: 0 auto; }
.header-area .navbar { height: 100%; }
.header-area .navbar:hover .sub-menu { opacity: 1; visibility: visible; }
.header-area.active .navbar > li > a { color: #1a1a1a; }
.header-area.active .mailgo a { color: #1a1a1a; border: 1px solid #ddd; }


/* 메뉴 호버 시 스타일 (.header-area.on) */
.header-area.on { background: #fff; border-bottom: 1px solid #e4e4e4; transition: all 0.4s ease;}
.header-area.on .logo { position: absolute; left: 0; z-index: 100; }
.header-area.on .logo a { background: url(../img/logo.png) no-repeat; background-size: 80%; }
.header-area.on .logo a img { opacity: 0; background: none; }
.header-area.on .navbar > li > a { color: #1a1a1a; }
.header-area.on .navbar > li > a:hover { color: #4486d8; text-decoration: underline; }
.header-area.on .mailgo a { color: #1a1a1a; border: 1px solid #ddd; }
.header-area.on .mailgo .login { padding: 0; }
.header-area.on .mailgo .login a { background: #000; padding: 14px 26px; border-radius: 50px; color: #fff; }
.header-area.on .mailgo .t_mall { display: none; }

.header-area.on .map_btn { margin-top: 34px; }
.header-area.on .map_btn span { background-color: #000; }
.header-area.on .map_btn span:before { background-color: #000; top: -9px; }
.header-area.on .map_btn span:after { background-color: #000; top: 9px; }
.header-area.on #map_btn span > li > a { color: #1a1a1a; }
.header-area.on #map_btn span:before, #map_btn span:after > li > a { color: #1a1a1a; }

/* 스크롤 시 스타일 (.header-area.down) */
.header-area.down .mailgo .t_mall { padding: 0; }
.header-area.down .mailgo .login { padding: 0; }
.header-area.down .mailgo .t_mall a { background: rgba(255, 255, 255, 0.2); padding: 14px 26px; border-radius: 50px; }
.header-area.down .mailgo .login a { background: rgba(255, 255, 255, 0.2); padding: 14px 26px; border-radius: 50px; }
.header-area.down .mailgo a { color: #1a1a1a; border: 1px solid #ddd; }
.header-area.down .navbar > li > a { color: #1a1a1a; }
.header-area.down .navbar > li:hover > a { color: #4486d8; }
.header-area.down .map_btn span { background-color: #000; }
.header-area.down .map_btn span:before { background-color: #000; top: -9px; }
.header-area.down .map_btn span:after { top: 9px; display: block; content: ""; position: absolute; width: 100%; height: 2px; background: #000; transition: all .2s; }
.header-area.down .header-area .mailgo .t_mall { padding: 0; }

/* 스크롤 시 헤더 스타일 (.scrolled) */
.scrolled .header-area .mailgo .t_mall {background: #000; color: #fff; border-radius: 50px; text-indent: 0;padding: 0;}
.scrolled .header-area .mailgo .login a {background: #000; padding: 14px 26px; border-radius: 50px;color: #fff; display: flex; align-items: center; text-decoration: none;text-transform: uppercase;font-size: 14px; font-weight: 600;}
.scrolled .header-area { background-color: #fff; border-bottom: 1px solid #ddd; }
.scrolled .header-area .navbar > li a { color: #1a1a1a; }
.scrolled .header-area .logo a { background: url(../img/logo.png); background-repeat: no-repeat; background-size: 80%; }
.scrolled .header-right .mailgo .map_btn span, .scrolled .header-right .mailgo .map_btn span:before, .scrolled .header-right .mailgo .map_btn span:after { background: #000; }
.scrolled header .nav .nav-icon:before, .scrolled header .nav .nav-icon div, .scrolled header .nav .nav-icon:after { background-color: #333; }



/* Mailgo 기본 스타일 */
.header-area .mailgo { color: #fff; display: flex; padding-left: 20px; }
.header-area .mailgo.mobile { display: none; }
.header-area .mailgo a { display: flex; flex-wrap: nowrap; align-items: center; text-transform: uppercase; font-size: 14px; font-weight: 600; color: #fff; }
.header-area .mailgo a i { margin-left: 10px; }
.header-area .mailgo .login { background: rgba(255, 255, 255, 0.2); border-radius: 50px; padding: 0; }
.header-area .mailgo .login a { padding: 14px 26px; color: #fff; display: flex; align-items: center; text-decoration: none; text-transform: uppercase; font-size: 14px; font-weight: 600; }
.header-area .mailgo .t_mall { border-radius: 50px; text-indent: 0; padding: 0; background: rgba(255, 255, 255, 0.2); }
.header-area .mailgo .t_mall a { padding: 14px 26px; color: #fff; display: flex; align-items: center; text-decoration: none; text-transform: uppercase; font-size: 14px; font-weight: 600; }

/* Map Button */
.map_btn { z-index: 101; cursor: pointer; padding: 0 50px; font-weight: 600; font-size: 18px; line-height: 1.16; margin-top: 19px; transition: none; }
.map_btn span { display: block; position: relative; width: 25px; height: 2px; margin: auto; background: #fff; transition: all .2s; }
.map_btn span:before { display: block; content: ""; position: absolute; top: -9px; width: 100%; height: 2px; background: #fff; transition: all .2s; }
.map_btn span:after { top: 9px; display: block; content: ""; position: absolute; width: 100%; height: 2px; background: #fff; transition: all .2s; }
.map_btn.active { position: fixed; }
.map_btn.active span { border: none; background: transparent; }
.map_btn.active span:before { top: 0; transform: rotate(45deg); background: #fff; }
.map_btn.active span:after { top: 0; transform: rotate(-45deg); background: #fff; }

/* Sub page styles */

.header-area .logo a { display: block; position: relative; width: 180px; height: 56px; background: url(../img/logo.png); background-repeat: no-repeat; background-size: 80%; }
.header-area .mailgo .t_mall { background: #000; color: #fff; border-radius: 50px; text-indent: 0; padding: 0; }
.header-area .mailgo .t_mall a { padding: 14px 26px; color: #fff; display: flex; align-items: center; }
.header-area .mailgo .login { background: #000; color: #fff; border-radius: 50px; padding: 0; }
.header-area .mailgo .login a { padding: 14px 26px; color: #fff; display: flex; align-items: center; }
header .nav .nav-icon:after, header .nav .nav-icon:before, header .nav .nav-icon div { background-color: #333}




/* Common styles */
.max-inner { max-width: 1600px; width: 100%; padding: 0 20px; margin: 0 auto; }
.sec-title p.sub-tit { font-size: 18px; color: #0460d9; font-weight: 600; margin-bottom: 20px; }
.max-inner .top-desc { font-size: 24px; font-weight: 700; max-width: 830px; word-break: keep-all; padding: 28px 0; line-height: 1.4; }
.download-button { margin: 50px 0 0; }
.download-button a { display: inline-block; padding: 20px 50px; background: #0460d9; color: #fff; }
.download-button a img { margin-left: 20px; }
.section-wrap { overflow-y: auto; height: 100vh; }

#login-box { display: flex; align-items: center;  }
#login-box a { margin-left: 15px; text-decoration: none; color: #fff; padding: 14px 26px; background-color: #242424; border-radius: 50px; text-align: center; width: 100px; }


/********************************************* RESPONSIVE *********************************************/

@media (max-width: 1200px) {
    #map_btn { display: none; }   
    .header-area .header-right { padding: 0 10px; }
    .header-area .logo img { width: 140px; }
}

@media (min-width: 1200px) {
    header .wrapper { padding: 0 50px; }
    .header-area .navbar > li > a { padding-bottom: 30px; color: #333; }
    .header-area .flex-layout { justify-content: space-between; align-items: center; }
    .header-area .nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
    .header-area .nav .children { display: none; }
    .header-area .navbar { display: flex; flex-wrap: nowrap; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
    .header-area .navbar > li { position: relative; color: #fff; padding: 0 30px; font-weight: 600; font-size: 17px; line-height: 1.16; white-space: nowrap; }
    .header-area .navbar > .login { color: #fff; font-size: 14px; font-weight: 400; }
    .header-area .logo img { width: 136px; }
    .navbar .sub-menu {opacity: 0;height: 400px;visibility: hidden;transition: all ease 0.3s;transform: translateY(-10px);position: absolute;left: 50%;transform: translateX(-50%) translateY(10px);width: auto;padding: 60px 50px 30px 50px;color: #fff;font-weight: 500; text-align: center;letter-spacing: -0.5px;}
    .navbar .sub-menu li { opacity: 0.7; white-space: nowrap; }
    .navbar .sub-menu li:hover { opacity: 1; }
    .navbar .sub-menu li:hover > a { text-decoration: underline; }
    .navbar .sub-menu li:last-child { margin-bottom: 0; }
    .navbar .sub-menu li a { color: #666; opacity: 1; line-height: 45px; }
    .header-area .navbar .menu > ul { display: flex; flex-wrap: nowrap; align-items: center; }
    .header-area .navbar .menu > ul > li { margin-right: 30px; }
    .nav-bg { width: 100%; height: 480px; position: absolute; top: 100px; left: 0; background-color: #fff; z-index: -1; opacity: 0; visibility: hidden; transition: all 0.3s ease; transform: translateY(-10px); }
    .nav-bg.on { opacity: 1; visibility: visible; transform: translateY(0);}
    .sub .header-area .navbar > li a { color: #333; }
}

@media (min-width: 1700px) {
    .header-area.on .mailgo .t_mall { padding: 0; display: block; }
    .header-area.on .mailgo .t_mall a { background: #000; padding: 14px 26px; border-radius: 50px; color: #fff; }
    .header-area .navbar > li { padding: 0 50px; font-size: 18px; }
    .navbar .sub-menu { font-size: 17px; }
    .header-area .logo img { width: 166px; } 
    .header-area .mailgo .t_mall { background: rgba(255, 255, 255, 0.2); border-radius: 50px; text-indent: 0; padding: 0; }
    .header-area .mailgo .t_mall a { padding: 14px 26px; display: flex; align-items: center; }
}

@media (min-width: 1750px) {
    .header-area .mailgo .t_mall { padding: 0; margin-right: 20px; }
    .header-area .mailgo .t_mall a { padding: 14px 26px; }
}
    
@media (max-width: 1199px) {
    .header-area { background: transparent; height: 70px; }
    .header-area > .wrapper { height: 70px; }
    .header-area .flex-layout { height: 100%; align-items: center; margin-top: 5px; }
    .header-area .logo { margin-top: 10px; }
    .header-area .logo a { display: flex; flex-wrap: nowrap; align-items: center; }
    .header-area .sitemap-bt { display: none; }
	#login-box { display: none}
    .header-area .mailgo.desktop { display: none; }
    .header-area .mailgo.mobile { display: block; margin: 5%; }
    .header-area .mailgo.mobile ul { display: flex; flex-wrap: nowrap; align-items: center; text-transform: uppercase; }
    .header-area .mailgo.mobile ul li { color: #cccccc; }
    .header-area .mailgo.mobile ul li:last-child { display: flex; flex-wrap: nowrap; align-items: center; }
    .header-area .mailgo a { display: flex; flex-wrap: nowrap; align-items: center; text-transform: uppercase; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.3); padding: 14px 26px; border-radius: 50px; color: #fff; border: 1px solid #ddd; }
    .header-area .navbar { position: fixed; width: 100%; height: 100%; top: 0; right: 0; opacity: 0; visibility: hidden; padding: 100px 0 100px; overflow-y: scroll; background: #fff; z-index: 99; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease; margin: 0; }
    .header-area .navbar.active { opacity: 1; visibility: visible; overflow-x: hidden; }
    .header-area .navbar > li { display: block; text-align: left; margin: 0; font-weight: 700; color: #111; }
    .header-area .navbar > li:first-child { margin-top: 32px; }
    .header-area .navbar > li:nth-last-child(1), .header-area .navbar > li:nth-last-child(2) { border-bottom: 0; }
    .header-area .navbar > li.current_page_item { color: #0460d9; }
    .header-area .navbar > li.active > a { color: #0460d9; }
    .header-area .navbar > li.active > a span { position: relative; }
    .header-area .navbar > li.active > a span::after { width: calc(100% + 12px); transition: width 0.3s; }
    .header-area .navbar > li > a { padding: 18px 5%; line-height: normal; display: block; font-size: 24px; position: relative; color: #111; cursor: pointer; }
    .header-area .navbar > li > a span::after { content: ""; background-color: #3e93f2; border-radius: 20px; width: calc(100% + 12px); height: 8px; position: absolute; bottom: -1px; left: -4px; z-index: -1; width: 0; }
    .header-area .navbar > li.sub-dropdown { padding-bottom: 0; }
    .header-area .navbar > li.sub-dropdown > a:before { font-family: xeicon !important; width: 24px; height: 24px; position: absolute; right: 5%; top: 50%; transform: translateY(-50%); background-size: contain; content: "\e941"; transition: all 0.3s; }
    .header-area .navbar > li.active.sub-dropdown > a:before { transform: translateY(-50%) rotate(-180deg); }
    .header-area .navbar > li > .sub-menu { display: none; padding: 30px 5%; position: relative; }
    .header-area .navbar > li > .sub-menu::before { content: ""; background: #f5f5f5; width: 105%; height: 100%; position: absolute; z-index: -1; top: 0; left: -5%; }
    .header-area .navbar > li .sub-menu li { font-size: 18px; line-height: 1.18; color: #474747; font-weight: 400; margin-bottom: 14px; }
    .header-area .navbar > li .sub-menu li a { display: block; }
    .header-area .navbar > li .sub-menu li:hover { color: #0460d9; font-weight: 700; }
    .header-area .navbar > li .sub-menu li:last-child { margin-bottom: 0; }
    .header-area.down .logo { position: relative; z-index: 100; display: flex; align-items: center; }
    header .nav .nav-icon { display: inline-block; width: 24px; cursor: pointer; position: absolute; top: 50%; right: 0; z-index: 100; transform: translateY(-50%); -webkit-transform: translateY(-50%); }
    header .nav .nav-icon div { width: 24px; position: relative; right: 0; }
    .header-area .navbar > li > a, .header-area .navbar > li.sub-dropdown > a, .header-area .navbar > li.active > a, .header-area .navbar > li.sub-dropdown.active > a { cursor: pointer; }

    .header-area.on #login-box {display: flex; z-index: 99;}
}

@media (max-width: 768px) {
    .header-area.down { top: 0; }
    .header-area .logo { width: 170px; }
    .header-area.on .logo a { background: url(../img/logo.png) no-repeat; background-size: 70%; }
    .header-area.on .logo a::after { background-size: 70%; margin-top: 20px; }
    .header-area .flex-layout { height: 100%; align-items: center; margin-top: 0px; }
    .header-area .navbar > li { padding: 0 30px; }
    .header-area .navbar > li > a { font-size: 1.25rem; }
    .header-area .nav-icon { display: block; }
    .header-area .header-right { padding: 0 20px; }
    header .nav .navbar { padding: 80px 0; }
    
    #login-box {margin-right: 60px;}
    #login-box a {margin-left:5px; background-color: inherit; color: #333; padding: 0;}
}