[data-aos^=fade][data-aos^=fade] {
    opacity: 1 !important;
}

/* homer banner */
#home_video{
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

#home_video .container-left,
.home-banner-main,
.banner-content-al {
    position: relative;
    z-index: 2;
}

/* Optional: Add dark overlay if content is not readable */
/* #home_video::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* adjust opacity if needed */
/*     z-index: 1; */
/* }  */


/* loader */
.upper_loader_div_search {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgb(95 95 95 / 26%); /* Optional background for overlay */
}
.search_loader_results {
    width: 50px;
    height: 50px;
    border: 8px solid #005496;
    border-top: 8px solid #242424;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

/* Keyframes for loader spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.input-error{
	border: 1px solid red !important;
}

/* contact us page */
.form-group textarea {
    max-height: 74px;
}
.form-group .wpcf7-submit {
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    background: var(--005496, #005496);
    height: 48px;
    color: var(--grey-scale-ffffff, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 2px solid var(--005496, #005496);
	padding:unset;
}
.form-group .wpcf7-submit:hover {
    background: transparent;
    color: var(--005496, #005496);
}
.full-width:last-child {
    margin-bottom: 0 !important;
}
.wpcf7-spinner {
    display: none !important;
}

/* about us page */
.discover-btn:parent {
    margin-bottom: 0 !important;
}


/* fav listings */
#fav_pag{
	padding-right: 24px;
    width: 100%;
    padding-left: 24px;
}

#fav_pag .property-grid.to-colum .property-card {
    width: 20%;
}
.main-bar-right a {
    padding: 20px 32px;
    color: var(--grey-scale-ffffff, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background: var(--005496, #005496);
    border: none;
    display: flex
;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}


.no-interaction {
  pointer-events: none;
}


/* map popup styling */
 .property-button {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-top: 12px;
    background-color: #005496;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
  }
  
  .property-button:hover {
    background-color: #3a5f9a;
  }

#apartments_map{
    height: 664px;
}
  #single_homes_map{
    height: 664px;
  }

  .max_fix_height{
    height: 664px;
  }


  #home_prtyy_type:focus option.placeholder-option,
#home_prtyy_type.open option.placeholder-option {
  display: none;
}

#beds_header,#baths_header,#specific_property_type,#neighborhoods,.sort-dropdown,.filter-bar-f2 select{
    cursor: pointer;
}
img#print {
    cursor: pointer;
}
.fancybox__button--zoom {
  display: none !important;
}



section.custom-homes {
    padding-top: 50px;
}


/* popup */
.main-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* dark overlay */
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.main-popup.active {
  display: flex; /* show when active */
}

.main-popup .popup_content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.main-popup .popup_content h4 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 600;
}

.main-popup .popup_content h4 a {
  color: #0073e6;
  text-decoration: none;
}

.main-popup .popup_content h4 a:hover {
  text-decoration: underline;
}

.main-popup .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* map legend */
 .legend {
      position: absolute; 
      top: 12px;
      bottom: auto;
      transform: translateX(0%);
      left:2%;
      z-index: 99;
      background: white;
      padding: 7px 7px;
      font-size: 12px;
      font-family: sans-serif;
      border-radius: 6px;
      display: flex;
      gap: 20px;
      align-items: center;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    .legend-item {
      display: flex;
      align-items: center;
    }
    .legend-color {
      width: 16px;
      height: 16px;
      margin-right: 6px;
      border-radius: 2px;
    }
   .legend .available { background:#2FBF71; border: 1px solid #a3bcd6; }
    .legend .model { background: #d8933f; }
    .legend .hold { background: #ff0000; }
    .legend .unavailable { background: #848484; }
    .legend .future-lot { background: #7c3aed; border: 1px solid #5b21b6; }
    .marker-dot {
      width: 12px;
      height: 12px;
      background-color: black;
      border-radius: 50%;
      box-shadow: 0 0 2px white;
    }

.legend-color.boundaries {
    background-color: transparent;
    border: 2px solid #3DACCD;
}
.legend-color.commercial {
    background-color: #FFD700;  
    /*border: 2px solid #b8860b; */
}



span.badge.green.mod {
    background: #d8933f;
}    
span.mod {
    background: #d8933f;
}

.popu_heading{
    color: black !important;
    padding: 15px 0px;
    text-align: center;
    font-size: 17px;
}


/*  map print div  */

/*@media print {*/
/*    body * {*/
/*        visibility: hidden !important;*/
/*    }*/

/*    #apartments_map, */
/*    #apartments_map * {*/
/*        visibility: visible !important;*/
/*    }*/

/*    #apartments_map {*/
/*        position: absolute !important;*/
/*        left: 0;*/
/*        top: 0;*/
/*        width: 100% !important;*/
/*        height: 100% !important;*/
/*        z-index: 9999 !important;*/
/*    }*/

    /* Optional: hide scrollbars or overflow */
/*    html, body {*/
/*        margin: 0 !important;*/
/*        padding: 0 !important;*/
/*        overflow: hidden !important;*/
/*        background: #fff !important;*/
/*    }*/
/*}*/


@media print {
    /* Hide everything except map */
  body * {
        visibility: hidden;
    }

    #apartments_map,
    #apartments_map * {
        visibility: visible !important;
    }
    
    #single_homes_map,
    #single_homes_map * {
        visibility: visible !important;
    }
    
    #render-num0,
    #render-num1,
    #render-num2,
    #render-num3,
    #render-num0 *,
    #render-num1 *,
    #render-num2 *,
    #render-num3 * {
        visibility: visible !important;
    }

    #apartments_map {
        position: fixed !important;
        left: 0;
        top: 0;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
    }
    
    #single_homes_map {
        position: fixed !important;
        left: 0;
        top: 0;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
    }
    
    
    /* Optional: if render-num divs overlay the map, position them */
    #render-num0,
    #render-num1,
    #render-num2,
    #render-num3 {
        position: fixed !important;
        left: 0;
        top: 0;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        page-break-before: avoid !important;
        page-break-after: avoid !important;
    }

    /* Prevent multiple pages */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        height: 100% !important;
        background: #fff !important;
    }

    /* Ensure the map fills a single printed page */
    @page {
        size: landscape; /* or 'portrait' if you prefer */
        margin: 0;
    }
}






/* 2026-04-28: Force legend to TOP of map area, override responsive overrides
   that were positioning it at the bottom. */
.legend {
    top: 12px !important;
    bottom: auto !important;
}
