@charset "utf-8";

/*팝업 css*/
.over-modal-wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    background-color: rgba(255, 255, 255, .5);
    display: flex;
}
.over-modal-wrap.on {
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 1;
}
.over-modal.popup {
    display: block;
    position: fixed;
    background-color: transparent;
}

.slick-slide  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



/*.over-modal.popup.on {*/
/*    top: 50%;*/
/*    left: 50%;*/
/*}*/

.over-modal.popup {
    width: 500px;
}

.over-modal.popup .owl-stage-outer .owl-stage {
    display: flex;
}

.over-modal .pop-header {
    justify-content: start;
}

.over-modal .pop-header p {
    color: #fff;
    margin-left: 17px;
    padding-right: 32px;
}

.over-modal.popup .pop-header {
    background-color: #fff;
    z-index: 1;
    height: 60px;
    display: flex;
    padding: 0 20px;
    align-items: center;
    position: relative;
    justify-content: flex-end;
}

/* 헤더 X 닫기 버튼 */
.over-modal.popup .pop-header .btn {
    padding: 0 !important;
    border: none !important;
    border-radius: 6px;
    background-color: transparent !important;
    font-size: 24px;
    box-shadow: none !important;
}
.over-modal.popup .pop-header .btn::before,
.over-modal.popup .pop-header .btn::after {
    display: none !important;
}
.over-modal.popup .pop-header .btn-popup-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 300ms cubic-bezier(0, 0, 0.2, 1);
    font-size: 24px;
    font-weight: 400;
    color: #495057;
    position: absolute;
    right: 10px;
    padding: 0;
    line-height: 1;
}
.over-modal.popup .pop-header .btn-popup-close i {
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
}
.over-modal.popup .pop-header .btn-popup-close:hover {
    background-color: #E9ECEF;
    color: #000;
}

.over-modal.popup .owl-stage-outer {
    overflow: hidden;
    height: auto !important;
}
.over-modal.popup .slick-arrow {
    width: 72px;
    height: 72px;
    position: absolute;
    border-radius: 100%;
    background-color: rgb(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    font-size: 0;
    z-index: 1;
    transform: translateY(-50%);
}

.over-modal.popup .slick-arrow:hover { border-color: #888; }

.over-modal.popup .slick-arrow:before { font-family: "Remixicon"; font-size: 27px; }

.over-modal.popup .slick-arrow.slick-prev { left: 32px; }

.over-modal.popup .slick-arrow.slick-prev:before { content: "\ea64"; }

.over-modal.popup .slick-arrow.slick-next { right: 32px; }

.over-modal.popup .slick-arrow.slick-next:before { content: "\ea6e"; }


.over-modal.popup .pop-container {
    background-color: #fff;
    box-shadow: 0 0 80px rgba(0, 0, 0, .3);
}

.over-modal.popup .pop-container .over-pop-slide {
    background: #fff;
}

/*.slick-initialized .slick-slide {*/
/*    justify-content: center !important;*/
/*    display: flex !important;*/
/*    position: relative !important;*/
/*    z-index: 999 !important;*/
/*}*/

.slick-slide img {
    /*width: auto !important;*/
}

.over-modal.popup .pop-container a {
    max-height: 80vh;   /* 화면 높이 기준 최대치 */
    height: auto;       /* 내용에 따라 줄어듦 */
    overflow-y: auto;
}







/* 푸터 영역 */
.over-modal.popup .pop-footer {
    padding: 15px 20px;
    position: relative;
    text-align: left;
    background-color: #F2F3F7 !important;
    border-top: none;
}

/* 푸터 .form-check 레이아웃 */
.over-modal.popup .pop-footer .form-check {
    padding-left: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* 버튼이 하나만 있을 때 오른쪽 정렬 */
.over-modal.popup .pop-footer .form-check .btn-popup-close:only-child {
    margin-left: auto;
}

/* 푸터 버튼 공통 */
.over-modal.popup .pop-footer button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none;
    box-shadow: none !important;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0, 0, 0.2, 1);
}
.over-modal.popup .pop-footer button::before,
.over-modal.popup .pop-footer button::after {
    display: none !important;
}

/* 오늘 하루 보지 않기 버튼 */
.over-modal.popup .pop-footer .btn-today-close {
    background-color: #fff !important;
    color: #343A40;
    border: 1px solid #CCCCCC !important;
}
.over-modal.popup .pop-footer .btn-today-close:hover {
    background-color: #202C38 !important;
    border-color: #202C38 !important;
    color: #fff;
}

/* 닫기 버튼 */
.over-modal.popup .pop-footer .btn-popup-close {
    background-color: #036BAC !important;
    color: #fff;
    border: none !important;
    white-space: nowrap;
    width: auto;
    height: auto;
}
.over-modal.popup .pop-footer .btn-popup-close:hover {
    background-color: #202C38 !important;
}

.over-modal.popup .code-popup {
    padding: 30px 40px;
    background-color: #F8F9FB;
}

@media (max-width: 1026px) {
    .over-modal.popup {
        min-width: 360px;
        max-width: calc(100% - 40px);
        max-height: calc(100% - 40px);
    }
}
