/* overlay scene (SPA) ---------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// */

.overlay { position: fixed;
  z-index: 999;
  overflow: hidden;
  top: 0; right: 0; bottom: 0; left: 0;background: #fff;
}
/*[aria-hidden="true"] { display: none; }
[aria-hidden="false"] { display: block; }*/
.overlay-div { 
  /*position: absolute;top: 77px; height: calc(100% - 77px);*/
  width: 100%; max-width: 1980px;
  height:100%;
  padding: 0;
  flex: 1;
  /* min-height: 80vh; */
  background: rgba(255,255,255, .95);
  overflow-y: scroll !important;
}

.overlay-header { /*position: fixed;height:77px; top: 0; right: 0;*/
  width:100%; 
 
  background: #fff;
  padding:7px 4px 4px;
  /* text-align: right; */
  z-index: 999;
	border-bottom:1px solid #e6e6e6;
}
/*
.overlay-footer { position: fixed;
  width:100%; height:52px;
  bottom: 0; right: 0;
  background: #f4f4f4;
  padding: 2px 16px;;
  z-index: 999;
}
*/
.overlay button { cursor: pointer;
  padding: 7px 8px 6px 8px;
  background: #fff;
  border:/* 1px solid rgba(0,0,0,.35)*/none;
  box-shadow: 0 0 7px rgba(0,0,0,.25);
}
/* content elements ------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// */
#gallery-image-list .galery-img, #floorplans-image-list .galery-img{ padding: 10px 0 0 0; }
.signle-img { position: relative; }
.img-expand, .flimg-expand { position: absolute;
  top: 0; left: 80%;
  width: 20%; height: 35px;
  padding: 16px;
  text-align: right;
  cursor: pointer;
}
.img-expand i, .flimg-expand i { color: #fff; font-size: 20px; text-shadow: 0 3px 3px rgba(0,0,0,.6); }
#gallery-carousel, #floorplans-carousel{width: 100%;height: 100%;padding: 0 40px;display: flex;flex-wrap:wrap;align-items: center;/*max-width:100%;min-width: 0;overflow-y: hidden;flex-shrink:1*/}
#gallery-carousel .owl-carousel, #floorplans-carousel .owl-carousel{z-index:99;}
#gallery-carousel button.owl-next, #gallery-carousel button.owl-prev,
#floorplans-carousel button.owl-next, #floorplans-carousel button.owl-prev { width: auto; box-shadow: none; }
/*#gallery_owl, #floorplans_owl{ display: none; margin-top: 21px ; }*/
#gallery-image-list, #floorplans-image-list { margin-top: 21px; }
.overlay .close-gallery-button { font-family: 'picomoon' !important; font-size:28px;
  background: transparent; border: none;
  padding: 10px; color: #777;
}

#gallery-carousel .owl-stage, #floorplans-carousel .owl-stage{margin:0;}

.gallery-overlay .carousel-one .owl-prev {left: 5px;}
.gallery-overlay .carousel-one .owl-next {right: 5px;}
.gallery-overlay .carousel-one .owl-prev, .gallery-overlay .carousel-one .owl-next {display: block !important;position: absolute;top: 0;width: 20px;height: 100%;color: #fff;background:none !important;border: none !important;}
.gallery-overlay .carousel-one .owl-prev i, .gallery-overlay .carousel-one .owl-next i {font-size: 36px;color: #fff !important;text-shadow: 0 3px 3px rgba(0,0,0,.6);}

/* iframe | video --------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// */
.iframe-container {
   width:100%;  height:100%;  background: #fff;/*max-width:800px;margin: 0 auto;margin-top: 25px;*/
}
.videoWrapper {
  position: relative;
  margin:0 auto;
	/*padding-bottom: 56.25%; 
  padding-top: 25px;*/
  height: 100%;
  width:100%;
  
  /*top:45px; bottom: 45px;*/
  display: flex;
  align-items: center;
justify-content: center;

}
#video-container{padding: 25px;}
#video-container .videoWrapper{max-width: 1500px;}

#tour3d-container{}
/* 16:9 (= 100 x 9 : 16) */
.videoWrapper iframe, .videoWrapper #player {/* position: absolute; top: 0; left: 0;*/ width: 100%; height: 100%; /*max-width: 800px; max-height: 450px;*/}
 @media screen and (min-width: 1500px) {
  /*.iframe-container {max-width: 1564px; padding-left: 32px; padding-right: 32px; }*/
  /*.videoWrapper iframe, .videoWrapper #player { max-width: 1500px; max-height: 844px; }*/
}
a.videoWrapperMetter{position: absolute;width: 100%;height: 100%;top: 0;bottom:0;left:0;right: 0;}
#videoWrapperMetter .lity-close-pop {
	position: fixed;
	top: 0;
	right: 0;
	width: 46px;
	height: 46px;
	padding: 14px;
	color: #464646;
	z-index: 999;
	background: none;
}

#videoWrapperMetter .lity-close-pop i {
	flex: 0;
	font-size: 24px;
	color: white;
}
/* TOP-GALery buttons ----------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// */
.overlay .close-gallery-button { box-shadow: none; }
.overlay .close-gallery-button:hover { color: #444; }
.topgal-buttons { /* position: absolute;
    width: 580px; height: 50px;
    right: 45px; bottom: 24px;
    padding: 0; */
    z-index: 1;
    text-align: center;
}
.topgal-buttons > a > button { color: #333333 /* = rgb(51, 51, 51) */ }
.topgal-button, .topgal-gal { /* position: absolute; */
  bottom:24px; right: 24px;
  margin: 0 3px;
  font-size: 14px;
  border-radius: 4px;
  background: #f4f4f4; border: 1px solid #f4f4f4;
  padding: 5px 12px;
  /* box-shadow: 0 3px 3px rgba(0,0,0,.6) */
}
.topgal-button i, .topgal-gal i { /* ## color defined on dynamic part */
  font-size: 23px; padding-right: 9px; padding-bottom: 2px; vertical-align:middle
}
.topgal-buttons > a > button.off { color: #888; cursor: default; }
.topgal-button.off i, .topgal-gal.off, .topgal-gal.off i { color:#888; cursor: default; }
.g-btns-20- { width: 22%; margin:0; padding: 2px 12px; float: left; }
.g-btns-60- { width: 55.6%; margin:0; padding:16px 0 13px 0; float: left; }

.g-like-n-share {display:flex;align-content:center;padding:20px 0 0; font-size: 13px; font-weight: 500; color:var(--css_dark_grey);}
	.g-like-n-share a i { color: #646464; font-size: 24px; padding: 0 7px 0 11px; }
	.g-like-n-share .favorite-villa {/* width: max-content;*/ padding:0 0 0 3px; }
		.g-like-n-share .favorite-villa i.far { color: #646464; }
		.g-like-n-share .favorite-villa > span{vertical-align:super;}
	.g-like-n-share .-share-div- {padding: 0 2px;/* float: left; */}
		.g-like-n-share .-share-div- i{font-size:29px;position:relative;top:-3px;}
			.g-like-n-share .-share-div- > span{position:relative;top:-1px;vertical-align:super;}
@media screen and (max-width: 1199px) {
  .overlay button { padding: 7px 14px; }
  .g-btns-20- { width: 12%; }
  .g-btns-60- { width: 75.6%; }
  /* .g-like-n-share .favorite-villa { width: 44px; text-align: center; } */
  .g-like-n-share .-share-div- { width: 40px; }
}
@media screen and (max-width: 975px) {
	
}
@media screen and (max-width: 975px) {
  .overlay button { padding: 7px 7px; }
  .topgal-button, .topgal-gal { margin: 0 2px; }
  .topgal-button i, .topgal-gal i { padding-right: 7px; }
  .g-btns-20- { width: 11%; }
  .g-btns-60- { width: 77.6%; }
  /* .g-like-n-share .favorite-villa { padding-left: 12px; } */
  /*.g-like-n-share a i { padding: 8px 6px; }*/
  /*.g-like-n-share .-share-div- { padding: 9px 0; }*/
	#gallery-carousel, #floorplans-carousel{width: 100%;padding: 0 /*10px*/;}
	#gallery-carousel .owl-carousel .owl-item img, #floorplans-carousel .owl-carousel .owl-item img{width: 100% !important; height: auto !important;}
	#gallery-image-list, #floorplans-image-list{padding:0;}
}


@media screen and (max-width:767px){
	/*.overlay .overlay-div #floorplans-image-list .galery-img{padding:20px 0 0 0;}*/
	.topgal-buttons button.active{background-color:#ebebeb !important;}
  /*#gallery_owl, #floorplans_owl{ display: none; margin-top: 22vh ; }*/
  
  #video-container{padding: 0;}
  .videoWrapper iframe, .videoWrapper #player{max-height: 212px;}
}

/* OVERIDES --------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// */
/* carousel buttons --- */
/*#gallery_owl button.owl-next, #floorplans_owl button.owl-next { right: 17px; }*/
