.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

@media only screen and (max-width: 1351px) {
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 1012px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 670px) {
  .directory-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Mobile */

@media only screen and (max-width: 600px) {

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-filters-wrapper {
    flex-direction: column !important;
    align-items: center;
    gap: 10px;
  }
}

#dine-search-input,
#directory-search-input,
#shop-search-input,
#services-search-input,
#entertainment-search-input
 {
  width: 100%;
  max-width: 550px;
  padding: 15px 65px 15px 15px; /* space on the right for the icon */
  font-weight: 600;
  margin: 20px 0px;
  display: block;
  border: none;
  background: #F8F2ED url("search.png") no-repeat right 20px center;
  background-size: 40px;
  font-size: 16px;
  border-radius: 4px;
  background-size: 20px;
}

.directory-filters-wrapper {
  display: flex;
  flex-direction: row;
 justify-content: space-between;
width: 100%;
position: relative;

}

.directory-sort  {
 background: #F8F2ED;
 color: #54575A;
 border:none;
 
 font-weight: 600;
  padding: 15px;
  width: 200px;
  appearance: none;       
  -webkit-appearance: none;
  -moz-appearance: none;
background-image: url("data:image/svg+xml;utf8,<svg fill='%2379242F' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 20px center ;
  transition: 0.3s ease-in-out;
}
.active-sort-option{
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2379242F' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10' transform='rotate(180 10 5)' /></svg>");
}

.directory-sort-btn-hidden{
  display: none;
  width: 200px;
  height: 49.55px;
  position: absolute;
  top: 20px;
  right: 0;
  background-color: transparent;
  z-index: 1000;
  opacity: 0.5;
}

.directory-sort-btn-hidden.directory-sort-btn-block{
  display: block;
}

.directory-sort-wrapper label {
  color:#F15B5C;
  font-weight: 600;
  font-size: 25px;
  padding-left: 10px;
  
}
.directory-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;

}


