@import url("./colors.css");
@import url("./slider.css");
@import url("./filter-cart.css");
@import url("./filter.css");
@import url("./bottom-section.css");

@media only screen and (min-width: 1368px) and (max-width: 1920px) {
    /* Leaflet Map Size */
    .responsive #top #map_sidebar {
        width: 430px;
    }
    .responsive #top #map_column {
        width: calc(100% - 430px);
    }
}

@media only screen and (min-width: 1280px) and (max-width: 1367px) {
    /* Leaflet Map Size */
    .responsive #top #map_sidebar {
        width: 31%;
    }
    .responsive #top #map_column {
        width: 69%;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1279px) {
    /* Leaflet Map Size */
    .responsive #top #map_sidebar {
        width: 33%;
    }
    .responsive #top #map_column {
        width: 67%;
    }
}

@media only screen and (min-width: 990px) {
    .responsive #top #map_sidebar {
        border-right: solid 1px #e1e1e1;
        box-shadow: 0 0 25px 0 rgba(0,0,0,0.25);
    }

    #top #leaflet_big_size .leaflet-map {
        height: 97.4vh !important;
    }
}

@media only screen and (max-width: 989px) {
    /* Full Map Container */
    .responsive #top .full_map_container > .container {
        width: 100% !important;
    }

    .responsive #top #map_column {
        margin-bottom: 0 !important;
    }

    .responsive #top #map_sidebar {
        border-top: solid 1px #e1e1e1;
    }

    .leaflet-map {
        height: 100vh !important;
    }
}

/* Full Map Container */
.responsive #top .full_map_container > .container {
    padding-top: 0 !important;
}

.button--disable {
    background: gray !important;
}

.button--active {
    background: var(--enfold-main-color-primary) !important;
}

.billboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    padding: 10px 0;
    width: 100%;
}

.billboard__image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.billboard__details {
    display: flex;
    width: 100%;
    margin-top: 1rem;
    justify-content: space-between;
}

.details__direction {
    font-size: 14px;
    margin: 0;
}

.details__size-side-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-direction: row;
    justify-content: space-between;
}

.details__size {
    font-size: 18px;
    font-weight: bold;
    padding: 5px;
    background-color: var(--enfold-main-color-primary);
    color: #fff;
    border-radius: 5px;
    margin-right: 10px;
}

.billboard__side img {
    max-width: 100%;
    height: auto;
}

.details__price {
	margin: 0 !important; font-size: 16px; color: #5a5a5a; font-weight: 600;    
}

.details__price strong {font-size: 24px; color: #1a1a1a !important;}

.details__btn {
    padding: 5px 15px; width: 42px; height: 42px; background-color: var(--enfold-main-color-primary); font-size: 24px; color: #fff; cursor: pointer; border: none; border-radius: 5px;
}

.details__btn:before {content:'\e816'; font-family:'entypo-fontello';}

.details__btn_container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    align-items: flex-end;
}

.billboard__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.header__location {
	font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #606060 !important;
    margin: 0;
}

.header__id {
	font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #b1b1b1;
    margin: 0;
}

.billboard__close {
    position: absolute; top: -15px; right: -15px;
    width: 30px; height: 30px; line-height: auto;
    background: var(--enfold-main-color-primary);
    color: white; cursor: pointer;
    border: none; border-radius: 50%;
}

.billboard__close:before {content: '\e813'; font-family: 'entypo-fontello'; font-size: 20px;}



.details__btn:hover,
.mapFilter__button:hover,
.billboard__close:hover {
    filter: brightness(75%);
}

.leaflet-popup-close-button {
    visibility: hidden !important;
}

.leaflet-map {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#mapFilter__input {
    margin: 0 !important;
    padding: 15px 50px 15px 15px !important;
    width: 100%;
    border-radius: 3px !important;
}

.mapFilter__search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

.mapFilter__search .icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    font-size: 16px;
    color: #999;
    text-align: center;
    border: none;
}

.mapFilter__search .icon:before {
    position: relative;
    top: 2px;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.flex--between {
    justify-content: space-between;
    align-items: center;
}

#suggestions {
    position: absolute;
    z-index: 5;
    background-color: #f1f1f1;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    top: 35px;
}

.suggestion:hover {
    background-color: #ddd;
}

.suggestion {
    padding: 5px 12px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    cursor: pointer;
}

.clear-button--hidden {
    visibility: hidden;
}

#clear-button {
    cursor: pointer;
}

#clear-button:hover {
    color: #333;
}

.mapFilter__mid {
    width: 100%;
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.marker-popup .leaflet-popup-content {
    margin: 0.875rem !important; font-family: "Open Sans", sans-serif;
}

.marker-popup .leaflet-popup-content .billboard {padding: 0;}


.details_more {
    cursor: pointer;
}

#loadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    color: var(--enfold-main-color-primary);
    font-size: 3.5rem;
}




#top .leaflet-popup-content-wrapper {border-radius: 8px;}