#galleryContainer {
	text-align: center !important;
}

header#gallery-header {
	margin: 7px 0 0 0;
}

#imagesContainer {

}

#showGalleryBtn {
	background: rgba(63, 81, 181, 0.3)!important
}


.gallery-thumb {
	background-repeat: no-repeat !important;
	background-position: 50% 25% !important;
	background-size: cover !important;
	transition-duration: 500ms;
	transition-property: width, height;

}

.video-thumb-title {
	text-align: left !important;
 	width: 99%;
	font-size: 0.9rem;
	font-style: italic;
	font-family: theatre-nusx !important;
	margin-left: 8px;
}

.image-gallery-item {
	display: inline-block;
	color: #666666;
	cursor: pointer;
	padding: 3px;
	height: 180px;
	overflow: hidden;
	margin-bottom: 10px;
	text-align: center;
	width: 195px;
	font-size: 14px;
}

@media (min-width: 992px) {
	.gallery-modal-img {
		height: 500px;
	}
}



.video-gallery-item {
	display: inline-block;
	color: #666666;
	cursor: pointer;
	padding: 3px;
	height: 255px;
	overflow: hidden;
	margin-bottom: 10px;
	text-align: center;
	width: 195px;
	font-size: 14px;
}

.gal-modal-title {
	position: absolute;
	top: 30px;
	color: #fff;
	font-family: titlefont;
	font-size: 22px;
	font-weight: bold;
}

@media only screen and (max-width: 760px) {
	.gallery-item {
		//width: 250px !important;
	}

	#modal-content {
		margin-top: -50px !important;
	}
}



.imgCont {
	display: block;
	position: relative;
	background: url('../assets/img/system/gallery/video_bg.png') no-repeat;
	display: block;
	//margin: auto;
	padding: 10px 10px 35px 10px;
	height: 167px;
	width: 188px;
	overflow: hidden;
}

.imgCont .thumb-title {
	position: absolute;
	bottom: 40px;
	left: 2px;
	color: white;
	font-weight: bold;
	width: 100%;
	min-height: 12px;
	padding: 2px;
	line-height: 12px;
	font-size: 14px;
	background: none;
}


.imgCont .content {
	height: 130px;
	width: 168px;
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.imgCont .content:hover {
	-ms-transform: scale(1.2, 1.2); /* IE 9 */
	-webkit-transform: scale(1.2, 1.2); /* Safari */
	transform: scale(1.2, 1.2); /* Standard syntax */
	cursor: zoom-in;
}

.playVideo {
	position: absolute;
	top: 52px;
	left: 75px;
	width: 48px;
	height: 48px;
	opacity: 0.5;
}

.avoid-clicks {
  pointer-events: none;
}

/* 
#imgCont::after {
  width: 48px;
  height: 48px;
  content: "";
  background: url(image.jpg);
  opacity: 0.5;
  top: 52px;
  left: 75px;
  position: absolute;
  z-index: -1;   
}
 */
.redIcon {
	background: url(../assets/img/system/gallery/red.png);
}

.grayIcon {
	background: url(../assets/img/system/gallery/gray.png);
}

.video-time {
	position: absolute;
	right: 10px;
	bottom: 27px;
	color: #fff;
	background: rgba(0,0,0,0.5);
	padding: 4px;
	border-top-left-radius: 5px;
	font-size: 11px;	
	line-height: 12px;
}

#showGalleryBtn {
	font: italic 22px theatre-nusx;
	color: #ff9800;
	letter-spacing: 0.3em;

}

#showGalleryBtn:hover {
	font-weight: 500;
}


.selected-gallery-type {
	padding: 5px 20px 0 0;
	font-style: italic;
	font-weight: bold;
	letter-spacing: 12px;
	font-size: 36px !important;
	font-family: titlefont;
}

.gallery-type li {
	display: inline;
}

.gallery-type li a {
	display: inline-block !important;
}

.multimedia {
	text-align: center !important;
}

.arrow-button-icon {
	font-size: 35px !important;
	/*color: #fff !important;*/
	color: #63b1d4 !important;
}

.arrow-button-icon:hover {
	opacity: .7;
}

#modal-content {
	margin-top: -30px !important;
	padding: 0 !important;
	background: none !important;
}

@media only screen and (max-width:632px) {
	#modal-content {
		margin-top: 20px !important;
	}
}