.gallery-columns-2 .gallery-item img,
.gallery-columns-3 .gallery-item img, .gallery__slider .gallery-item img, .gallery__slider-thumbnails li img {
  left: 50%;
  height: auto;
  min-height: 100%;
  min-width: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: auto;
  z-index: 0; }

.gallery-columns-2 .gallery-item:last-of-type:nth-of-type(odd) img, .gallery-columns-3 .gallery-item:last-of-type:nth-of-type(7n+7) img {
  height: 100%;
  left: 0;
  max-height: none;
  max-width: none;
  min-height: 0;
  min-width: 0;
  position: relative;
  top: 0;
  transform: none;
  width: 100%; }

.gallery {
  display: flex; }
.gallery br {
  display: none; }
.gallery + p {
  font-size: 11px;
  margin: 10px 0 24px; }
  .gallery + p strong {
    color: black; }

.gallery-item {
  float: none;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 100%; }
.gallery-item img {
  border: 0;
  height: auto;
  margin: 0; }

.gallery-columns-1 {
  display: none; }

.gallery-columns-2,
.gallery-columns-3 {
  align-items: stretch;
  flex-wrap: wrap; }
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
  flex: 0 0 100%;
  height: 202px;
  margin: 2.5px;
  width: 100%; }
  @media screen and (min-width: 600px) {
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item {
      flex: 1 0 calc(50% - 5px);
      width: calc(50% - 5px); } }
.gallery-columns-2 .gallery-item .gallery-caption,
.gallery-columns-3 .gallery-item .gallery-caption {
  align-items: center;
  background-color: white;
  color: black;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 22px;
  z-index: 1; }

.gallery-columns-2 .gallery-item:last-of-type:nth-of-type(odd) {
  height: auto; }

.gallery-columns-3 .gallery-item {
  flex: 0 0 100%;
  width: 100%; }
  @media screen and (min-width: 600px) {
    .gallery-columns-3 .gallery-item {
      flex: 1 0 calc(33.3333% - 5px);
      width: calc(33.3333% - 5px); } }
.gallery-columns-3 .gallery-item:last-of-type:nth-of-type(7n+7) {
  height: auto; }

.gallery__slider--wrapper {
  display: block;
  position: relative; }

.gallery__slider {
  display: flex;
  overflow: hidden; }
.gallery__slider .gallery-item {
  height: 250px;
  flex: 0 0 100%;
  list-style: none;
  overflow: hidden;
  position: relative;
  transition: all .35s ease-in-out;
  width: 100%; }
  @media screen and (min-width: 600px) {
    .gallery__slider .gallery-item {
      height: 350px; } }
.gallery__slider .gallery-item .gallery-caption {
  bottom: 0;
  box-sizing: border-box;
  font-size: 11px;
  left: 0;
  line-height: 1.3;
  max-width: 65%;
  padding: 15px 0 15px 30px;
  position: absolute;
  text-align: left;
  z-index: 1; }
  .gallery__slider .gallery-item .gallery-caption:before {
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    content: '';
    transform: skewX(24deg);
    height: calc(100% + 20px);
    left: -12px;
    position: absolute;
    top: 0;
    width: calc(100% + 60px);
    z-index: -1; }

.gallery__slider-navigation {
  height: 50px;
  position: absolute;
  top: 0;
  width: auto;
  right: 0;
  top: 0;
  width: 90px; }
  @media screen and (min-width: 1024px) {
    .gallery__slider-navigation {
      height: 100%;
      position: absolute;
      top: 0;
      width: 100%; } }
.gallery__slider-navigation a {
  background-color: black;
  background-image: url("./images/icn-arrow-white.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12.5px 22.932px;
  color: transparent;
  height: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  transition: all .15s ease-in-out;
  width: 50%; }
  @media screen and (min-width: 1024px) {
    .gallery__slider-navigation a {
      background-color: transparent;
      background-image: url("./images/icn-arrow-light-brown.svg");
      height: 80px;
      margin-top: -40px;
      top: 50%;
      width: 40px; } }
.gallery__slider-navigation .slider-prev {
  left: 0;
  transform: scaleX(-1); }
  @media screen and (min-width: 1024px) {
    .gallery__slider-navigation .slider-prev {
      left: auto;
      right: 100%; }
      .gallery__slider-navigation .slider-prev:hover {
        transform: scaleX(-1) translateX(5px); } }
.gallery__slider-navigation .slider-next {
  right: 0; }
  @media screen and (min-width: 1024px) {
    .gallery__slider-navigation .slider-next {
      left: 100%;
      right: auto; }
      .gallery__slider-navigation .slider-next:hover {
        transform: translateX(5px); } }

.gallery__slider-thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin: 2.5px -2.5px; }
.gallery__slider-thumbnails li {
  cursor: pointer;
  height: 0;
  flex: 0 0 auto;
  list-style-type: none;
  margin: 2.5px;
  overflow: hidden;
  padding: 0 0 calc(20% - 5px);
  position: relative;
  width: calc(20% - 5px); }
.gallery__slider-thumbnails li:after {
  background-color: rgba(244, 242, 241, 0.65);
  content: '';
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: all .15s ease-in-out;
  visibility: hidden;
  width: 100%; }
.gallery__slider-thumbnails li.isActive:after {
  opacity: 1;
  visibility: visible; }
.gallery__slider-thumbnails li span {
  align-items: center;
  background-color: white;
  color: black;
  display: flex;
  height: 18px;
  justify-content: center;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 18px;
  z-index: 1; }
