@charset "utf-8";

body {position: relative; color: #727489; background: #0d0e1b;}

/****************************************************************************************************************************************
header 시작
*****************************************************************************************************************************************/
header {position: fixed; top: 0; left: 0; z-index: 1000; display: block; width: 100%; background:none;}
.hd-inner {position: relative; margin: 0 auto; width: 1200px; height: 159px; overflow: hidden;}

.hd-shapeBox {position: absolute; left: 50px; top: 0; bottom:0px; right: 50px; background: #090a14; border-bottom: 1px solid #727489;}
.hd-shapeBox::before,
.hd-shapeBox::after {content: ''; position: absolute; top:-95px; width: 50px; height: 250px; background: #090a14;}
.hd-shapeBox::before {left: -34px; transform: rotate(-15deg); border-left: 1px solid #727489;}
.hd-shapeBox::after {right: -34px; transform: rotate(15deg); border-right: 1px solid #727489;}

/* hd-logo */
.hd-logo {position: relative; left:0; z-index: 1; padding:0 20px; width: 210px; height: 156px; display: flex; justify-content: center; align-items: center; border-right: 1px solid #22232c;}
.logoImg {width: 160px; cursor: pointer;}

.hd-right {position:absolute; top:0; right: 0; z-index: 1; width: calc(100% - 210px);}

/* hd-top */
.hd-top {
    position: relative;
    flex-direction: row-reverse;
    padding: 0 0 0 20px;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #22232c;
}
.hd-top::before {content: ''; position: absolute; top: 63px; right: -25px;z-index: 1; width: 50px; border-bottom: 1px solid #22232c;}

/* top-notice */
.top-notice {position: relative; margin:0; padding:0; min-width: 250px;}
.top-notice > marquee {margin: 0; padding: 0; font-weight: 500; color: #ff7a21; font-family: "Noto Sans KR", serif;}

/* before-login */
ul.before-login {position:relative; margin:0; padding:0 20px 0 0; display: flex; gap:20px; justify-content: flex-end; align-items: center;}
ul.before-login > li {position: relative; margin: 0; padding: 0; font-size: 15px; letter-spacing: 0.5px; color: #727489; cursor: pointer;}

/* after-login */
ul.after-login {position:relative; margin:0; padding:0; display: flex; gap:10px; justify-content: flex-end; align-items: center;}
ul.after-login > li {position: relative; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; font-weight: 500; font-family: "Noto Sans KR", serif; color: #b9bbc9;}
ul.after-login > li > span,
ul.after-login > li > font {font-weight: 500; font-family: "Noto Sans KR", serif;}
ul.after-login > li > font {margin-left:3px; color:#d46114;}
ul.after-login > li i {margin-right:3px; font-size: 18px;}
ul.after-login > li.after-btn {cursor: pointer;}

/* hd-nav */
.hd-nav {position:relative; padding:0 0 0 20px; width:100%; height: 92px; display: flex; justify-content: space-between; align-items: center;}

/* nav-menu */
ul.nav-menu {position:relative; margin:0; padding:0 0 0 15px; width: 70%; line-height: 92px; display: flex; gap:40px; justify-content:flex-start; align-items: center;}
ul.nav-menu > li {position:relative; margin:0; text-align: center; font-weight: 1000; cursor: pointer; font-size:15px; color:#b9bbc9;}
ul.nav-menu > li.active {color: #ff7a21; text-shadow: 0px 0px 30px #ff7a21, 0px 0px 30px #ff7a21;}
ul.nav-menu > li.active::before {content: ""; position: absolute; top: 0px; z-index: 1; display: block; width: 100%; border-bottom: 3px solid #ff7a21;}

/* top-sns */
ul.top-sns {position:relative; margin:0; padding:0 30px 0 0; display: flex; gap:5px; justify-content:flex-end; align-items: center;}
ul.top-sns > li {margin:0; text-align: center;}
ul.top-sns > li > a {display:block; width: 40px; height: 40px; line-height:40px; text-align: center; color:#fff; background: #000; border-radius: 50%;}
ul.top-sns > li > a > i {font-size: 17px;}

/* sticky */
.sticky {position: fixed; top:0; left:0; right:0; width: 100%; height: 70px; background: #fff; border-bottom: 1px solid #e5e5e5; box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);}
.sticky-shapeBox {position: relative; left:unset; right:unset; top:unset; bottom: unset; background: #fff; border: none;} 
.sticky-shapeBox::before,
.sticky-shapeBox::after {display: none;}
.sticky-logoImg {display: none; width: 120px; cursor: pointer;}

.sticky-nav {top: 0; height: 40px;}
ul.sticky-menu {width: 100%; line-height: 70px; justify-content: flex-end;}
ul.sticky-menu > li {color: #090a14; font-size: 15px; font-weight: 600;}
ul.sticky-menu > li.active {font-weight: 700;}
ul.sticky-menu > li.active::before {display: none;}

@media (hover: hover) and (pointer: fine) {
    /* hd-top */
    .hd-logo:hover > img {opacity: 0.8;}
    ul.before-login > li:hover,
    ul.after-login > li.after-btn:hover {color: #ff7a21; text-decoration: underline;}

    /* hd-nav */
    ul.nav-menu > li:hover {color: #ff7a21; text-shadow: 0px 0px 30px #ff7a21, 0px 0px 30px #ff7a21;}
    ul.nav-menu > li:hover::before {content: ""; position: absolute; top: 0px; z-index: 1; display: block; width: 100%; border-bottom: 3px solid #ff7a21;}
    ul.sticky-menu > li:hover::before {display: none;} 

    ul.top-sns > li > a:hover {color: #ff7a21; box-shadow: 0px 0px 30px 0px #ff7a21;}
}

/* pc-hidden처리 */
.mo-bar,
.mo-before-login {display: none;}


/****************************************************************************************************************************************
footer
*****************************************************************************************************************************************/
footer {position:relative; margin:0 auto; padding:50px 0 0 0; width: 100%; background: #07070f;}
.ft-inner {position: relative; margin:0 auto; padding:0 15px; width: 1200px; text-align: center;}
.copyright {margin:0 auto; padding:40px 0; width: 100%; color: #717389;}

/****************************************************************************************************************************************
미디어쿼리문 시작
*****************************************************************************************************************************************/
@media (max-width:1230px) {
    .hd-inner,
    .ft-inner {width: 100%;}
    .hd-shapeBox {left:0; right:0;}
    .hd-shapeBox::before,
    .hd-shapeBox::after {display: none;}

    .hd-top {padding:0 15px; justify-content:flex-end;}
    .hd-nav {padding:0 15px;}

    .top-notice {display: none;}
} /* 미디어쿼리문 끝 */

@media (max-width:992px) {
    .hd-inner {height: 60px !important;}

    .hd-logo {position: absolute; left:15px; padding:0; width: auto; height: 60px; border-right: none;}
    .hd-logo > img {width: 110px;}   

    /* 모바일 메뉴바 */
    .mo-bar {display: block; position: absolute; top:19px; right:15px; margin:0; padding: 0; width: 35px; cursor: pointer;}
    .mo-bar > span {display: block; margin: 0 0 8px;  width: 100%; height: 2px; background: #ff7a21;}
    .mo-bar > span:nth-child(1) {position: relative; top: 0; margin-top: 0; transition: top .3s .3s, transform .3s 0s;}
    .mo-bar > span:nth-child(2) {margin-left: auto; width: calc(100% - 8px); opacity: 1; transition: opacity .3s;}
    .mo-bar > span:nth-child(3) {position: relative; top: 0; margin-bottom: 0; transition: top .3s .3s, transform .3s 0s;}
    .mo-bar.active > span:nth-child(1) {top: 10px; width: 100%; transform: rotate(-45deg); transition: top .3s 0s, transform .3s .3s, color .3s .3s;}
    .mo-bar.active > span:nth-child(2) {opacity: 0;}    
    .mo-bar.active > span:nth-child(3) {top: -10px; width: 100%; transform: rotate(45deg); transition: top .3s 0s, transform .3s .3s;}
    
    /* mo-before-login */
    ul.mo-before-login {position:fixed; top:60px; left:0; right:0; width: 100%; height: 30px; display: flex; justify-content: center; align-items: center; background: #090a14; border-bottom: 1px solid #727489;}
    ul.mo-before-login > li {position: relative; margin: 0 auto; padding: 0; width: calc(100% / 2); text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 0.5px; color: #727489; cursor: pointer;}
    ul.mo-before-login > li:first-child {border-right: 1px solid #727489;}
    
    /* hd-right */
    .hd-right {position: fixed; top:60px; right: 0; z-index: 999; padding:0; width: 280px; height: calc(100% - 60px); flex-direction: column; justify-content:  flex-start; align-items: center; background: #202020; transform: translateX(101%); overflow-y: auto;}
    .hd-right.active {opacity: 1; visibility: visible; transform: translateX(0%); transition: all 0.7s ease;}

    .mo-bg {position: fixed; right: 0; top: 60px; z-index: 1; width: 100%; height: 100%; background:#000; transform: translateX(101%);}
    .mo-bg.active {opacity: 0.7; visibility: visible; transform: translateX(0%); transition: all 0.7s ease;}

    .hd-top {padding:15px 15px; height: auto; justify-content: center;}
    
    ul.before-login {display:none;}

    ul.after-login {width:100%; gap:0; flex-direction: column; align-items: flex-start;}
    ul.after-login > li {padding:8px 10px; width:100%; justify-content:flex-start; background: #000; border-bottom:1px #202020 solid;}
    ul.after-login > li.after-money {justify-content: space-between;}
    ul.after-login > li.after-logout {margin-top:10px; justify-content: center; color:#fff; background: #ff7a21;}

    .hd-nav {padding:0; height: auto; flex-direction: column; justify-content: flex-start;}
    ul.nav-menu {padding:0; width: 100%;line-height: unset;  gap:0; align-items: flex-start; flex-direction: column;}
    ul.nav-menu > li {padding:2px 25px; width:100%; text-align: left; line-height:43px; color:#fff; border-top: 1px #373737 solid;}
    ul.nav-menu > li.active::before {left:0; width: unset; height: 100%; border-bottom: none; border-left: 5px solid #ff7a21;}

    ul.top-sns {padding:20px 10px; width: 100%; justify-content: center; border-top: 1px #373737 solid;}   
    
    .sticky {display: none;}
} /* 미디어쿼리문 끝 */


