@charset "UTF-8";

/********************************************************
■ Header : 헤더 - 기본
********************************************************/
#top { left: 0; position: fixed; right: 0; top: 0; z-index: 10; /* 메뉴높이 */ height:100px; }
.menu-on:before { content:""; position:fixed; left:0; top:0; right:0; bottom:0; background:rgba(0,0,0,.4); z-index:9; }

#top:hover .top-wrap, body.scrolled #top { background:#fff; box-shadow:5px 0 10px #aaa; }

#top .top-wrap { position:relative; height:100%; z-index:3; }
#top .top-wrap .c { position:relative; transition-duration: 200ms; height:100%; display:flex; align-items:center; justify-content: space-between; }

#top .top-wrap .left { width:207px; height:100%; }
#top .top-wrap .left .logo { display:block; height:100%; background: url("../img/logo-white.png") left center/auto 50px no-repeat; transition-duration: 200ms; }

#top:hover .top-wrap .left .logo, body.scrolled #top .top-wrap .left .logo { background-image:url("../img/logo.png"); }


@font-face {
    font-family: 'Hanyoon';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/naverfont_05@1.0/Hanyoon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

#top .top-wrap .txt { position:absolute; left:15px; top:130px; transition-duration:0ms; font-family:"Hanyoon"; font-size:1.4rem; display:none; }
#top .top-wrap .txt .head { font-weight:600; font-size:1.5rem; }


#top .top-wrap .right { position:relative; /*width:200px;*/ width:130px; margin-right:10px; display: flex; align-items: center; transition-duration: 200ms; }
#top .top-wrap .right section { position: relative; margin-right: 30px; }

#top .top-wrap .right .top-search { }
#top .top-wrap .right .top-search .search-btn { display:block; width:25px; height:25px; background:url('../img/top-icon-search.png') no-repeat center/contain; }

#top .top-wrap .top-search-box { display: none; left: 50%; padding: 20px 10px; position: absolute; top: 50%; transform: translate(-50%, -50%); }
#top .top-wrap .top-search-box .wrap { align-items: center; display: flex; height: 100%; justify-content: center; }
#top .top-wrap .top-search-box .wrap form { border: 1px solid #333; display: flex; padding: 7px 8px 8px; width: 300px; }
#top .top-wrap .top-search-box .wrap form .searchbox { background: transparent; border: 0; flex: 1; }
#top .top-wrap .top-search-box .wrap form .searchbox::placeholder { color: #888; }
#top .top-wrap .top-search-box .wrap form .searchbox:focus { outline: none; }
#top .top-wrap .top-search-box .wrap form button { background: transparent; border: 0; color: #666; flex: 0 0 25px; margin-left: 5px; }
#top .top-wrap .top-search-box .wrap form button:focus { outline: none; }
#top .top-wrap .top-search-box .search-close { position:absolute; left:100%; top:35%; padding-left:5px; width:20px; height:20px; }

#top .top-wrap .right .lang { position:absolute; top:-5px; right:0; border:1px solid #fff; color:#fff; border-radius: 20px; transition-duration: 300ms; padding:5px 15px; z-index:9; margin-right:0; display:none; }
#top .top-wrap .right .lang.on { background: #fff; color: #111; }
#top .top-wrap .right .lang .item .fa { margin:0 2.5px; }
#top .top-wrap .right .lang .sub { display: none; padding:10px 5px 5px; }
#top .top-wrap .right .lang .sub a { display: block; padding: 5px 0; color: #fff; }
#top .top-wrap .right .lang.on .sub a { color: #111; }
#top .top-wrap .right .lang .sub img { max-width: 16px; }


#top:hover .top-wrap .top-wrap .right .lang, body.scrolled #top .top-wrap .right .lang { border-color:#333; color:#333; background:#fff; }

#top .top-wrap .right .links { position:relative; padding:20px 0; }
#top .top-wrap .right .links .member-btn { display:block; width:25px; height:25px; background:url('../img/top-icon-login.png') no-repeat center/contain; }
#top .top-wrap .right .links .sub { position:absolute; top:100%; left:50%; transform:translateX(-50%); padding:20px 30px; background:#fff; border:1px solid #ddd; display: none; }
#top .top-wrap .right .links:hover .sub, #top .top-wrap .right .links .sub:hover { display:block; }
#top .top-wrap .right .links .sub:before { content:""; position:absolute; bottom:calc(100% - 10px); left:50%; transform:translateX(-50%) rotate(45deg); width:20px; height:20px; background:#fff; border-left:1px solid #ddd; border-top:1px solid #ddd; }
#top .top-wrap .right .links .sub a { display:block; color:#aaa; padding:5px 0; text-align:center; }

#menu-wrap-bottom-bg { position:absolute; left:0; right:0; top:100%; transition-duration: 500ms; }
body.menu-on #menu-wrap-bottom-bg { background:#fff; transition-duration: 300ms; }


/* 상단 우측 메뉴버튼 */
#top .top-menu-btn { position:absolute; right:15px; top:50%; transform: translateY(-50%); height: 50px; width: 25px; transition-duration: 300ms; }
#top .top-menu-btn div { background: #fff; border-radius: 99px; height: 3px; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); transition: all 0.5s; width: 30px; }
#top .top-menu-btn div:nth-child(1) { margin-top: -8px; }
#top .top-menu-btn div:nth-child(3) { margin-top: 8px; }
#top:hover .top-wrap .top-menu-btn div, body.scrolled #top .top-menu-btn div { background:#111; }

body.m-menu-on #top .top-menu-btn div { margin-top: 0; }
body.m-menu-on #top .top-menu-btn div:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg) scaleX(1.3); }
body.m-menu-on #top .top-menu-btn div:nth-child(2) { opacity: 0; }
body.m-menu-on #top .top-menu-btn div:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1.3); }



/********************************************************
■ Menu : 데스크톱 메뉴
********************************************************/
#menu { transition-duration: 200ms; height:100%; flex:1; margin-left:120px; font-size: 1.125rem; }
#menu .ul { position:relative; width:100%; display: flex; justify-content: space-between; height:100%; z-index:10; }
#menu .ul:after { display:none; }
#menu .ul .li { position: relative; height:100%; flex:none; }
#menu .ul .li .a { display: flex; align-items: center; height:100%; font-weight: 500; z-index:2; color:#fff; }
#menu .ul .li .a span { position:relative; display:inline-block; }
#menu .ul .li .a span:before { content:""; position:absolute; bottom:5px; left:0; right:0; opacity:.8; }
#menu .ul .li .a span:hover:before { height:7px; }
#menu .ul .li .a span font { position:relative; }
#menu .ul .li .a:hover span:before { background:#fff; }
#top:hover .top-wrap #menu .ul .li .a, body.scrolled #menu .ul .li .a { color:#111; }
#top:hover .top-wrap #menu .ul .li .a:hover span:before { background:#111; }

@media (max-width: 1200px) { 	
	#menu { margin-left:80px; }
}

#menu .sub-wrap { position: absolute; top:100%; left:0; transition-duration: 300ms; width:100%; display:none; padding:25px 0; }
#menu .sub-wrap .sub-a { color: #666; display: block; padding: 10px 0; text-align: left; white-space: nowrap; }

#menu .depth2 li { position:relative; transition-duration: 400ms; }

#menu .depth3 { visibility:hidden; opacity:0; position:absolute; top:40px; transition-duration: 0ms; }
#menu .depth3.on { visibility:visible; opacity:1; transition-duration: 200ms; }
#menu .depth3 .sub-a { color:#aaa; padding:5px 0; font-size:.938rem; }
#menu .depth3 .sub-a:before { content:"- "; }


@media (max-width: 1024px) { 
	#menu { display:none; }
}
