:root {
    --doc-height: 100%;
}

html, body {
  overscroll-behavior: none;
}

.facilities-tour{
    height: 100vh; 
    height: var(--doc-height);;
}

#turntableContainer{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #c5e0fd;
    position: relative;
}
#turntableContainer img{
    max-height: 100%;
    max-width: 100%;
    
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
#turntableContainer .markers{
    position: absolute;
    top: 0;
    left: 0;
}
#turntableContainer .markers .marker{
    position: absolute;
    top: 435px;
    left: 420px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(139deg, rgba(233, 104, 7, 1) 0%, rgba(234, 107, 6, 1) 25%, rgba(250, 193, 0, 1) 99.95%, rgba(250, 193, 0, 1) 100%);;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.left-button{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 50px;
    height: 50px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #056e96;
    color: white;
    cursor: pointer;
    
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.right-button{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    width: 50px;
    height: 50px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #056e96;
    color: white;
    cursor: pointer;
    
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
}

.loading .progressbar-outer{
    width: 250px;
    padding: 2px;
    border: 2px solid #000;
}

.loading .progressbar-inner{
    width: 0%;
    height: 10px;
    background: #056e96;
}

.left-button img, .right-button img {
    max-width: 36px;
}

.tooltip{
    position: absolute;
    left: 35px;
    background: #378dad;
    padding: 8px;
    width: 200px;
    height: 60px;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    
    display: none;
    justify-content: space-between;
    align-items: center;
}

.marker.active .tooltip{
    display: flex;
}

.tooltip .title{
}

.tooltip .button-vr{
    cursor: pointer;
    margin-right: 3px;
    margin-left: auto;
}

.tooltip .button-image{
    cursor: pointer;
}

.tooltip img{
    max-height: 45px !important;
    max-width: 45px !important;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #378dad transparent transparent;
}

#spinControlContainer{
    position: absolute;
    bottom: 4vh;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #fff;
}

#spinControlContainer > *{
    -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

#spinControlContainer .spin-bar .bar{
    height: 5px;
    width: 400px;
    max-width: 60vw;
    border-radius: 10px;
    background: #fff;
}

#spinControlContainer .spin-bar .handle{
    width: 20px;
    height: 20px;
    /*background: linear-gradient(139deg, rgba(233, 104, 7, 1) 0%, rgba(234, 107, 6, 1) 25%, rgba(250, 193, 0, 1) 99.95%, rgba(250, 193, 0, 1) 100%);*/
    background: #fff;
    border-radius: 20px;
    position: relative;
    top: -7px;
    left: -7px;
    cursor: pointer;
}

#spinControlContainer .hint{
    margin-top: 20px;
    text-align: center;
}

.marker{
    box-shadow: 0 0 0 0 rgba(250, 193, 0, 1);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        xtransform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 193, 0, 0.7);
    }
    
    70% {
        xtransform: scale(1);
        box-shadow: 0 0 0 10px rgba(250, 193, 0, 0);
    }
    
    100% {
        xtransform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 193, 0, 0);
    }
}


#vrIframeContainer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: none;
    z-index: 2000;
}

#vrIframeContainer iframe{
    width: 100%;
    height: 100%;
}

#vrIframeContainer .vr-close-button{
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: #fabd01;
    transition: 0.5s;
}

#zoomControlContainer{
    position: absolute;
    right:  20px;
    top:  20px;
}
#zoomControlContainer .zoom-control-button{
    width: 35px;
    height: 35px;
    background: #fdfdfd;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0px;
    cursor: pointer;
}
#zoomControlContainer .zoom-control-button:first-child{
    margin-top: 0;   
}