.gce-properties {
  display: grid;
  gap: 18px;
}

.gce-property-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1.25fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
}

.gce-property-filters label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.gce-property-filters span {
  font-weight: 700;
}

.gce-property-filters input[type="text"],
.gce-property-filters input[type="number"],
.gce-property-filters select {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #a7aaad !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
  color: #1f1f1f !important;
  font-size: 14px !important;
  line-height: 40px !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none !important;
}

.gce-property-filters input[type="text"]:focus,
.gce-property-filters input[type="number"]:focus,
.gce-property-filters select:focus {
  border-width: 1px !important;
  border-color: #a7aaad !important;
  box-shadow: none !important;
  outline: none !important;
  outline-offset: 0 !important;
}

.gce-property-filters select {
  padding-right: 34px !important;
  background-image: linear-gradient(45deg, transparent 50%, #50575e 50%), linear-gradient(135deg, #50575e 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.gce-property-filters__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gce-property-filters__actions button {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #a7aaad !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer;
  line-height: 40px !important;
}

.gce-properties--list {
  grid-template-columns: 1fr;
}

.gce-properties--grid.gce-properties--columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gce-properties--grid.gce-properties--columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gce-property-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #d8d8d8;
}

.gce-property-card__image,
.gce-property-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eeeeee;
}

.gce-property-card__image-link {
  position: relative;
  display: block;
}

.gce-property-card__badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.gce-property-card__badge--sold,
.gce-property-card__badge--status {
  background: rgba(255, 214, 51, 0.6);
  color: #1f1f1f;
}

.gce-property-card__badge--meta {
  top: auto;
  bottom: 10px;
  background: rgba(53, 155, 181, 0.6);
  color: #ffffff;
  pointer-events: none;
}

.gce-property-card__badge--beds {
  left: 10px;
  gap: 5px;
  min-width: 42px;
}

.gce-property-card__badge--place {
  right: 10px;
  left: auto;
  max-width: calc(100% - 80px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gce-property-card__bed-icon {
  display: block;
  flex: 0 0 auto;
}

.gce-property-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
}

.gce-property-card__title a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.gce-property-card__price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  color: #359bb5;
  font-weight: 700;
}

.gce-property-card__facts {
  color: #555555;
  font-weight: 400;
}

.gce-property-card__price span {
  color: #359bb5;
  font-weight: 400;
}

.gce-property-card__summary {
  margin: 10px 0;
  color: #333333;
}

.gce-property-card__cta {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .gce-property-filters {
    grid-template-columns: 1fr;
  }

  .gce-properties--grid.gce-properties--columns-2,
  .gce-properties--grid.gce-properties--columns-3 {
    grid-template-columns: 1fr;
  }

  .gce-property-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 880px) and (max-width: 1210px) {
  #main-header #logo {
    height: 32.4% !important;
    max-height: 32.4% !important;
  }
}

@media (max-width: 1024px) {
  #main-header #logo {
    height: 48.6% !important;
    max-height: 48.6% !important;
  }
}

@media (min-width: 880px) and (max-width: 980px) {
  #main-header #logo {
    height: 78% !important;
    max-height: 78% !important;
  }
}

@media (min-width: 981px) and (max-width: 1024px) {
  #main-header #logo {
    height: 32.4% !important;
    max-height: 32.4% !important;
  }

  #top-menu-nav #top-menu > li > a {
    font-size: 15px !important;
  }

  #top-menu > li {
    padding-right: 6px !important;
  }

  #top-menu li.lang-item + li.lang-item {
    margin-left: -14px !important;
  }
}

@media (min-width: 1025px) and (max-width: 1060px) {
  #top-menu-nav #top-menu > li > a {
    font-size: 15px !important;
  }

  #top-menu > li {
    padding-right: 6px !important;
  }

  #top-menu li.lang-item + li.lang-item {
    margin-left: -14px !important;
  }
}

#top-menu li.lang-item + li.lang-item {
  padding-left: 0 !important;
  margin-left: -11px !important;
}

body.page-id-3178 #search-property .search-options {
  position: relative;
  z-index: 50;
  padding: 14px !important;
  border: 1px solid #d8d8d8 !important;
}

body.page-id-3178 #rem-search-box,
body.page-id-3178 #search-property,
body.page-id-3178 #search-property .search-container,
body.page-id-3178 #search-property .searcher,
body.page-id-3178 #search-property .searcher .row,
body.page-id-3178 #search-property .searcher .row > div {
  position: relative;
  z-index: 50;
}

body.page-id-3178 #search-property .dropdown {
  z-index: 80;
}

body.page-id-3178 #search-property .dropdown.open,
body.page-id-3178 #search-property .dropdown:focus-within,
body.page-id-3178 #search-property .dropdown > div,
body.page-id-3178 #search-property .dropdown ul {
  z-index: 1000 !important;
}

body.page-id-3178 .rem-listings-wrap-ajax-disable,
body.page-id-3178 .rem-property-box {
  position: relative;
  z-index: 1;
}

body.page-id-3178 #search-property .searcher .row {
  margin-left: -6px !important;
  margin-right: -6px !important;
}

body.page-id-3178 #search-property .searcher .row > div {
  padding-left: 6px !important;
  padding-right: 6px !important;
  margin-bottom: 8px !important;
}

body.page-id-3178 #search-property input.form-control,
body.page-id-3178 #search-property .dropdown,
body.page-id-3178 #search-property .dropdown .selected,
body.page-id-3178 #search-property .btn.search-button {
  height: 36px !important;
  min-height: 36px !important;
  line-height: 22px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page-id-3178 #search-property select.rem-easydropdown {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 34px 0 12px !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #555555 !important;
  box-shadow: none !important;
}

body.page-id-3178 #search-property .dropdown {
  border: 1px solid #d8d8d8 !important;
  background: #ffffff !important;
  overflow: visible !important;
}

body.page-id-3178 #search-property .dropdown .old,
body.page-id-3178 #search-property .dropdown .old select.rem-easydropdown {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 36px !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

body.page-id-3178 #search-property .dropdown .selected {
  padding: 0 42px 0 12px !important;
  color: #555555 !important;
  height: 34px !important;
  min-height: 34px !important;
  line-height: 34px !important;
  background: #ffffff !important;
}

body.page-id-3178 #search-property .dropdown span.selected {
  height: 34px !important;
  min-height: 34px !important;
  line-height: 34px !important;
}

body.page-id-3178 #search-property .dropdown .carat {
  top: 0 !important;
  right: 0 !important;
  width: 30px !important;
  height: 34px !important;
  border: 0 !important;
  background: #359bb5 !important;
}

body.page-id-3178 #search-property .dropdown .carat::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #ffffff;
}

body.page-id-3178 #search-property .btn.search-button {
  padding: 6px 12px !important;
}

body.page-id-3178 .rem-property-box .property-price,
body.page-id-3178 .rem-property-box .property-price .price,
body.page-id-3178 .rem-property-box .property-price .rem-price-amount,
body.page-id-3178 .rem-property-box .property-price .rem-currency-symbol {
  color: #359bb5 !important;
}

body.page-id-3178 .rem-property-box .property-type {
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 3px !important;
  background: rgba(255, 196, 0, 0.6) !important;
  color: #1f1f1f !important;
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
