/*
#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#26262c;
  display:none;
}  
#boxes .window {
  position:absolute;
  left:0;
  top:0;
  width:440px;
  height:850px;
  display:none;
  z-index:9999;
  padding:20px;
  border-radius: 5px;
  text-align: center;
}
#boxes #dialog {
  width:600px; 
  height:500px;
  padding: 10px 10px 10px 10px;
  background-color:#ffffff;
  font-size: 15pt;
}

.agree:hover{
  background-color: #D1D1D1;
}
.popupoption:hover{
	background-color:#D1D1D1;
	color: green;
}
.popupoption2:hover{
	color: red;
}
*/


/**========== Updated CSS ==========**/
/*
#mask{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#26262c;
  opacity:0.8;
  z-index:9000;
  display:none;
}

#boxes .window{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:90%;
  max-width:520px;
  background:#fff;
  z-index:9999;
  display:none;
  padding:10px;
  border-radius:8px;
  text-align:center;
}

.popup-img{
  width:500px; 
  height:656px;
  border-radius:5px;
}

.close img{
  width:25px;
  position:absolute;
  top:-12px;
  right:-12px;
  cursor:pointer;
}
.agree:hover{
  opacity:0.7;
}

@media(max-width:576px){
  #boxes .window{
    max-width:95%;
    padding:8px;
  }

  .close img{
    top:-10px;
    right:-10px;
  }
}
*/


.popup-wrapper{
  position: relative;
}

#mask{
  position: fixed;      
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: none;
}

/* Popup box */
/*
.popup-box{
  position:absolute;
  top:120px;            
  left:50%;
  transform:translateX(-50%);
  max-width:90%;
  max-height:90vh;
  background:#fff;
  padding:10px;
  border-radius:8px;
  z-index:1001;
  display:none;
}
*/

.popup-box{
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  z-index: 1001;
  display: none;

  width: fit-content;      
  max-width: 95vw;         
}


.popup-img{
  max-width:100%;
  height:auto;
  max-height:80vh;
}

.close img{
  width:25px;
  position:absolute;
  top:5px;
  right:5px;
  background:#fff;
  border-radius:50%;
}

.popup-slider{
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.slide-track{
  display: flex;
  width: 100%;         
  transition: transform 0.8s ease-in-out;
}

.slide{
  min-width: 100%;
  flex-shrink: 0;
}
/* Image responsive */
/*.popup-img{
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}*/
.popup-img{
  display: block;
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  width: auto;
  margin: auto;
}

/**========== Updated CSS END ==========**/
