.gm-style-iw {
	font-family: 'Arial', sans-serif !important;
	padding: 0 !important;
	max-width: 300px;
}

.gm-style-iw-chr {
	display: none !important;
}

.gm-style-iw-d {
	overflow: hidden !important;
	padding: 0 !important;
}

.gm-ui-hover-effect {
	top: 8px !important;
	right: 8px !important;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.2) !important;
}

.gm-ui-hover-effect img {
	width: 12px !important;
	height: 12px !important;
	filter: invert(1);
}
form.egmw-map-form {
  margin-bottom: 30px;
}

.egmw-map-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 98%;
  max-width: 1500px;
  margin: 0 auto;
}

.egmw-map-cell {
  flex: 1 1 200px;
  min-width: 200px;
  position: relative;
}

.egmw-map-cell label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.egmw-map-cell select,
.egmw-map-cell input[type="number"] {
  padding: 6px;
  width: 100%;
  box-sizing: border-box;
}

.egmw-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.egmw-input-group input {
  width: 50%;
  padding: 6px;
  box-sizing: border-box;
}

.egmw-map-cell button {
  padding: 10px 20px;
  background: #021A3C;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.egmw-map-cell button:hover {
  background: #021A3C;
}

.egmw-map-cell .select_container select, .scheme_default .page-id-4881 .select_container select, .egmw-map-cell input,
.egmw-map-cell .select_container select:focus, .scheme_default .page-id-4881 .select_container select:focus, .egmw-map-cell input:focus {
	border-color: #d0d7d8 !important;
	line-height: 2em !important;
    font-size: 1em !important;
    padding: 0.8em 1.1em 0.85em !important;
    border: 0 !important;
    color: #000000 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}
.scheme_default .page-id-4881 .select_container, .scheme_default .page-id-4881 .select_container:before {
	background-color: transparent !important;
    background: transparent !important;
}

.row-1col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.row-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.row-cell:first-child {
  flex: 1 1 calc(44% - 15px); /* For 2col layout: allows wrapping with spacing */
  min-width: 200px; /* Ensures they don't shrink too small on narrow screens */
}
.row-cell:last-child {
  flex: 1 1 calc(55% - 15px); /* For 2col layout: allows wrapping with spacing */
  min-width: 200px; /* Ensures they don't shrink too small on narrow screens */
}

/* old code  */
/* .egmw-property-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
} */

/* new code by mani  */
.egmw-property-archive {
  display: inline;
  margin-bottom: 1%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .egmw-property-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-bottom: 0;
  }
}


@media (min-width: 1025px) {
  .egmw-property-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 0;
  }
}



.property-cards {
  border: 1px solid #ddd;
  background: #fff;
  box-sizing: border-box;
  min-width:250px;
}
.property-card {
  box-sizing: border-box;
  min-width:250px;
}
.property-details {
	padding: 0px;
}

.property-cards img {
  width: 100%;
  margin-bottom: 10px;
}

.property-cards h3 {
  margin: 0 0 10px;
}

.property-cards p {
  margin: 12px 0;
}

.property-cards p strong {
  font-weight: bold;
}

.property-cards .price {
  font-weight: bold;
  color: #021A3C;
}

.property-cards a {
  /* background: #007BFF; */
  color: #fff;
  /* padding: 8px 12px; */
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  /* margin-top: 10px; */
}

input[type="range"] {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: none !important;
    border: 0 !important;
  }
  input[type="range"]:focus {

    background: none !important;
    border: 0 !important;
  }

  input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    -webkit-appearance: none;
  }
  .area-range-input, .price-range-input, .bedroom-range-input {
  	transform: translateY(-22px);
  }
  
  @media (min-width: 768px) {
  #col-md-2-5 {
    flex: 0 0 auto;
    width: 20.833333%;
    margin-left:-1%;
  }
  #moreDropdownMenu{
    min-width: 150% !important;
  }
  #project-type-select{
    margin-left:-4%;
  }
  #pricing-tag {
    margin-left: -1.6%;
  }
  #developer-tag {
    margin-left: -1%;
  }
  #project-tag{
    margin-left: -1%;
  }
  #col-md-2-3{
    margin-left:-2.4%;
  }
  #col-md-1-beds{
    margin-left:-1.7%;
  }
  #col-md-1-baths{
    margin-left:-1%;
  }
}
  .slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
          transform: translateY(-7px);
  margin-left: 10%;
    margin-right: 11%;
}
.slider .progress {
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  background: #17a2b8;
}
.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;
}
.egmw-pagination {
  display: flex;
  margin-top: 1%;
  float: right;
}
.page-numbers {
	  padding: 10px 15px;
    margin-right: 5px;
    line-height: 1.25;
    font-weight: bold;
    height: 32px;
    background: #f7f7f7;
    display: inline-block;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}
.page-numbers.current, .page-numbers:hover, .page-numbers:focus {
    border: 1px solid #021a3c;
    background: #e9e9e9;
}
@media (min-width: 992px) {
	#gmap {
		width: 100%;
        min-height: 100vh;
	}
}
@media (max-width: 991.99px) {
	#gmap {
		  width: 100%;
      min-height: 400px;
	}
}
.main-section{
  padding:0px 15px 20px 20px;
  margin-top: 10px;
}


.property-cards .connection a.icon {
  background: none !important;
  padding: 12px !important;       /* keep your original padding */
  text-decoration: none !important;
  border-radius: 0 !important;
  display: flex !important;       /* to keep your flex layout */
  align-items: center;
  justify-content: center;
}
.property-cards .connection a.icon:hover {
  color:#fff !important;
}
.property-cards .connection a:hover {
  background-color: #4CAF50 !important;
}
.connection {
  display: flex;
  direction: ltr;
  background-color: #021A3C;
  /* border-left: 1px solid rgba(89, 88, 88, 0.4); */
  /* border-right: 1px solid rgba(89, 88, 88, 0.4); */
  border-top: 1px solid rgba(89, 88, 88, 0.4);
  /* border-bottom: 1px solid rgba(89, 88, 88, 0.4); */
}

.connection > .icon {
  flex: 1 1 0%;
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  padding: 12px; 
  border-left: 1px solid rgba(156, 152, 152, 0.4); 
}


.connection > .icon:first-child {
  border-left: none;
}


.bcs {
  display: flex;
  flex-wrap: wrap; /* allow items to wrap to next line if needed */
  flex-direction: row;
  background-color: #fff;
  padding: 12px 0px;
  gap: 32px;
  align-items: center;
  max-width: 100%; /* prevents overflow */
  box-sizing: border-box;
}

.icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0; /* keeps icon-row from shrinking too small */
}

.icon-row i {
  font-size: 18px;
  color: #aeaeae;
  min-width: 24px;
  text-align: center;
}

.icon-row .label {
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}


.divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0; /* light gray line */
  margin: 15px 0; /* spacing above and below */
  border: none;
}

.property-pricing {
    font-size: 146%;
    color: #021A3C;
}




.icon-svg {
  height: 15px;
  width: auto;
}

.property-grid-title {
    color: #021A3C;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 5%;
}

@media (min-width: 1025px) {
  .row-cell:first-child {
    position: sticky;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }

  .row-cell:first-child gmp-map {
    height: 100%;
    width: 100%;
  }
}

.slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
  transform: translateY(-7px);
  margin-left: 10%;
  margin-right: 11%;
}

.slider .progress {
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  background: #17a2b8;
}


.status-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #E8F5FB;
    color: #021A3C;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2.4rem;
    box-shadow: 0 .4rem .4rem rgba(0, 0, 0, .1);
    cursor: pointer;
    padding: .2rem .4rem;
    pointer-events: auto;
    z-index: 5;
    text-transform: capitalize;
}

#dhiram-logo{
  max-width: 6%;
  margin-top: 1.5%;
}

#dhiram-logo-f {
    max-width: 7%;
    margin-top: -0.5%;
}

/* For Shimmer  */
@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

/* Shimmer wrapper */
.shimmer {
  position: relative;
  overflow: hidden;
  background: #f6f7f8;
  background-image: linear-gradient(
    90deg,
    #f6f7f8 0%,
    #e0e0e0 50%,
    #f6f7f8 100%
  );
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 4px;
}


.shimmer-image {
  width: 100%;
  height: 180px; 
  border-radius: 4px 4px 0 0;
  margin-bottom: 10px;
}


.shimmer-title {
  width: 60%;
  height: 20px;
  margin-bottom: 12px;
  border-radius: 3px;
}


.shimmer-price {
  width: 40%;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 3px;
}


.shimmer-line {
  width: 80%;
  height: 14px;
  margin-bottom: 8px;
  border-radius: 3px;
}


.shimmer-icon-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.shimmer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}


.property-cards.shimmer {
  border: 1px solid #ddd;
  background: #fff;
  box-sizing: border-box;
  min-width: 250px;
  padding: 16px;
}

.property-cards.shimmer .connection > .icon {
  flex: 1 1 0%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #ddd;
  background: none;
}

.property-cards.shimmer .connection > .icon:first-child {
  border-left: none;
}

.property-cards.shimmer .shimmer-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    #eee 25%,
    #f5f5f5 50%,
    #eee 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.property-cards.shimmer .connection {
  background: linear-gradient(
    90deg,
    #f6f7f8 0%,
    #e0e0e0 50%,
    #f6f7f8 100%
  );
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
  border-top: 1px solid #ddd;
}

  .custom-text:focus{
    color: #1d1d1d;
    border-color: #e6ebec !important;
    background-color: #fff !important;
  }
  .custom-text{
    color: #1d1d1d;
    border-color: #e6ebec !important;
    background-color: #fff !important;
  }
.filter-reset,
.filter-done {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05rem;
  border-radius: 0.8rem;
  text-align: center;
  text-transform: capitalize;
  margin: 0.5rem 0;
  height: 3.7rem;
  width: 100%;
  box-sizing: border-box;
}

.filter-reset {
  background-color: #fff !important;
  border: 0.1rem solid #021A3C !important;
  color: #021A3C !important;
}

.filter-done {
  background-color: #021A3C !important;
  border: none;
  color: #fff;
}

    #priceDropdownToggle {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: #EDF1F2 ;     
  border: 1px solid #ccc !important;
  padding: 0.25rem 0.5rem;
  height: 40px;
  font-size: 14px;            /* Equivalent to .btn-sm */
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* #priceDropdownToggle:hover {
  background-color: #021A3C;
  border-color: #565e64;
  color:#fff;
} */

#priceDropdownToggle:focus {
  outline: none;
  /* box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); */
}


.filter-block {
    font-family: sans-serif;
    margin-bottom: 20px;
  }

  .filter-label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #021a3c;
  }

  .segmented-control-wrapper {
    display: inline-block;
    width: 100%;
    max-width: 250px;
  }

  .segmented-control {
    display: flex;
    position: relative;
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #ccc;
  }

  .segmented-control .segment {
    flex: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: none;
    text-align: center;
    font-weight: bolder;
  }

  .segmented-control .segment:hover,
  .segmented-control .segment.active {
    background-color: transparent;
    color: #021a3c;
  }

  .segmented-control .active-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(100% / 3);
    background-color: #021a3c;
    border-radius: 6px;
    z-index: 1;
    transition: transform 0.3s ease;
  }

  .segmented-control .segment.active {
    font-weight: bold;
    color: white;
  }


.dropdown-sub-lable{
    padding: 10px 0;
    background: transparent;
    border: none;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: none;
    /* text-align: center; */
    font-weight: bolder;
}



#priceDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  border: 1px solid #ddd;

  /* Smooth animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Show state */
#priceDropdownMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Triangle */
#priceDropdownMenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  transform: rotate(45deg);
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* Triangle adjustment for drop-up */
#priceDropdownMenu.drop-up {
  top: auto;
  bottom: calc(100% + 10px);
}
#priceDropdownMenu.drop-up::before {
  top: auto;
  bottom: -6px;
  transform: rotate(225deg);
}


#areaDropdownToggle {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc !important;
  padding: 0.25rem 0.5rem;
  height: 40px;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}

#areaDropdownToggle:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

#areaDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  border: 1px solid #ddd;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

#areaDropdownMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#areaDropdownMenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  transform: rotate(45deg);
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.05);
}


/*More dropdown*/
#moreDropdownToggle {
  display: flex; /* Changed from inline-block to flex */
  align-items: center;
  justify-content: center; /* Center icon + text horizontally */
  gap: 6px; /* Space between icon and text */
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc !important;
  padding: 0.25rem 0.5rem;
  height: 40px;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important; /* Hide Bootstrap caret */
}

#moreDropdownToggle:focus {
  outline: none;
  /* box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); */
}

#moreDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;     
  right: auto; 
  min-width: 280px;
  max-height: 350px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  border: 1px solid #ddd;

  display: flex;
  flex-direction: column;
}

.scrollable-content {
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 250px;
  padding-right: 8px;
}

.final-buttons-wrapper {
  flex-shrink: 0; /* prevent shrinking */
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 8px;
  background: #fff; /* Optional: white background to cover scroll */
  /* optionally add shadow for separation */
  box-shadow: inset 0 1px 0 #ddd;
}


#moreDropdownMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#moreDropdownMenu::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  transform: rotate(45deg);
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.05);
  transition: left 0.3s ease, right 0.3s ease;
}

/* Default (left aligned) */
#moreDropdownMenu.pointer-left::before {
  left: 20px;
  right: auto;
}

/* Right aligned */
#moreDropdownMenu.pointer-right::before {
  right: 20px;
  left: auto;
}


/* for bedroom */
#bedroomDropdownToggle {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ccc !important;
  padding: 0.25rem 0.5rem;
  height: 40px;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}

#bedroomDropdownToggle:focus {
  outline: none;
  /* box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5); */
}

#bedroomDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  padding: 1rem;
  border: 1px solid #ddd;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

#bedroomDropdownMenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#bedroomDropdownMenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ddd;
  border-top: 1px solid #ddd;
  transform: rotate(45deg);
  box-shadow: -1px -1px 3px rgba(0, 0, 0, 0.05);
}


#project-type-select {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    height: 40px;
    font-size: 14px !important;
    /* font-weight: bold; */
    color: #333 !important;
    padding: 5px 10px !important;
    border-radius: 4px;
    cursor: pointer;
}

#bath-select {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    height: 40px;
    font-size: 14px !important;
    /* font-weight: bold; */
    color: #333 !important;
    padding: 5px 10px !important;
    border-radius: 4px;
    cursor: pointer;
}




/* for map shimmers  */
.map-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    #f6f7f8 0%,
    #edeef1 20%,
    #f6f7f8 40%,
    #f6f7f8 100%
  );
  background-size: 200% 100%;
  animation: shimmerMap 1.2s linear infinite;
  z-index: 10;
  opacity: 0.8;
  display: none;
}

@keyframes shimmerMap {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}


@media (max-width: 767px) {
  .egmw-map-container {
    flex-direction: column;
    gap: 15px;
  }

  .egmw-map-cell {
    width: 100%;
  }

  .row-2col {
    flex-direction: column;
    gap: 20px;
  }

  .row-cell:first-child,
  .row-cell:last-child {
    flex: 1 1 100%;
    min-width: 100%;
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .property-grid-title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .property-cards {
    margin-bottom: 20px;
  }

  .bcs {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* .connection {
    flex-direction: column;
  }

  .connection > .icon {
    border-left: none;
    border-top: 1px solid rgba(156, 152, 152, 0.4);
    width: 100%;
  }

  .connection > .icon:first-child {
    border-top: none;
  } */

  .filter-reset,
  .filter-done {
    width: 100%;
  }

  .segmented-control-wrapper {
    max-width: 100%;
  }

  .slider {
    margin-left: 5%;
    margin-right: 5%;
  }
}
@media (max-width: 767px) {
  .egmw-property-archive {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 767px) {
  #priceDropdownMenu,
  #areaDropdownMenu,
  #bedroomDropdownMenu {
    min-width: 100%;
    left: 0 !important;
    padding: 1rem;
  }

  #priceDropdownToggle,
  #areaDropdownToggle,
  #bedroomDropdownToggle {
    width: 100%;
  }
}


/* ajax pagination */
.egmw-pagination {
    display: flex;
    justify-content: flex-end; /* Aligns entire pagination to the right */
    margin-top: 1rem;
}

.egmw-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px; /* space between items */
}

.egmw-pagination li {
    display: inline;
}

.egmw-pagination .page-numbers {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #004C7F;
    font-size: 14px;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.egmw-pagination .page-numbers:hover {
    background-color: #f0f0f0;
}

.egmw-pagination .page-numbers.current {
    background-color: #004C7F;
    color: #fff;
    border-color: #004C7F;
    cursor: default;
}



  .select2-icon-wrapper {
  position: relative;
}

.select2-icon-wrapper .location-icon {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 5;
  pointer-events: none;
}

.select2-container--default .select2-selection--single {
  padding-left: 30px !important; /* space for icon */
  height: 38px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
}

.select2-results__options {
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

.select2-results__options::-webkit-scrollbar {
  display: none; 
}


.select2-container--default .select2-results > .select2-results__options {
  background-color: #ffffff;
}

.select2-dropdown {
  background-color: #ffffff !important;
}
.scheme_default .select2-container .select2-selection{
  background-color: #ffffff !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
    background-color: white !important;
}

/* filter pagination button colors  */
.ajax-pagination {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 5px;
    margin: 30px 0 0;
}

.ajax-pagination .pagination-btn {
    padding: 8px 14px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    color:#004C7F;
    font-weight: bold;
    transition: background 0.3s;
}

.ajax-pagination .pagination-btn:hover {
    background-color: #004C7F;
    color: #fff;
}

.ajax-pagination .pagination-btn.active {
    background-color: #004C7F;
    color: white;
    border-color: #004C7F;
}