/*MEMBRES*/

.membres .list-title-container {
    height: 50px; 
    margin-top: -23px;
}
.membres .map-title {
    line-height: 50px; 
    padding-left: 30px; 
    font-weight: 400;
}
.membres .map-list-inside {
    overflow-y: scroll; 
    overflow-x: hidden;
}
.map-list-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.map-list-card:nth-child(even) {
    background-color: #ebf5f6;
}
.membres .map-container {
    height: 500px;
    margin-top: 100px;
}
.membre-logo {
    max-width: 140px;
    max-height: 70px;
    padding-left: 20px;
}
.ol-popup .membre-logo {
    display: block;
}


.search-button {
    border: none;
    text-align: center;
    text-decoration: none;
    border-radius: 0 5px 5px 0;
    background-color: #236e69;
    padding: 14px 15px 15px 15px;
}
.search-input {
    font-size: 15px;
    border: 1px #236e69 solid;
    width: 22%;
    color: #236e69;
}
.category-select {
    margin-left: 5%; 
    padding: 20px;
    font-size: 15px;
    border: 1px #236e69 solid;
    width: 18%;
    color: #236e69;

    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("https://feredeco.datanomy.org/wp-content/uploads/sites/9/2022/12/select-icon.png");
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: 50%;
}

.gm-style-iw {
    overflow: hidden;
}
.gm-style-iw-d {
    padding: 30px 20px 0 20px;
    margin-bottom: -20px;
    width: 400px;
}
.gm-style-iw-d p {
    font-size: 15px;
    font-weight: 500;
    line-height: 15px;
}
.map-header {
    margin-bottom: -30px;
}
.gmpInfoWindowtitle {
    display: none;
}
.map-location-title {
    font-size: 20px;
    padding-right: 60px;
}
.map-logo {
    width: 150px;
    height: auto;
}
.map-adress {
    display: flex;
    align-items: center;
    margin-bottom: -50px;
    margin-top: -10px;
}
.map-phone,
.map-email {
    float:none;
    display:flex;
    align-items: center;
    margin-bottom: -35px;
}
.map-website {
    float: right;
    margin-top: -10px;
}
.map-button {
    background-color: #65bb9400;
    color: #236e69;
    border: solid 1px #236e69;
    font-weight: 400;
    display: flex;
    align-items:center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    border-radius: 30px;
}



/*PHONE*/
@media only screen and (max-width: 760px) {
    .membres .hero {
        height: 600px;
    }
    .membres .hero-text {
        top: 250px;
        margin: 0 10%;
        width: auto;
    }
    .membres .map-section {
        padding: 50px 0 150px 0;
        height: 1300px;
    }
    .membres .map-form-container {
        padding-bottom: 50px; 
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .membres .search-input {
        padding: 20px;
        width: 200px;
    }
    .membres .category-select {
        width: 250px;
        margin-top: 20px;
    }
    .membres .map-container {
        height: 500px;
    }
    .membres .map-list-container {
        background-color: white; 
        width: 90%;
        margin: 0 5%;
    }
    .membres .map-list-inside {
        height: 450px;
    }
    .membres .map-area {
        width: 90%;
        margin: 0 5%;
    }
    .membres .text-column {
        padding: 80px 10%;
    }
    .text-block-width {
        width: auto;
    }
    .ol-popup .membre-logo {
        display: none;
    }
    .map-list-card {
        padding: 10px;
    }
    .map-list-flex p {
        word-wrap: break-word;    
    }
}




/*TABLET*/
@media only screen and (min-width: 761px) and (max-width: 1200px) {
    .membres .hero-text {
        top: 350px;
        margin: 0 10%;
        width: auto;
    }
    .membres .map-section {
        padding: 50px 0 150px 0;
        height: 1300px;
    }
    .membres .map-form-container {
        padding-bottom: 50px; 
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .membres .search-input {
        padding: 20px;
        width: 30%;
    }
    .membres .category-select {
        width: 250px;
    }
    .membres .map-container {
        height: 500px;
    }
    .membres .map-list-container {
        background-color: white; 
        width: 90%;
        margin: 0 5%;
    }
    .membres .map-list-inside {
        height: 450px;
    }
    .map-button-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    .membres .map-area {
        width: 90%;
        margin: 0 5%;
    }
    .membres .text-column {
        padding: 80px 10%;
    }
    .text-block-width {
        width: auto;
    }
    .membres .membres-advantages {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-template-rows: auto;
    }
}
@media only screen and (min-width: 1201px) {
    .membres .hero-text {
        top: 380px; 
        left: 30%; 
        right: 30%;
    }
    .membres .map-section {
        padding: 50px 0 150px 5%;
    }
    .membres .map-form-container {
        padding-bottom: 50px; 
        width: 100%;
    }
    .membres .search-input {
        padding: 20px;
    }
    .membres .map-container {
        height: 700px;
    }
    .membres .map-list-container {
        background-color: white; 
        width: 30%;
    }
    .membres .map-list-inside {
        height: 650px;
    }
    .map-button-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        
    }
    .membres .map-area {
        width:75%;
    }
    .membres .membres-advantages-text {
        padding: 200px 0;
    }
}











/*PHONE*/
@media only screen and (max-width: 760px) {
    .ol-popup {
        width: 250px;
    }
}

/*TABLET*/
@media only screen and (min-width: 761px) and (max-width: 1200px) {
    .ol-popup {
        width: 350px;
    }
}

@media only screen and (min-width: 1201px) {
    .ol-popup {
        width: 400px;
    }
}



.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    bottom: 50px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-content {
    position: relative;
    min-width: 500px;
    min-height: 150px;
    height: 100%;
    max-height: 250px;
    padding:2px;
    white-space: normal;        
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    overflow-y: auto;
    overflow-x: hidden;
}
.ol-popup-content p{
    font-size: 14px;
    padding: 2px 4px;
    color: #222;
    margin-bottom: 15px;
}
.ol-popup-closer {
    position: absolute;
    top: -4px;
    right: 2px;
    font-size: 100%;
    color: #0088cc;
    text-decoration: none;
}
a.ol-popup-closer:hover{
    color: #005580;
    text-decoration: underline;
}