@charset "utf-8";

:root {
    --header-height: 120px;
    --header-height-sticky: 80px;
    --mobile-height: 60px;
    --header-bg-color: #fff;
    --header-bg-color-sticky: #fff;
    --header-shadow: 0 6px 4px 2px rgba(0,0,0, .03);;
}


/* height */
.logo,
.header {
    height: var(--mobile-height);
    z-index: 11;
}
#gnbBg {
    top: var(--mobile-height);
}
.logo,
.header,
.header-right,
#gnbBg,
#gnb>li>a,
#gnb>li>a>span {
    transition: all 0.3s ease;
}

#gnb>li>a>span {
    border-bottom: 3px solid transparent;
}

@media (min-width: 1200px) {
    .logo,
    .header,
    .header-right {
        height: var(--header-height);
    }
    #gnbBg {
        top: var(--header-height);
    }
    #gnb>li>a>span {
        line-height: var(--header-height);
    }
    .sticked .header-right,
    .sticked .logo,
    .sticked .header {
        height: var(--header-height-sticky);
    }
    .sticked #gnbBg {
        top: var(--header-height-sticky);
    }
}

.sticked #gnb>li>a>span {
    line-height: var(--header-height-sticky);
}
/*
.sticked .header {    
    box-shadow: var(--header-shadow);
}
*/




.logo a {
   display: block;
   position: absolute;
   top: 50%;
   left: 0;
   width: 230px;;
   transform: translateY(-50%);
}
#gnb {
    position: relative;
    z-index: 10;
    transition: height 0.3s ease;
}

.close-wrap,
.open-menu-btn {
    display: none;
}

#gnb .depth2 {
    display: flex;
    flex-direction: column;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}
#gnb .depth2 li:first-child a {
    padding-top: 2rem !important;
}

#gnb.on .depth2 {
    height: 100%;
}
#gnbBg.on {
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--header-shadow);
}
#gnbBg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid transparent;
    z-index: 9;
    pointer-events: none;
}


/* 
.header {
    position: relative;    
    transition: all 0.3s ease;
    z-index: 11;
}

.kso-sticky.sticked .header {
    box-shadow: var(--header-shadow);
}

.header .logo {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);

}



.header-right {
    right: 0;
}

.header-right .icon-btn {
    width: 40px;
    height: 60px;
    border: none;
    background-color: transparent;
}

.header-right .open-menu-btn,
.header .main-menu .close-wrap{
    display: none;
}

#gnb>li>a,
.header .wrapper {
    transition: all 0.3s ease;
}



.header #gnb>li {
    display: block;
    position: relative;
    width: auto;
}

#gnb>li>a {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: var(--header-height);
    text-align: center;
    color: #414141;
}

#gnb>li>.depth2 {
    height: calc(100% - 120px);
    border-left: 1px solid #ddd;
}

#gnb>li:first-child>.depth2 {
    border-left: 0;
}

#gnb>li>.depth2>ul {
    position: relative;
    width: auto;
    height: 100%;
    padding: 30px 0;
    transition: all 0.3s ease;
}

#gnb>li>.depth2>ul>li a {
    display: block;
    margin-bottom: 1rem;
    padding-left: 1rem;
    min-width: 100px;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: -.9px;
    color: #333;
    white-space: nowrap;
    transition: all .3s ease;
}



.header.on #gnbBg {
    border-top: 1px solid #ddd;
}

#gnb>li>.depth2>ul.on {
    visibility: visible;
    opacity: 1;
}

.gnb-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    transition: all ease .3s;
    opacity: 0;
    z-index: -1;
} */


/*modal*/
.modal-search .modal-dialog {
    margin: 0;
}

.modal-search .modal-content {
    background-color: rgba(0, 0, 0, .7);
}

.modal-search .btn-close {
    opacity: 1;
    cursor: pointer;
}

.modal-search input::placeholder {
    color: rgba(255, 255, 255, .7);
}

/*---------------------------------------------------
*
* media quary
*
---------------------------------------------------*/
@media(min-width: 576px) {
    .modal-search .modal-dialog {
        max-width: 100%;
    }
}

@media(min-width: 992px) {

}

@media(min-width: 1200px) {
    .gnb-bg.on {
        opacity: 1;
        z-index: 9;
    }
/* 
    .header .wrapper {
        height: var(--header-height);
    }

    #gnb>li>a {
        line-height: var(--header-height);
    }

    #gnbBg {
        top: var(--header-height);
    }



    .kso-sticky.sticked #gnb>li>a {
        line-height: var(--header-height-sticky);
    }

    .kso-sticky.sticked .header .wrapper,
    .kso-sticky.sticked .header {
        height: var(--header-height-sticky) !important;
    }

    .kso-sticky.sticked #gnbBg {
        top: var(--header-height-sticky);
    } */
}

@media(max-width: 1199px) {

    .header,
    .kso-sticky {
        height: 60px !important;
    }

    .header .open-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 60px;
        position: relative;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .header .open-menu-btn .line {
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: rgba(0, 0, 0, 1);
    }

    .header .open-menu-btn .line-1 {
        transform: translateY(-6px);
    }

    .header .open-menu-btn .line-3 {
        transform: translateY(6px);
    }

    .header .main-menu {
        position: fixed;
        right: 0;
        top: 0;
        padding: 15px 0 30px;
        width: 300px;
        height: 100%;
        background: rgb(235, 10, 37);
        background: no-repeat linear-gradient(180deg, rgba(235, 10, 37, 1) 0%, rgba(248, 82, 26, 1) 100%);
        overflow-y: auto;
        transform: translateX(100%);
        z-index: 21;
    }
    .header .main-menu:after {
        content: '';
        position: absolute;
        background-image: url(../../assets/img/em.png);
        background-repeat: no-repeat;
        background-position: -300% 80%;
        background-size: 314px 204px;
        bottom: 0;
        right: 0;
        width: 300px;
        height: 300px;
        opacity: .15;   
        z-index: -1;     
    }

    .header .main-menu.open {
        transform: none;
    }

    .main-menu .close-wrap{
        display: flex;
        align-items: center;
        justify-content: end;
        margin-bottom: 25px;
    }

    .header .main-menu .close-menu-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        width: 35px;
        height: 35px;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .header .main-menu .close-menu-btn:before,
    .header .main-menu .close-menu-btn:after {
        content: '';
        position: absolute;
        width: 60%;
        height: 2px;
        background-color: #fff;
    }

    .header .main-menu .close-menu-btn:before {
        transform: rotate(45deg);
    }

    .header .main-menu .close-menu-btn:after {
        transform: rotate(-45deg);
    }

    .header .main-menu>ul>li {
        display: block;
        position: relative;
    }
    .header .main-menu>ul>li:before {
        content: '';
        position: absolute;
        left: 25px;
        right: 25px;
        bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .header .main-menu>ul>li:not(:last-child) {
        margin-right: 0;
    }

    .header .main-menu>ul li a {
        padding: 12px 25px;
        display: block;
        font-size: 1.25rem;
        color: #fff;
    }

    .header .main-menu>ul>.dropdown>a {
        padding-right: 60px;
    }

    .header .main-menu .sub-menu {
        display: none;
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        background-color: rgba(255, 255, 255, .1);
    }

    .header .main-menu .dropdown.active>.sub-menu {
        display: block;
        padding: 10px 0;
    }

    .header .main-menu .sub-menu li:last-child {
        /*display: none;
        border: none;*/
    }

    .header .main-menu .sub-menu a {
        padding: 10px 25px 10px 35px;
        font-size: 1rem;
    }

    .header .main-menu .sub-menu .sub-menu a {
        padding-left: 45px;
    }

    .header .main-menu .sub-menu span {
        background-image: none;
    }

    .header .main-menu i {
        position: absolute;
        user-select: none;
        top: 4px;
        right: 10px;
        width: 48px;
        height: 48px;
        color: #fff;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
    }

    .header .main-menu .sub-menu i {
        transform: none;
    }

    .header .main-menu .sub-menu .dropdown.active>i,
    .header .main-menu .dropdown.active>i {
        transform: rotate(180deg);
    }
}


@media(max-width: 991px) {}