/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

@font-face {
    font-family: 'Soehne';
    src: url("./fonts/soehne-buch.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Soehne';
    src: url("./fonts/soehne-fett.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Soehne Breit';
    src: url("./fonts/soehne-breit-fett.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

#why-rent-pltfrm .nectar-icon-list-item.animated.--active * {
    color: white !important;
    border-color: white !important;
}

#why-rent-pltfrm .nectar-icon-list-item.animated {
    cursor: pointer;
}

#why-rent-pltfrm .nectar-icon-list-item.animated * {
    transition: color .2s ease-in-out, border-color .2s ease-in-out !important;
}

#why-rent-pltfrm .nectar-icon-list-item.animated:hover .list-icon-holder {
    border-color: white !important;
    color: white !important;
}

#why-rent-pltfrm .flickity-page-dots {
    display: none;
}


/** Mapster Category Checkboxes **/
.mapster-wp-maps-container {
    margin-bottom: 36px !important;
}

.mapboxgl-map {
    overflow: visible !important;
}

.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl {
    margin: 0;
}

.mapboxgl-ctrl .mapboxgl-ctrl-logo {
    display: none !important;
}

.mapboxgl-ctrl-bottom-left {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%) translateY(-100%);
}

.mapster-category-control {
    box-shadow: none !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    border-radius: 200px !important;
}

.mapster-category-control ul {
    display: flex;
    justify-content: center;
    padding: 18px 24px !important;
    margin: 0 auto;
    list-style: none;
    background-color: #eeeeee;
    border-radius: 200px !important;
    width: fit-content;
}

.mapster-category-control li {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.mapster-category-control input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}


.mapster-category-control li:nth-of-type(1) input[type="checkbox"]:checked {
    background-color: #8326e3;
}

.mapster-category-control li:nth-of-type(2) input[type="checkbox"]:checked {
    background-color: #1038d0;
}

.mapster-category-control li:nth-of-type(3) input[type="checkbox"]:checked {
    background-color: #fa7b2d;
}

.mapster-category-control li:nth-of-type(4) input[type="checkbox"]:checked {
    background-color: #08bf70;
}

.mapster-category-control input[type="checkbox"]:checked {
    background-color: transparent;
    border-color: #333;
}

.mapster-category-control label {
    cursor: pointer;
    font-family: "Soehne Breit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Scale down as viewport width decreases */
@media (max-width: 1024px) {

    .mapster-category-control {
        transform: none !important;
    }

    .mapster-category-control ul {
        padding: 10px 16px !important;
    }

    .mapster-category-control li {
        margin-left: 0;
    }

    .mapster-category-control li:not(:last-child) {
        /*margin-right: 8px;*/
    }

    .mapster-category-control label {
        font-size: 12px;
    }

    .mapster-category-control input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 6px;
        border-radius: 3px;
    }

}

@media (max-width: 768px) {
    .mapster-wp-maps-container {
        margin-bottom: 64px !important;
    }

    .mapster-category-control {
        width: 90vw !important;
    }

    .mapster-category-control ul {
        padding: 6px 12px !important;
        border: 0;
        flex-wrap: wrap;
        width: 100%;
        border-radius: 0;
    }

}