@charset "utf-8";
/*
 * File       : menu.css
 * SUMMARY:
 * 01) HEADER
 * 02) SLIDMENU
 */

/* ************************************** *
 * PC VER
 * ************************************** */

/* HEADER */
#header {
    overflow: hidden;
    width: 100%;
    background: #fff;
}
#header .gnb {
    height: 3rem;
    padding: 0 0 0 10px;
    box-sizing: border-box;
    width: 1024px;
    margin: 0 auto;
    position: relative;
}
#header .gnb a,
#header .lnb a {
    color: #000;
}
#header .gnb h1 {
    float: left;
    padding: 0 0 0 0;
    height: 100%;
} /*210430 수정*/
#header .gnb h1 a{display:block; width:106px; height:3rem; background: url(//azrael.toptoon.com/assets/img/svg/logo_toptoon.svg) no-repeat left center; background-size:100%; color:transparent}/*230404 수정*/
#header .gnb h1 a.logolevel1 {display: block; width: 125px; height: 100%; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level1_w.png) no-repeat left -0.2rem; background-size: 100%; }
#header .gnb h1 a.logolevel2 {display: block; width: 125px; height: 100%; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level2_w.png) no-repeat left -0.2rem; background-size: 100%; }
#header .gnb h1 a.logolevel3 {display: block; width: 125px; height: 100%; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level3_w.png) no-repeat left -0.2rem; background-size: 100%; }

#header .gnb .btn_select_mode {
    display: inline-flex;
    align-items: center;
    height: 100%;
    margin-left: 0.4rem;
} /*210430 수정*/
#header .gnb .btn_select_mode a.switch_19mode{display:block; width:41px; height:25px; background: url(//azrael.toptoon.com/assets/img/responsive/common/switch_19off_w.png) no-repeat center; background-size:100%}/*230331 수정*/
#header .gnb .btn_select_mode a.switch_19mode.active{display:block; width:41px; height:25px; background: url(//azrael.toptoon.com/assets/img/responsive/common/switch_19on_w.png) no-repeat center; background-size:100%}/*230331 수정*/
#header .gnb > ul {
    float:right;
    display:block;
    position:relative;
    height:100%;
    display:flex;
    align-items:center;
}
#header .gnb > ul li,
#header .lnb ul li {
    float: left;
}
#header .gnb > ul li a {
    display: block;
    padding: 0 10px;
    text-align: center;
    font-size: 13px;
}
#header .gnb > ul li a .icon{display:block; position:relative;}/*240522 추가*/
#header .gnb > ul li a .icon > img{margin:0 auto; height:24px;}/*240522 추가*/
#header .gnb > ul li a .icon .num_gift{position:absolute; top:-3px; right:-1px; font-family:'pretendard'; font-weight:700;}/*240522 추가*/

#header .gnb > ul li a .icon_charge > img{margin:0 auto}/*240522 수정*/
#header .gnb > ul li a .icon_dessert > img{margin:0 auto}/*240522 수정*/
#header .gnb > ul li a .icon_library > img{margin:0 auto}/*240522 수정*/
#header .gnb > ul li a .icon_gift > img{margin:0 auto}/*240522 수정*/
#header .gnb > ul li a .icon_search > img{margin:0 auto}/*240522 수정*/
#header .gnb > ul li a .icon_service_menu > img{margin:0 auto}/*240522 수정*/

/* #header .gnb > ul li a .icon_charge,
#header .gnb > ul li a .icon_dessert,
#header .gnb > ul li a .icon_library,
#header .gnb > ul li a .icon_gift,
#header .gnb > ul li a .icon_search,
#header .gnb > ul li a .icon_service_menu {
    height: 20px;
    display: block;
    position: relative;
    box-sizing: border-box;
} */
#header .gnb > ul li a .icon_charge > img {
    width: 18px;
    margin: 0 auto;
}
#header .gnb > ul li a .icon_dessert > img {
    width: 19px;
    margin: 0 auto;
}
#header .gnb > ul li a .icon_library > img {
    width: 17px;
    margin: 0 auto;
}
#header .gnb > ul li a .icon_gift > img {
    width: 19px;
    margin: 0 auto;
}
#header .gnb > ul li a .icon_search > img {
    width: 19px;
    margin: 0 auto;
}
#header .gnb > ul li a .icon_service_menu > img {
    width: 19px;
    margin: 0 auto;
}

.num_gift{font-size:9px; color:#fff; background:#e63740; width:14px; height:14px; line-height:14px; border-radius:50px; display:inline-flex; justify-content:center; text-align:center; padding:0px 3px; box-sizing:border-box; letter-spacing:-0.2px;}/*240522 수정*/

#header .gnb > ul li a .icon_gift .num_gift {
    position: absolute;
    top: -3px;
    right: -2px;
}
#header .gnb > ul li a img {
    image-rendering: -webkit-optimize-contrast;
}
#header .gnb .nav_gnb_name {
    vertical-align: top;
}

#header .gnb > ul li a .icon_shampoo {
    height: 20px;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin-top: -1px;
} /*211210 추가*/
#header .gnb > ul li a .icon_shampoo > img {
    width: 20px;
    margin: 0 auto;
    image-rendering: -webkit-optimize-contrast;
} /*211210 추가*/
#header .gnb .nav_gnb_name.shampoo {
    padding-top: 1px;
    display: inline-block;
} /*211210 추가*/

#header .gnb > ul li a .icon_repair {
    height: 20px;
    display: block;
    position: relative;
    box-sizing: border-box;
} /*211123 추가*/
#header .gnb > ul li a .icon_repair > img {
    width: 19px;
    margin: 0 auto;
} /*211123 추가*/
#header .gnb > ul li a .icon_repair .repair_txt {
    position: absolute;
    top: -9px;
    right: -12px;
} /*211123 추가*/
#header .gnb > ul li a .icon_repair .repair_txt > img {
    height: 14px;
    image-rendering: -webkit-optimize-contrast;
} /*211123 추가*/

#header .gnb > ul li a .icon_chicken{height:20px; display:block; position:relative; box-sizing:border-box; margin:-2px auto 2px;}/*230814 추가*/
#header .gnb > ul li a .icon_chicken > img{width:25px; margin:0 auto}/*230814 추가*/

/* 월별 로고 설정 */
#header .gnb h1 a.logo_birth {
    display: block;
    width: 125px;
    height: 100%;
    background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_birth_w.png)
        no-repeat left -0.2rem;
    background-size: 100%;
} /*220310 생일자 축하 로고*/

.num_gift {
    font-size: 10px;
    color: #fff;
    background: #e63740;
    height: 15px;
    line-height: 15px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    padding: 0px 3px;
    min-width: 15px;
    box-sizing: border-box;
}

#header .lnb {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: url(//azrael.toptoon.com/assets/img/responsive/common/nav_line.gif) left top
        repeat-x;
}
#header .lnb h2 {
    display: none;
}
#header .lnb nav ul {
    /* overflow: hidden; */
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
#header .lnb nav ul li {
    flex-grow: 1;
    position: relative;
}
#header .lnb nav ul li > a {
    font-size: 0.85rem;
    display: block;
    height: 2.4rem;
}
#header .lnb nav.m_nav > ul li > a > .ico_n {
    display: inline-block;
    height: 15px;
    margin-left: 1px;
    margin-top: -2px;
    vertical-align: 3px;
    image-rendering: -webkit-optimize-contrast;
}
#header .lnb nav.m_nav > ul li > a > .ico_allday_n {
    display: inline-block;
    height: 14px;
    margin-left: 1px;
    vertical-align: 3px;
    position: absolute;
    top: 5px;
}
#header .lnb nav.m_nav {
    background: url(//azrael.toptoon.com/assets/img/responsive/common/nav_line.gif) left bottom
        repeat-x;
}
#header .lnb nav.m_nav > ul {
    width: 1024px;
    height: 2.4rem;
    line-height: 2.3rem;
    margin: 0 auto;
}
#header .lnb nav.m_nav > ul li.active > a {
    color: #e63740;
}
#header .lnb nav.s_nav {
    background: url(//azrael.toptoon.com/assets/img/responsive/common/nav_line.gif) left bottom
        repeat-x #f6f6f6;
    display: none;
}
#header .lnb nav.s_nav > ul {
    width: 1004px;
    height: 2.4rem;
    line-height: 2.3rem;
    margin: 0 auto;
}
#header .lnb nav.s_nav > ul li {
    position: relative;
} /*200525추가*/
#header .lnb nav.s_nav > ul li.active > a {
    color: #e63740;
    border-bottom: 2px solid #e63740;
}
#header .lnb nav.s_nav > ul li.today:after {
    content: "";
    display: block;
    position: absolute;
    top: 0.4rem;
    right: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #e63740;
    border-radius: 50%;
    margin-right: -13px;
} /*200525추가*/
#header .lnb nav.s_nav > ul li > a > .ico_n {
    display: inline-block;
    height: 15px;
    margin-left: -0.2rem;
    margin-top: -2px;
    vertical-align: 3px;
    image-rendering: -webkit-optimize-contrast;
} /*220303 정주행 N추가*/
/*200525 완결_연도별*/
#header .lnb nav.d_nav {
    background: #fff;
    display: none;
    overflow: hidden;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    min-width: 100%;
    max-width: 100%;
}
#header .lnb nav.d_nav > ul {
    max-width: 1004px;
    width: 100%;
    margin: 0 auto;
}
#header .lnb nav.d_nav > ul li {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    height: 2.5rem;
    color: #000;
    flex-grow: 1;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 0;
}
#header .lnb nav.d_nav > ul li input {
    width: 16px;
    height: 16px;
    display: none;
    margin: 0 5px 0 0;
    padding: 0;
}
#header .lnb nav.d_nav > ul li input + label {
    display: inline-block;
    background-image: url(//azrael.toptoon.com/assets/img/responsive/common/img_select_new.png);
    background-repeat: no-repeat;
    background-size: 200px;
    background-position: -5px -64px;
    text-indent: 19px;
    color: #000;
    height: 20px;
    line-height: 19px;
    text-indent: 22px;
    cursor: pointer;
}

#header .lnb nav.d_nav > ul li input:checked + label {
    background-repeat: no-repeat;
    background-image: url(//azrael.toptoon.com/assets/img/responsive/common/img_select_new.png);
    background-size: 200px;
    background-position: -5px -86px;
}

#header .lnb ul li > a > .icon_19_red{right:auto; left:50%; transform:translateX(-50%); margin-left:1.9rem; background-size:15px;}
@media (max-width: 320px) {
    #header .lnb nav.d_nav > ul li {
        font-size: 11px;
    }
}

#header .sub_topmenu {
    display: none;
}
#header .sub_topmenu > a.nav_sub_link.pay_wh {
    width: 50px;
}
/* 2023-02-07 메인 출석체크 */
.badge_attendance > img {
    position: absolute;
    right: 50%;
    top: -4px;
    height: 24px;
    transform: translateX(112%);
}
.attendance-toast-main {
    position: fixed;
    bottom: 9vh;
    left: calc(50% - 190px);
    width: 380px;
    z-index: 9;
}

.view_toast_top {
    background: rgba(0,0,0,0.8);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    margin: 0 auto;
    padding: 15px 20px;
    left: 50%;
    bottom: 15%;
    transform: translate(-50%, -50%) scale(1.0, 1.0);
    -webkit-transform: translate(-50%, -50%) scale(1.0, 1.0);
    position: fixed;
    z-index: 10;
    text-align: center;
    /* display: none; */
}
/* ************************************** *
 * TABLET PC VER
 * ************************************** */

@media (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: 18px !important;
    }
    body {
        font-size: 1rem !important;
        margin: 0;
        padding: 0;
    }
    #header .gnb,
    #header .lnb {
        width: 100%;
        display: block;
    }
    #header .gnb .btn_select_mode {
    }
    #header .lnb nav.m_nav > ul {
        width: 100%;
    }
    #header .lnb nav.s_nav > ul {
        width: 100%;
    }
    #header .sub_topmenu {
        height: 45px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
    }/*240222 수정*/
    #header .sub_topmenu .fixed {
        position: fixed;
        top: 0;
        left: 0;
        height: 45px;
        line-height: 45px;
        width: 100%;
        padding: 0 10px;
        overflow: hidden;
        border-bottom: 1px #ddd solid;
        background-color: #fff;
        z-index: 3;
    }
    #header .sub_topmenu a.nav_sub_link {
        display: inline-flex;
        height: 100%;
        flex: auto;
        align-items: center;
    }
    #header .sub_topmenu a.nav_sub_link .nav_sub_tit {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 500;
        color: #e63740;
        width: calc(100% - 30px);
    }
    #header .sub_topmenu a.nav_sub_link > img {
        height: 24px;
    }
    #header .sub_topmenu ul {
        float: right;
        display: flex;
        gap: 0;
        height: 100%;
    }/*240222 수정*/
    #header .sub_topmenu ul > li {
        display: inline-block;
        vertical-align: top;
        position: relative;
        float: left;
    }
    #header .sub_topmenu ul > li > a {
        display: flex;
        padding: 0 11px;
        align-items: center;
        height: 100%;
    }
    #header .sub_topmenu ul li a .icon_gift .num_gift {
        font-size: 10px;
        color: #fff;
        background: #e63740;
        height: 15px;
        line-height: 15px;
        border-radius: 20px;
        display: inline-block;
        text-align: center;
        padding: 0px 3px;
        min-width: 15px;
        position: absolute;
        top: 7px;
        right: 5px;
        box-sizing: border-box;
        font-family: 'pretendard';
    }
    #header .sub_topmenu ul li img {
        height: 24px
    }/*240222 수정*/
    .badge_attendance > img {
        height: 19px;
    }
}

/* ************************************** *
 * MOBILE VER
 * ************************************** */

@media (min-width: 0) and (max-width: 767px) {
    #header .gnb {
        height: 3rem;
        padding: 0 10px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
    }
    #header .gnb h1 {
        float: left;
        padding: 0 0 0 0;
    }
    #header .gnb h1 a {width:88px; height:100%;}
    #header .gnb h1 a.logolevel1 { width: 93px; height: 100%; margin-top: 0; image-rendering: auto; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level1.png) no-repeat left center; background-size: 100%; }
    #header .gnb h1 a.logolevel2 { width: 93px; height: 100%; margin-top: 0; image-rendering: auto; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level2.png) no-repeat left center; background-size: 100%; }
    #header .gnb h1 a.logolevel3 { width: 93px; height: 100%; margin-top: 0; image-rendering: auto; background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_toptoon_level3.png) no-repeat left center; background-size: 100%; }

    #header .gnb > ul li + li {
        margin-left: 8px;
    }
    #header .gnb > ul li a {
        display: block;
        padding: 0;
        text-align: center;
        font-size: 14px;
    }

    #header .gnb > ul li a .icon > img{margin:0 auto; height:20px;}/*240522 추가*/

    #header .gnb > ul li a .icon_charge > img {
        width: 16px;
        padding-top: 2px;
    }
    #header .gnb > ul li a .icon_dessert > img {
        width: 18px;
    }
    #header .gnb > ul li a .icon_library > img {
        width: 14px;
        padding-top: 2px;
    }
    #header .gnb > ul li a .icon_gift > img {
        width: 15px;
        padding-top: 2px;
    }
    #header .gnb > ul li a .icon_search > img {
        width: 18px;
    }
    #header .gnb > ul li a .icon_menu_service > img {
        width: 18px;
    }
    #header .gnb > ul li a img {
        image-rendering: auto;
    }

    #header .gnb > ul li a .icon_shampoo > img {
        width: 17px;
        padding-top: 1px;
        image-rendering: auto;
    } /*211210 추가*/

    #header .gnb > ul li a .icon_repair > img {
        width: 17px;
        padding-top: 1px;
    } /*211123 추가*/
    #header .gnb > ul li a .icon_repair .repair_txt {
        position: absolute;
        top: -3px;
        right: -5px;
    } /*211123 추가*/
    #header .gnb > ul li a .icon_repair .repair_txt > img {
        height: 9px;
        image-rendering: auto;
    } /*211123 추가*/

    #header .gnb > ul li a .icon_chicken{margin:0 2px 0 0;}/*230814 추가*/
    #header .gnb > ul li a .icon_chicken > img{width:21px;}/*230814 추가*/

    /* 월별 로고 설정 */
    #header .gnb h1 a.logo_birth {
        width: 93px;
        height: 100%;
        margin-top: 0;
        image-rendering: auto;
        background: url(//azrael.toptoon.com/assets/img/responsive/common/logo/logo_birth.png)
            no-repeat left center;
        background-size: 100%;
    } /*220310 생일자 축하 로고*/

    #header .lnb nav.m_nav > ul li > a > .ico_n {
        height: 12px;
        image-rendering: auto;
        margin-right: -6px;
        vertical-align: 2px;
    } /*220125 기다빵 n표시 추가*/
    #header .lnb nav.s_nav > ul li > a > .ico_n {
        height: 12px;
        image-rendering: auto;
        margin-right: -6px;
        vertical-align: 2px;
    } /*220303 정주행 N추가*/

    #header .gnb .nav_gnb_name {
        font-size: 11px;
    }
    #header .gnb .btn_select_mode {
        margin-left: 0.4rem;
        position: absolute;
    } /*210430 수정*/
    @media (max-width: 350px) {
        /*210430 max-width 수정(s9 기종 확인필요)*/
        #header .gnb > ul li#gnbSearch {
            display: none;
        } /*220321 수정 내서재 대신 검색 아이콘 비노출 처리*/
    }
    @media (max-width: 280px) {
        #header .gnb > ul li#gnbCharge {
            display: none;
        } /*220321 수정 280진입 시 충전소 아이콘 비노출 처리*/
    }
    #header .lnb {
        width: 100%;
        height: auto;
        margin: 0 auto;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
    }
    #header .lnb nav.m_nav {
        background: url(//azrael.toptoon.com/assets/img/responsive/common/nav_line.gif) left bottom
            repeat-x;
        padding: 2px 4px 2px;
    }
    #header .lnb nav.m_nav > ul {
        width: 100%;
        height: 100%;
        line-height: normal;
        margin: 0 auto;
    }
    #header .lnb nav.m_nav > ul > li {
        flex-grow: 1;
        width: 23%;
        height: 1.9375rem;
        line-height: 1.75rem;
        margin: 2px 2px;
    }
    #header .lnb nav.m_nav.allday > ul > li {
        width: 22%;
    }
    #header .lnb nav.m_nav > ul > li > a {
        font-size: 0.8125rem;
        letter-spacing: -0.4px;
        display: block;
        border: 1px solid #ddd;
        border-radius: 3px;
        height: 100%;
    }
    #header .lnb nav.m_nav > ul > li.active > a {
        color: #e63740;
        border: 1px solid #e63740;
    }
    #header .lnb nav.m_nav.adult_ver > ul > li {
        width: 23%;
    }
    #header .lnb nav.s_nav > ul {
        width: 100%;
        height: 100%;
        line-height: normal;
        margin: 0 auto;
        height: 2.4rem;
        line-height: 2.3rem;
    }
    #header .lnb nav.s_nav > ul > li {
        flex-grow: 1;
    }

    #header .lnb nav.d_nav > ul li {
        align-items: flex-end;
        margin-top: -8px;
    }
    #header .sub_topmenu {
        height: 45px;
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
    }/*240222 수정*/
    #header .sub_topmenu .fixed {
        position: fixed;
        top: 0;
        left: 0;
        height: 45px;
        line-height: 43px;
        width: 100%;
        padding: 0 10px;
        overflow: hidden;
        border-bottom: 1px #ddd solid;
        background-color: #fff;
        z-index: 3;
    }
    #header .sub_topmenu a.nav_sub_link {
        display: inline-flex;
        align-items: center;
        height: 100%;
        flex: auto;
    }/*240222 수정*/
    #header .sub_topmenu a.nav_sub_link .nav_sub_tit {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 16px;
        font-weight: 500;
        color: #e63740;
        width: calc(100% - 30px);
    }
    #header .sub_topmenu .nav_sub_link img {
        height: 24px;
        display: inline-block;
    }/*240222 수정*/
    #header .sub_topmenu ul {
        float:right;
        display:flex;
        gap: 4px;
        height:100%;
    }/*240222 수정*/
    #header .sub_topmenu ul li {
        display: inline-block;
        vertical-align: top;
        position: relative;
        float: left;
    }
    #header .sub_topmenu ul > li > a {
        display: flex;
        padding: 0 6px;
        align-items: center;
        height: 100%;
    }
    #header .sub_topmenu ul li a .icon_gift .num_gift {
        font-size: 10px;
        color: #fff;
        background: #e63740;
        height: 15px;
        line-height: 15px;
        border-radius: 50px;
        display: inline-block;
        text-align: center;
        padding: 0px 3px;
        width: 15px;
        position: absolute;
        top: 6px;
        right: 1px;
        box-sizing: border-box;
        font-family: 'pretendard';
        font-weight: 600;
    }/*240222 수정*/
    #header .sub_topmenu ul li img {
        height: 24px;
    }/*240222 수정*/
    /* 2023-02-07 출석체크 뱃지 */
    .badge_attendance > img {
        position: absolute;
        right: 50%;
        top: -6px;
        height: 18px;
        transform: translateX(112%);
        image-rendering: auto;
    }
    .attendance-toast-main {
        position: fixed;
        bottom: 64px;
        left: calc(50% - 100px);
        width: 218px;
        z-index: 9;
    }
    .view_toast_top {
        width: 250px;
    }
    #header .gnb .btn_select_mode a.switch_19mode{display:block; background: url(//azrael.toptoon.com/assets/img/responsive/common/switch_19off_m.png) no-repeat center; background-size:100%}/*230331 추가*/
    #header .gnb .btn_select_mode a.switch_19mode.active{display:block; background: url(//azrael.toptoon.com/assets/img/responsive/common/switch_19on_m.png) no-repeat center; background-size:100%}/*230331 추가*/
}
