.gallery--image {
	padding-left: 20px;
	padding-right: 20px;
  cursor: zoom-in;
}

.gallery--image:nth-child(1) {
	padding-left: 1em;
}

.gallery--image:nth-child(3n) {
	padding-right: 1em;
}

@media (max-width:899px) {
	.gallery--image {
		padding-left: 1em;
		padding-right: 1em;
		margin-bottom: 15px;
	}
}

.gallery--image img {
	width: 100%;
	height: 265px;
	object-position: 50% 50%;
	object-fit: cover;
	transition: all 0.26s ease;
	transform: scale(1.0);
}

.gallery--image:hover img {
	transform: scale(1.033);
}

.gallery--image:hover img.image--shadow {
	box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.15);
}

.inline-gallery-carousel .swiper-container {
	overflow: initial !important;
	height: 100%;
}

.inline-gallery-carousel .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: -30px !important;
	text-align: left;
}

.inline-gallery-carousel .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 12px !important;
	outline: none !important;
}

.inline-gallery-carousel .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet:first-child {
	margin-left: 6px !important;
}

.inline-gallery-carousel .swiper-pagination-bullet {
  background: none !important;
  border: 2px solid #b7b7b7 !important;
  width: 8px !important;
  height: 8px !important;
  position: relative;
	opacity: 1 !important;
}

.inline-gallery-carousel .swiper-pagination-bullet:hover,
.inline-gallery-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
	border-color: #00b4cd !important;
  background: #00b4cd !important;
}

.inline-gallery-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  content: '';
  display: block;
  position: absolute;
  transition: all .2s ease-out;
  width: 22px;
  height: 22px;
  border-radius: 22px;
  border: 1.5px solid #00b4cd;
  left: -9px;
  top: -9px;
}

.wpb_single_image.js-gallery .vc_single_image-wrapper {
	cursor: zoom-in !important;
}

/* Modula Gallery */

.gallery-block-wrap {
	margin-bottom: 4rem;
}

.has-hover-image-magnify,
.gallery-block-wrap .gallery--image {
  transition: all 400ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}

.has-hover-image-magnify:hover,
.gallery-block-wrap .gallery--image:hover img {
  transform: scale(1.02);
}


.slider-container .tns-ovh {
  width: 90%;
  margin: 0 auto;
}

.slider-container .controls .prev,
.slider-container .controls .next {
  position: absolute;
  top: calc(50% - 23px);
}

.slider-container .controls .prev img,
.slider-container .controls .next img {
  width: 24px;
  height: 46px;
}

.slider-container .controls .prev:hover,
.slider-container .controls .next:hover {
  cursor: pointer;
}

.slider-container .controls .prev {
  left: 0;
}

.slider-container .controls .next {
  right: 0;
}

@media only screen and (max-width: 899px) {
  .slider-container .controls .prev {
    left: -14px;
  }

  .slider-container .controls .next {
    right: -14px;
  }
}

.gallery-block-wrap img {

}


.page-template-gallery .page-container {
  position: relative;
}

.page-template-gallery .page-container::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 10.2rem;
  bottom: 0;
  background-color: #343434;
}
/*
.no-show {
  display: none;
}

.gallery-block-wrap .col-span-2 img {
	object-fit: cover;
	height: 700px;
	width: 100%;
	object-fit: center;
}
.gallery-block-wrap .row-span-2 {
	display: flex;
}
.gallery-block-wrap .row-span-2 img {
	object-fit: cover;
	height: 100%;
  width: 100%;
	object-fit: center;
}

.gallery-block-wrap .image-right-top img {
	object-fit: cover;
	width: 100%;
	height: 350px;
	object-fit: center;
}
.gallery-block-wrap .image-right-bottom img {
	object-fit: cover;
	width: 100%;
	height: 350px;
	object-fit: center;
}
.gallery-block-wrap .grid {
  grid-gap: 0.5rem;
}
@media screen and (max-width: 900px) {
  .gallery-block-wrap .row-span-2, .gallery-block-wrap .col-span-2, .gallery-block-wrap .image-right-top, .gallery-block-wrap .image-right-bottom {
    grid-column: span 2 / span 2;
  }
  .gallery-block-wrap .col-span-2 img, .gallery-block-wrap .row-span-2 img {
    height: 350px;
  }
  .gallery-block-wrap .col-span-2 .js-gallery, .gallery-block-wrap .col-span-2 .js-gallery a , .gallery-block-wrap .row-span-2 .js-gallery, .gallery-block-wrap .row-span-2 .js-gallery a {
    width: 100%;
  }
}
*/


.gallery-block-wrap .js-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: 350px;
}
.gallery-block-wrap .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  margin-top: 1rem;
}

.gallery-block-wrap .js-gallery:nth-child(1) {
  grid-row: 1;
  grid-column: 1 / 3;
}
.gallery-block-wrap .js-gallery:nth-child(1) img {
  max-height: 800px;
}
.gallery-block-wrap .js-gallery:nth-child(2) {
  grid-column: 1;
  grid-row: 2 / 4;
}
.gallery-block-wrap .js-gallery:nth-child(3) {
  grid-row: 2;
  grid-column: 2;
}
.gallery-block-wrap .js-gallery:nth-child(4) {
  grid-row: 3;
  grid-column: 2;
}
.gallery-block-wrap .js-gallery:nth-child(2) img {
  max-height: 720px;
}
.gallery-block-wrap .js-gallery:nth-child(5) {
  grid-row: 4;
  grid-column: 1;
}
.gallery-block-wrap .js-gallery:nth-child(7) img {
  max-height: 720px;
}
.gallery-block-wrap .js-gallery:nth-child(6) {
  grid-row: 5;
  grid-column: 1;
}
.gallery-block-wrap .js-gallery:nth-child(7) {
  grid-row: 4 / 6;
  grid-column: 2;
}
.no-show {
  display: none;
}

.gallery-block-wrap .grid:not(.active) {
  display: none;
}
.btn-gallery {
  z-index: 999;
  position: relative;
  z-index: 15;
  background-color: #343434;
  height: auto;
  width: auto;
  color: rgb(255, 255, 255);
  text-decoration: none;
  white-space: nowrap;
  min-height: 0px;
  min-width: 0px;
  max-height: none;
  max-width: none;
  text-align: left;
  line-height: 23px;
  letter-spacing: 0px;
  font-weight: 500;
  font-size: 12px;
  border-color: rgba(255, 255, 255, 0.35);
  border-style: solid;
  border-width: 1px;
  padding: 7px 37px;
  transform-origin: 50% 50% 0px;
  opacity: 1;
  transform: translate(0px);
  visibility: visible;
  border-radius: 0px;
  margin-top: 20px;
}

.btn-gallery.d-none {
  display: none;
}
/* References section gallery image fix */

.partial-section-references .tns-horizontal.tns-subpixel > .tns-item {
  /*
  width: calc(8.33334%) !important;
  */
  width: 99%;
}

@media only screen and (max-width: 899px) {
  .partial-section-references .inner {
    padding-left: 0;
    padding-right: 0;
  }

    .partial-section-references .tns-ovh {
      margin: 0;
      width: 100%;
    }

    .partial-section-references .controls .prev {
      left: 0;
      z-index: 1001;
      background-color: rgba(0, 0, 0, 0.4);
      padding: .5rem;
    }

    .partial-section-references:not(.section--dark-grey) .controls .prev img,
    .partial-section-references:not(.section--dark-grey) .controls .next img {
      -webkit-filter: invert(1);
      filter: invert(1);
    }

    .partial-section-references .controls .next {
      right: 0;
      z-index: 1001;
      background-color: rgba(0, 0, 0, 0.4);
      padding: .5rem;
    }
}

.mfp-content {
	font-size: 16px;
}
