/* 
 *  gallery.css
 */

.gallery .gallery-elements {
	display: flex;
	flex-wrap: wrap;
}

.gallery .gallery-item { margin-bottom: 30px; }

.gallery .gallery-item a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.gallery .gallery-image-description {
	position: relative;
    padding: 10px 40px 10px 15px;
    font-size: 14px;
	background-color: #F5F5F5;
	min-height: 33px;
	flex-grow: 1;
}

.gallery .gallery-image-description svg {
	position: absolute;
	right: 13px;
	top: 10px;
}
.gallery .gallery-image-description svg path { fill: #009640; }

.gallery .lightbox.video .gallery-image { position: relative; }

.gallery .lightbox.video .gallery-image:before,
.gallery .lightbox.video .gallery-image:after {
	display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
        font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f1db";
    position: absolute;
    z-index: 50;
    font-size: 50px;
    font-size: 6vw;
    color: #b6c8d4;
    left: 50%;
    top: 50%;
    width: 50px;
    width: 6vw;
    text-align: center;
    margin-left: -25px;
    margin-left: -3vw;
    margin-top: -25px;
    margin-top: -3vw;
}

.gallery .lightbox.video .gallery-image:after {
    content: "\f04b";
	font-size: 25px;
	font-size: 2vw;
	margin-left: -12.5px;
	margin-left: -1vw;
	margin-top: -12.5px;
	margin-top: -1vw;
	width: 25px;
	width: 2vw;
	text-align: center;
	-webkit-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}

.gallery .lightbox.video:hover .gallery-image:after { 
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2); 
}

.mehr3.gallery {
	border: 1px solid #00b1e9 !important;
	color: #FFF !important;
	background-color: #00b1e9 !important;
}

.mehr3.gallery:hover {
	color: #00b1e9 !important;
	background-color: #FFF !important;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     .gallery-image {overflow: hidden; }
	 .gallery .gallery-item a { height: inherit; }
	 
}
