.page-header {
  padding-bottom: 0 !important;
}

.page-header h1 {
  color: #203864;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.filter-subcats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.filter-subcats .subcat-item a.btn {
  padding: 6px 12px;
  border-radius: 0;
  font-size: 15px;
  font-weight: normal;
}

.filter-subcats .btn-default {
  background: transparent;
  color: #203864;
  border-color: transparent;
}

.filter-subcats .btn-default:focus,
.filter-subcats .btn-default:hover {
  background: #10316b;
  color: #fff;
}

.properties-wrapper {
  margin-top: 16px;
}

.property-lists {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.property-lists .property-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7ebf2;
  box-shadow: 0 25px 50px rgba(32, 56, 100, 0.08);
  color: #203864;
  overflow: hidden;
}

.property-item-row {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

.property-image-col {
  flex: 0 0 30%;
  max-width: 30%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.property-content-col {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.property-price-col {
  flex: 0 0 180px;
  max-width: 180px;
  padding: 20px 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .property-item-row {
    flex-wrap: wrap;
  }

  .property-image-col,
  .property-content-col,
  .property-price-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .property-price-col {
    border-left: none;
    border-top: 1px solid #edf1f7;
    padding-left: 20px;
    display: flex;
    justify-content: center;
  }


}

.property-lists .property-item .property-price {
  font-size: 22px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
  text-align: right;
  color: #203864;
}

.property-cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  flex: 1 1 auto;
}

.property-cover .ant-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.property-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-address {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #203864;
}

.property-entry-infos {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.property-entry-info {
  display: flex;
  gap: 8px;
  font-size: 16px;
  color: #203864;
  line-height: 1.4;
  font-size: 14px;
}

@media (max-width: 575.98px) {
  .property-entry-info {
    flex-direction: column;
  }

  .property-entry-info span:first-child {
    min-width: auto;
  }
}

.property-lists .remark-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #203864;
}

.property-lists .list_item_remark p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  color: #203864;
  font-size: 14px;
}

.property-lists .list_item_remark .readmore {
  float: right;
}

ul.pagination {
  margin-bottom: 0 !important;
}

.result-counts {
  line-height: 36px;
}

#sort-bar {
  margin-bottom: 1rem;
}

.row.g-2,
.row.gx-2 {
  --bs-gutter-x: 0.5rem;
}

.row.g-3,
.row.gx-3 {
  --bs-gutter-x: 1rem;
}

.range-group {
  display: flex;
  align-items: center;
}

.range-group label {
  flex-shrink: 0;
}

.range-group .input-group>.form-control {
  width: 100%;
  flex-shrink: unset;
  flex-grow: unset;
}

.range-group .input-group {
  flex-wrap: nowrap;
}

.cat-description {
  margin: 40px 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
}

.properties-filter-form .ant-form-item-label>label {
  font-weight: normal;
  color: #4b4f58;
  font-size: 14px;
}

.properties-filter-form .ant-select-selector,
.properties-filter-form .ant-input,
.properties-filter-form .ant-picker {
  border-radius: 2px;
}

.properties-filter-form .ant-select,
.properties-filter-form .ant-input,
.properties-filter-form .ant-picker {
  font-size: 14px;
}

.properties-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.properties-filter-row .filter-item {
  flex: 1 1 200px;
  min-width: 200px;
}

.properties-filter-row .ant-form-item-label {
  padding-bottom: 0 !important;
}

.properties-filter-row .filter-item .ant-form-item {
  margin-bottom: 0;
}

.properties-filter-row .filter-item-range {
  flex: 1 1 260px;
}

.properties-filter-row .filter-item-location {
  flex: 0 0 calc((100% - 16px) / 3);
  min-width: 200px;
}

.properties-filter-row .filter-item-since {
  flex: 0 0 calc((100% - 16px) / 6);
  min-width: 100px;
}

.properties-filter-row .filter-actions {
  display: flex;
  align-items: flex-end;
}

.properties-filter-row .filter-actions .ant-form-item {
  margin-bottom: 0;
}

.property-price-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.property-price-container .readmore {
  width: auto;
  align-self: flex-end;
  padding: 5px 10px;
  border-radius: 4px;
  background: #d6323b;
  border-color: #d6323b;
  font-size: 16px;
}

.property-price-container .readmore:hover,
.property-price-container .readmore:focus {
  background: #b41f2d;
  border-color: #b41f2d;
}

.filter-actions .search-btn {
  background: #203864;
  color: #fff;
  border: none;
}

.filter-actions .reset-btn {
  background: transparent;
  color: #203864;
  border: 1px solid #ccc;
}

.filter-actions .search-btn:hover,
.filter-actions .search-btn:focus {
  background: #10316b;
}

/*select 2 custom start*/
.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 38px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  color: #203864;
  padding: 5px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  color: #203864;
  padding: 5px 10px;
  border-bottom-color: #aaa;
}

/*select 2 custom end*/

/*atnd custom css*/
.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input {
  color: #203864;
}

.ant-pagination-jump-next,
.ant-pagination-jump-prev,
.ant-pagination-next,
.ant-pagination-prev {
  height: 40px;
  min-width: 40px;
}

.ant-pagination-item {
  min-width: 40px;
}

.ant-pagination-item,
.ant-pagination-total-text {
  height: 40px;
  line-height: 40px;
}

.anticon {
  vertical-align: 0;
}

.property-lists .property-item:nth-child(2n-1) .property-list-divider {
  border-color: #fff;
  margin: 2px 0;
}

.property-lists .property-item:nth-child(2n) .property-list-divider {
  border-color: #203864;
  margin: 2px 0;
}

.ant-tooltip-inner[role="tooltip"]:not(.show) {
  display: block;
  min-width: 30px;
  min-height: 32px;
  padding: 6px 8px;
  text-align: left;
  text-decoration: none;
  word-wrap: break-word;
  border-radius: 2px;
  box-shadow:
    0 3px 6px -4px rgb(0 0 0 / 12%),
    0 6px 16px 0 rgb(0 0 0 / 8%),
    0 9px 28px 8px rgb(0 0 0 / 5%);
  margin: 0;
  border: none;
  background: #fff;
  color: #203864;
}

.property-lists .property-item:nth-child(2n-1) .business-text {
  color: #fff;
}

.property-lists .property-item:nth-child(2n) .business-text {
  color: #203864;
}

.properties-pagination-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.properties-pagination-bar .pagination-total {
  font-size: 17px;
  white-space: nowrap;
  flex: 1;
  color: #666666;
  font-weight: 500;
}

.properties-pagination {
  display: flex;
  align-items: center;
  gap: 16px;
}

.properties-pagination .pagination-pages {
  display: flex;
  align-items: center;
  gap: 12px;
}

.properties-pagination .page-btn {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 20px;
  color: #203864;
  cursor: pointer;
}

.properties-pagination .page-btn:not(.active) {
  text-decoration: underline;
}

.properties-pagination .page-btn.active {
  font-weight: 600;
}

.properties-pagination .arrow-btn {
  font-size: 28px;
  text-decoration: none !important;
  line-height: 1;
}

.properties-pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.properties-pagination-bar-top {
  margin-top: 8px;
}

.properties-pagination-bar .pagination-sort {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .properties-pagination-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .properties-pagination-bar .pagination-total {
    flex: 1 1 100%;
    text-align: center;
    font-size: 15px;
  }

  .properties-pagination {
    flex: 1 1 100%;
    justify-content: center;
    gap: 12px;
  }

  .properties-pagination .pagination-pages {
    gap: 8px;
  }

  .properties-pagination .page-btn {
    font-size: 16px;
    min-width: 32px;
  }

  .properties-pagination .arrow-btn {
    font-size: 22px;
  }

  .properties-pagination-bar .pagination-sort {
    flex: 1 1 100%;
    min-width: auto;
  }

  .properties-pagination-bar .pagination-sort .ant-select {
    width: 100% !important;
  }

  .properties-pagination .pagination-size {
    min-width: 70px;
  }
}

.ant-input-number {
  width: 100% !important;
}

/*atnd custom css end*/