@CHARSET "UTF-8";


.gallery-items{
	
}

.gallery-item-h-wrapper, .gallery-item-v-wrapper{
	display: inline-block;
	vertical-align: top;
	padding: 5px;
}

.gallery-item-h, .gallery-item-v{
	
}

.gallery-item-h-wrapper{
	width: 27.07%;
}

.gallery-item-v-wrapper{
	width: 22.93%;
}

.gallery-item-h-img{
	position: relative;	 
}

.gallery-item-h-s:AFTER {
	content: ' ';
	display: block;
	padding-top: 2%; 
}

.gallery-item-h-img:AFTER {
	content: ' ';
	display: block;
	padding-top: 66.615384615%; 
}

.gallery-item-v-img{
	position: relative;	 
}

.gallery-item-v-img:AFTER {
	content: ' ';
	display: block;
	padding-top: 160.295930949%; 
}


.gallery-item-h-img>a, .gallery-item-v-img>a{
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px; 
} 

.gallery-item-h-img>a>img, .gallery-item-v-img>a>img{
	width: 100%;
	height: 100%;
}


.qtip-gallery{
	max-width: 45%;
	max-height: 100%;	
}

.qtip-gallery-h{
	width: 30%;
}

.qtip-gallery-v{
	width: 25%;
}

.gallery-tip-wrapper{
	display: block;
	position: relative;	
}

a.gallery-tip-wrapper:HOVER{
	color: #fff !important;
}




.qtip-gallery-h .gallery-tip-wrapper:AFTER {
	content: ' ';
	display: block;
	padding-top: 66.615384615%; 
}

.qtip-gallery-v .gallery-tip-wrapper:AFTER {
	content: ' ';
	display: block;
	padding-top: 160.295930949%; 
}

.gallery-tip-table-img{	
	position: absolute;
	z-index: -1;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.gallery-tip-table-wr{
	position: absolute;
	z-index: 1;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.gallery-tip-table-img:BEFORE{
	content: ' ';
	display: block;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	z-index: 1;
	position: absolute;
	background: #351707;
    opacity: 0.66; 
}



.gallery-tip-table-img img{
	width: 100%;
	height: 100%;
}

.gallery-tip-table{
	display: table;
	width: 100%;
	height: 100%;
}

.gallery-tip-table-cell{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #fff !important;
	font-size: 30px;
	font-weight: bold;
	line-height: 1;
}

.gallery-tip-wrapper>.gallery-tip-table-wr>.gallery-tip-table>.gallery-tip-table-cell{
	color: #fff !important;
}


.qtip-gallery{
	border: none;
	background: none;
}

#colorbox.gallery-colorbox #cboxClose, #colorbox.gallery-colorbox #cboxPrevious, #colorbox.gallery-colorbox #cboxNext, #colorbox.gallery-colorbox #cboxTitle{
	text-indent: 0;
	color: #fff;
	background: none;	
} 

#colorbox.gallery-colorbox #cboxTitle{
	text-indent: 0;
	color: #fff;
	font-size: 28px;
	height: 28px;
	line-height: 28px; 
	position: static;	
	float: none !important;
	width: auto;
	vertical-align: top;
	text-align: center;
}

#colorbox.gallery-colorbox #cboxPrevious, #colorbox.gallery-colorbox #cboxNext{
	position: fixed;
	bottom: 20px;
	width: 30px;
	text-align: center;	 
	left: 50%;
	color: #fff;
	font-size: 28px;
	height: 28px;
	line-height: 28px;
	font-weight: bold;
}

#colorbox.gallery-colorbox #cboxPrevious:HOVER, #colorbox.gallery-colorbox #cboxNext:HOVER{
	color: #A50D1D !important; 
}

#colorbox.gallery-colorbox #cboxPrevious{
	margin-left: -30px;
}

#colorbox.gallery-colorbox #cboxNex{
	margin-left: 30px;
}

#colorbox.gallery-colorbox #cboxClose {
    right: -10px;
    top: -38px;
    background: none;
    font-size: 40px;
    color: #fff;
    line-height: 40px;
    width: 40px;
    height: 40px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#colorbox.gallery-colorbox #cboxCurrent{
	display: none !important;
}



#colorbox.gallery-colorbox, #colorbox.gallery-colorbox #cboxContent, #colorbox.gallery-colorbox #cboxWrapper{
	overflow: visible;
	background: none;
}

#colorbox.gallery-colorbox #cboxLoadedContent{
	margin-bottom: 10px;
}

#cboxOverlay.gallery-colorbox {
	background: #351707;	    
}

#colorbox.gallery-colorbox #cboxTopLeft, 
#colorbox.gallery-colorbox #cboxTopRight,
#colorbox.gallery-colorbox #cboxMiddleLeft,
#colorbox.gallery-colorbox #cboxMiddleRight,
#colorbox.gallery-colorbox #cboxBottomLeft,
/*#colorbox.gallery-colorbox #cboxBottomCenter,*/
#colorbox.gallery-colorbox #cboxBottomRight,
#colorbox.gallery-colorbox #cboxTopCenter
{
	width: 0;
	height: 0;
}

#colorbox.gallery-colorbox #cboxBottomCenter{
	height: 50px;
}


.first-content-uid-gallery.content-wrapper.is-first-content-wrapper-1{
	padding-bottom: 30px;
}