/*2023.07.11 헤더 z-index 변경 */
header {
    padding-top: 121px;
    /*z-index: 999;*/
}

/*2023.07.11 헤더 투명도 변경 */
header .wrap {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /*border-bottom : 1px solid #767676;*/
    z-index: 21;

}

/* 전체적인 틀 */

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 0 0 8px;

    background-color: rgba(255, 255, 255, 1);
    z-index: 999;
    position: fixed;
    top: 0;
    width: 100%;
}

.header-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    font-weight: 600;
    color: #767676;
    transition: all .2s;

    background-color: rgba(255, 255, 255, 0.99);
    z-index: 998;
    position: fixed;
    top: 60px;
    width: 100%;
}

.header-middle.hide-menu {
    transform: translate(0, -100%);
}

/*2023.07.11 헤더 justify-content 변경 */
.header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 60px;
    font-weight: 600;
    color: #767676;
    transition: all .2s;

    background-color: rgba(255, 255, 255, 0.99);
    z-index: 997;
    position: fixed;
    top: 120px;
    width: 100%;
    /*box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;*/
    border-bottom: 1px solid #efefef;

}

.header-bottom.hide-menu {
    transform: translate(0, -60px);
}

/*2023.07.11 헤더 미선택메뉴 크기 및 모양 변경 */
.header-middle ul li {
    padding: 10px 20px;
    font-weight: 400;
    color: #767676;
    transition: 0.3s;
}

.header-middle ul li a, .header-bottom ul li a {
    font-size: 15px;
}
.header-bottom ul li a font{
    width: 100%;
    display: inline-block;
    word-break: keep-all;
    text-align: center;
}
.header-middle ul li:hover {
    color: #1c1c1c;

}

.header-middle .on, .header-bottom .on {
    font-weight: 700;
    color: #3A4C40;
    position: relative;
}

/*2023.07.11 헤더 미선택메뉴 크기 및 모양 변경 */
.header-bottom ul li {
    padding: 10px 16px;
    font-weight: 400;
    color: #767676;
    transition: 0.3s;
}
.header-bottom ul li:has(font){
    padding: 8px 12px;
}
.header-bottom ul li:hover {
    color: #1c1c1c;

}

/*2023.07.11 헤더 선택메뉴 크기 및 모양 변경 */
.header-bottom .on:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3a4c40;
    border-radius: 3px 3px 0 0;
}

/* 로고 */
/*2023.07.11 로고 수정 및 사이즈 조정*/
.logo-wrap {
    width: 160px;
}

.logo-wrap > a {
    width: 100%;
    height: auto;
}

.logo-wrap a img {
    width: 100%;
}


/* 아이콘 크기 */
.icon.awesome-calendar {
    width: 24px;
    height: 24px;
}

.icon.feather-circle {
    width: 24px;
    height: 24px;
}

.icon.material-menu {
    width: 24px;
    height: 24px;
}

.icon.material-shopping-cart {
    width: 24px;
    height: 24px;
}


/* 상단 아이콘 정렬 */
.top-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap : 27px;*/
}

.top-menu.mo {
    display: none;
}

.top-menu.pc {
    display: flex;
}

/*2023.07.11 아이콘 크기 및 모양 변경 시작*/
.top-menu.pc button.menu {
    width: 40px;
    height: 40px;
    padding: 8px;
}

.top-menu.pc button.menu ion-icon {
    width: 100%;
    height: 100%;
}

.top-menu.pc a {
    width: 40px;
    height: 40px;
    padding: 8px;
}

.top-menu.pc a ion-icon {
    width: 100%;
    height: 100%;
}

/*2023.07.11 아이콘 크기 및 모양 변경 끝*/

.top-menu > a {
    position: relative;
}

.icon.material-shopping-cart + span {
    position: absolute;
    right: 8px;
    top: 12px;
    background-color: #000;
    width: 20px;
    height: 20px;
    color: #fff;
    font-size: 10px;
    border-radius: 50%;
    line-height: 20px;
    transform: translate(50%, -50%);
    padding-left: 2px;
}
.icon.material-shopping-cart + span font{
    color: #FFFFFF;
}

.feather-circle + span {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    line-height: 26px;
    text-align: center;
}


/* 중간 메뉴 정렬 */
.header-middle > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.header-middle > ul:has(font){
    gap: 0;
}

/* 하단 메뉴 정렬 */
.header-bottom > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.header-bottom > ul:has(font){
    gap: 0;
}

/* go-top */
.go-top-wrap {
    position: fixed;
    bottom: 40px;
    right: 120px;
    z-index: 999;
    width: 40px;
    height: 40px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    /*padding: 10px;*/
    /*background-color: rgba(255,255,255,0.95);*/
    border-radius: 50%;
    font-size: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.go-top-wrap .btn-go-top {

    border-radius: 50%;
    overflow: hidden;
    font-size: 0;
}

.icon.go-top {
    /*2023.07.12 사이즈 조절*/
    width: 40px;
    height: 40px;
    background-position: unset;
}


/****** 반응형 *******/


@media screen and (max-width: 1016px) {
    /*.top-menu.pc {*/
    /*    display: none;*/
    /*}*/

    /*.top-menu.mo {*/
    /*    display: flex;*/
    /*}*/

    header {
        padding-top: 81px;
    }

    header .wrap {
        /*padding : 0 10px;*/
    }

    .header-top {
        height: 40px;
    }

    .header-middle {
        justify-content: flex-start;
        height: 40px;
    }

    .header-middle > ul {
        gap: 8px;
        overflow-x: scroll;
        justify-content: flex-start;
    }

    .header-middle > ul > li {
        white-space: nowrap;
    }

    .header-bottom {
        justify-content: flex-start;
        height: 40px;
    }

    .header-bottom.hide-menu {
        transform: translate(0, -40px);
    }

    .header-bottom > ul {
        gap: 8px;
        overflow-x: scroll;
        justify-content: flex-start;
        height: 100%;
        overflow-y: hidden;
    }
    .header-middle > ul::-webkit-scrollbar,
    .header-bottom > ul::-webkit-scrollbar {
        width: 0;
        height: 0;
        opacity: 0;
        display: none;
    }

    .header-bottom > ul > li {
        white-space: nowrap;
    }

    .header-bottom .on:after {
        bottom: -13px;
    }


    header .logo-wrap {
        width: 100px;
    }


    /*.icon.material-menu{*/
    /*    width : 14px;*/
    /*    height : 7px;*/
    /*}*/
    /*.icon.material-shopping-cart{*/
    /*    width : 17px;*/
    /*    height : 20px;*/
    /*}*/
    /*.icon.awesome-calendar{*/
    /*    width : 18px;*/
    /*    height: 19px;*/
    /*}*/
    /*.icon.feather-circle{*/
    /*    width : 20px;*/
    /*    height :20px;*/
    /*}*/
    .feather-circle + span {
        font-size: 10px;
        color: #767676;
        line-height: 20px;
        letter-spacing: -1px;
    }

    .top-menu {
        gap: 8px;
    }

    /*2023.07.11 헤더 수정분 높이 조절*/
    .header-middle {
        top: 40px;
    }

    .header-bottom {
        top: 80px;
    }

    .top-menu.mo button.menu {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .top-menu.mo button.menu ion-icon {
        width: 100%;
        height: 100%;
    }

    .top-menu.mo a {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    .top-menu.pc a.headCal:has(font),
    .top-menu.mo a.headCal:has(font){
        width: auto;
        transform: translate(0,0);
    }
    .top-menu.mo a.headCal:has(font) i{
        width: auto;
        min-width: 24px;
        border-radius: 2px;
        padding: 0 4px;
    }
    .top-menu.mo a ion-icon {
        width: 100%;
        height: 100%;
    }

    .go-top-wrap {
        right: 20px;
    }
}

@media screen and (max-width: 768px) {
    /*.header-top{*/
    /*    padding: 0 10px;*/
    /*}*/
    .header-bottom ul li, .header-middle ul li {
        padding: 5px 10px;
    }
}

.header-bottom {
    /*height: auto;*/
}

.header-bottom ul li {
    margin: 11px 0;
}
.translate-box{
    position: relative;
    width: 40px;
    height: 40px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.translate-box.view .translate-list-box{
    opacity: 1;
    pointer-events: all;
}
.translate-box .translate-list-box{
    position: absolute;
    bottom: -280px;
    left: 50%;
    width: auto;
    transform: translate(-50%,0);
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 16px;
    border-radius: 8px;

    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}
.translate-box .translate-list-box li a{
    display: flex;
    align-items: center;
    column-gap: 8px;
    min-width: 104px;
    cursor: pointer;
    padding: 0;
    height: 32px;
    font-size: 16px;
}
.translate-box .translate-list-box li:not(:nth-last-child(1)) a{
    margin-bottom: 10px;
}
.translate-box .translate-list-box li i{
    width: 24px;
    height: 24px;
    min-width: 24px;
}
.icon.translate {
    width: 28px;
    height: 28px;
}

.translate-box .translate-list-box li font{
    font-size: 16px;
    white-space: nowrap;
}
.skiptranslate{
    display: none;
}