  .gallery-grid{
    margin: auto;
    text-align: center;
  }
  
  .img-cat-filter{
    width: 100%;
    margin-bottom: 50px;
    justify-content: center;
  }

.img-cat-filter input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
}

.img-cat-filter label{
  display: inline-flex;
  margin:10px 5px;
  padding: 10px 20px;
  background-color: #f1f1f1;
  border-radius: 25px;
  width: fit-content;
}

.img-cat-filter label:hover{
  cursor: pointer;
}


.img-cat-filter label.active { 
  background-color: #000;
  color: #fff;
}

.img-mobile-filter{
  position: relative;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  margin-bottom: 30px;
  border-radius: 25px;
}

.image-links .img-wrap .img-main{
  position: relative;
  padding-top: 100%;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.image-links .img-wrap img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-links:hover img{
  transform: scale(1.1);
}

  .owl-carousel.flex-gallery {
        position: relative;
        margin: auto;
      display: block;
      max-width: 100%;
      margin: auto;
      padding: 0;
		height: 100%;
    }
    
    .flex-gallery .owl-stage-outer{
      position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        height: 100%;
        overflow: hidden;
    }

    .flex-gallery .owl-stage{
      display: flex;
      height: 100%;
      font-size: 0;
    }
    
.owl-carousel.flex-gallery img{
        width: 100%;
        height: 100%;
        object-fit: cover;
}
    

    
    .owl-carousel.flex-gallery .owl-item .item{
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
	 height: 100%;
    }

    .is-preview .owl-carousel.flex-gallery .gallery-wrap.item{
	 height: 100%;
    }
    
    .owl-carousel.flex-gallery li{
        list-style: none;
    }
    

    
    .flex-gallery .owl-nav{
      position: absolute;
      width: 100%;
      top: 50%;
        left: 0;
      transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
      -moz-transform: translateY(-50%);
    
    }
    
    .flex-gallery .owl-nav.disabled, .flex-gallery .owl-dots.disabled{
        display: none;
    
    }
      

    .flex-gallery .owl-prev {
      left: -55px;
    }
    
    .flex-gallery .owl-next {
      right: -55px;
    }
    
    
    .flex-gallery .arrows{
      position: relative;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ffffff;
      border-radius: 50%;
      box-shadow: 0px 0px 5px 2px #eeeeee;
    }
    
    
    .flex-gallery .arrows:hover{
      background-color: #ffffff;
    }


    .flex-gallery .owl-dots {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 20px 0 0;
    }

.gallery-box, .gallery-box .carousel-wrap{
  position: relative;
	height: 100%;
  overflow: hidden;
}

.is-preview .gallery-grid-1{
  display:grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 0 10px;
}
.is-preview .gallery-grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0 10px;
}
.is-preview .gallery-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0 10px;
}
.is-preview .gallery-grid-4
{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0 10px;
}

.is-preview .gallery-grid-5{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 0 10px;
}
 .gallery-grid-6{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 0 10px;
}

.img-mobile-filter,  .is-preview .img-mobile-filter{
  display: none;
}

@media only screen 
and (min-width: 0px) 
and (max-width: 768px) 
 { 
  .img-cat-filter{
    display: none;
  }
  .img-mobile-filter{
    display: block;
  }
  .owl-carousel.flex-gallery{
    height: auto!important;
  }
}