
#cover-image {
    background-image: url("/images/bg_scene.webp");
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#cover-image .play_tour {
    display: block !important;
    cursor: pointer;
}

#cover-image .play_tour {
    animation: scalePulse 2s infinite ease-in-out;
}

#cover-image .group-slide-btn {
    display: contents;
}

#cover-image img {
    max-width: 100vh;
}


@keyframes scalePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.ext-popup-close-button {
    background-image: url("<?= $basePath ?>/webwalk/img/close.svg");
}

#primary-progress > circle:nth-child(1) {
    stroke: rgba(0, 74, 132, 0.6)
}

.modal-detail {
    top: 0;
    left: 0;
    position: absolute;
    z-index: 9999;
    background: rgba(192, 192, 192, 0.66);
    width: 100dvw;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-detail.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-detail.hide {
    opacity: 0;
    pointer-events: none;
}

.modal-detail.modal-content {
    opacity: 0;
    transform: scale(0.75);
}

.modal-detail.show .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-detail .modal-content {
    background: white;
    position: relative;
    border-radius: 10px;
    transform: scale(0.75);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-detail .modal-content {
    border-radius: 10px;
    max-width: 60dvw;
    max-height: 95dvh;
    justify-content: space-around;
}

.modal-detail .modal-content .info {
    background: #ba2824;
    overflow: auto;
    padding: 10px;
    min-width: 20dvw;
    height: 100%;
    max-height: 35dvh;
}

.modal-detail .modal-content .info * {
    color: white !important;
}

.modal-detail .modal-content .info .info-text {
    width: 100%;
}

.modal-detail .modal-content .info iframe {
    width: 100%;
    height: 300px;
}

.modal-detail .modal-content .image {
    min-width: 40dvw;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-detail .modal-content img {
    max-width: 100%;
    height: 100%;
    max-height: 55dvh;
}

@media (max-height: 600px) {
    #cover-image img {
        max-width: 40%;
    }
}

@media (max-aspect-ratio: 1/1) {
    .modal-detail .modal-content {
        flex-direction: column-reverse;
        max-width: 95dvw;
        height: unset;
    }


    .modal-detail .modal-content .info {
        overflow: auto;
        padding: 10px;
    }

    #cover-image {
        /*background-image: url("/images/bg_scene_mobile.webp");*/
        justify-content: space-between;
        padding: 5%;
    }

    #cover-image img {
        max-width: 90%;
    }

    #cover-image .group-slide-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    #cover-image .mid_slide {
        max-width: 200%;
        margin-bottom: 10%;
    }

    #cover-image .ptta_text {
        margin-bottom: 10%;
    }

    #cover-image .play_tour {
        margin-bottom: 10%;
    }
}

.d-flex {
    display: flex !important;
    opacity: 1 !important;
}

.modal-detail .modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #444;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

#tour-button {
    display: inline-block !important;
}

.mc {
    background: #b1231f7a;
    backdrop-filter: blur(10px);
    border: 0px solid rgb(0, 0, 0);
    cursor: pointer;
    height: 80px;
    position: absolute;
    bottom: 15px;
    overflow: hidden;
    border-radius: 50%;
    right: 10px;
    visibility: inherit;
    width: 80px;
    pointer-events: auto;
    transform-origin: 50% 50%;
    transition: width 0.3s ease, height 0.3s ease, bottom 0.3s ease;
}

.turn-off-audio-area {
    cursor: pointer;
    height: 39px;
    width: 40px;
    transition: width 0.3s ease, height 0.3s ease;
    display: none;
}

.turn-off-audio-area img {
    margin-top: 5px;
}

.mc .img-mc {
    display: block;
}

.mc .img-mc-off {
    display: none;
}

.img-mc {
    position: absolute;
    -webkit-user-drag: none;
    pointer-events: none;
    width: 80px;
    left: 50%;
    margin-left: -40px;
    top: 50%;
    margin-top: -36px;
}

.img-mc-off {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50%;
    height: 50%;
    -webkit-user-drag: none;
    pointer-events: none;
    margin-left: 10px;
    margin-top: 10px;
}

.mc.off {
    height: 40px;
    width: 40px;
}

.mc.off .img-mc {
    display: none;
}

.mc.off .img-mc-off {
    display: block;
}

.control-box {
    display: flex;
    position: absolute;
    bottom: 15px;
    left: 15px;
    transition: bottom 0.3s ease;
}

.control-box-content {
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.59);
    backdrop-filter: blur(4px);
    border-radius: 15px;
}

.control-box * {
    cursor: pointer;
}

#tour-button .play {
    display: block;
}

#tour-button .pause {
    display: none;
}

#tour-button.tour-on .play {
    display: none;
}

#tour-button.tour-on .pause {
    display: block;
}

#menu-bar, #view-list {
    display: none !important;
}

.mini-map {
    position: absolute;
    top: 50px;
    right: 15px;
    background: #f0f8ff73;
    display: none;
}

.mini-map.show {
    display: block;
}

.point-map {
    cursor: pointer;
}

.point-map:hover {
    scale: 1.5;
}

.list-view {
    transform: rotate(180deg);
    transition: transform 0.4s ease;
}

.show-list-view .control-box, .show-list-view .mc {
    bottom: 140px;
}

.show-list-view .owl-carousel-list-view {
    bottom: 0px;
}

.show-list-view .list-view {
    transform: rotate(0deg);
}

.owl-carousel-list-view {
    position: absolute;
    background: rgba(255, 255, 255, 0.34);
    padding: 10px;
    width: 100%;
    bottom: -150px;
    transition: bottom 0.3s ease;
}

.owl-carousel-list-view .item {
    display: flex;
    height: 100px;
    justify-content: center;
    align-items: end;
    cursor: pointer;
}
