.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);
}

.overflow-pools-individual .gallery--image img,
.overflow-pools-individual .gallery--image img {
	/* height: initial; */
}

.gallery--image-pools:first-of-type {
	padding-left: 0;
	padding-right: 0;

}

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

@media (max-width:899px) {
    .gallery--image-pools img {
            width: 80%;
            object-position: 50% 50%;
            object-fit: contain;
            transition: all 0.26s ease;
            transform: scale(1.0);
    }
}

@media (max-width:599px) {
    .gallery--image-pools img {
            width: 100%;
            object-position: 50% 50%;
            object-fit: contain;
            transition: all 0.26s ease;
            transform: scale(1.0);
    }
}

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

.gallery--image-pools-fix-height-horizontal {
    display: block;
    min-height: 14rem;
    position: relative;
    margin-bottom: 2rem;
}

@media (max-width:1199px) {
    .gallery--image-pools-fix-height-horizontal {
        display: block;
        min-height: 25rem;
        position: relative;
    }
}

@media (max-width:899px) {
    .gallery--image-pools-fix-height-horizontal {
        display: block;
        min-height: 33rem;
        position: relative;
    }
}


.gallery--image-pools-fix-height-horizontal img {
    bottom: 1rem;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
}

.gallery--image-pools-fix-height:first-of-type {
        position: relative;
        display: block;
        

}

@media (max-width:899px) {
    .gallery--image-pools-fix-height:first-of-type {
            display: block;
            height: max-content;

    }
}

@media (max-width:599px) {
    .gallery--image-pools-fix-height:first-of-type {
            display: block;
            height: max-content;

    }
}


.gallery--image-pools-fix-height img {
    bottom: 2rem;
    margin: auto;
    left: 0;
    right: 0;
    margin-bottom: 1.5rem;
    height: 150px;
    object-fit: contain;
}

@media (max-width:899px) {
    .gallery--image-pools-fix-height img {
        position: initial;
        margin-bottom: 3rem;
    }
}

.gallery--whirlpools-fix-height {
    display: block;
    min-height: 37rem;
}

@media (max-width:1399px) {
    .gallery--whirlpools-fix-height {
        display: block;
        min-height: 33rem;
    }
}

@media (max-width:899px) {
    .gallery--whirlpools-fix-height {
        display: block;
        min-height: 27rem;
    }
}

@media (max-width:599px) {
    .gallery--whirlpools-fix-height {
        display: block;
        min-height: 17rem;
    }
}

.gallery--whirlpools-fix-height-smaller {
    display: block;
    min-height: 32rem;
}

@media (max-width:1399px) {
    .gallery--whirlpools-fix-height-smaller {
        display: block;
        min-height: 28rem;
    }
}

@media (max-width:899px) {
    .gallery--whirlpools-fix-height-smaller {
        display: block;
        min-height: 22rem;
    }
}

@media (max-width:599px) {
    .gallery--whirlpools-fix-height-smaller {
        display: block;
        min-height: 12rem;
    }
}

#finnish-sauna-ovens .gallery--image img {
    height: 380px;
}

#finnish-sauna-materials .gallery--image img {
    height: 170px;
}

.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: #9c8668 !important;
  background: #9c8668 !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 #9c8668;
  left: -9px;
  top: -9px;
}

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

.video-js .vjs-big-play-button {
	left: 0;
	right: 0;
	margin: auto;
	top: 0;
	bottom: 0;
}

#production-hall-and-showroom .swiper-container {
    height: auto;
}

#production-hall-and-showroom .swiper-pagination {
    position: absolute;
    bottom: -4rem !important;
    text-align: center;
}

.swiper-pagination-service {
    position: initial !important;
}

.swiper-pagination-service .swiper-pagination-bullet {
    margin: 1rem;
}

/* LAMINATE POOLS CUSTOM IMAGE SIZES */

/*
.image-size-tono {
    width: 45% !important;
}

.image-size-akvo {
    width: 55% !important;
}

.image-size-luqo {
    width: 56% !important;
}

.image-size-duma {
    width: 62% !important;
}

.image-size-sofo {
    width: 65% !important;
}

.image-size-vivo {
    width: 71% !important;
}

.image-size-destra {
    width: 75% !important;
}

.image-size-amuza {
    width: 75% !important;
}

.image-size-antao {
    width: 80% !important;
}

.image-size-meza {
    width: 90% !important;
}

.image-size-nadeo {
    width: 80% !important;
}

@media (max-width:599px) {
    .image-size-nadeo {
        width: 100% !important;
    }
}
*/

.image-size-tono {
    width: 55% !important;
}

.image-size-akvo {
    width: 65% !important;
}

.image-size-luqo {
    width: 66% !important;
}

.image-size-duma {
    width: 72% !important;
}

.image-size-sofo {
    width: 75% !important;
}

.image-size-vivo {
    width: 81% !important;
}

.image-size-destra {
    width: 85% !important;
}

.image-size-amuza {
    width: 85% !important;
}

.image-size-antao {
    width: 90% !important;
}

.image-size-meza {
    width: 100% !important;
}

.image-size-nadeo {
    width: 90% !important;
}

@media (max-width:599px) {
    .image-size-nadeo {
        width: 100% !important;
    }
}




/* LAMINATE POOLS CUSTOM IMAGE SIZES VERTICAL */

.image-size-tono-vertical {
    height: 26rem !important;
    width: auto !important;
}

.image-size-akvo-vertical {
    height: 30rem !important;
    width: auto !important;
}

.image-size-luqo-vertical {
    height: 31rem !important;
    width: auto !important;
}

.image-size-duma-vertical {
    height: 23rem !important;
    width: auto !important;
}

.image-size-sofo-vertical {
    height: 26rem !important;
    width: auto !important;
}

.image-size-vivo-vertical {
    height: 29rem !important;
    width: auto !important;
}

.image-size-destra-vertical {
    height: 31rem !important;
    width: auto !important;
}

.image-size-amuza-vertical {
    height: 31rem !important;
    width: auto !important;
}

.image-size-antao-vertical {
    height: 22rem !important;
    width: auto !important;
}

.image-size-meza-vertical {
    height: 25rem !important;
    width: auto !important;
}

.image-size-nadeo-vertical {
    height: 31rem !important;
    width: auto !important;
}

@media (max-width:599px) {
    .image-size-nadeo-vertical {
        width: 100% !important;
    }
}

/* Gallery tabs */

.section--gallery-page-navi {
	padding: 0;
	position: relative;
}

.section--gallery-page-navi::after {
	position: absolute;
	content: '';
	width: 50%;
	height: 100%;
	right: 0;
	top: 0;
	background: #fff;
	z-index: 98;
}

.section--gallery-page-navi-inner {
	padding: 0;
	margin-top: -115px;
	z-index: 99;
	position: relative;
}

@media (max-width:899px) {
	.section--gallery-page-navi-inner {
		margin-top: -1px;
	}
}

.section--gallery-page-navi-list {
	width: 100%;
	position: relative;
	background: #fff;
	display: inline-flex;
	justify-content: space-around;
	padding: 45px;
	min-height: 144px;
}

@media (max-width:1299px) {
	.section--gallery-page-navi-list {
		justify-content: space-between;
	}
}

@media (max-width:899px) {
	.section--gallery-page-navi-list {
		padding: 35px;
		min-height: 0;
	}
}

@media (max-width:599px) {
	.section--gallery-page-navi-list {
		padding: 25px 15px;
		flex-direction: column;
	}
}

.section--gallery-page-navi-list li {
	width: 100%;
	text-align: center;
	align-self: center;
}

@media (max-width:599px) {
	.section--gallery-page-navi-list li {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 10px;
		max-width: 100%;
	}
}

.section--gallery-page-navi-list li:first-child {
	margin-left: 0;
}

.section--gallery-page-navi-list li:last-child {
	margin-right: 0;
	margin-bottom: 0;
}

.section--gallery-page-navi-list li a {
	font-size: 24px;
	color: #666;
	font-weight: 400;
	line-height: 1.166;
}

@media (max-width:1199px) {
	.section--gallery-page-navi-list li a {
		font-size: 21px;
	}
}

@media (max-width:899px) {
	.section--gallery-page-navi-list li a {
		font-size: 19px;
	}
}

@media (max-width:599px) {
	.section--gallery-page-navi-list li a {
		padding: 3px 0;
		font-size: 16px;
		text-transform: uppercase;
		font-weight: 500;
	}
}

/* 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;
}
