.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
    border-bottom: 2px solid #000;
    border-top: none;
    border-left: none;
    border-right: none;
}
.wp-block-search .wp-block-search__button {
    background: none;
    border: none;
}
.wp-block-search .wp-block-search__button svg {
    min-width: 2.5em;
    min-height: 2.5em;
}


/* menu rapide */


.acces-rapide ul {
    padding: 0;
    margin: 0 auto;
    list-style-type: none;
    display: grid;
}
.acces-rapide {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}
.acces-rapide ul li:hover a span span {
    background: linear-gradient( to bottom, #ffef65 0%, #ffef65 100% ) repeat-x 0 120%;
    background-size: 4px 10px;
}
.acces-rapide ul li:hover img {
    border: 2px solid #000;
    padding: 10px;
}

img.img-acces-rapide {
    border-radius: 100%;
    margin: 0 auto;
    display: block;
}

.entry-content .acces-rapide p a {
    text-decoration: none;
}




.infos-urgentes {
    line-height: 18px;
    border-left: 4px solid #ffef65;
    padding-left: 8px;
}


/* menu grille profils */


.menu-profils ul {
    padding: 0;
    margin: 0 auto;
    list-style-type: none;
    border: 3px solid;
}
.menu-profils ul li{
    font-family: 'Roboto Condensed';
    font-size: 20px;
    border: 2px solid;
    text-transform: uppercase;
    font-weight: 700;
}
.menu-profils ul li a {
    display: block;
}
.menu-profils ul li a:hover {
    background-color: #badfee;
}
.menu-profils ul li a p {
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 20px;
    margin: 0;
}
.menu-profils ul li a p span {
    display: block;
}
.menu-profils ul li a p span > span {
    display: inline;
    background: linear-gradient( to bottom, #badfee 0%, #badfee 100% ) repeat-x 0 90%;
    background-size: 4px 12px;
}
.menu-profils ul li a p:after {
    content: url('/wp-content/uploads/2021/01/left.png');
    background: none;
    display: block;
    text-align: right;
}
.img-profil {
    height: 150px;
    width: 100%;
    object-fit: cover;
    margin-bottom: -5px;
}




.wp-block-image.factuel {
    margin-bottom: 0;
}
.wp-block-column.factuel {
    margin-left: 1em;
}



/* plus loin */

.plus-loin ul {
    list-style-type: none;
    margin: 0;
}
.plus-loin li {
    margin: 1em 0 3em 0;
}
.plus-loin ul li p:first-child{
    font-weight: bold;
}
.plus-loin li p:first-child:after {
    content: url(/wp-content/uploads/2021/01/left2.png);
    float: right;
}


/* RS */

.rs span:last-child {
  display: none;
}



/* media queries */

@media only screen and (max-width:767px) {
    .acces-rapide ul li {
        display: grid;
        grid-template-columns: 20% 80%;
        padding: 10px;
        border-bottom: 1px solid #d4d4d4;
    }
    .acces-rapide ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-left: 10px;
    }
    .acces-rapide ul li a:after {
        content: url('/wp-content/uploads/2021/01/left.png');
        background: none;
    }

    .img-profil {
        display: none;
    }

    .wp-block-image.factuel {
        text-align: center;
    }
    .wp-block-column.factuel {
        margin-left: 0;
    }
}

@media only screen and (min-width:768px) {
    img.img-acces-rapide {
        height: 98px;
    }
    .acces-rapide ul{
        grid-template-columns: 25% 25% 25% 25%;
        text-align: center;
    }
    .acces-rapide ul li a{
        margin-top: 20px;
        display: block;
    }

    .menu-profils ul {
        display:grid;
        grid-template-columns: 50% 50%;
    }
    .menu-profils ul li a p {
        height: 150px;
    }
}

@media only screen and (min-width:1024px) {
    .acces-rapide ul {
        grid-template-columns: 16.5% 16.5% 16.5% 16.5% 16.5% 16.5%;
        text-align: center;
    }

    .menu-profils ul {
        display:grid;
        grid-template-columns: 33.5% 33.3% 33.3%;
    }

    .plus-loin ul {
        display: grid;
        grid-template-columns: 33.3% 33.3% 33.3%;
    }
    .plus-loin li {
        margin: 0 0 0 3em;
    }
}