/* PC Base CSS */
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css);
@import url('https://font.elice.io/css?family=Elice+DX+Neolli');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    /* font-family: "Elice DX Neolli" !important; */
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 300;
}

/* PC Base CSS */
html, body {
    height: 100%;
    margin: 0;
}


body {
    position: relative;
    padding: 0px;
    margin: 0px;
    background-color: #ffffff;
    color: #1f1f1f;
}

#body-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#body-content {
    flex: 1;
}

.footer {
    margin-top: 0;
}

/* 숫자 타입에 스크롤 생성 방지 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* input 자동완성 하늘색 배경 방지 */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px transparent inset;
    font-family: "Elice DX Neolli" !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.active {
    color: var(--new-pink) !important;
}

.active-border {
    border-color: var(--new-pink) !important;
}

.bold-font {
    font-weight: bold;
}

.pcNone {
    display: none !important;
}

.hidden {
    display: none !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.position-r {
    position: relative;
}

a:link,
a:hover,
a:visited,
a:active {
    text-decoration: none;
}


/* ========== header ========= */
.header {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 80px;
    top: 0px;
    left: 0px;
    font-size: 0px;
    text-align: right;
    box-sizing: border-box;
    background-color: var(--white);
    z-index: 100;
    padding: 0;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
}

.container_header {
    width: 1204px;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-header {
    
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
}

.navbar_rightBox {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header .logo {
    width: 115px;
    height: 34px;
    background-image: url('../../static/image/svg/logo-onepick-new.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    cursor: pointer;
    margin-bottom: 7px;
}

/* header search box */
.header .searchBox {
    display: flex;
    width: 240px;
    height: 34px;
    padding: 0 5px 0 14px;
    justify-content: space-between;
    align-items: center;
    border-radius: 33px;
    background-color: var(--white);
    border: 1px solid var(--new-pink);
}

.header .searchBox #search {
    border: 0px !important;
    background-color: transparent !important;
    /* width: 73%; */
    font-size: 14px;
    line-height: 20px;
    color: var(--new-pink);
}

.header .searchBox #search::placeholder {
    /* font-family: "Elice DX Neolli" !important; */
    color: #B3B3B3;
}

.header .searchBox .search-btn {
    width: 34px;
    height: 34px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.header .searchBox #search:focus {
    outline: none !important;
}

.nav-group{
    display: flex;
    align-items: center;
    gap: 40px;
}
.menuBox {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}
.header .menu{
    position: relative;
}
.new-dot{
    display: none;

    position: absolute;
    top: 12px;
    right: -10px;
    border-radius: 5px;
    background-color: var(--new-pink);
    width: 5px;
    height: 5px;
}

.header .menu,
.header .mypage_admin,
.mypage,
.header .login,
.header .join,
.header .logout {
    font-size: 18px;
    line-height: 40px;
    font-weight: 600;
    letter-spacing: -0.25px;
    cursor: pointer;
}

.header .mypage_admin {
    color: #167ac6;
}

.header .login,
.header .join{
    color: var(--text-light-gray);
}

.new-dot.visible {
    display: block !important;
}

.loginBox {
    display: flex !important;
    align-items: center;
    gap: 20px;
}

/* 모바일 사이드바-웹에선 안 보이게 */
.navbar_leftBox{
    display: none;
}
.sideBarBox {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 200;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
}

@supports (-webkit-appearance:none) {
    /* 이 안에 Safari(10.1 이상)에서만 적용할 스타일 작성 */
    .header .searchBox #search {
        border: 0px !important;
        background-color: transparent !important;
        /* width: 73%; */
        font-size: 14px;
        line-height: 20px;
        color: var(--new-pink);
    }

    .header .searchBox #search::placeholder {
        /* font-family: "Elice DX Neolli" !important; */
        color: #B3B3B3;
    }
}


/* ========== container ========== */
#body-content{
    background-color: #F7F8FA;
}
.container {
    flex: 1; /* 남은 공간을 채움 */
    padding: 7.5rem 1.15rem 3.15rem 1.15rem;
    max-width: 1204px;
    margin: 0 auto;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--text-light-gray);
    color: var(--white);
    font-size: 14px;
    text-align: center;
    padding: 5px;
    border-radius: 5px;

    /* 툴팁 위치 조정 */
    position: absolute;
    bottom: 125%; /* 요소 위에 표시 */
    left: 50%;
    transform: translateX(-50%);

    /* 애니메이션 효과 */
    opacity: 0;
    transition: opacity 0.3s;

    /* 삼각형 모양 추가 */
    white-space: nowrap;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


/* ========== paginaiotn ========== */

.page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    text-align: center;
}

.pageBox {
    display: flex;
    height: 30px;
    align-items: center;
    gap: 10px;
    margin: 0 20px;
}

.pages {
    display: flex;
    min-width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: center;
    color: #959595;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
}

.pages.nowPage {
    color: var(--new-pink);
}

.pages.lastPageMargin {
    margin-left: 15px;
}

.leftPage, .rightPage, .leftPage10, .rightPage10, .firstPage, .lastPage {
    width: 30px;
    height: 30px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}


/* ========== floating - 등록 ========= */
.web-float-button-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    bottom: 20px;
    right: calc(50% - 664px);
    z-index: 100;
}
.writeBtn {
    /* position: fixed;
    bottom: 20px;
    right: calc(50% - 664px); */
    display: flex;
    width: 60px;
    height: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-radius: 60px;
    border: 1px solid var(--new-pink);
    background: #ffffff;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
    color: var(--new-pink);
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    line-height: 14px;
    cursor: pointer;
    z-index: 100;
}

.writeBtn .icon {
    background-image: url('../image/svg/icon-registration.svg');
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: center left 3px;
}


/* ========== side floating button ========== */

.showFloatingBtnWeb.writeAlbaBtn,
.showFloatingBtnWeb.writeBtn,
.showFloatingBtnWeb.kakaoBtn,
.showFloatingBtnWeb.topBtn {
    display: block;
    cursor: pointer;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.07);
    padding: 0;
    border: none;
}

@media (max-width: 767px) {
    .showFloatingBtnWeb {
        display: none;
    }
}


/* ========== radio button ========= */
.entertainBoxSub {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entertainBoxSub span {
    color: #c0c0c0;
}

.entertain_radioList,
.dl_radioList,
.use_car_radioList {
    display: inline-block;
    position: relative;
    padding: 0 6px;
    width: 120px;
    height: 40px;
}

.entertain_radio_txt,
.dl_radio_txt,
.use_car_radio_txt {
    font-size: medium;
    color: #c0c0c0;
}

.entertain_radioList input[type='radio'],
.dl_radioList input[type='radio'],
.use_car_radioList input[type='radio'] {
    display: none;
}

.entertain_radioList label,
.dl_radioList label,
.use_car_radioList label {
    color: #666666;
    cursor: pointer;

}


.entertain_radioList label:before,
.dl_radioList label:before,
.use_car_radioList label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 1px solid #c0c0c0;
    background-color: var(--white);
}

.entertain_radioList input[type=radio]:checked + label:after,
.dl_radioList input[type=radio]:checked + label:after,
.use_car_radioList input[type=radio]:checked + label:after {
    border-radius: 11px;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 10px;
    left: 11px;
    content: " ";
    display: block;
    background: var(--new-pink);
}

.entertain_radioList input[type=radio]:checked + label:after {
    top: 12px;
}


.radioBtnGroup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.radioBtnGroup .dl_radioList {
    position: relative;
    padding: 0;
    width: auto;
    height: 24px;
    display: flex;
    align-items: center;
}

.radioBtnGroup .dl_radioList label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
    gap: 5px;
}

.radioBtnGroup .dl_radioList label:before {
    top: 1px;
    margin: 0;
}

.radioBtnGroup .dl_radioList input[type=radio]:checked + label:after {
    top: 7px;
    left: 5px;
}


/* ========== footer ========= */
.footer {
    background-color: #000000;
    width: 100%;
    position: relative;
}

.footer .footerContext {
    width: 1204px;
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
}

.footer .footerContext .info {
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    display: block;
    margin-bottom: 5px;
}


/* 하단 */
.footer .footerContext .companyLink {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.footer .footerContext .companyLink span {
    color: #959595;
    font-size: 12px;
    font-weight: 300;
    cursor: pointer;
}

.footer .footerContext .companyLink span:nth-child(4) {
    color: var(--new-pink);
}

.footer .linkBtnBox {
    position: absolute;
    bottom: 30px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer .linkBtnBox .link_sns {
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
}

.footer .linkBtnBox .link_sns.kakao {
    background-image: url("../../static/image/svg/icon-kakaoch.svg")
}

.footer .linkBtnBox .link_sns.instagram {
    background-image: url("../../static/image/svg/icon-instagram.svg")
}

.footer .linkBtnBox .link_sns.youtube {
    background-image: url("../../static/image/svg/icon-youtube.svg")
}


/* ========== responsive : base 반응형 ========= */
/* web */
@media (max-width: 1200px) {
    .navbar_rightBox{
        gap: 20px;
    }
    .header .searchBox{
        width: 200px;
    }
    .header .searchBox #search{
        width: calc(100% - 34px);
    }

    .container_header {
        /* width: 1104px;
        max-width: 1140px; */
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        padding: 0 20px;
    }

    

    .footer .footerContext {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .footer .linkBtnBox {
        right: 20px;
    }


}


@media (max-width: 992px) {

    .mobileNone,
    .mobileNone2 {
        display: none !important;
    }

    .pcNone {
        display: block !important;
    }

    .writeBtn {
        top: unset;
        right: 20px;
        bottom: 20px;
        z-index: 50;
    }

    .nav-group{
        display: none;
    }


    /* header */
    .header {
        height: 60px;
        transition: 0.5s;
    }

    .container_header {
        width: 100%;
    }

    .header .logo {
        width: 100px;
        height: 34px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .navbar-header {
        width: 100%;
        height: 100%;
    }

    

    .navbar_leftBox {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-icon-box {
        height: 34px;
        width: 34px;
    }

    .icon-msg {
        margin: 0;
        background-size: 28px !important;
        width: 100% !important;
        height: 100% !important;
    }

    .header .icon-three_line {
        width: 34px;
        height: 34px;
        background-image: url('../image/svg/icon-mobile-nav.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% auto;
    }

    .header .searchBox2 .mobile-search-btn {
        display: inline-block;
        width: 15px;
        height: 15px;
        box-sizing: border-box;
        vertical-align: middle;
        cursor: pointer;
        margin-top: -1%;
        margin-right: 10px;

        background-image: url('../../image/mobile/searchBtn.png');
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* serach 버튼 클릭시 변경된 디자인 */
    .header .menu {
        width: 150px;
        display: inline-block;
        height: 40px;
        cursor: pointer;
        box-sizing: border-box;
        text-align: right;

        font-size: 12px;
    }

    /* side menu */
    .navbar .navbar-header .navbar-toggler {
        cursor: pointer;
        border: none;
        display: none;
        outline: none;
    }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        height: 100%;
        position: fixed;
        z-index: 200;
        top: 0;
        right: 0;
        background-color: #232323;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
        width: 60% !important;
    }

    .navbar-menu .closebtn {
        position: absolute;
        top: 0;
        left: 0;
        width: 60px;
        height: 60px;
        background-image: url('../image/svg/icon-mobile-side-close.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .menu,
    .navbar-nav .join,
    .navbar-nav .logout {
        width: 100%;
        height: auto;
        padding: 0 20px;
    }

    .navbar-nav .menu a,
    .navbar-nav .join a,
    .navbar-nav .logout a {
        transition: 0.3s;
        text-decoration: none;
        display: flex;
        padding: 20px 0px 10px 0px;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px; /* 150% */
        border-bottom: 1px solid rgba(255, 255, 255, 0.50);
    }

    .logo_white {
        width: 92px;
        height: 34px;
        margin-top: 10px;

        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('../image/svg/logo-onepick-w.svg');
        position: absolute;
        bottom: 20px;
        left: 20px;
    }

    .loginBox {
        display: none !important;
    }


    .container {
        padding: 80px 20px 50px;
    }

}


/* mobile */
@media (max-width: 767px) {
    /* 공통 */
    .filterSaveBtnMobileNone {
        display: none;
    }

    .container {
        width: 100%;
        padding: 80px 20px 65px;
        margin: 0 auto;
        box-sizing: border-box;
        min-height: 70vh;
    }

    .showId {
        color: #959595;
    }


    .navbar_rightBox{
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .header .searchBox #search{
        width: calc(100% - 34px);
    }


    /* footer */
    .footer {
        width: 100%;
    }

    .footer .footerContext {
        position: relative;
        padding: 20px;
    }

    .footer .footerContext .companyLink {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 20px;
        row-gap: 10px;
        column-gap: 0;
    }

    .footer .linkBtnBox {
        /* left: 20px;
        bottom: 50px;
        right: unset; */
        position: unset;
        margin-top: 20px;
    }

    .footer .linkBtnBox .link_sns {
        width: 24px;
        height: 24px;
        background-size: contain;
    }

    /* paginaiotn */
    .page {
        margin-top: 20px;
    }

    .pageBox {
        gap: 0;
        margin: 0;
    }

    .pages {
        font-size: 16px;
    }

}

/* 390px 이하 작은 모바일 */
@media (max-width: 390px) {
    .header .logo {
        width: 90px;
    }

    .header .searchBox {
        width: 42vw;
    }
}