/* 헤더부분 */
#header {
    display: flex;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 65px;
    background-color: #3769bb;
    padding: 0px 8px;
    justify-content: space-between;
    z-index: 1;
}

#header > .header-logo {
    align-self: center;
}

#header > .header-logo > a {
    display: flex;
}

#header > .header-logo > a > img {
    width: 35px;
    height: 35px;
}

#header > .header-logo > a > .logo-text {
    /* display: flex; */
    line-height: 35px;
    margin-left: 8px;
    color: #FFFFFF;
    letter-spacing: -1px;
}

#header > .header-logo > a > .logo-text img {
    vertical-align: middle;
}

#header > .header-menu {
    align-self: center;
}

#header > .header-menu > button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    right: 8px;
    top: 13px;
}

#header > .header-menu > button > img {

}

/* 패널 */
#header > .mobile-panel {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 240px;
    height: 100%;
    background-color: #3769bb;
    z-index: 101;
}

#header > .mobile-panel .panel-header {
    display: flex;
    width: 100%;
    height: 65px;
    padding: 0px 8px;
    align-items: center;
    background-color: #1e4c97;
}

#header > .mobile-panel .panel-header .panel-home {}

#header > .mobile-panel .panel-header .panel-close {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

#header > .mobile-panel .panel-header .panel-home .home {
    width: 40px;
    height: 40px;
}

#header > .mobile-panel .panel-main {
    overflow: auto;
    padding-bottom: 16px;
}

#header > .mobile-panel .panel-main .category-list {
    cursor: pointer;
    margin-top: 14px;
}

#header > .mobile-panel .panel-main .category-list li {
    width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    padding-left: 48px; 
    color: #FFFFFF;
    font-family: 'nsr_b';
    border: 2px solid transparent;
}
#header .mobile-panel .panel-main .category-list li:hover {
    border:2px solid #fff;
}

#header .mobile-panel .panel-main .category-list .category-up a li {
    color: #444444;
    font-size: 16px;
    padding-left: 40px;
}
#header .mobile-panel .panel-main .category-list .category-down a li {
    color: #444444;
    font-size: 16px;
    padding-left: 40px;
    border: 0px;
}
#header .mobile-panel .panel-main .category-list .category-up a li:hover {
    border: none;
}
#header .mobile-panel .panel-main .category-list .category-down a li:hover {
    border: none;
    background-color: #d8e9f6;
    
}
/* #header > .mobile-panel .panel-main .category-list .category-open {
    background-color: #FFFFFF;
}

#header > .mobile-panel .panel-main .category-list .category-open ul {}

#header > .mobile-panel .panel-main .category-list .category-open ul a li {
    color: #444444;
    font-size: 16px;
    padding-left: 56px;
} */

#header .mobile-panel .panel-main .category-list .category-up {
    /* display: none; */
    max-height: 0px;            
    overflow-y: hidden;
    background-color: #fff;
    padding: 0px 2px;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}
#header .mobile-panel .panel-main .category-list .category-down {
    max-height: 300px;            
    overflow-y: hidden;
    background-color: #fff;
    padding: 0px 2px;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;       
}
#header .panel-button {
    margin: 32px 16px 4px;
    text-align: center;
    background-color: #FFF;
    cursor: pointer;
}


#header .panel-button2 {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    /* font-weight: bold; */
    padding: 0px 24px;
    color: #FFFFFF;
    text-align: center;
    margin: 0px 16px 4px;
    background-color: #007cdc;
    cursor: pointer;
}

@media(min-width: 768px) {

}

@media(min-width: 1080px) {
    #header {
        display: none;
    }
}