/**handles:wp-mod-resultsrechercher-css**/
#search-filters-modal {
    z-index: 1013;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-filters {
    position: relative;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    width: 600px;
    background-color: #fff;
    padding: 20px;

    height: 400px;
}
#apply-button {
    position: absolute;
    cursor: pointer;
    bottom: 10px;
    right: 10px;
}
#close-button {
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: 10px;
}
.search-filter-input label {
    padding-left: 10px;
    cursor: pointer;
}
#sort_prix {
    border: 1px #d4d4d4 solid;
    padding: 15px 0px 15px 10px;
    max-width: 200px;
    display: inline !important;
}
.search-filters-list {
    overflow-y: scroll;
    margin-top: 10px;

    height: 300px;
}
#selected-filters { padding: 0 15px;font-size: 14px; }
#selected-filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#selected-filters ul li {
    display: inline-block;
    margin: 0 5px 10px 5px;
    border: 1px #d4d4d4 solid;
    background-color: #ffffff;
    padding: 10px;
}

.results_php {
    width: 100%;
    max-height: 100vh;
    margin: 0 auto;
    margin-bottom: 0 !important;
    position: relative;
}
#resultsBusquedaMapa {
    height: 100%;
    min-height: 100vh;
}

#resultsBusqueda {
    overflow-y: scroll;
    height: calc(100vh - 75px);
}

.anchor-link-map {
    /*border: 2px #0f0 solid;*/
}
.anchor-link-map.no-gps {
    /*border: 2px #f00 solid;*/
}
.anchor-link-map.has-gps {
    /*border: 2px #0f0 solid;*/
}

.etablissement-services {
    margin-top: 10px;
}
.etablissement-services-image-wrapper {
    display: inline-block;
    border: 1px #e2e2e2 solid;
    width: 46px;
    height: 46px;
    padding: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
    position: relative;
}
.etablissement-services img {
    height: 35px;
}
.etablissement-services-tooltip {
    position: absolute;
    top: -30px;
    background-color: #000;
    color: #fff;
    padding: 0 5px;
    white-space: nowrap;
    left: -20px;
    font-size: 12px;

    transition: all 1s;
    z-index: 1;
    min-width: 80px;
    text-align: center;
}
.etablissement-services-tooltip:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    position: absolute;
    bottom: -5px;
    left: 30px;
}
/*
.etablissement-services-image-wrapper:hover .etablissement-services-tooltip { opacity: 1; }
*/
.etab-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0 !important;
    cursor: pointer;
    /*overflow: hidden;*/
    margin-left: 20px !important;
    margin-right: 40px !important;
}
.etab-item.active {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
}

.etab-item .column.is-5 {
    position: relative;
}
.etab-item .column.is-5:after {
    content: "";
    position: absolute;
    width: 1px;
    height: calc(100% - 40px);
    background-color: #e2e2e2;
    right: 0;
    top: 20px;
}

.post-type-category-price {
    position: relative;
}
.post-type-category-price .action-button {
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
    .post-type-category-price .action-button { position: relative; }
    .padding-top-40px.anchor-link-map { margin-bottom: 60px; }
}

.etab-item-gallery-wrapper {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    height: 330px;
    max-height: 330px;
}

.etab-item-gallery-wrapper .slick-slide {
    margin: 0;
    object-fit: cover;
}
.etab-item-gallery-wrapper .slick-list,
.etab-item-gallery-wrapper .slick-track {
    height: 100%;
}

.etab-item-dialog {
    background-color: var(--color-2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 10px;
}
#resultsBusqueda.columns {
    flex-direction: column;
    display: flex;
}
#resultsBusqueda.columns.reverse {
    flex-direction: column-reverse;
    display: flex;
}
.aucunresultat {
    text-align: center;
    padding: 15px;
}
.link-button {
    /*border: 1px #0f0 solid;*/
}
#totalResults.active {
    background-color: var(--color-1);
    color: #fff;
    padding: 15px;
}
#totalResults.active strong {
    color: #fff !important;
}
#sort_prix {
    display: none;
}
#sort_prix.active {
    display: block;
}

.filter-options-wrapper {
    height: 60px;
    padding: 0 45px 0 20px;
}
.only-mobile-opacity-0 {
    opacity: 1;
    pointer-events: inherit;
}
.filter-options-map,
.open-search-map-results {
    display: none;
}
@media screen and (max-width: 1350px) {
    .results_php .filter-by-order .trier-par {
        display: none;
    }
}
@media screen and (max-width: 1087px) {
    body.thematiques-template-default #formHome.is-fixed-top,
    body.post-type-archive-etablissements #formHome.is-fixed-top,
    body.region-template-default #formHome.is-fixed-top,
    body.page-template-tmp-recherche-resultats #formHome.is-fixed-top {
        position: relative;
    }
    #formHome {
        margin-bottom: 0;
    }
    .search-results-map {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw !important;
        z-index: 9999999;
    }
    .open-search-map-results {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 401;
        color: #ffffff !important;
    }
    .filter-options-map {
        display: block;
    }
    .only-mobile-opacity-0 {
        opacity: 0;
        pointer-events: none;
        z-index: 0;
    }
    .open-search-map-results {
        display: block;
    }
    #resultsBusqueda {
        overflow-y: scroll;
        height: auto;
    }
    .results_php {
        max-height: inherit;
    }
}
@media screen and (max-width: 768px) {
    .etab-item .post-type-category-info .link-button {
        bottom: inherit !important;
        position: relative;
    }
    .etab-item-gallery-wrapper {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 0;
        border-top-right-radius: 10px;
    }
    .filter-options-wrapper .action-button,
    #sort_prix {
        font-size: 12px;
        padding: 10px 20px;
    }
}
@media screen and (max-width: 620px) {
    .filter-options-wrapper .action-button {
        float: none;
        margin: 10px 0;
    }
    #sort_prix {
        float: none;
        margin: 0;
    }
    .float-right.filter-by-order {
        width: 100%;
    }
    #resultsBusqueda {
        margin-top: 100px;
    }
}

@media screen and (max-width: 600px) {
  .filter-options-wrapper { height: auto; }
}