
/* =============================================
        NWEB HEADER
============================================= */

/* ---------------------------------------------
1. Header Layout & Basic Elements
--------------------------------------------- */
header#menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 189px;
    padding: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #d8d8d8;
    box-sizing: border-box;
}

#menu {
    z-index: 100;
}

#headerTop {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 100px;
    margin: 0 auto;
    background-color: #ffffff;
}

#headerBottomOuter {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #d8d8d8;
}

#headerBottom {
    max-width: 1200px;
    height: 50px;
    margin: 0 auto;
}

.wrap_1200 {
    position: relative;
    width: 1200px;
    height: 90px;
    margin: 0 auto;
    box-sizing: border-box;
}

header h1 {
    width: 166px;
    line-height: 89px;
    text-align: center;
    box-sizing: border-box;
}

header h1 img {
    position: relative;
    top: clamp(12%, 1.8vw, 22%);
    width: clamp(160px, 15vw, 205px);
}


/* ---------------------------------------------
   2. Global Navigation Bar (GNB)
   --------------------------------------------- */
#gnb {
    flex: 1;
    box-sizing: border-box;
}

#gnb > ul {
    display: flex;
    float: left;
    justify-content: center;
    width: 100%;
}

#gnb > ul > li {
    position: relative;
    display: block;
    width: auto;
    padding: 0 35px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

#gnb > ul > li > a {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #000;
    line-height: 47px;
    display: block;
    box-sizing: border-box;
    width: 100%;
}

#gnb > ul > li:hover, .focusCss{
    background-color: #eef2f7;
    box-sizing: border-box;
}

/* GNB Dropdown */
#gnb > ul > li > ul {
    position: absolute;
    width: calc(100% + 2px);
    left: 0;
    top: 100%;
    max-height: 0;
    display: block;
    box-sizing: border-box;
    margin-left: -1px;
    z-index: 1000;
    transition: max-height 1s;
    overflow-y: hidden;
    visibility: hidden;
}

#gnb > ul > li.on > ul {
    max-height: 1000px;
    visibility: visible;
}

#gnb > ul > li.on .sub,
.dropdownVisible {
    display: block;
    background: #fff;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    z-index: 100;
}

#gnb > ul > li > ul > li {
    display: block;
    float: none;
    width: 100%;
    font-family: 'Noto Sans';
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    line-height: 4;
    letter-spacing: -0.7px;
    text-align: center;
    box-sizing: border-box;
}

#gnb > ul > li > ul > li > a {
    display: block;
}

#gnb > ul > li > ul > li > a:hover {
    color: #1E6BDE;
}

/* GNB Sub */
#gnb_sub {
    position: absolute;
    top: 0px;
    left: 800px;
    float: left;
    width: 400px;
    padding-top: 20px;
    box-sizing: border-box;
}

#gnb_sub ul li {
    float: left;
    width: 50%;
    font-family: 'Noto Sans';
    font-size: 18px;
    font-weight: 400;
    color: #444;
    line-height: 1.2;
    text-align: center;
}

#gnb_sub ul li a {
    display: block;
}

/* ---------------------------------------------
   3. Search Elements
   --------------------------------------------- */
.search {
    width: 190px;
    margin-right: -70px;
}

.search .all_search input[type="text"] {
    width: 230px;
    height: 42px;
    padding-left: 15px;
    font-size: 15px;
    font-weight: 300;
    color: #585858;
    background-color: #f4f5f6;
    border: 0px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* line 178, scss/rmap/rmap.scss */
.search .all_search input[type="text"]:focus {
    border: 2px solid #000000;
}

/* ---------------------------------------------
   4. Login Elements
   --------------------------------------------- */
.loginBox {
    position: absolute;
    top: calc(100% + 1px);
    right: 61px;
    display: none;
    width: 370px;
    height: auto;
    padding: 71px 0 64px;
    background: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1000;
}

.ab_c {
    position: absolute;
    top: -126px;
    left: -137px;
    width: 274px;
    height: 252px;
    margin: 0 156px 0 0;
    background-color: #139294;
    border-radius: 50%;
    opacity: 0.06;
    z-index: 999;
}

.ex_01 {
    font-size: 18px;
    font-weight: 200;
    color: #666;
    line-height: 30px;
    letter-spacing: 0.5px;
    text-align: center;
}

.ex_02 {
    font-size: 18px;
    font-weight: 400;
    color: #444;
    line-height: 30px;
    letter-spacing: 0.5px;
    text-align: center;
}

.loginInput_Box {
    width: 290px;
    height: auto;
    margin: 30px auto 10px;
}

.btn_login {
    margin-top: 24px;
    overflow: hidden;
}

/* ---------------------------------------------
   5. Icons & Utilities
   --------------------------------------------- */
#mMenuBtn {
    display: none;
}

.flex {
    display: flex;
}

.flex.center {
    align-items: center;
    justify-content: center;
}

.outLink {
    position: relative;
    left: 5px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    background-image: url(../../images/ico-outlink.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

.menuArrow {
    position: relative;
    top: 5px;
    left: 7px;
    display: inline-flex;
    width: 25px;
    height: 25px;
    background-image: url(../../images/icon-menu-arrow.svg);
    background-position: center center;
    background-repeat: no-repeat;
    transform: rotate(0deg);
    transition: transform 0.1s ease;
}

#gnb > ul > li.on .menuArrow {
    transform: rotate(-180deg);
}

.headerIcon {
    position: relative;
    width: 77px;
    height: 60px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 95px;
    text-align: center;
    background-color: #fff;
    background-position: center 10px;
    background-repeat: no-repeat;
    box-sizing: border-box;
    cursor: pointer;
}

.headerIcon:hover {
    background-color: #eef2f7;
    border-radius: 3px;
    transition: 0.4s ease-in-out;
}

/* Specific Icons */
.headerSearch { background-image: url(../../images/icon-search.svg); }
.headerOrg    { background-image: url(../../images/ico-login.svg); }
.headerJoin   { background-image: url(../../images/ico-join.svg); }
.headerLogout { background-image: url(../../images/ico-logout.svg); }
.headerAlarm  { background-image: url(../../images/ico-alarm.svg); }
.headerMyPage { background-image: url(../../images/ico-myPage.svg); }

.headerSite {
    background-image: url(../../images/siteMap/btn-menu.png);
    background-position: center 15px;
    background-size: 17px 15px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}