.eac-advanced-gallery {
	position: relative;
}

.eac-advanced-gallery a,
.eac-advanced-gallery a:visited,
.eac-advanced-gallery a:active {
	text-decoration: none !important;
}

/* Formate les items de la galerie */
.advanced-gallery.layout-type-masonry .advanced-gallery__item,
.advanced-gallery.layout-type-fitRows .advanced-gallery__item {
	display: block;
	float: left;
	float: inline-start;
}

.advanced-gallery:after {
	content: '';
	display: block;
	clear: both;
}

.advanced-gallery .advanced-gallery__item.animate-first-load {
	transform: scale(var(--eac-grid-animate-min-scale));
	-webkit-animation: firstload var(--eac-grid-animate-duration) linear forwards;
	animation: firstload var(--eac-grid-animate-duration) linear forwards;
}

@-webkit-keyframes firstload {
    0% {
		transform: scale(var(--eac-grid-animate-min-scale));
	}
    100% {
        -webkit-transform: scale(1);
    }
}
@keyframes firstload {
    0% {
		transform: scale(var(--eac-grid-animate-min-scale));
	}
    100% {
        transform: scale(1);
    }
}

/** La div du filtre standard */
.ag-filters__wrapper {
	display: block;
	inline-size: 100%;
}

/** La div du filtre par liste */
.ag-filters__wrapper-select {
	display: none;
	margin-block-end: 10px;
}

.ag-filters__wrapper-select .ag-filters__select {
	padding-block: 0;
	padding-inline: 5px;
	background-color: var(--eac-bg-input);
	border-block-color: var(--eac-color-primary);
	border-inline-color: var(--eac-color-primary);
	font-size: 1em;
	inline-size: auto;
}

.ag-filters__wrapper .ag-filters__item {
	position: relative;
	display: inline-block;
	margin-block-end: 10px;
	padding-block: 0 5px;
	padding-inline: 5px;
	font-style: normal;
	font-size: 1em;
}

/** Couleur pour tous les liens du filtre */
.ag-filters__wrapper .ag-filters__item a {
	display: block;
	color: #919ca7;
}

/** Couleur pour le lien actif du filtre */
.ag-filters__wrapper .ag-filters__item.ag-active a {
	color: #f12184;
}

/** le filet rouge sur le filtre actif */
.ag-filters__wrapper .ag-filters__item.ag-active:after {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	inset-block-end: -2px;
	border-block-end: 3px solid #f94213;
	inline-size: 100%;
}

/** Mobiles */
@media (max-width: 460px) {

	/* Cache les filtres standards pour les mobiles */
	.ag-filters__wrapper {
		display: none !important;
	}

	/* Affiche les filtres select/option pour les mobiles */
	.ag-filters__wrapper-select {
		display: block;
	}
}

/*****************************
* Formate l'overlay IN & OUT
*****************************/
/** Disposition du contenu de l'overlay */
.advanced-gallery__item .advanced-gallery__content {
	block-size: 100%;
}

/* Position de l'overlay par défaut */
.advanced-gallery__item .advanced-gallery__content.overlay-in {
	position: absolute;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
	transition: 0.4s ease;
	z-index: 11;
}

.advanced-gallery__item .advanced-gallery__content .advanced-gallery__overlay {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	block-size: 100%;
	inline-size: 100%;
	padding-inline: 10px;
}

/* Formate le contenu de l'overlay IN */
.advanced-gallery__item .advanced-gallery__content.overlay-in .advanced-gallery__overlay {
	position: absolute;
	inset: 0;
}

/* Overlay du haut vers le bas */
/* Position de l'overlay par défaut */
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in {
	block-size: 0;
	inline-size: 100%;
	inset-block-end: 100%;
	inset-inline-start: 0;
}

/* Position de l'overlay hover */
.overlay-top .advanced-gallery__item:hover .advanced-gallery__content.overlay-in,
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible,
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within {
	block-size: 100%;
	inset-block-end: 0;
}

/* Position du contenu par défaut */
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in .advanced-gallery__overlay {
	inset-block-start: 100%;
	transition: all 0.4s ease-in-out;
	visibility: hidden;
}

/* Position du contenu hover */
.overlay-top .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
.overlay-top .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transition-delay: 0.4s;
	transition-duration: 0.4s;
	transform: translateY(-100%);
	visibility: visible;
}

/* Overlay du bas vers le haut */
/* Position de l'overlay par défaut */
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in {
	block-size: 0;
	inline-size: 100%;
	inset-block-start: 100%;
	inset-inline-start: 0;
}

/* Position de l'overlay hover */
.overlay-bottom .advanced-gallery__item:hover .advanced-gallery__content.overlay-in,
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible,
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within {
	block-size: 100%;
	inset-block-start: 0;
}

/* Position du contenu par défaut */
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in .advanced-gallery__overlay {
	inset-block-start: -100%;
	transition: all 0.4s ease-in-out;
	visibility: hidden;
}

/* Position du contenu hover */
.overlay-bottom .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
.overlay-bottom .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transition-delay: 0.4s;
	transition-duration: 0.4s;
	transform: translateY(100%);
	visibility: visible;
}

/* Overlay de la droite vers la gauche */
/* Position de l'overlay par défaut */
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in {
	block-size: 100%;
	inline-size: 0;
	inset-block-start: 0;
	inset-inline-start: 100%;
}

/* Position de l'overlay hover */
.overlay-left .advanced-gallery__item:hover .advanced-gallery__content.overlay-in,
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible,
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within {
	inset-inline-start: 0;
	inline-size: 100%;
}

/* Position du contenu par défaut */
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in .advanced-gallery__overlay {
	inset-inline-start: -100%;
	transition: all 0.4s ease-in-out;
	visibility: hidden;
}

/* Position du contenu hover */
.overlay-left .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
.overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transition-delay: 0.4s;
	transition-duration: 0.4s;
	transform: translateX(100%);
	visibility: visible;
}

/* langage RTL */
html[dir='rtl'] .overlay-left .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
html[dir='rtl'] .overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
html[dir='rtl'] .overlay-left .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transform: translateX(-100%);
}

/* Overlay de la gauche vers la droite */
/* Position de l'overlay par défaut */
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in {
	block-size: 100%;
	inline-size: 0;
	inset-inline-start: 0;
}

/* Position de l'overlay hover */
.overlay-right .advanced-gallery__item:hover .advanced-gallery__content.overlay-in,
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible,
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within {
	inline-size: 100%;
}

/* Position du contenu par défaut */
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in .advanced-gallery__overlay {
	inset-inline-start: 100%;
	transition: all 0.4s ease-in-out;
	visibility: hidden;
}

/* Position du contenu hover */
.overlay-right .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
.overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transition-delay: 0.4s;
	transition-duration: 0.4s;
	transform: translateX(-100%);
	visibility: visible;
}

/* langage RTL */
html[dir='rtl'] .overlay-right .advanced-gallery__item:hover .advanced-gallery__content.overlay-in .advanced-gallery__overlay,
html[dir='rtl'] .overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-visible .advanced-gallery__overlay,
html[dir='rtl'] .overlay-right .advanced-gallery__item .advanced-gallery__content.overlay-in:focus-within .advanced-gallery__overlay {
	transform: translateX(100%);
}

/** Position Titre/Texte/Bouton dans l'overlay */
/* Formate le contenu de l'overlay OUT */
.advanced-gallery__item .advanced-gallery__content.overlay-out .advanced-gallery__overlay {
	position: relative;
}

/** L'overlay fixe */
.advanced-gallery__item .advanced-gallery__content.overlay-fix {
	display: block;
	position: absolute;
	block-size: 50%;
	inline-size: 100%;
	inset-inline-start: 0;
	inset-block-end: 0;
	overflow: hidden;
	transition: 0.4s ease;
	padding-block: 5px;
	padding-inline: 5px;
}

.advanced-gallery__item .advanced-gallery__content.overlay-fix:before {
	content: '';
	opacity: 0.5;
	position: absolute;
	inset: 0;
	background-color: #000000;
}

/* Formate le titre */
.advanced-gallery__item .advanced-gallery__content .advanced-gallery__overlay .advanced-gallery__title-wrapper {
	display: block;
	position: relative;
	margin-block: 10px;
}

.advanced-gallery__item .advanced-gallery__content .advanced-gallery__overlay .advanced-gallery__title {
	color: #919CA7;
	font-size: 1em;
	font-weight: 400;
	margin-block: 0;
}

/* Formate la description */
.advanced-gallery__item .advanced-gallery__content .advanced-gallery__overlay .advanced-gallery__description-wrapper {
	display: block;
	position: relative;
	font-size: 0.75em;
	color: #919ca7;
	margin-block-end: 10px;
	word-break: break-word;
}

/* Les boutons */
.advanced-gallery__item .advanced-gallery__content .buttons-wrapper {
	inline-size: fit-content;
}

/* Formate le container image et l'image */
.advanced-gallery .advanced-gallery__image {
	display: block;
	position: relative;
	margin-block: auto;
	margin-inline: auto;
}

.advanced-gallery__ratio-yes .advanced-gallery .advanced-gallery__image {
	margin-block: unset;
	margin-inline: unset;
}

.advanced-gallery .advanced-gallery__image .advanced-gallery__image-instance {
	display: block;
	position: relative;
	block-size: auto;
	inline-size: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

/* Formate les styles */
.advanced-gallery .advanced-gallery__item .advanced-gallery__inner-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	overflow: hidden;
}

.advanced-gallery .advanced-gallery__item:not(.fj-gallery-item) .advanced-gallery__inner-wrapper {
	block-size: calc(100% - 20px);
	margin-block: 10px;
	margin-inline: 10px;
}

/** Formate les styles */
*[class*='advanced-gallery__wrapper-style-'] .advanced-gallery__inner-wrapper {
	background-color: #FFFFFF;
}

.advanced-gallery__wrapper-style-1 .advanced-gallery__inner-wrapper {
	border-block: 5px solid #FFF;
	border-inline: 5px solid #FFF;
	-webkit-box-shadow: 1px 1px 5px #999;
	box-shadow: 1px 1px 5px #999;
}

.advanced-gallery__wrapper-style-2 .advanced-gallery__inner-wrapper {
	border-block: 1px groove #4a164a;
	border-inline: 1px groove #4a164a;
	-webkit-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	-webkit-box-shadow: 1px 1px 5px 2px #656565;
	box-shadow: 1px 1px 5px 2px #656565;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);
}

.advanced-gallery__wrapper-style-3 .advanced-gallery__inner-wrapper {
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
}

.advanced-gallery__wrapper-style-4 .advanced-gallery__inner-wrapper {
	-webkit-box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.6);
	box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.6);
}

.advanced-gallery__wrapper-style-5 .advanced-gallery__inner-wrapper {
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.7);
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.7);
}

.advanced-gallery__wrapper-style-8 .advanced-gallery__inner-wrapper {
	box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.advanced-gallery__wrapper-style-10 .advanced-gallery__inner-wrapper {
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
		0 2px 2px rgba(0, 0, 0, 0.12),
		0 4px 4px rgba(0, 0, 0, 0.12),
		0 8px 8px rgba(0, 0, 0, 0.12),
		0 16px 16px rgba(0, 0, 0, 0.12);
}

.advanced-gallery__wrapper-style-11 .advanced-gallery__inner-wrapper {
	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.advanced-gallery__wrapper-style-12 .advanced-gallery__inner-wrapper {
	box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

/*******************************
* Formate les points de rupture
*******************************/
/** Desktop défaut */
.responsive-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-1 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 100%;
	height: unset !important;
	block-size: auto;
}

.responsive-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-2 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 50%;
}

.responsive-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-3 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 33.3332%;
}

.responsive-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-4 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 25%;
}

.responsive-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-5 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 20%;
}

.responsive-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
.responsive-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
.responsive-6 .advanced-gallery .advanced-gallery__item-sizer {
	inline-size: 16.6666%;
}

/** li:is(:nth-child(1),:nth-child(8),:nth-child(13)) */
.responsive-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 100%;
}

.responsive-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 50%;
}

.responsive-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 66.6666%;
}

.responsive-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 50%;
}

.responsive-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 40%;
}

.responsive-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro {
	inline-size: 33.3332%;
}

/** Widescreen */
/*@media (min-width: 2400px) {

  .responsive-widescreen-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-1 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 100%;
    height: unset !important;
	block-size: auto;
  }

  .responsive-widescreen-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-2 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 50%;
  }

  .responsive-widescreen-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-3 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 33.3332%;
  }

  .responsive-widescreen-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-4 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 25%;
  }

  .responsive-widescreen-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-5 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 20%;
  }

  .responsive-widescreen-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-widescreen-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-widescreen-6 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 16.6666%;
  }

 .responsive-widescreen-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child) {
   inline-size: 100%;
 }

 .responsive-widescreen-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child) {
   inline-size: 50%;
 }

 .responsive-widescreen-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child) {
   inline-size: 66.6666%;
 }

 .responsive-widescreen-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child) {
   inline-size: 50%;
 }

 .responsive-widescreen-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child) {
   inline-size: 40%;
 }

 .responsive-widescreen-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child) {
   inline-size: 33.3332%;
 }
}*/

/** Laptop */
/*@media (max-width: 1366px) {

  .responsive-laptop-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-1 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 100%;
    height: unset !important;
	block-size: auto;
  }

  .responsive-laptop-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-2 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 50%;
  }

  .responsive-laptop-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-3 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 33.3332%;
  }

  .responsive-laptop-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-4 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 25%;
  }

  .responsive-laptop-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-5 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 20%;
  }

  .responsive-laptop-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
  .responsive-laptop-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
  .responsive-laptop-6 .advanced-gallery .advanced-gallery__item-sizer {
    inline-size: 16.6666%;
  }

  .responsive-laptop-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child) {
    inline-size: 100%;
  }

  .responsive-laptop-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child) {
    inline-size: 50%;
  }

  .responsive-laptop-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child) {
    inline-size: 66.6666%;
  }

  .responsive-laptop-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child) {
    inline-size: 50%;
  }

  .responsive-laptop-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child) {
    inline-size: 40%;
  }

  .responsive-laptop-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child) {
    inline-size: 33.3332%;
  }
}*/

/** Tablet Extra */
@media (max-width: 1200px) {

	.responsive-tablet_extra-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-1 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 100%;
		height: unset !important;
		block-size: auto;
	}

	.responsive-tablet_extra-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-2 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 50%;
	}

	.responsive-tablet_extra-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-3 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 33.3332%;
	}

	.responsive-tablet_extra-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-4 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 25%;
	}

	.responsive-tablet_extra-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-5 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 20%;
	}

	.responsive-tablet_extra-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet_extra-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet_extra-6 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 16.6666%;
	}

	.responsive-tablet_extra-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child) {
		inline-size: 100%;
	}

	.responsive-tablet_extra-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-tablet_extra-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child) {
		inline-size: 66.6666%;
	}

	.responsive-tablet_extra-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-tablet_extra-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child) {
		inline-size: 40%;
	}

	.responsive-tablet_extra-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child) {
		inline-size: 33.3332%;
	}
}

/** Tablet */
@media (max-width: 1024px) {

	.responsive-tablet-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-1 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 100%;
		height: unset !important;
		block-size: auto;
	}

	.responsive-tablet-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-2 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 50%;
	}

	.responsive-tablet-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-3 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 33.3332%;
	}

	.responsive-tablet-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-4 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 25%;
	}

	.responsive-tablet-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-5 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 20%;
	}

	.responsive-tablet-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-tablet-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-tablet-6 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 16.6666%;
	}

	.responsive-tablet-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child) {
		inline-size: 100%;
	}

	.responsive-tablet-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-tablet-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child) {
		inline-size: 66.6666%;
	}

	.responsive-tablet-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-tablet-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child) {
		inline-size: 40%;
	}

	.responsive-tablet-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child) {
		inline-size: 33.3332%;
	}
}

/** Mobile Extra */
@media (max-width: 880px) {

	.responsive-mobile_extra-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-1 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 100%;
		height: unset !important;
		block-size: auto;
	}

	.responsive-mobile_extra-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-2 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 50%;
	}

	.responsive-mobile_extra-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-3 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 33.3332%;
	}

	.responsive-mobile_extra-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-4 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 25%;
	}

	.responsive-mobile_extra-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-5 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 20%;
	}

	.responsive-mobile_extra-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile_extra-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile_extra-6 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 16.6666%;
	}

	.responsive-mobile_extra-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child) {
		inline-size: 100%;
	}

	.responsive-mobile_extra-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-mobile_extra-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child) {
		inline-size: 66.6666%;
	}

	.responsive-mobile_extra-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child) {
		inline-size: 50%;
	}

	.responsive-mobile_extra-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child) {
		inline-size: 40%;
	}

	.responsive-mobile_extra-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child) {
		inline-size: 33.3332%;
	}
}

/** Mobile */
@media (max-width: 767px) {

	.responsive-mobile-1 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(1n):not(:last-child),
	.responsive-mobile-1 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-1 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-1 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 100%;
		height: unset !important;
		block-size: auto;
	}

	.responsive-mobile-2 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(2n):not(:last-child),
	.responsive-mobile-2 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-2 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-2 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 50%;
	}

	.responsive-mobile-3 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(3n+1):not(:last-child),
	.responsive-mobile-3 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-3 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-3 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 33.3332%;
	}

	.responsive-mobile-4 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(4n-1):not(:last-child),
	.responsive-mobile-4 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-4 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-4 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 25%;
	}

	.responsive-mobile-5 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(5n+1):not(:last-child),
	.responsive-mobile-5 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-5 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-5 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 20%;
	}

	.responsive-mobile-6 .advanced-gallery.layout-type-masonry article.advanced-gallery__item.mode-metro:nth-child(6n-1):not(:last-child),
	.responsive-mobile-6 .advanced-gallery.layout-type-masonry .advanced-gallery__item,
	.responsive-mobile-6 .advanced-gallery.layout-type-fitRows .advanced-gallery__item,
	.responsive-mobile-6 .advanced-gallery .advanced-gallery__item-sizer {
		inline-size: 16.6666%;
	}
}