@charset "UTF-8";
/*****************************************************************

Copyright C 위브온 테마 All rights reserved.
weevon@naver.com & master@weevon.com
본 페이지는 유료콘텐츠 위브온 테마 CSS입니다. 불법복제시 법적인 제제를 받으실 수 있습니다.
라이센스를 삭제하지 마세요. 라이센스 삭제시 불법 사용으로 간주될 수 있습니다.

******************************************************************/

/* 팝업레이어 */
#wv-hd-pop {
    position: relative;
    z-index: 200;
}

#wv-hd-pop h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}


.wv-hd-pops {
    position: fixed;
    z-index: 200;
    background: #000;
}

.wv-hd-pops img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wv-hd-pops-con {
    overflow: hidden;
}

.wv-hd-pops-footer {
    padding: 5px 10px 5px 10px;
    background: #000;
    color: #fff;
    text-align: left;
    position: relative;
}

.wv-hd-pops-footer:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.wv-hd-pops-footer button {
    border: 0;
    color: #fff;
}

.wv-hd-pops-footer .hd_pops_reject {
    background: #000;
    text-align: left;
    position: relative;
    color: #999;
}

.wv-hd-pops-footer .hd_pops_reject:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #666;
    position: absolute;
    bottom: -4px;
}

.wv-hd-pops-footer .hd_pops_close {
    position: absolute;
    top: 10px;
    right: 20px;
}

@media screen and (max-width:768px) {

    :root {
        --pop-mobile-width: 310px;
        --pop-mobile-top: 10px;
    }

    .wv-hd-pops {
        left: 50% !important;
        right: auto !important;
        top: var(--pop-mobile-top) !important;
        transform: translateX(-50%) !important;

        width: var(--pop-mobile-width) !important;
        max-width: calc(100vw - 24px) !important;
        height: auto !important;

        overflow: hidden !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: 0 8px 22px rgba(0,0,0,.18);
    }

    .wv-hd-pops-con {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: var(--nw-width, 320) / var(--nw-height, 400);
        overflow: hidden !important;
        background: #000;
        font-size: 0;
    }

    .wv-hd-pops-con p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .wv-hd-pops img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .wv-hd-pops-footer {
        padding: 7px 10px;
        font-size: 12px;
        line-height: 1.25;
        box-sizing: border-box;
    }

    .wv-hd-pops-footer .hd_pops_reject {
        font-size: 12px;
    }

    .wv-hd-pops-footer .hd_pops_close {
        top: 7px;
        right: 10px;
        font-size: 12px;
    }
}
