/* ------------------------------------------------------------------------ */
/* Gutenberg Block Galerie													*/
/* ------------------------------------------------------------------------ */

.wp-block-galerie.gbb {
	margin: -3px -20px 25px -20px;
	background-color: transparent;
	overflow: visible;
	position: relative;
	z-index: 1;
}

.wp-block-galerie.gbb ul {
	width: 100%;
	padding: 0 10px 10px !important;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
}

.wp-block-galerie.gbb ul > li {
	margin: 0 !important;
	padding: 10px 10px 10px !important;
	display: flex;
}

.wp-block-galerie.gbb ul > li::before {
	display: none;
}

.wp-block-galerie.gbb ul > li > a {
	position: relative;
	z-index: 1;
	border-width: 1px !important;
	border-style: solid;
	border-color: #FFFFFF !important;
	background-color: #FFFFFF;
	overflow: hidden;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.wp-block-galerie.gbb ul > li > a > img {
	width: 100%;
	margin: 0 !important;
	padding: 0;
	position: relative;
	z-index: 1;
}

.wp-block-galerie.gbb > p {
	line-height: 1;
	margin-top: -6px;
	padding: 0 0 0 20px !important;
}

.wp-block-galerie.gbb > p .enlarge {
	padding-left: 20px;
	position: relative;
	z-index: 1;
}

.wp-block-galerie.gbb > p .enlarge::before {
	content: '\f1ff';
	font-family: 'Ionicons';
	font-size: 16px;
	color: #ABABAB;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: left;
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

/* ----------------------- 		Media Queries	   ------------------------ */

/* ------------------------------------------------------------------------ */
/* General Definitions all Sizes											*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 0em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 480px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 29.9375em) and (orientation: portrait) {
	.custom .wp-block-galerie.gbb {
		margin-left: -20px;
		margin-right: -20px;
	}

	/* ------------------------------------------------------------------------ */

	.custom .wp-block-galerie.gbb ul > li {
		width: 50%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 480px (landscape, devices and browsers)					    */
/* ------------------------------------------------------------------------ */
@media only screen and (max-height: 29.9375em) and (max-width: 47.9375em) and (orientation: landscape) {
	.custom .wp-block-galerie.gbb {
		margin-left: -20px;
		margin-right: -20px;
	}

	/* ------------------------------------------------------------------------ */

	.custom .wp-block-galerie.gbb ul > li {
		width: 33.3333%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 30em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 30em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px (landscape, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-height: 30em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 640px (devices and browsers)								    */
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 39.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 640px (portrait, devices and browsers)					    */
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 39.9375em) and (orientation: portrait) {
	.wp-block-galerie.gbb ul > li {
		width: 33.3333%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 640px (landscape, devices and browsers)					    */
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 39.9375em) and (orientation: landscape) {
	.wp-block-galerie.gbb ul > li {
		width: 25%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes from 640px up to 768px (devices and browse							*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 40em) and (max-width: 47.9375em) {
	.wp-block-galerie.gbb ul > li {
		width: 25%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 768px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 47.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 768px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 47.9375em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 768px (landscape, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-height: 47.9375em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 768px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 48em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 768px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 48em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 768px (landscape, devices and browser							*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-height: 48em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px to 1024px (devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 30em) and (max-width: 63.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px to 1024px (portrait, devices and browsers)				*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 30em) and (max-width: 63.9375em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 480px to 1024px (landscape, devices and browsers)				*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-height: 30em) and (max-width: 63.9375em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 768px up to 1024px (devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 48em) and (max-width: 63.9375em) {
	.wp-block-galerie.gbb ul > li {
		width: 25%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1024px (devices and browsers)								*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 63.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1024px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 63.9375em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1024px (landscape, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-height: 63.9375em) and (max-width: 79.9375em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1024px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 64em) {
	.wp-block-galerie.gbb ul > li > a > img {
		transform: scale(1);
		transform-origin: center center;
		filter: grayscale(0);
		transition: transform 0.3s ease, filter .3s ease;
	}

	.wp-block-galerie.gbb ul > li > a:hover > img {
		transform: scale(1.02);
		filter: grayscale(1);
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1024px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 64em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1024px (landscape, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 64em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Monitor sizes from 1024px to 1280px (devices and browsers)				*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 64em) and (max-width: 79.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1280px (devices and browsers)								*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 79.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1280px (portrait, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 79.9375em) and (orientation: portrait) {
}

/* ------------------------------------------------------------------------ */
/* Sizes up to 1280px (landscape, devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 79.9375em) and (orientation: landscape) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1280px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 80em) {
}

/* ------------------------------------------------------------------------ */
/* Size width from 1024px to 14400px										*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 64em) and (max-width: 89.9375em) {
	.wp-block-galerie.gbb ul > li {
		width: 25%;
	}
}


/* ------------------------------------------------------------------------ */
/* Sizes up to 1440px (devices and browsers)								*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 89.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1440px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 90em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1280px to 1600px (devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 90em) and (max-width: 99.9375em) {
	.wp-block-galerie.gbb ul > li {
		width: 20%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1280px to 1600px (devices and browsers)						*/
/* ------------------------------------------------------------------------ */
@media only screen and (max-width: 99.9375em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1600px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 100em) {
	.wp-block-galerie.gbb ul > li {
		width: 16.6666%;
	}
}

/* ------------------------------------------------------------------------ */
/* Sizes from 1920px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 120em) {
}

/* ------------------------------------------------------------------------ */
/* Sizes from 2800px (devices and browsers)									*/
/* ------------------------------------------------------------------------ */
@media only screen and (min-width: 160em) {
}