/* //////////////////////////////// CUSTOM LIGHTBOX WITH AJAX //////////////////////////////// */

/* Lightbox */

.lightbox-overlay { 
	width: 100%; height: 100%; 
	position: absolute; z-index: 8000; 
	background: rgba(0,0,0,0.5); 
	display: none; overflow: hidden; 
	top: 0; right: 0; 
	backdrop-filter: blur(5px); 
	pointer-events: none;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */   
}

.lightbox { position: absolute; z-index: 9999; width: 100%; height: 100%; display: none; top: 0; margin: 0; background: #FFF; padding: 0px; overflow: auto; }
.lightbox.video { background: #fafafa; }
.lightbox.video h5 { margin: 0; padding: 0; border: 0; line-height: 55px; font-size: 20px; width: 85%; }

.lightbox-container { display: block; padding: 0; overflow-y: auto; }

.lightbox .header { display: block; padding: 0 20px; height: 50px; background-color: #fafafa !important; border-bottom: 2px solid #c59a00; }

.lightbox .header.red { background-color: #C59A00 !important; }
.lightbox .header.blue { background-color: #C59A00 !important; }
.lightbox .header.yellow { background-color: #C59A00 !important; }

.lightbox .header.icon.info { background: url('../img/icon-info-circle-dark-01.png') no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.video { background: url('../img/icon-video-dark.png') no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.building { background: url('../img/icon-building-dark-01.png') no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.bed { background: url('../img/icon-bed-dark-01.png') no-repeat left 20px center; background-size: 30px; }

.lightbox .header.icon { background-size: 30px; background-position: left 20px center; padding-left: 60px; }

.lightbox h5 { 
	margin: 0 0 20px 0; padding: 0 0 15px 0; 
	font-size: 25px; line-height: 30px; 
	color: #1b1b1b; 
	font-family: 'larken', "helvetica nenu", helvetica, arial, sans-serif; 
	font-weight: 400 !important;
	border-bottom: 1px solid #c59a00;
}

.lightbox .content { display: block; overflow: hidden; }

.lightbox .image { display: block; width: 100%; max-height: 300px; overflow: hidden; align-items: center; justify-content: center; position: relative; }
.lightbox .image img { width: 100%; height: auto; }

.lightbox .image .fancybox-view { 
	width: 60px; height: 60px; position: absolute; z-index: 1000; left: 50%; top: 50%; margin: -30px 0 0 -30px; display: block; cursor: pointer !important;
	background: url(../img/icon-view-green.png) no-repeat center; background-size: 60px; 
	-webkit-transition: all .3s ease-in; transition: all .3s ease-in;
}

.lightbox .image .fancybox-view.threed { 
	background: url(../img/icon-view-3d-green.png) no-repeat center; background-size: 60px; 
}

/* .lightbox .image .fancybox-view:hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; cursor: pointer !important; } */


/* .lightbox .image .fancybox-view { width: 100%; height: 100%; position: absolute; z-index: 1000; background: url(../img/icon-view.png) no-repeat center; background-size: 60px; background-color: rgba(0,0,0,0.1); } */

.lightbox .text { display: block; overflow: hidden; padding: 20px; }
.lightbox .video-desc { display: block; overflow: hidden; padding: 20px; background-color: #fafafa;}
.lightbox .video-desc p { color: #1b1b1b; }

.lightbox .close-btn { width: 50px; height: 50px; top: 0; right: 0; padding: 0; display: block; position: absolute; background: url(../img/close2.png) no-repeat center; background-size: 20px; background-color: #c59a00; cursor: pointer; }
.lightbox .close-btn:hover { background-color: #CCC; }

.lightbox .close-btn.white { background: url(../img/close3.png) no-repeat center; background-size: 20px; }

.lightbox .caption { padding: 20px; }

.lightbox hr { border-top: 1px solid #CCC; margin: 20px 0; border-bottom: 0; }
.lightbox h3 { font-size: 18px; line-height: 28px; color: #1b1b1b; font-weight: 400 !important; margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 1px solid #CCC; }
.lightbox h4 { font-size: 18px; line-height: 28px; color: #1b1b1b; font-weight: 400 !important; margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 1px solid #CCC; }
.lightbox p { font-size: 16px; line-height: 25px; color: #1b1b1b; margin: 0; padding: 0; }
.lightbox p a { color: #1b1b1b !important; text-decoration: underline; font-weight: bold; }

.lightbox .text ul { margin: 20px 0; }
.lightbox .text ul li { margin-left: 20px; color: #666; padding: 2px 0; }

.lightbox .box { padding: 20px; background-color: #EEE; display: block; overflow: hidden; margin-top: 20px; }

/* More Button */

.more { padding: 10px 20px; background: #333; color: #FFF !important; text-transform: uppercase; text-decoration: none; display: inline-block; margin-top: 20px; font-size: 14px; font-weight: bold; line-height: 14px; }
.more:hover { background: #CCC; }

/* CTA - Share Box */

.share-box { position: absolute; z-index: 99999; width: 100%; height: 100%; display: none; top: 0px; margin: 0; background: #FFF; padding: 0px; }
.share-box-container { display: block; padding: 20px; overflow: hidden; }

.share-box h5 { margin: 0 30px 20px 0; font-size: 25px; line-height: 30px; }
.share-box p { margin: 0 0 0 0; }

.share-box .close-btn { width: 40px; height: 40px; top: 15px; right: 15px; padding: 0px;display: block; position: absolute; background: url(../img/close.png) no-repeat center; background-size: 70%; cursor: pointer; }


/* Video Embed Container */

.embed-container { position: relative; padding-bottom: 56.6%; height: 0; overflow: hidden; max-width: 100%; background-color: #222; } 
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Fancybox */

.fancybox-slide--iframe .fancybox-content {
    width  : 800px;
    height : 600px;
    max-width  : 80%;
    max-height : 80%;
    margin: 0;
}

/* Responsive Slides */

.rslides { position: relative; list-style: none; overflow: hidden; width: 100%; height: 100%; padding: 0; margin: 0;  }
.rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; height: 100%; left: 0; top: 0; max-height: 300px; }
.rslides li:first-child { position: relative; display: block; float: left; }
.rslides img { display: block; height: auto; float: left; width: 100%; border: 0; }
.rslides li span { bottom: 55px; position: absolute; z-index: 1000; background-color: rgba(0,0,0,0.5); right: 0; color: #FFF; padding: 10px; line-height: 14px; }

.lightbox .image span { bottom: 0; position: absolute; z-index: 1000; background-color: rgba(0,0,0,0.5); right: 0; color: #FFF; padding: 10px; line-height: 14px; }

/* //////////////////////////////////////////////////////////////////////////////////////////// */
/* //////////////////////////////// START OF RESPONSIVE STYLES //////////////////////////////// */
/* //////////////////////////////////////////////////////////////////////////////////////////// */


/* ////////////////////////////////  bigger than mobile version //////////////////////////////// */

@media screen and (min-width: 480px) {

	.lightbox .image { max-height: 300px; }

}

/* //////////////////////////////// ipad mini or galaxy note version //////////////////////////////// */  

@media screen and (min-width: 480px) and (max-width: 768px) {


}

/* //////////////////////////////// big ipad version //////////////////////////////// */

@media screen and (min-width: 768px) {

	.lightbox { width: 700px; height: 350px; overflow: visible; bottom: 0; left: 0; top: 0; right: 0; margin: auto; position: absolute; }
	.lightbox.video { width: 600px; height: 550px; }

	.lightbox .content { display: block; }

	.lightbox .image { display: inline-block; max-height: none; float: left; width: 50%; }
	.lightbox .text { display: inline-block; float: left; padding: 0; width: 50%; height: 350px; overflow-y: auto; }
	.lightbox .text .text-inner { padding: 20px; }

	.lightbox p { font-size: 16px; line-height: 20px; }

	.lightbox .close-btn { width: 50px; height: 50px; top: -25px; right: -25px; border-radius: 100px; -webkit-border-radius: 100px; }

	.share-box { width: 400px; height: auto; margin: -100px 0 0 -200px; top: 50%; left: 50%; }
	.share-box .close-btn {  width: 50px; height: 50px; top: -20px; right: -20px; padding: 0px; display: block; position: absolute; background: url(../img/close2.png) no-repeat center; background-size: 50%; background-color: #C59A00; border-radius: 100px; -webkit-border-radius: 100px; }

	.lightbox .image .fancybox-view { width: 60px; height: 60px; margin: -70px 0 0 -30px; }

	.rslides li { max-height: 325px; }
	.rslides li span { bottom: 0; right: auto; left: 0;} 
	.lightbox .image span { bottom: 0; right: auto; left: 0; } 
}

/* //////////////////////////////// full wide version //////////////////////////////// */ 

@media screen and (min-width: 960px) {

	.lightbox h5 { font-size: 25px; line-height: 35px; }
	.lightbox .video-desc p { font-size: 14px; line-height: 18px; }
	.share-box { width: 500px; margin: -100px 0 0 -250px; top: 50%; left: 50%; }

}

/* //////////////////////////////// full wide version //////////////////////////////// */ 

@media screen and (min-width: 1200px) {

	.lightbox { width: 900px; height: 450px; }
	.lightbox.video { width: 800px; height: 640px; }

	.lightbox .header { height: 60px; }
	.lightbox .header.icon { background-size: 35px; background-position: left 20px center; padding-left: 70px; }
	.lightbox .header h5 { line-height: 60px; font-size: 25px; }
	.lightbox.video .header h5 { line-height: 65px; font-size: 25px; }

	.lightbox .close-btn { width: 60px; height: 60px; }

	.lightbox .image { width: 50%; }
	.lightbox .text { width: 50%; height: 450px; }
	.lightbox .text .text-inner { padding: 20px; }

	.lightbox .video-desc p { font-size: 14px; line-height: 18px; }

	.rslides li { max-height: 415px; }

	.lightbox p { font-size: 16px; line-height: 22px; }
	.lightbox .video-desc p { font-size: 14px; line-height: 18px; }

}

/* //////////////////////////////// very wide version //////////////////////////////// */ 

@media screen and (min-width: 1500px) { 

	.lightbox h5 { font-size: 30px; line-height: 40px; }

}

/* //////////////////////////////// extra wide version //////////////////////////////// */ 

@media screen and (min-width: 1750px) {

.lightbox.video { width: 1000px; height: 770px; }
.lightbox .video-desc p { font-size: 16px; line-height: 22px; }

}

/* //////////////////////////////// extra extra wide version //////////////////////////////// */ 

@media screen and (min-width: 2000px) {


}
