@charset "utf-8";



/* background: linear-gradient(white 50px, rgba(255,255,255, .5) 50px, rgba(255, 255, 255, .5)); */
/* transition: height 0.4s; */

@media all and (min-width:1024px) {


    header {
        height: 70px;
        /* background: linear-gradient(white 50px, rgba(255,255,255, .5) 50px, rgba(255, 255, 255, .5)); */
        transition: height 0.4s;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    /* 얘를 살리고싶은데 뭔가 꼬임ㅠ 잘 모르겠음 */
    .bgc000 {
        display: none;
        content: "";
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .35);
        z-index: 2;
    }

    .bgcFFF {
        width: 100%;
        height: 0;
        background-color: #fff;
        transition: height 0.4s;
    }

    .headerWrap {
        position: relative;
        width: 1000px;
        height: 100%;
        margin: 0 auto;
    }

    .logo {
        position: absolute;
        left: 0;
        top: 20px;
        width: 250px;
        height: 30px;
        background: url(../../img/logo.png) 0 0/250px no-repeat;
    }

    nav {
        position: absolute;
        top: 0;
        right: 0;
        /* width: 500px; */
        right: 70px;
        top: 0;
    }

    nav>ul>li {
        float: left;
        line-height: 70px;
        position: relative;
    }

    nav>ul>li:hover>a,
    nav>ul>li>ul>li:hover a {
        color: #3b73b9 !important;
    }


    nav>ul:hover>li a {
        color: #333;
    }

    nav>ul>li a {
        display: block;
        margin: 0 26px;
        font-size: 17px;
        color: #fff;
    }

    nav>ul>li>a {
        font-weight: 500;
    }

    /* submenu */
    nav>ul>li ul {
        width: 100%;
        position: absolute;
    }

    nav>ul>li ul li {
        white-space: nowrap;
        line-height: 40px;
    }

    nav>ul>li ul li:first-child {
        margin-top: 5px;
    }

    nav>ul>li ul li:last-child {
        margin-bottom: 20px;
    }

    nav>ul>li ul li>a {
        font-size: 15px;
    }

    .lang {
        position: absolute;
        top: 20px;
        right: 0px;
        width: 60px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 13px;
        /* border: 1px solid #fff; */
        border-radius: 5px;
        z-index: 1000;
    }

    .lang:hover {
        background-color: rgb(214, 214, 214, 0.1);
        cursor: pointer;
    }

    .lang>a {
        color: #fff;
    }


    .lang .langList {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 136px;
        line-height: 30px;
        font-size: 13px;
    }

    .lang .langList>li {
        background-color: #fff;
        border: 1px solid #d6d6d6;
        width: 100%;
        height: 34px;
        box-sizing: border-box;
    }

    .lang .langList>li:hover {
        background-color: #3b73b9;
        border: 1px solid #3b73b9;
    }

    .lang .langList>li:hover a {
        color: #fff;
    }

    .lang .langList>li:first-child {
        border-radius: 3px 3px 0 0;
    }

    .lang .langList>li:last-child {
        border-radius: 0 0 3px 3px;
    }

    .lang .langList>li a {
        display: block;
        color: #333;
    }


    /* 추가 코드 */
    nav>ul>li:hover>a {
        position: relative;
    }

    nav>ul>li:hover>a::after {
        content: "";
        display: inline-block;
        position: absolute;
        box-sizing: border-box;
        width: 100%;
        height: 3px;
        bottom: 0;
        left: 0;
        border-bottom: 3px solid #3b73b9;
    }

    .header-border {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 1px;
    }

    .subMenu {
        z-index: -1;
        opacity: 0;
    }

    /* 04.07 추가 */
    nav:hover a {
        color: #333;
    }

    nav {
        height: 100%;
    }



    .mobMenuWrap {
        display: none;
    }

}


@media all and (max-width:1023px) {

    .mobHeader {
        height: 70px;
        position: fixed;
        width: 100%;
        background-color: #fff;
    }




    .headerWrap {
        display: none;
    }


    .mobMenuWrap {
        display: block;
        position: relative;
        right: 0;
        top: 0;
        z-index: 1000;
    }


    .mobLogo {
        position: absolute;
        left: 20px;
        top: 20px;
        width: 250px;
        height: 30px;
        background: url(../../img/logo.png) 0 0/250px no-repeat;
        z-index: 30;
    }

    nav {
        display: none;
    }

    .lang {
        display: none;
    }



    /* 햄버거메뉴(여는메뉴) */
    .mobMenuImg {
        position: absolute;
        display: block;
        top: 30px;
        right: 20px;
        width: 26px;
        height: 14px;
        background: url(../../img/mobMenuIcon.svg) 0 0/26px no-repeat;
        cursor: pointer;
        z-index: 30;
    }


    /* X메뉴(닫는메뉴) */
    .mobXIcon {
        display: none;
        position: absolute;
        right: 23px;
        top: 25px;
        width: 20px;
        height: 20px;
        /* margin-top: 26px; */
        background: url(../../img/mobXIcon.svg) 0 0/20px no-repeat;
        cursor: pointer;
    }

    .mobBgc000 {
        display: none;
        content: "";
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .35);
        z-index: 999;
    }


    /* 모바일버전 - 햄버거메뉴 누르면 내려오는 사이드메뉴 */
    .mobMenu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 240px;
        height: 100vh;
        background-color: rgb(255, 255, 255);
        z-index: 1000;
        border-top: 1px solid #d6d6d6;
        padding-top: 70px;
    }

    .line {
        width: 75%;
        height: 1px;
        float: right;
        border-bottom: 1px solid #f1f1f1;
    }

    /* 큰메뉴 */
    .mobMenuGNB {
        font-size: 18px;
        text-align: right;
        margin: 0 0 10px;
    }

    .mobMenuGNB a {
        display: block;
        color: #333;
        font-weight: 300;
        padding: 6px 25px;
        margin: 2px 20px 2px 40px;
        border-radius: 20px;
    }

    .mobMenuGNB>a {
        font-weight: 500;
    }

    .mobMenuGNB a:hover {
        color: #3b73b9;
        font-weight: 500;
        background-color: #d9ebff;
    }


    /* 작은메뉴들 */
    .mobMenuGNB>ol>li {
        font-size: 16px;
        /* padding-right: 10px; */
    }

    .language {
        /* margin-top: 5px; */
        margin-right: 30px;
        width: 158px;
        height: 100px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-end;
        float: right;
    }

    .mobMenu p {
        margin-right: 40px;
        margin-top: 36px;
        font-size: 12px;
        color: #d6d6d6;
        text-align: right;
        font-weight: 400;
    }

    .langFlag {
        width: 40px;
        height: 24px;
        display: inline;
        margin: 5px;
        border: 1px solid #f1f1f1;
    }

}