.gallery-container {
    display: flex;
    flex-direction: column;
    --slider-seeker-bg: var(--mazda-color-blue-3, #d5d5d5);
    --slider-seeker-drag: var(--mazda-color-dark-blue, #191919);
}

.thumbnails-container {
    width: 100%;
    height: 600px;
}
@media(max-width: 728px){
  .gallery-container{
    background-color: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .thumbnails-container{
    display:none;
  }
}

.thumbnail {
    cursor: pointer;
    float: left;
    overflow: hidden;
    position: relative;
    display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 25px;
    background-position: center center;
    background-size: cover;
}

.thumbnail:nth-child(1){
    width: 50%;
    height: 100%;
}
.thumbnail:nth-child(2){
    width: 50%;
    height: 50%;
}
.thumbnail:nth-child(3){
    width: 25%;
    height: 50%;
}
.thumbnail:nth-child(4){
    width: 25%;
    height: 50%;
}

.thumbnail:last-child span {
	{#padding:30% 0;#}
	text-align: center;
/* 	width:100%; */
	font-size: 30px;
	color: #fff;
	font-weight: bold;
}

.lightbox {
    display: none;
    position: fixed;
    top: 90px;
    left: 0; 
    width: 100%;
    height: 85vh;
    background: rgba(0, 0, 0, 0.9);
    z-index:200;
    background-position: center center;
    background-size: cover;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 80%;
}
.close-btn {
    position: absolute;
    top: 160px;
    right: 45px;
    font-size: 40px;
    font-weight:bold;
    color: #fff;
    cursor: pointer;
}
#lightbox-img{display:none;}
@media(max-width: 728px){
   .lightbox {
    display: block;
    position: relative;
     height: auto;
     z-index:210;
     top:0;
     background-image:none !important;
  }
  .close-btn {
    display:none;
  }
  #lightbox-img{display:block;}
}

.lightbox-navigation .next, .lightbox-navigation .prev{
    top: 50%;
    height: 80px;
    width: 80px;
}
.lightbox-navigation .next{
    right:100px;
    pointer-events: auto;
    position: absolute;
    /* height: 100%; */
    width: 80px;
}

.lightbox-navigation .prev{
    left:100px;
    pointer-events: auto;
    position: absolute;
    /* height: 100%; */
    width: 80px;
}
.lightbox-navigation .next svg, .lightbox-navigation .prev svg{
    fill: #6e6e6e;
    transition: 0.3s all ease-in;
  filter: drop-shadow(3px 5px 2px rgb(255 255 255 / 0.4));
}
@media(max-width: 728px){
  .gallery-container {
    --slider-seeker-bg: rgba(255, 255, 255, 0.2) !important;
    --slider-seeker-drag: #dcb694 !important;
  }
  .lightbox-navigation {
    display: block !important;
    z-index: 10 !important;
  }
  .lightbox-navigation .prev {
    left: 20px !important;
    right: auto !important;
    top: auto !important;
    bottom: 6px !important;
    width: 30px !important;
    height: 30px !important;
    position: absolute !important;
    z-index: 10 !important;
  }
  .lightbox-navigation .next {
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    bottom: 6px !important;
    width: 30px !important;
    height: 30px !important;
    position: absolute !important;
    z-index: 10 !important;
  }
  .lightbox-navigation .next svg, .lightbox-navigation .prev svg {
    fill: #ffffff !important;
    filter: none !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
}
.lightbox-navigation .next:hover svg, .lightbox-navigation .prev:hover svg{
    fill: #fff;
}
.imgdesc{
  position: absolute;
  bottom:0;
  padding: 20px 140px;
  width:100%;
  background: #fff;
  text-align: center;
}
.imgdesc span{     
  color: #d5d5d5;
  font-size: 32px;
  position: absolute;
  right: 40px;
  top: 10px;
}
@media(max-width: 728px){
  .imgdesc{ 
    padding:20px 25px 60px 15px; 
    position: relative;
    background: rgba(30,44,62,.96) !important;
    color: #ffffff !important;
    z-index: 1 !important;
  }
  .imgdesc span{ display: none !important; }
}
.imgdesc span i{color:#191919; }

/* Pagination / Tracker styling */
.gallery__pagination-container {
  display: none;
}

@media(max-width: 728px){
  .gallery__pagination-container {
    display: block;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 10 !important;
  }

  .gallery__pagination-wrapper {
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--slider-seeker-bg);
  }

  .gallery__pagination-track {
    position: absolute;
    top: -1px;
    left: 0;
    height: 100%;
    background: var(--slider-seeker-drag);
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 2;
  }

  .gallery__pagination-steps {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    z-index: 3;
  }

  .gallery__pagination-steps .pagination__snap {
    flex: 1;
    height: 100%;
    margin: 0 !important;
  }

  .gallery__pagination-steps .pagination__button {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: block;
  }

  .gallery__pagination-counter {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: #a0b2c6 !important;
    font-family: var(--mazda-font-copy, sans-serif);
  }

  .gallery__pagination-counter i {
    color: #dcb694 !important;
    font-style: italic;
    font-weight: bold;
  }
}