/* 1st and 2nd in every 8-image block are 50% */
.gallery-card:nth-child(8n+1),
.gallery-card:nth-child(8n+2) {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
}

/* The rest (3rd to 8th): 33.33% */
.gallery-card:nth-child(8n+3),
.gallery-card:nth-child(8n+4),
.gallery-card:nth-child(8n+5),
.gallery-card:nth-child(8n+6),
.gallery-card:nth-child(8n+7),
.gallery-card:nth-child(8n+8) {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}


.filter-categories-wrapper{
    padding: 12px;
    background-color: #f3f3f3;
}

.gallery-section .filter-categories-wrapper a.filter-btn{
    font-size: 0.875rem;
    font-weight: 400;
    background-color: #fff;
    border: 0;
    min-width: 165px;
}
.gallery-section .filter-categories-wrapper a.filter-btn.active{
   border: 2px solid;
}
.vt-info-wrapper .vt-btns .btn svg{
  width: 10px;
}
.gallery-container .content-wrapper .intro-heading{
text-align: center;
}
.gallery-section .content-wrapper .intro-heading{
text-align: center;
max-width: 960px;
margin-right: auto;
margin-left: auto;
}
select {
  background-image: url(../images/arrow-down.svg) !important; }

@media screen and (max-width: 767px) {
    .new-section.gallery-section .filter-categories-dropdown select{
      padding:12px 16px;  
      border: 1px solid #EDEDED;
      background: #F4F4F4; 
      border-radius: 0;  
      background-image: url(../../../../swifty-icons/arrow-down-black.svg) !important;     
    }
    .new-section.gallery-section .filter-categories-dropdown{
      border-radius: 0;
    }.new-section.gallery-section button.slick-arrow::before{
      border-left: none;
      border-bottom: none;
    }
}