@charset "uft-8";
p{
    margin: 0;
}
/* 마스크 */
#mask{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0, 0, 0, 0);
    z-index: 111;
    display: none;
}
#mask.active{
    display: block;
}

/* 기본 모달 */
.modal{
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(120%);
    z-index: 111;
    width: 100%;
    max-width: 530px;
    background: #fff;
    /* box-shadow: 0 0 10px rgb(255 255 255 / 50%); */
    /* backdrop-filter: blur(10px) saturate(10px); */
    /* -webkit-backdrop-filter: blur(10px) saturate(10px); */
    /* border: 1px solid #fff; */
    border-radius: 16px;
    overflow: hidden;
    /* padding: 8px; */
    opacity: 0;
    transition: 0.5s all;
}
.modal.active{
	opacity: 1;
	transform: translateY(-50%);
}

#img-tour-tag2 {
	position: absolute;
    bottom: 0;
    left: 200px;
    width: 60px;
    cursor: pointer;
}

/*모달 CSS*/
.modal-content {
    position: relative;
    padding: 16px;
}
#closeBar{
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 5px;
    border-radius: 10px;
		display: block;
    background: #c1c1c1;
		cursor: pointer;
}

.modal-header {

}

.modal-header .k-tit {
    color: #000000;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 20px;
    text-transform: uppercase;
}

.modal-header .title .main-title {

}

.modal-header .title .sub-title {
    margin:3px 0 0;
    
}

#close-modal {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
#close-modal .bg,
#close-modal .arrow{
    transition: 0.5s all;
}

#close-modal:hover .bg{
    fill: #666;
}
#close-modal:hover .arrow{
    fill: #fff;
}

.modal-content-display{
    margin-top: 15px;
    overflow: hidden;
    border-radius: 13px;
}
.modal-image {
	max-height: 280px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* width: -webkit-fill-available; */
    /* padding: 10px 20px; */
}











.modal-footer {
    display: flex;
    justify-content: space-between; /* 이미지가 좌우로 배치되도록 설정 */
    align-items: center;
    padding: 20px;
    background-color: #fff;
}


.modal-footer .right-image {
    width: 25%;
    height: auto;
}

.modal-footer .left-image{
    height:auto;
    cursor:pointer;
}

.modal-footer2 {
    display: flex;
    justify-content: space-between; /* 이미지가 좌우로 배치되도록 설정 */
    align-items: center;
}

.left-images-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reset {
	cursor:pointer;
}

.left-image,
.reset {
    margin-right: 10px; /* 이미지들 사이에 여백 추가 */
}

.left-image:last-child,
.reset {
    margin-right: 0;
}

#left-image2{display:none;}
.modal_doll {
    width: 100%;
    border: none;
    min-height: 250px;
    overflow: hidden; /* 스크롤바 숨기기 */
}

.modal_doll::-webkit-scrollbar {
    display: none !important; /* 웹킷 브라우저에서 스크롤바 숨기기 */
}



.modal-body-art{
    height: 100%;
    max-height: 32px;
    overflow-y: auto;
    padding-top: 4px;
}
.modal-body-art::-webkit-scrollbar{
    width: 5px;
}
.modal-body-art::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 10px;
}
.modal-body-art::-webkit-scrollbar-thumb{
    /* background: #000; */
    /* background: #78967e; */
    background: #e1e1e1;
    border-radius: 10px;
}
.modal-body-art p{
    font-weight: 400;
    font-size: 13px;
    color: #757E77;
    letter-spacing: -0.03em;
    word-break: keep-all;
}
#modal-art-kr{
    display: block;
}
#modal-art-en{
    display: none;
}




/*모달 제목 내용 CSS*/
#modal-title-kr{
    display: block;
}
#modal-title-en{
    display: none;
}


.modal-body-title p{
    font-weight: 700;
    font-size: 26px;
    color: #000;
    word-break: keep-all;
    margin-top: 20px;
}
.modal-body-title p b{
    font-size: 16px;
    color: #666;
}
.modal-body {
	/*height: 126px;*/
    height: 0px;
    overflow-y: auto;
    margin: 16px 0 24px;
}

.modal-body h3{
	font-weight:bold;
	font-size:35px;
	margin:5px 0;
	color: #000;
}

.modal-body p{
	word-break: keep-all;
	font-size: 15px;
	margin-bottom: 16px;
	color: #000;
	letter-spacing: -0.03em;
}
.modal-body p:last-child{
    margin-bottom: 0;
}

#modal-body-en h3{
    font-weight:bold;
    font-size:35px;
    margin:5px 0;
    color: #58765F;
}
#modal-body-en {
    display: none;
}
/* 스크롤바 커스터마이징 */
.modal-body::-webkit-scrollbar{
    width: 5px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; /* 트랙 배경색 */
    border-radius: 10px; /* 트랙 둥글게 */
}

.modal-body::-webkit-scrollbar-thumb {
    /* background: #000;  */
    /* background: #78967e; */
    background: #bed5c3;
    border-radius: 10px; /* 스크롤바 둥글게 */
}


@media (max-width:1440px) {
    .modal-body{
        /*height: 105px;*/
		height: 0px;
        margin: 20px 0;
    }
    .modal-body p{
        font-size: 14px;
    }
    .modal-body-title p{
        font-size: 20px;
        line-height: 1.05;
    }
    .modal-body-title p b{
        font-size: 14px;
    }
    .lang-button{
        font-size: 12px;
    }
    .modal-header .k-tit{
        margin-top: 8px;
    }
    #modal-tour-audio .audio_tit p{
        font-size: 15px;
    }
    #modal-tour-audio .audio_tit p.ss{
        font-size: 12px;
        margin-bottom: 8px;
    }
    #playingBar{
        margin-bottom: 10px;
    }
}

@media (max-width:768px) {
    .modal{
        max-width: 420px;
        right: unset;
        left: 50%;
        transform: translate(-50%, 220%);
    }
    .modal.active{
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .modal-content-display{
        border-radius: 8px;
    }
    .modal-image,
    .modal_doll{
        min-height: unset;
    }
    .modal-image{
        max-height: unset;
    }
    .modal-body p{
        font-size: 13px;
    }
    .modal-body-title p{
        font-size: 18px;
    }
    .modal-body-title p b{
        font-size: 13px;
    }
    .modal-body-art p{
        font-size: 12px;
    }
    .modal_btm_logo{
        width: 65px;
    }
}
@media (max-width:500px) {
    .modal{
        max-width: 85%;
        padding: 6px;
    }
    .modal-content{
        padding: 8px;
    }
    #close-modal{
        top: 12px;
        right: 12px;
    }
    #modal-tour-audio .audio_tit p{
        font-size: 13px;
    }
    #modal-tour-audio .audio_tit p.ss{
        font-size: 10px;
    }
    .modal-header .k-tit{
        font-size: 10px;
    }
}
@media (max-width:425px) {
    .modal-body-art p{
        font-size: 10px;
    }
    .modal_btm_logo{
        width: 60px;
        bottom: 8px;
        right: 10px;
    }
    
}


