﻿.propertyImgIcon {
  background: #599fdf;
  border: 0px;
  display: inline-block;
  width: 50px;
  height: 25px;
  position: center;
  margin: 4px auto;
  opacity: 0.6;
  border-radius: 5px;
  text-align: center;
  color: ghostwhite;
}

.section-1 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.section-2 {
  padding: 0px;
}

.chevron-double-right-custom {
  color: #b7ae83;
  width: 5px;
  height: 5px;
}

.h-link {
  text-decoration: none;
  color: #b7ae83;
}

.filter-btn {
  border: none;
  border-radius: 4px 4px 4px 4px;
  background-color: #b7ae83;
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
}

.filter-tool-container {
  padding: 10px 10px 10px 10px;
}


#txtsearch {
  height: 20px;
  margin: 0;
  padding-right: 30px;
  width: 100%;
}

.menu-dropdown-button {
  border: 1px solid lightgrey;
  border-radius: 4px 4px 4px 4px;
}

.btn-search {
  border: 1px solid #404042;
  border-radius: 4px 4px 4px 4px;
  background-color: #404042;
  font-weight: bold;
  color: #bbac84;
}

  .btn-search:hover {
    color: white;
  }

.btn-reset {
  border: 1px solid #a19276;
  border-radius: 4px 4px 4px 4px;
  background-color: #bbac84;
  font-weight: bold;
  color: #404042;
}

  .btn-reset:hover {
    color: white;
  }

.price-menu-header-text {
  color: black;
  font-weight: bold
}

.price-menu-all {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

  .price-menu-all:hover {
    cursor: pointer;
  }



.price-menu-item {
  background-color: white;
  color: black;
}

  .price-menu-item:hover {
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
  }

.area-item {
  background-color: lightgrey;
  color: black;
  font-weight: bold;
  font-size: medium;
}

  .area-item:hover {
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
  }

    .area-item:hover::after {
      background-color: lightgrey;
      color: black;
      font-weight: bold;
      font-size: medium;
    }

.district-item {
  list-style-type: none;
}

  .district-item:hover {
    list-style-type: none;
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
  }

.search-menu-list-item {
  list-style-type: none;
  background-color: lightgrey;
}


.noUi-connect {
  background: purple;
}

.menu {
  border-radius: 4px 4px 4px 4px;
  border: 1px solid lightgrey;
  box-shadow: 1px 1px 1px grey;
  max-height: 500px;
  overflow-y: auto;
}


.properties-container {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgrey;
}

.properties-photo-h {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 200px;
  border-radius: 4px 4px 4px 4px;
}

.properties-photo-v {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 300px;
  width: 100%;
  border-radius: 4px 4px 4px 4px;
}

.properties-photo-none-h {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  min-height: 200px;
  border-radius: 4px 4px 4px 4px;
}

.properties-photo-none-v {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  min-height: 300px;
  width: 100%;
  border-radius: 4px 4px 4px 4px;
}

.properties-info {
  padding-left: 80px;
}

.noUi-connect, .progress-bar {
  background-color: #b7ae83;
}

.property-title {
  font-size: 18px;
  color: #b7ae83;
  text-decoration: none;
}

  .property-title :hover {
    color: #b7ae83;
    text-decoration: none;
  }

  .property-sold {
    font-size: 18px;
    color: #b7ae83;
  }

.property-usage {
  color: #b7ae83;
}

.property-rent {
  font-size: 16px;
  color: darkcyan;
}

.text-truncate-1 {
  display: block; /* Fallback for non-webkit */
  display: -webkit-box;
  height: 22px; /* $font-size*$line-height*$lines-to-show = 12x1.4x2 */
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.2;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-truncate-2 {
  display: block; /* Fallback for non-webkit */
  display: -webkit-box;
  height: 44px; /* $font-size*$line-height*$lines-to-show = 12x1.4x2 */
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.unselected-page {
  color: black;
  font-weight: bold;
  background-color: white;
}

  .unselected-page:hover {
    font-weight: bold;
    color: black;
    background-color: lightgrey;
  }

.selected-page {
  font-weight: bold;
  background-color: #414042;
  border-color: #414042;
  color: #bbac84;
}

  .selected-page:hover {
    color: white;
  }

.taglist {
  list-style-type: none;
  float: left;
  margin-right: 8px;
  padding: 0px;
}


/* 移除預設箭頭，讓外觀更乾淨 */
#district_menu details summary {
  list-style: none;
  cursor: pointer;
}

  #district_menu details summary::-webkit-details-marker {
    display: none;
  }

  /* 自訂箭頭（展開/閉合指示） */
  #district_menu details summary::before {
    content: '▶';
    margin-right: 8px;
    font-size: 12px;
    transition: transform 0.2s;
  }

#district_menu details[open] > summary::before {
  content: '▼';
  transform: rotate(0deg);
}

/* 層次縮進與樣式 */
#district_menu .summary-area {
  font-weight: bold;
  background-color: #f8f9fa; /* 淺灰底，突出區域 */
}

#district_menu .summary-district {
  padding-left: 30px; /* District 縮進 */
  font-weight: normal;
}

#district_menu .subdistrict-item {
  padding-left: 50px; /* SubDistrict 進一步縮進 */
  font-weight: normal;
}

/* 子選單整體縮進 */
#district_menu .submenu {
  padding-left: 0;
  margin-left: 20px;
}

#district_menu .sub-submenu {
  padding-left: 0;
  margin-left: 20px;
}

/* 滑鼠懸停效果 */
#district_menu .list-group-item:hover {
  background-color: #e9ecef;
}

