.housing-exchange-section-container {
    display: flex;
    flex-flow: wrap;
}
.housing-exchange-filter {
  width: 31.5%;
  margin-right: 1.5%;
  box-sizing: border-box;
}
.housing-exchange-apartment-list {
    width: 66%;
    box-sizing: border-box;
}
.housing-exchange-filter {
    background-color: #f3f3f4;
    padding: 1.5%;
    border-radius: 10px;
}
.housing-exchange-apartment-list {
    display: flex;
    flex-flow: wrap;
}
.housing-exchange-apartment-list article {
    width: 49%;
    box-sizing: border-box;
    margin-right: 2%;
    margin-bottom: 4%;
}
.housing-exchange-apartment-list article:nth-of-type(2n) {
    margin-right: 0%;
}
.housing-exchange-apartment-list .featured-image img {
    width: 100%;
    height: 307px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 0px!important;
}
.housing-exchange-apartment-list article h2 { 
    font-size: 1.125rem;
}
.housing-exchange-apartment-list article span {
    font-weight: 700;
}
.housing-exchange-apartment-list article .article-category {
    font-weight: 600;
    font-size: 0.75rem;
    color: #005868;
    background-color: #e7f1f3;
    border: 2px solid #006273;
    border-radius: 15px;
    padding: 5px 10px;
}
.housing-exchange-apartment-list article p {
    line-height: 1rem;
}
.read-more-apartment {
    font-weight: 700;
    text-decoration: none;
}
.housing-exchange-filter h4 {
    font-size: 1.125rem;
}
.housing-exchange-filter h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.housing-exchange-apartment-list a {
  text-decoration: none;
}
.housing-exchange-apartment-list a:hover h2 {
  color: #063036
}
.housing-exchange-apartment-list .featured-image {
  overflow: hidden!important;
  font-size: 0!important;
  margin-bottom: 15px!important;
}
.housing-exchange-apartment-list .featured-image:hover img {
  transform: scale(1.1);
  transition: 0.9s ease-out;
}

/*** CUSTOM FILTER START ***/
.price-input-container {
    display: flex;
}
.new-price-input-container {
    display: flex;
}
.wrapper-price .slider {
    margin-top: 20px;
}
.wrapper-price .new-slider {
    margin-top: 20px;
}
.slider-container {
   display: flex;
   flex-flow: wrap;
}
 .price-input {
    width: 40%;
    display: flex;
    margin: 0px;
  }
  .price-input .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
  }
  .field input {
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 19px;

    border-radius: 5px;
    text-align: center;
    border: 1px solid #999;
    -moz-appearance: textfield;
  }
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  .price-input .separator {
    width: 100%;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
  }
  .slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
  }
  .new-slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
  }
  .slider .progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #006273;
  }
  .new-slider .new-progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #006273;
  }
  .range-input {
    position: relative;
  }
  .new-range-input {
    position: relative;
  }
  .range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  .new-range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #006273;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  }
  input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #006273;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  }
  
.wrapper-price {
    width: 60%;
    padding-right: 10px;
}
.field:last-of-type {
    margin-left: 5px;
}  
#district-dropdown,
#city-dropdown,
#category-dropdown {
    width: 100%;
    padding: 15px 5px;
    margin-top: 10px;
    cursor: pointer;
}
#district-dropdown option,
#city-dropdown option,
#category-dropdown option {
    padding: 15px 20px!important;
}
.form-bottom-buttons {
    margin-top: 20px;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}
.form-bottom-buttons input {
    width: 49%;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    border: 2px solid #006273;
    color: #006273;
    font-weight: 600;
    cursor: pointer;
}
.form-bottom-buttons input:first-of-type {
    background-color: #006273;
    color: #fff;
}
.form-bottom-buttons input:last-of-type {
    background-color: transparent;
}
.form-bottom-buttons input:last-of-type:hover {
    background-color: #006273;
    color: #fff;
}
.housing-exchange-filter select {
    border-radius: 5px;
    border: 1.5px solid #d0d0d2;
}
.housing-exchange-filter select option {
   padding: 10px 20px;
}
.selected-option {
  display: inline-block;
  margin: 5px;
  padding: 5px;
  background-color: #eee;
  border-radius: 5px;
}

.remove-option {
  cursor: pointer;
  color: red;
  margin-left: 5px;
}





#selectedCity-dropdown,
#selectedDistrict-dropdown,
#selectedCategory-dropdown {
  background-color: #fff;
  min-height: 50px;
  font-size: 1rem;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  background-repeat: no-repeat; /* Prevent the image from repeating */
  background-position: right 8px center; /* Align right horizontally and center vertically */
  background-size: 15px 15px; /* Set the maximum width and height */
  
}
.city-container,
.district-container,
.category-container {
  position: relative;
}
#city-dropdown,
#district-dropdown,
#category-dropdown {
  font-size: 1rem;
  position: absolute;
  overflow-y: hidden !important;
  padding: 10px 5px;
  cursor: pointer;
  border: 1px solid #dfdfdf;
  z-index: 2;
}
.city-dropdown:hover,
.district-container:hover,
.category-container:hover {
  cursor: pointer;
}
#city-dropdown,
#district-dropdown,
#category-dropdown {
  display: none;
}
#selectedCity-dropdowns:hover #city-dropdown,
#selectedDistrict-dropdown:hover #district-dropdown,
#selectedCategory-dropdown:hover #category-dropdown  {
  display: block;
}

/*** CUSTOM FILTER END ***/