.gallery-list{
    gap: 20px;
}
.gallery-container{
  padding-top: 50px;
  margin-bottom: 50px;
}
.gallery-item-container{
    flex: 0 0 calc(50% - 10px);
	border-radius:10px;
	overflow:hidden;
	transition: all 0.3s ease;
}
.gallery-item-container:hover{
	box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.5);
	transition: all 0.3s ease;
}
.gallery-item-container h2{
  font-size: 16px;
	padding:0 10px
}
.gallery-thumb-container{
    overflow: hidden;
    width: 100%;
    height: 150px;
}
.gallery-thumb-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#gallery-list-popup.active{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
#gallery-list-popup .gallery-popup-container{
  width: 100%;
  height: auto; 
}
#gallery-list-popup .gallery-content .gallery-slide{
  width: 100% ;
  height: 200px;
  padding: 0px 30px;
}
#gallery-list-popup .gallery-content .gallery-slide img{
 
 
  object-fit: contain;
  object-position: center;
}
#gallery-list-popup .gallery-content .gallery-slide .gallery-slide-img{
  width:100%;
}
#gallery-list-popup .slick-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    font-size: 0px;
    line-height: 0px;
    background: url(../img/icon-arrow.svg) #fff no-repeat center center;
    width: 40px;
    height: 40px;
    background-size: 100%;
    border: none;
    border-radius: 50%;
    opacity: 0.3;
}

#gallery-list-popup .slick-arrow:hover{
  opacity: 1;
}
#gallery-list-popup .slick-arrow.slick-prev{
  left: 0;
  transform: rotate(180deg);
}
#gallery-list-popup .slick-arrow.slick-next{
    right: 0;
  }
#gallery-list-popup .slick-arrow::before{
  font-size: 24px;
}
@media (min-width: 768px) {
  .gallery-thumb-container{
    overflow: hidden;
    width: 350px; 
  }
  .gallery-item-container{
    flex: 0 0 calc(33.33% - 80px / 2);
  }
  #gallery-list-popup .gallery-content .gallery-slide{ 
    height: 550px; 
    
  }
  #gallery-list-popup .gallery-content .gallery-slide .gallery-slide-img{
    width: 100%;
    height: 100%; 
  }
  #gallery-list-popup .gallery-content .gallery-slide img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  #gallery-list-popup .gallery-popup-container{
    width: 800px;
    height: auto; 
  }
  .gallery-container{
    padding-top: 80px;
    margin-bottom: 80px;
  }
  .gallery-list{
    gap: 40px;
  }
  .gallery-item-container h2{
    font-size: 20px;
  }
  .gallery-thumb-container{
    overflow: hidden;
    width: 100%;
    height: 200px;
}
}
