.customize-support .fancybox-show-controls .fancybox-controls {
    top: 40px;
	}
	
.gallery {
	position:relative;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: start;
	margin: 1rem 0;
}

.gallery.gallery-columns-1 {flex-wrap:initial; height:28.125rem;}

.gallery.alignfull {padding-left:1rem; padding-right:1rem;}

.gallery .gallery-item {
	margin-top: 0;
	text-align: center;
	width: 41.875rem;
	height:28.125rem;
	overflow: hidden;
	position: relative;
	padding: .3rem;
	margin-right: 0.9375rem;
	margin-bottom: 0.9375rem;
	/*border: solid 0.0625rem #e2e2e3;*/
	background: #000;
	display: none !important;
}
.gallery-columns-2, .gallery-columns-3, .gallery-columns-4, .gallery-columns-5, .gallery-columns-6, .gallery-columns-7 {justify-content:center;}

.gallery-columns-1 .gallery-item, .wp-block-gallery.columns-1 .blocks-gallery-item {display: none !important;}
.gallery-columns-1 .gallery-item:first-child, .wp-block-gallery.columns-1 .blocks-gallery-item:first-child {display: initial !important;}

/*.gallery::before {
	position: absolute;
    top: .5rem;
    right: 1.6rem;
    display: block;
    content: ' ';
    background-image: url(../img/icon-Gallery.svg);
    background-size: 2rem 2rem;
    height: 2rem;
    width: 2rem;
    z-index: 5;
    pointer-events: none;
	}*/
	
.gallery-columns-1::before, .wp-block-gallery.columns-1::before {
	position: absolute;
    top: .5rem;
    right: 1.6rem;
    display: block;
    content: ' ';
    background-image: url(../img/icon-Gallery.svg);
    background-size: 2rem 2rem;
    height: 2rem;
    width: 2rem;
    z-index: 5;
    pointer-events: none;
	}
	
.gallery-columns-2 .gallery-item {width: 45%;height: 18.75rem;overflow: hidden;margin-right: 0.9375rem;margin-bottom: 0.9375rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}
.gallery-columns-3 .gallery-item {width: 30%;height: 12.5rem;overflow: hidden;margin-right: 0.625rem;margin-bottom: 0.625rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}
.gallery-columns-4 .gallery-item {width: 22%;height: 9.375rem;overflow: hidden;margin-right: 0.625rem;margin-bottom: 0.625rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}
.gallery-columns-5 .gallery-item {width: 18%;height: 7.5rem;overflow: hidden;margin-right: 0.3125rem;margin-bottom: 0.3125rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}
.gallery-columns-6 .gallery-item {width: 15%;height: 6.25rem;overflow: hidden;margin-right: 0.3125rem;margin-bottom: 0.3125rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}
.gallery-columns-7 .gallery-item {width: 13%;height: 5.3125rem;overflow: hidden;margin-right: 0.3125rem;margin-bottom: 0.3125rem;flex-grow: 1; display:initial !important; border: solid 0.0625rem #e2e2e3;}

.gallery a {
	flex-grow: 1;
	flex-basis: 7.8125rem;
	max-width: 18.75rem;
	margin: 0.3125rem;
}

.gallery img {position: absolute;left: 50%;top: 50%;height: 100%;width: auto;-webkit-transform: translate(-50%,-50%);-ms-transform: translate(-50%,-50%);transform: translate(-50%,-50%);}
.gallery img:hover {
	background: white;
}

.gallery .gallery-caption, .wp-block-gallery .gallery-caption {
	font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #fff;
	font-size: 0.75rem;
	margin: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,.5);
	text-align: left;
	display: none;
	}

.gallery-columns-6 .gallery-item .gallery-caption, .gallery-columns-7 .gallery-item .gallery-caption {display:none;}


.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }

/****************************** MEDIA QUERIES **********************************************/

@media only screen 
and (max-width : 520px) {
	.gallery-columns-1 {
		height: auto;
	}
	.gallery-columns-1 .gallery-item{width:100%; height:18.75rem;}
	
	.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item {height:6.25rem;}
}

@media only screen 
and (max-width : 400px) {
	.gallery-columns-1 {
		height: auto;
	}
	.gallery-columns-1 .gallery-item{width:100%; height:14.375rem;}
	.gallery-columns-2 .gallery-item, .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-7 .gallery-item {height:5rem;}
}