#gallery {
    position: relative;
}
#gallery .row {
    height: calc(100% - 92px);
    margin: 90px 0 90px;
    position: relative;
}
#gallery h5 {
    color: #ddd;
    text-align: center;
    margin: 40px auto 12px;
}
#filters {
    margin-bottom: 40px;
    text-align: center;
}
#filters .list-inline-item:not(:last-child) {
    margin-right: 1rem;
}
#filters li a {
	color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1pt;
}
#filters li a:hover {
    color: #fff;
    text-decoration: none;
}
#filters li a.selected {
	color: #007bff;
}
#thumbs {
	/* margin: 0;
	padding: 0;	 */
}
.item-thumbs {
	position: relative;
	overflow: hidden;
    margin-bottom: 30px;
    padding: 10px 20px;
    cursor: pointer;
}
.item-thumbs a + img {
	width: 100%;	
}
.item-thumbs .hover-wrap {
	position: absolute;
	display: block;
	width: calc(100% - 40px);
	height: calc(100% - 20px);
	opacity: 0;
	transition: opacity 250ms ease-out 0s;
}
.item-thumbs:hover .hover-wrap,
.item-thumbs.active .hover-wrap {
	opacity: 1;
}
.item-thumbs .hover-wrap .overlay-img {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0.45;
}
.item-thumbs .hover-wrap .overlay-img-thumb {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -16px 0 0 -16px;
	color: #FFFFFF;
	font-size: 32px;
	line-height: 1em;
	opacity: 1;
}
/* Isotope Filtering */
.isotope-item {
    z-index: 2;
}
.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}
.isotope,
.isotope .isotope-item {
    transition-duration: 0.8s;
}
.isotope {
    transition-property: height, width;
}
.isotope .isotope-item {
    transition-property: transform, opacity;
}
/**** disabling Isotope transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
        transition-duration: 0s;
}
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
    transition: none;
}
.fancybox-title-outside-wrap {
    margin-top: 0;
    background: rgba(39, 39, 39, .75);
}
.fancybox-title-outside-wrap h5 {
    font-size: 1rem;
    font-weight: normal;
    padding: 10px 20px;
    margin: 0;
    font-family: 'Pragati Narrow', sans-serif;
    letter-spacing: 1pt;
}