html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: fixed;
    cursor: default;
    width: 100%;
    height: 100%;
}

#panorama {
    width: 100%;
    height: 100%;
}

.custom-hotspot {
    height: 40px;
    width: 40px;
    background: #00ff0fc4;
    border-radius: 40%;
}

div.custom-tooltip span {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 200px;
    padding: 5px 10px;
    margin-left: -220px;
    cursor: default;
}

div.custom-tooltip:hover span {
    visibility: visible;
}

    div.custom-tooltip:hover span:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-width: 10px;
        border-style: solid;
        border-color: #fff transparent transparent transparent;
        bottom: -20px;
        left: -10px;
        margin: 0 50%;
    }

#xemthamquanmenu {
    height: 27.6px;
    /*left: 25px;*/
    overflow: hidden;
    position: absolute;
    top: 94px;
    left: 0px;
    visibility: inherit;
    width: 27.6px;
    z-index: 2;
    background: white;
    border-radius: 3px;
    margin-left: 4px;
    display: flex;
}



    #xemthamquanmenu a, #xemthamquanmenu svg {
        height: 25px;
        width: 25px;
        display: flex;
        margin: auto;
    }

#thamquanmenu {
    height: 60vh;
    /*left: 25px;*/
    /*overflow: hidden;*/
    position: absolute;
    top: calc(15% + 30px);
    visibility: inherit;
    width: 20vw;
    min-width: 300px;
    z-index: 2;
    display: none;
    left: 4px;
}

    #thamquanmenu.active {
        display: inherit;
    }

    #thamquanmenu .search-box {
        position: absolute;
        top: 0;
        display: flex;
        height: 35px;
        width: 100%;
    }

        #thamquanmenu .search-box a {
            display: flex;
        }

            #thamquanmenu .search-box a svg {
                margin: auto;
            }

#listdiadiemthamquan {
    background: rgba(255, 255, 255, 0);
    border: 0px solid rgb(0, 0, 0);
    height: calc(60vh - 100px);
    top: 50px;
    /*left: 25px;*/
    overflow: hidden;
    position: absolute;
    visibility: inherit;
    width: 20vw;
    min-width: 300px;
    pointer-events: none;
    /*    transform-origin: 0% 0%;
    transform: translate(0px, 0px) rotate(0deg) scale(0.8, 0.8);
    transition: left 300ms ease-out, top 300ms ease-out, opacity;*/
    opacity: 1;
    z-index: 2;
    list-style-type: none;
    padding-left: 5px;
    background: #908d8d7a;
    border-radius: 3px;
}

    #listdiadiemthamquan li {
        height: 50px;
        left: 0px;
        /*position: absolute;*/
        top: calc(50% - 25px);
        visibility: inherit;
        width: 100%;
    }

        #listdiadiemthamquan li a {
            border-color: rgb(255, 255, 255);
            border-style: solid;
            border-width: 0px 0px 0px 5px;
            color: rgb(255, 255, 255);
            cursor: pointer;
            height: 50px;
            padding-left: 15px;
            font-size: 1.1rem;
            visibility: inherit;
            width: 100%;
            pointer-events: auto;
            overflow: hidden;
            text-shadow: rgb(0, 0, 0) 1px 1px 4px;
            text-decoration: none;
        }

            #listdiadiemthamquan li a:hover, #listdiadiemthamquan li a.active {
                border-color: rgb(255, 138, 0)
            }

#diadiempreview {
    display: none;
    object-fit: contain;
    position: absolute;
    width: 50vw;
    height: 60vh;
    top: 20vh;
    left: 25vw;
    z-index: 3;
    background: white;
    border-radius: 5px;
}

    #diadiempreview.active {
        display: inherit;
    }

#diadiemphantrang {
    display: none;
    position: absolute;
    top: 55vh;
    width: 100%;
}

    #diadiemphantrang.active {
        display: inherit;
    }

    #diadiemphantrang nav {
        display: flex;
    }

    #diadiemphantrang ul {
        margin: auto;
    }

#keyword_place {
    width: calc(100% - 40px);
}

#logo_img {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 20;
    top: 5px;
    right: 5px;
}

.pnlm-load-button {
    background-color: rgb(0 136 90 / 93%);
    border-radius: 5px;
    height: 80px;
}

    .pnlm-load-button:hover {
        background-color: rgb(0 122 80);
    }


#loadingcontainer {
    display: none;
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 4;
    background: white;
}

    #loadingcontainer.active {
        display: inherit;
    }

    #loadingcontainer img {
        width: 100vw;
        height: 100vh;
        object-fit: contain;
    }

    #loadingcontainer a {
        position: absolute;
        width: 200px;
        height: 80px;
        z-index: 5;
        background-color: rgb(0 136 90 / 93%);
        border-radius: 5px;
        top: calc(50vh - 40px);
        left: calc(50vw - 100px);
        text-align: center;
        font-size: 1.3rem;
        color: white;
        align-items: center;
        padding: 10px;
        cursor: pointer;
    }

        #loadingcontainer a:hover {
            background-color: rgb(0 122 80);
        }


.scale-shine {
    display: inline-flex;
    animation: scaleAndShine 1.2s ease-in-out infinite;
    text-shadow: none;
    background-color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #0d6efd !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

@keyframes scaleAndShine {
    0%,to {
        transform: scale(1);
        box-shadow: none
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(255,255,255,.8)
    }
}
