.search-controls {
    position: relative;
}

.search-controls__autocomplete {
    position: relative;
    z-index: 10;
    padding-top: 1rem;
}

.search-controls__other-controls {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    overflow-x: hidden;
    box-shadow:
        var(--boxShadow1),
        var(--boxShadow2);
}

.search-controls__container {
    position: relative;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 69.5rem;
}

.search-controls__container.search-controls__container--other-controls {
    display: flex;
    padding: 1rem;
}

.search-controls__container.search-controls__container--hidden {
    display: none;
}

.search-controls__button {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-controls__button:before {
    position: relative;
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.search-controls__quick-access-filters {
    display: none;
}

.search-controls__view-toggle {
    margin-left: auto;
}

.search-controls__button.search-controls__button--filter-toggle[data-count] {
    position: relative;
    display: block;
    padding-left: 3rem;
}

.search-controls__button.search-controls__button--filter-toggle[data-count]:before,
.search-controls__button.search-controls__button--filter-toggle[data-count]:after {
    position: absolute;
    top: 50%;
    margin-top: -.75rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
}

.search-controls__button.search-controls__button--filter-toggle[data-count]:before {
    font-size: .875rem;
    line-height: calc(22 / 14);
    content: attr(data-count);
    background: transparent none;
    z-index: 1;
}

.search-controls__button.search-controls__button--filter-toggle[data-count]:after {
    content: '';
    background: var(--secondaryColor) none;
    opacity: .25;
}

.search-controls__button.search-controls__button--view-toggle-map {
    margin-right: .5rem;
}

.search-controls__button.search-controls__button--mail-alert span {
    display: none;
}

.search-controls__filters-toggle {
    margin-right: .5rem;
}

.search-controls__mail-alert {
    margin-left: .5rem;
    display: flex;
    align-items: center;
}

@media (min-width: 813px) {
    .search-controls__autocomplete {
        display: none;
    }

    .search-controls__button.search-controls__button--mail-alert span {
        display: block;
        margin-left: 0.25em;
    }
}

@media (min-width: 1024px) {
    .search-controls__other-controls {
        overflow-x: initial;
    }

    .search-controls__quick-access-filters {
        display: block;
        min-width: 0;
    }
}

.search-controls--sticky .search-controls__other-controls {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .search-controls--hide-filters-button .search-controls__filters-toggle {
        display: none;
    }
}

.search-controls {
    padding-bottom: 4.5rem;
    background-color: #FFFFFF;
}

.search-controls__other-controls {
    background-color:  #FFFFFF;
}

.search-controls__autocomplete {
    display: none;
}

.search-controls__button {
    border: 1px solid var(--primaryColorDark);
    color: var(--primaryColorDark);
    box-shadow:
        var(--boxShadow1),
        var(--boxShadow2);
}

.search-controls__button.search-controls__button--filter-toggle {
    box-shadow: none;
}

.search-controls__button.search-controls__button--filter-toggle:before {
    background: transparent url("/frontend/assets/Pararius/Component/SearchControls/Images/Filters-1260e6d35c.svg");
}

.search-controls__button.search-controls__button--filter-toggle[data-count] {
    background-color: var(--primaryColorLight);
    color: var(--primaryColorDark);
}

.search-controls__button.search-controls__button--filter-toggle[data-count]:after {
    opacity: 1;
}

.search-controls__button.search-controls__button--filter-toggle[data-count]:before {
    color: #FFFFFF;
}

.search-controls__button.search-controls__button--mail-alert {
    border: none;
    background-color: var(--secondaryColor);
}

.search-controls__button.search-controls__button--mail-alert:hover,
.search-controls__button.search-controls__button--mail-alert:active {
    color: #FFFFFF;
    background-color: var(--secondaryColorDark);
}

.search-controls__button.search-controls__button--mail-alert:active {
    box-shadow: inset 0 .125rem .75rem rgba(0, 0, 0, .15);
}

.search-controls__button.search-controls__button--mail-alert:focus {
    color: #FFFFFF;
    background-color: var(--secondaryColor);
    outline: none;
    box-shadow: 0 0 .125rem .1875rem color-mix(in srgb, var(--secondaryColor) 30%, transparent);
}

.search-controls__button.search-controls__button--view-toggle-list:before {
    background: transparent url("/frontend/assets/Pararius/Component/SearchControls/Images/List-4d654c6c29.svg");
}

.search-controls__button.search-controls__button--view-toggle-map:before {
    background: transparent url("/frontend/assets/Pararius/Component/SearchControls/Images/Map-31a6972606.svg");
    color: #FFFFFF;
}

.search-controls__button.search-controls__button--view-toggle-map:visited {
    color: var(--primaryColorDark);
}

.search-controls__button.search-controls__button--mail-alert:before {
    background: transparent url("/frontend/assets/Pararius/Component/SearchControls/Images/MailAlert-176c232ff9.svg");
}
