/* 
Author: Garrett Gant
Author URI: https://garrettgant.com/
Version: 0.0.1
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

.map-filter #map {
    height: 100%;
    width: 100%;
}

.map-filter #map,
.map-filter #map * {
  font-family: "Roboto", sans-serif!important;
}


.map-filter .row {
    display: flex;
    flex-direction: var(--map-position);
    justify-content: center;
    height: var(--height);
}

.map-filter .columnT {
    width: calc(100% - var(--width-mapcol));
    height: var(--height);
    padding-left: 0.2%;
}

.map-filter .columnM {
    width: var(--width-mapcol);
    height: var(--height);
}

.map-filter .columnT{
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-face-color: #367CD2;
    scrollbar-shadow-color: #FFFFFF;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #FFFFFF;
    scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #FFFFFF;
}

/*.map-filter .selected {
    display: inline-block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0) -webkit-animation-name:buzz-out;
    animation-name: buzz-out;
    -webkit-animation-duration: 0.81s;
    animation-duration: 0.81s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1
}

@keyframes buzz-out { 9% { -webkit-transform: translateX(5px) rotate(3deg); transform: translateX(5px) rotate(3deg) } 19% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-3deg) } 29% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg) } 40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg) } 50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg) } 58% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg) } 67% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg) } 79% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg) } 89% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0) } 99% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0) } }*/


.map-filter img.main {
    width: 100%;
    display: block;
}

.map-filter .marker-block {
    width: 250px;
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.map-filter .bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.map-filter .top,.map-filter .bottom{
    background: rgba(0,0,0,0.36);
    color: #fff;
    padding: 5px 10px;
	font-weight: 700;
}

.map-filter .gm-style-iw-d{
    margin-right: -6px;
}

.map-filter #divText {
    width: 23%;
    height: 60px;
    border: 2px solid #CD2626;
    padding: 10px;
    margin-top: 10px;
}

html .map-filter  .esg-grid .mainul li.eg-eastwind-wrapper {
    position: unset !important;
    float: left;
    margin: 0.3% !important;
    opacity: unset;
}

.map-filter .esg-overflowtrick, .map-filter .mainul{height: auto!important;}

.map-filter  a.elementor-icon {
    height: 220px;
}
@media  (min-width: 768px) {
    .map-filter .elementor-59 .elementor-element.elementor-element-bd9092b {
        overflow: hidden;
    }
}
/* // X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) { 
   
 }
             /* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 
   
}
/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    
    .map-filter .row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
        align-items: center;
        height: 100%;
    }
    .map-filter .columnT {
        width: 100%;
        overflow: auto;
        height: fit-content;
    }
    .map-filter .columnM{display: none;}
    .map-filter .page-template-map-filter a.elementor-icon {
        height: unset;
    }
  
}
/* // Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) { 
    
}
/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
  
}

.filters-container {
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 1em 0 0.8em 0;
    background: #FBFBFB;
}

.filter-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.2em;
    padding: 0 0.5em;
}

.num-props {
    display:flex;
    align-items: center;
    margin-top: 12px;
    padding: 0 0.5em;
    font-weight: 600;
}

#addyFilter {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#addressFilter {
    width:100%;
    max-width: 250px;
    min-width: 250px;
}

#resetButton {
    font-size: 14px;
    padding: .1rem 1rem 0.2em 1em;
    margin-bottom:-0.2em;
}

#addressfilter,
#availabilityFilter,
#cityFilter,
#neighborhoodFilter,
#sizeFilter,
#brokerFilter,
#addressFilter,
#stateFilter {
    border: 1px solid #e2e4e4;
    background: 0 0 !important;
    padding: 2px 8px 2px 8px !important;
    font-size: 14px;
	background: white!important;
}

.infoWindowInner .property_image {
    width:100%;
    max-width: 250px;
    height:auto;
}

.custom-cluster-icon {
    background-repeat: no-repeat!important;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.2em;
    font-size: 14px;
}

.form-group select {
    width: 125px; /* Adjust width as needed */
}

.availability-buttons {
    display: flex;
    flex-direction: column;
}

.availability-buttons button {
    padding: 0.5em;
    margin: 0.3em 0;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 0.6em;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
}

.grid-container > p {
   margin-top: 1em;
   margin-left: 1em;
}

.property-link {
    width: calc(var(--width-grid-col) - 0px); /* Adjust the width and margin as needed */
    margin: 3px;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    padding: 0;
    color: white;
}

.featured-property {
    width: calc(32% - 0px); /* Adjust the width and margin as needed */
    margin: 3px;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    padding: 0;
    color: white;
    transition: 0.3s ease; /* Add a smooth transition effect */
}

.featured-property:hover {
    opacity: 0.85;
}

.featured-property:hover .top-text {
    color: #ececec;
    transition: 0.3s ease; 
}

.property_image {
    width: 100%!important;
    max-width: 100%!important;
    height: 100%!important;
}

/*.elementor img {
    height: 100%!important;
    max-width: 100%!important;
    border: none;
    border-radius: 0;
    box-shadow: none;
}*/

.property-name, .property-location {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    padding: 0.4em;
}

.top-text {
    background: rgba(0, 0, 0, 0.36);
    position: absolute;
    width: 100%;
    top: 0px;
    color: white;
}

.bottom-text {
    position: absolute;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.36);
    width: 100%;
    color:white;
}

@media only screen and (max-width: 1023px) {
	.num-props {
		display:none;
	}	
}

@media only screen and (max-width: 640px) {
    .grid-container {
        justify-content: center;
    }

    .property-link, .featured-property {
        min-width: 300px;
    }
	
	.property-link, .featured-property {
		width: 100%;
	}
	
	.filter-group {
		justify-content: center;
	}
	
	.form-group {
        padding: 10px 0.5em;
    }

    #addressfilter,
    #availabilityFilter,
    #cityFilter,
    #neighborhoodFilter,
    #sizeFilter,
    #brokerFilter,
    #addressFilter,
    #stateFilter {
        border: 1px solid #e2e4e4;
        background: 0 0 !important;
        padding: 4px 12px!important;
        font-size: 14px;
		color:black!important;
    }
}

