:root {
  --th_dark: #663333;
  --th_dark2: #50140F;
  --th_light: rgb(247,227,198);
  --sharp: #E6781C;
  
}


.map-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-block;
  line-height: 0; /* Prevents strange bottom spacing alignment gaps */
  display: inline-flex;
justify-content: flex-start;
align-items: center;
}


@media (orientation: landscape) and (max-height: 600px) {
 
    
    
    .mview{
        width: auto !important;     
        max-height: 30vh  !important; 
    }
}
@media only screen and (max-width: 4000px) {

    :root{          
        --hh:120px; 
    }
    .slt_fo_logo{
     height:25px !important;
    }
    .slt_menu{
        display:flex !important;
    }
    .slt_m_menu{
        display:none !important;
    }
    .slt_pop_title{
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
        width: 28rem;
        text-align: center;
    }
    
    .slt_pop_temple{
        position: absolute;
        bottom: 1.5rem;
        left: 1.5rem;
        width: 30rem;
        text-align: justify;
    }
    
    .slt_pop_floorplan{
         position: absolute;
        bottom: 1.5rem;
        right: 1.5rem;
       
        text-align: justify;
        max-height:70%;
        justify-content: center;
    }
    
    .slt_pop_p{
        position: absolute;
        bottom: 1.5rem;
        left: 1.5rem;
        width: 30rem;
        text-align: justify;
        max-height: 70%;
    }
    
    .slt_pop_p3d{
        position: absolute;
        top: 50%;
        transform: translate(0%, -50%);
        left: 1.5rem;
        width: 95%;
        text-align: justify;
    }
    
    .slt_pop_menu{
        position: absolute;
        bottom: 1.5rem;
        right: 1.5rem;
       
        text-align:right;
       
    }
    .slt_temple_name{
        display:flex !important;
    }

    .mview{
        width: auto;
        height: 50vh;
    }

    .mview.vrmode {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important; /* Above everything except the VR mask */
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slt_pop_p_img{
         max-height: 30vh;
    }
}              


@media only screen and (max-width: 1024px) {

    :root{          
        --hh:120px; 
    }
    .slt_fo_logo{
        
        margin-right:auto;
        
       
    }
    .slt_menu{
        display:none !important;
    }
    
    .slt_m_menu{
        display:flex !important;
    }
    
    .slt_temple_name{
        display:none !important;
    }
    
    .slt_pop_temple{
        bottom: 4.5rem;
    }
    
    .slt_pop_floorplan{
        bottom: 4.5rem;
        max-height:70%;
        justify-content: center;
    }
    
    .slt_pop_p{
        bottom: 4.5rem;
    }
    
    .slt_pop_menu{
        position: absolute;
        bottom: 4.5rem;
       

        right: 1.5rem;
        text-align:right;
    }
    .slt_pop_p3d{
        position: absolute;
        bottom: 4.5rem;
        width: 95%;
        text-align: center;
        left: 50%;
       
        transform: translate(-50%, -50%);
        top: 50%;
        height:fit-content;
         max-height:70vh;
        
    }

    .mview{
        width: auto;
        height: 40vh
    }
    
    .slt_pop_p_img{
        max-height: 30vh;
        max-width: 50vw;
        /*width:100%;*/
    }

    
    
}
@media only screen and (max-width: 800px) {

    :root{          
        --hh:72px; 
    }
    .slt_fo_logo{
        margin-left:auto;
        margin-right:auto;
      
       
        height:35px !important;

    }
    
    .slt_pop_title{
        position: absolute;
        top: 1.5rem;
        
        width: 95%;
        text-align: center;
        left: 50%;
        transform: translate(-50%, 0);
    }
    
    .slt_pop_temple{
        position: absolute;
        bottom: 4.5rem;
        width: 95%;
        text-align: center;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .slt_pop_p{
        position: absolute;
        bottom: 4.5rem;
        width: 95%;
        text-align: center;
        left: 50%;
        transform: translate(-50%, 0);
    }
    
    .slt_pop_p3d{
        position: absolute;
        bottom: 4.5rem;
        width: 95%;
        text-align: center;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        height: fit-content;
        max-height:70vh;
        
    }

    
    .slt_pop_p_img{
        /*max-height: 10rem;*/
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        max-height: 30vh;
        max-width: 50vw;
        /*width:100%;*/
    }
    
    .slt_pop_floorplan{
        position: absolute;
        bottom: 4.5rem;
        width: 95%;
        right: 1.5rem;
        left: 50%;
        transform: translate(-50%, 0);
        max-height:70%;
        justify-content: center;
    }

}

.slt_icon{
    width:35px;
    height:35px;
     cursor:pointer;
}
.slt_meicon{
    width: 2.3rem;
    height: 2.3rem;
    background-color: var(--th_dark2);
    padding: 0.3rem;
    border-radius: 0.4rem;
    cursor:pointer;
}
/*---------------------------------*/
.slt_header{
   height:3.5rem;
   min-height:3rem;
   background-color:var(--th_dark2);
}


.slt_head_title{
    width:auto;
    height:100%;
    
   
}
.lang-dropdown {
  display: none; /* Hidden by default */
  position: absolute;
  top:0;
  right:0;
  transform: translateY(3.5rem);
  background-color: var(--th_dark);
  border: 1px solid #c2a677; /* Matching your gold accent color */
  border-radius: 4px;
  width: 4rem;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
  z-index: 9999;
}

/* Individual language rows */
.lang-dropdown button {
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
  background-color: transparent;
    border: 0;
    width: 100%;
}

/* Hover state */
.lang-dropdown button:hover {
  background-color: var(--th_light);
  color: #3a1711;
}

.lang-dropdown.show {
  display: block;
}

.slt_pop_floorplan_cont{
    justify-content: center;
    position: relative;
}

/*---------------------------------*/
.stl_main{
    /*flex: 1 0 auto;*/
    position:relative;
    height: calc(100% - 7rem);
  
}

/*---------------------------------*/
.slt_m_menu{
    height:3.5rem;
    width:100%;
    position:absolute;
    bottom:0.5rem;
    
}

.slt_popupbox{
    background-color:rgba(80, 20, 15,0.8);
    border-radius: 1rem;
}



.slt_temple_name_m{
    color:var(--th_light);
    background-color: var(--th_dark2);
    border-radius: 2rem;
    box-shadow: 5px 5px 0px var(--th_light);
    width:30rem;
    font-size: 1.4rem;
}
.slt_temple_name{
    color:var(--th_light);
    background-color: var(--th_dark2);
    border-radius: 2rem;
    box-shadow: 5px 5px 0px var(--th_light);
    padding-left:3rem;
    padding-right:3rem;
    max-width:36rem;
    font-size: 1.2rem;
    
}

.controlmobile{
    width:40px;
    height:40px;

}



/*---------------------------------*/
.slt_footer{
   height:3.5rem;
   min-height:3rem;
  
   background-color:var(--th_light);
}

.slt_fo_logo{
 width:auto;
}

.cp{
    cursor:pointer;
}

.text-th-light{
    color:var(--th_light);
}

.custom-hotspot {
    height: 35px;
    width: 35px;
    background-image:url('../data/icons/eye.png');
    cursor:pointer;
}
.custom-hotspot-dark {
    height: 35px;
    width: 35px;
    background-image:url('../data/icons/eye_dark2.png');
    cursor:pointer;
}
.cusHotspot_show{
    opacity:1;
    pointer-events:auto;
}
.cusHotspot_hide{
    opacity:0;
    pointer-events:none;
}

.custom-hotspot3d {
    height: 35px;
    width: 35px;
    background-image:url('../data/icons/3d.png');
    cursor:pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-hotspotArrow {
    
    width: 108px;
    height: 50px;
    background-image:url('../data/icons/uparrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor:pointer;
}

.floorplan-icon {
    position: absolute;
    width: 32px;           /* Icon size */
    height: 36px;
    background-image: url('../data/icons/lm_dark_off.png');
    background-size: contain;
    cursor: pointer;
    
    /* CRITICAL: Centering the icon on the point */
    /* This ensures the 'tip' of the icon stays on the coordinate */
    transform: translate(-50%, -50%); 
}

.slt_pop_floorplan_img{
    width:100%
}

.slt_pop_floorplan_lm{
    position:absolute;
    cursor:pointer;
}

.slt_pop_control_img{
    height: 7rem;
    width: auto;
    object-fit: contain;
}

.cl_icon{
    width:31px;
    height:auto;
    object-fit: contain;
}
.mview_guide{
    width: auto !important;     
    max-height: 20vh  !important; 
}
.mview_move{
    width: 2.3rem;   
    height: 2.3rem;
}

/*threejs*/


.mview canvas {
    display: block; /* Removes the tiny gap at the bottom of inline elements */
    width: 100% !important;
    height: 100% !important;
}

.mview.vrmode canvas {
    display: block; /* Removes the tiny gap at the bottom of inline elements */
    width: 100% !important;
    height: unset !important;
}

.slt_pop_p3d .loader-container { width: 300px; text-align: center; color: white; font-family: sans-serif; }
.slt_pop_p3d .progress-bar-bg { width: 100%; height: 10px; background: #333; border-radius: 5px; overflow: hidden; margin-top: 10px; }
.slt_pop_p3d #progress-bar { width: 0%; height: 100%; background: var(--sharp); transition: width 0.2s; }

.vrCountDown{
    position: absolute;
    width: 10rem;
    height: 10rem;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%); 
    background-color:rgba(0,0,0,0.75);
    color:white;

}
#vr-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
   
    
    background-color: #000; 

    -webkit-mask-image: 
        radial-gradient(circle at 25% 50%, transparent 40%, black 40%),
        radial-gradient(circle at 75% 50%, transparent 40%, black 40%);
    mask-image: 
        radial-gradient(circle at 25% 50%, transparent 40%, black 40%),
        radial-gradient(circle at 75% 50%, transparent 40%, black 40%);
        

    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}