@charset "utf-8";
/* CSS Document */

.bg-gallery-fff {
    background-color: #fff !important;
	padding-bottom: 2rem !important;
}

.gallery-box {
	display: block;
	position: relative;
	min-height: 1px;
	background: #ebf4fa;
	padding-bottom: 1rem;
}

.gallery-link:hover {
	transition: filter .8s;
    -webkit-filter:grayscale(1);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-fluid-100 {
    width: 100%;
    height: auto;
}

img {
    vertical-align: middle;
    border-style: none;
	border: 0;
}


@media (max-width:480px) {
	.gallery-link:nth-child(5) {
		display: none;
	}
	.gallery-link:nth-child(6) {
		display: none;
	}
	.gallery-link:nth-child(7) {
		display: none;
	}
	.gallery-link:nth-child(8) {
		display: none;
	}
}
@media (max-width:360px) {
	.gallery-link:nth-child(5) {
		display: none;
	}
	.gallery-link:nth-child(6) {
		display: none;
	}
	.gallery-link:nth-child(7) {
		display: none;
	}
	.gallery-link:nth-child(8) {
		display: none;
	}
}
@media (max-width:320px) {
	.gallery-link:nth-child(5) {
		display: none;
	}
	.gallery-link:nth-child(6) {
		display: none;
	}
	.gallery-link:nth-child(7) {
		display: none;
	}
	.gallery-link:nth-child(8) {
		display: none;
	}
}


/*
 <!-- .templateux-section -->
*/

/*================ Gallery Part CSS Start =============*/

#gallery {
    padding-top: 8px;
    /*padding-bottom: 20px;*/
}

#gallery .col-lg-3 {
    padding: 0 10px;
}

/*#gallery h2 {
    margin-bottom: 38px;
}*/

#gallery .gallery-items {
    position: relative;
    padding: 5px;
}

#gallery .gallery-items img {
    border: 5px solid #fff;
}

#gallery .gallery-items .gallery-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    transition: all linear 0.4s;
    -webkit-transition: all linear 0.4s;
    -moz-transition: all linear 0.4s;
    -ms-transition: all linear 0.4s;
    -o-transition: all linear 0.4s;
}

#gallery .gallery-items .gallery-overlay h3 {
    position: absolute;
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 500;
	width: 100%;
    color: #fff;    
    bottom: 40%;/*1.25rem*/ /*16=1rem*/    
	padding: 0 30px;
	margin-bottom: 0.5rem;
}

#gallery .gallery-items:hover .gallery-overlay {
    opacity: 1;
}

.vbox-overlay {
    z-index: 999999;
}

.gal-price {
    padding-top:49px !important;
}

.gallery-sub-items {
    position: relative;
	display: block;
    padding: 5px;
	margin-bottom: 1rem;
	
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px solid #eee;
	box-shadow: 0px 1px 2px 2px #eee;
}

/*================ Gallery Part CSS End ============= */