* {
  box-sizing: border-box;
}

/* ................................................ swiper gallery .......................................................... */

.swiper-container {
  width: 500px;
  min-width: 300px;
  height: auto;
  padding-bottom: 20px;
}

.swiper-slide-img {
  height: auto;
  width: 100%;
  border: 30px solid transparent;  /* move next and prev buttons off img */ 
  min-height: 353px;
  
}

.swiper-slide-img:hover {
  cursor: pointer;
}

.swiper-slide-img {
  height: 100%;
} 


.swiper-pagination {
  background-color: #d8d8d8;
  padding: 10px;
}

.swiper-button-prev {
  position: absolute;
  transform: translateX(-40%);
  color: black;
}

.swiper-button-prev:focus {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.swiper-button-next {
  position: absolute;
  transform: translateX(40%);
  color: black;
  font-weight: 900;
}

.swiper-button-next:focus {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.swiper-pagination {
  background: linear-gradient(to bottom right, #c2c2f0, #8585e0);
  border-radius: 10px;
}

/*active pagination*/
.swiper-pagination .swiper-pagination-bullet-active {
  background-color: black; 
}

/*other pagination*/
.swiper-pagination .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
}

.swiper-pagination .swiper-pagination-bullet:hover {
  transform: scale(1.2);
  transition: all 0.5s;
}

.swiper-pagination .swiper-pagination-bullet:focus {
   outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.minimum-height { 
    min-height: 257px;

    @include small-screen {
        min-height: calc((0.3002 * 100vw) + 21.49px);
    }
}

/* ................................................ thumbs .......................................................... */

.gallery-thumbs {
    padding: 0;
    margin-top: 0;
    margin-bottom: 40px;
}

.gallery-thumbs .swiper-slide {
    width: 25%;
    opacity: 0.9;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
  
.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    min-height: 40px;
    object-fit: cover;
}




/* ............................................. responsiveness ....................................................... */
@media all and (max-width: 520px) {
  .swiper-container {
    width: calc(100vw - 20px);
  }

  .swiper-button-next:after {
    font-size: 20px !important;
    transform:translateX(60%);
  }
  
  

  .swiper-button-prev:after {
    font-size: 20px !important;
    transform:translateX(-60%);
  }

  #swiper-button-next-modal {
    font-size: 20px !important;
    transform:translateX(20%);
  }
  
  #swiper-button-prev-modal {
    font-size: 20px !important;
    transform:translateX(-20%);
  }

  .swiper-pagination {
    padding: 4px;
  }

  .swiper-slide-img {
    width: calc(100vw-32px);
    height: auto;
    border: 16px solid transparent;  /* move next and prev buttons off img */ 
    min-height: calc((0.5338 * 100vw) + 48.476px); 
  }

  .swiper-pagination .swiper-pagination-bullet {
    height: 12px;
    width: 12px;
  }

/* .gallery-thumbs .swiper-slide img {
        height: 14vw;
    } */

}