/* //////////////////////////////// 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; }

.lightbox { position: absolute; z-index: 9999; width: 100%; height: 100%; display: none; top: 0; margin: 0; background: #F4F4F4; padding: 0px; overflow: auto; }

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

.lightbox .header { display: block; padding: 0 20px; height: 50px; background-color: #bf2f38 !important; }
.lightbox .header.blue { background-color: #bf2f38 !important; }
.lightbox .header.white h5 { color: #FFF !important; font-weight: 600 !important; }

.lightbox .header.icon.info { background: url(../img/icon-info-white-2.png) no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.landmark { background: url(../img/icon-info-white-2.png) no-repeat left 20px center; background-size: 30px; background-color: #0d2c56 !important; }
.lightbox .header.icon.su { background: url(../img/icon-info-white-2.png) no-repeat left 20px center; background-size: 30px; background-color: #bfcc41 !important; }


.lightbox .header.icon.video { background: url(../img/icon-video-white.png) no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.library { background: url(../img/icon-library.png) no-repeat left 20px center; background-size: 30px; background-color: #5ab8d6 !important; }
.lightbox .header.icon.uob { background: url(../img/icon-building2.png) no-repeat left 20px center; background-size: 30px; }
.lightbox .header.icon.accommodation { background: url(../img/icon-accommodation.png) no-repeat left 20px center; background-size: 30px; background-color: #d1508e !important; }

.lightbox .header.black { background-color: #000 !important; }

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

.lightbox .header h5 { margin: 0; padding: 0; font-size: 18px; line-height: 50px; color: #FFF; font-family: 'Inter', arial, sans-serif; font-weight: 600 !important; }

.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 p { margin: 0; padding: 0; color: #666; font-size: 16px; line-height: 22px; }
.lightbox a { color: #336699; cursor: pointer; }

.lightbox .close-btn { 
	width: 50px; height: 50px; top: 0; right: 0; padding: 0 0 0 15px; display: block; position: absolute; 
	background: url(../img/close3.png) no-repeat right 20px center; background-size: 20px; background-color: rgba(255,255,255,0.2); 
	clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); cursor: pointer; 
}
.lightbox .close-btn:hover { background-color: rgba(255,255,255,0.2); }

.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: #bf2f38; font-weight: 600 !important; margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 1px solid #CCC; }
.lightbox h4 { font-size: 18px; line-height: 28px; color: #bf2f38; font-weight: 600 !important; margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 1px solid #CCC; }
.lightbox p { font-size: 14px; line-height: 20px; color: #666; margin-bottom: 10px;  }

.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: 15px 20px; background: #000; color: #FFF !important; 
	text-transform: uppercase; text-align: center; text-decoration: none; display: block; 
	position: absolute; bottom: 0; right: 0; font-size: 14px; line-height: 14px; display: block; 
}
.more:hover { background: #333; }

/* 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: 0; display: block; position: absolute;
	background: url(../img/close.png) no-repeat center; background-size: 30px; cursor: pointer; 
	
}

/* SHARE VIEW LIGHTBOX */

.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 0 10px 0; font-size: 25px; line-height: 30px; font-weight: 400 !important; text-align: center; letter-spacing: 0; }
.share-box p { margin: 0 0 0 0; text-align: center; }
.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: 30px; cursor: pointer; }
.result { position: relative; overflow: hidden; margin-top: 20px; }

.copy-btn { 
	position: absolute; border: transparent; border-radius: 0 3px 3px 0; padding: 18px 40px 19px 16px; min-width: 100px; right: 0; top: 0; z-index: 500; 
	font-size: 14px; line-height: 14px; color: #FFF; text-transform: uppercase; cursor: pointer;
	background: url('../img/icon-clipboard-white.png') no-repeat right 15px center; background-size: 20px; background-color: #bf2f38; 
}
.copy-btn.copied { color: #FFF; background: url('../img/icon-tick-circle-white.png') no-repeat right 15px center; background-size: 20px; background-color: green; }
.url-result { width: 90%; padding: 15px; font-size: 16px; line-height: 16px; color: #666; display: block; background-color: #f6f6f6; border: 1px solid #CCC; }


/* 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: 375px; overflow: hidden; bottom: 0; left: 0; top: 0; right: 0; margin: auto; position: absolute; }
	.lightbox.video { width: 600px; height: 385px; }

	.lightbox .content { display: block; }

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

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

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

	.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; }

	.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: 475px; }
	.lightbox.video { width: 800px; height: 510px; }

	.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 .close-btn { width: 60px; height: 60px; }

	.lightbox .image { width: 50%; margin-top: -35px; }
	.lightbox .text { width: 50%; height: 390px; }
	.lightbox .text .text-inner { padding: 20px; }

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

	.lightbox .header h5 { font-size: 20px; }

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

}

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

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



}

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

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


}

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

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


}
