/* room 공용 */

@font-face {
    font-family: 'ONE-Mobile-POP';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/ONE-Mobile-POP.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

.notosanskr * { 
 font-family: 'Noto Sans KR', sans-serif;
}
/* 룸미리보기 페이지 */
.roompre_wrap {
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.roompre_wrap .content .main_info{
    width: 30%;
}
.btn{
    position: absolute;
    top: -65px;
    left: 150px;
    font-size: 1.3em;
    font-weight: 700;
    z-index: 20;
}
.btn .open,
.btn .close{
    display: none;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    background-color: #fff;
    cursor: pointer;
}
.roompre_wrap .swiper-wrapper{
    justify-content: center !important;
    align-items: center !important;
}
.roompre_wrap .content{
    align-items: center;

}

.preview{
    width: 45%;
    margin: 0 auto;
    font-size: 20px;
}
.preview span{
    font-size: 18px;
}
.roompre_wrap .content {}
.roompre_wrap .content .sub_info .img {
    opacity: 0;
}
.roompre_wrap .content .sub_info .text .title span {
    color: #b7ad9c;
}
.roompre_wrap .content .main_info {
    height: max-content;
    align-self: center;
    padding-top: 0;
}
.roompre_wrap .content .main_info .roompre_swiper {
    height: 100%;
    touch-action: auto !important;
}
.roompre_wrap .content .main_info .roompre_swiper .swiper-wrapper {
    height: 100%;
    touch-action: auto !important;
}
.roompre_wrap .content .main_info .roompre_swiper .swiper-slide {
    width: 300px !important;
    height: 300px !important;
    overflow: hidden;
    touch-action: auto !important;
}
.roompre_wrap .content .main_info .roompre_swiper .swiper-slide img {
    height: 100%;
    touch-action: auto !important;
}
.roompre_wrap .content .main_info .roompre_swiper .swiper-slide .roompre_info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s;
}

.roompre_wrap .content .main_info .roompre_swiper .swiper-slide:hover .roompre_info {
    opacity: 1;
}
.roompre_wrap .content .main_info .roompre_swiper .swiper-slide .roompre_info strong {
    font-family: 'GowunDodum-Regular';
    font-size: 3.4em;
    font-weight: 700;
    color: #fff;
}
/* swiper 버튼 */
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn {
    margin-top: 20px;
}
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > div {
    display: inline-block;
}
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > div.line {
    width: 1px;
    height: 65px;
    margin: 0 5px;
    background: #000;
}

.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev,
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next {
    padding: 7px 15px;
    transition: 0.5s;
    cursor: pointer;
}
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev i:nth-child(2),
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next i:nth-child(2) {
    display: none;
}

.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev:hover,
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next:hover {
    background-color: #121a27;
}
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev:hover i:nth-child(1),
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next:hover i:nth-child(1) {
    display: none;
}
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev:hover i:nth-child(2),
.roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next:hover i:nth-child(2) {
    display: block;
}


/* 모바일 */
@media (max-width: 768px) {
    /* 룸미리보기 페이지 */
    .roompre_wrap .content .sub_info .img {
        opacity: 0;
    }
    .roompre_wrap .content .main_info {
        width: calc(100% - 60px);
        height: 100%;
        padding-left: 0;
        align-self: unset;
        background-color: #f4f1ec;
    }
    .roompre_wrap .content .main_info .roompre_swiper {
        height: 100%;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-wrapper {
        height: max-content;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-slide {
        width: 100% !important;
        height: max-content !important;
        border-radius: 0;
        padding: 0 25px;
        box-sizing: border-box;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-slide img {
        height: 100%;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-slide .roompre_info {
        position: absolute;
        top: auto;
        left: auto;
        right: 35px;
        bottom: 2.5px;
        width: auto;
        height: max-content;
        display: block;
        background-color: transparent;
        opacity: 1;
        transition: 0.5s;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-slide:hover .roompre_info {
        opacity: 1;
    }
    .roompre_wrap .content .main_info .roompre_swiper .swiper-slide .roompre_info strong {
        font-family: 'GowunDodum-Regular';
        font-size: 1.5em;
        font-weight: 700;
        color: #fff;
    }
    /* swiper 버튼 */
    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn {
        margin-top: 20px;
    }
    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > div {
        display: inline-block;
    }
    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > div.line {
        width: 1px;
        height: 65px;
        margin: 0 5px;
        background: #000;
    }

    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev,
    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next {
        padding: 7px 15px;
        transition: 0.5s;
        cursor: pointer;
    }

    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_prev:hover,
    .roompre_wrap .content .main_info .roompre_swiper .roompre_btn > .roompre_next:hover {
        background-color: #b7ad9c;
    }
   

}

