.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -10px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item {
  position: relative;
  margin-right: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item .img-container {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding: 0 0 100% 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item .image-container-for-credits {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item img {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  transition: all 0.6s ease;
  object-fit: cover;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles a.item img:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-3 .item {
  width: calc((100% - 20px) / 3 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-3 .item:nth-child(3n) {
  margin-right: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-4 .item {
  width: calc((100% - 30px) / 4 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-4 .item:nth-child(4n) {
  margin-right: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-5 .item {
  width: calc((100% - 40px) / 5 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-5 .item:nth-child(5n) {
  margin-right: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-6 .item {
  width: calc((100% - 50px) / 6 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-6 .item:nth-child(6n) {
  margin-right: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-7 .item {
  width: calc((100% - 60px) / 7 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-7 .item:nth-child(7n) {
  margin-right: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-8 .item {
  width: calc((100% - 70px) / 8 - 0.01px);
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles.columns-count-8 .item:nth-child(8n) {
  margin-right: 0;
}
@media (max-width: 920px) {
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item {
    width: calc((100% - 20px) / 2 - 0.01px);
  }
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item:nth-child(n) {
    margin-right: 10px;
  }
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item:nth-child(3n) {
    margin-right: 0;
  }
}
@media (max-width: 640px) {
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item {
    width: calc((100% - 10px) / 2 - 0.01px);
  }
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item:nth-child(n) {
    margin-right: 10px;
  }
  .customtheme-gallery-container.customtheme-gallery-type-customtheme-tiles .item.item:nth-child(2n) {
    margin-right: 0;
  }
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider {
  position: relative;
  max-height: 100vh;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .owl-dots {
  display: none;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-right {
  display: block;
  position: absolute;
  top: calc(50% - 1rem);
  right: 0;
  width: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  z-index: 1;
  background: rgba(255,255,255,0);
  text-decoration: none;
  text-indent: unset;
  text-transform: none;
  font-weight: normal;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left::before,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-right::before {
  content: '\e805';
  font-family: custom-icons;
  display: block;
  line-height: 2rem;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left:hover,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-right:hover {
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left:hover::before,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-right:hover::before {
  color: #000;
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 5px rgba(255,255,255,0.5), 0 0 15px #ffffff;
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left.hidden,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-right.hidden {
  visibility: hidden;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left {
  right: unset;
  left: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .overlay-left::before {
  content: '\e804';
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .customtheme-gallery-slider-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .customtheme-gallery-slider-list .customtheme-gallery-slider-list-item {
  margin: 0;
  padding: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .customtheme-gallery-slider-list .customtheme-gallery-slider-list-item a {
  display: block;
  background: none;
  text-decoration: none;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .customtheme-gallery-slider-list .customtheme-gallery-slider-list-item a:hover {
  background: none;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .item {
  display: block;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
  padding: 0;
  background: rgba(0,0,0,0.05);
  width: 270px;
  height: 270px;
  max-height: 100vh;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .item .img-container {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .item .image-container-for-credits {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider .item img {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
  margin: auto;
  vertical-align: middle;
  transition: all 0.6s ease;
  object-fit: cover;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider a.item:hover img {
  transform: scale(1.1);
  transition: all 0.3s ease;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-default {
  height: 270px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-tiny {
  height: 135px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-tiny .customtheme-gallery-slider-list .item {
  width: 135px;
  height: 135px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-small {
  height: 180px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-small .customtheme-gallery-slider-list .item {
  width: 180px;
  height: 180px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-large {
  height: 360px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-large .customtheme-gallery-slider-list .item {
  width: 360px;
  height: 360px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-small .customtheme-gallery-slider-list .item,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-medium .customtheme-gallery-slider-list .item,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-large .customtheme-gallery-slider-list .item {
  position: relative;
  width: 100%;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-small .customtheme-gallery-slider-list .item .image,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-medium .customtheme-gallery-slider-list .item .image,
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-large .customtheme-gallery-slider-list .item .image {
  object-fit: cover;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-small {
  height: 450px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-small .customtheme-gallery-slider-list .item {
  height: 450px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-medium {
  height: 600px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-medium .customtheme-gallery-slider-list .item {
  height: 600px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-large {
  height: 800px;
}
.customtheme-gallery-container.customtheme-gallery-type-customtheme-slider.height-single-large .customtheme-gallery-slider-list .item {
  height: 800px;
}
