.download-file a:before {
    content: '\e092';
    font-family: 'ETmodules';
    font-size: 25px;
    padding-right: 20px;
}


/****************************
*                           *
*          ACCUEIL          *
*                           *
****************************/

/* ----==== Début Blog ====---- */
#home-blog {
    display: flex;
}
#home-blog .blog {
    margin-bottom: 0!important;
}

/* Marge entre les articles */
#home-blog .blog article {
    box-shadow: none;
    margin: 0 10px;
}
@media only screen and (max-width: 767px) {
    #home-blog .blog article {
        margin: 0;
    }
    #carrousel-nav {
        top: 59%!important;
    }
}

/* Largeur des images */
#home-blog .blog article img {
    width: 100%;
}

/* Navigation */
#carrousel-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
#carrousel-nav  .carrousel-left,
#carrousel-nav .carrousel-right {
    cursor: pointer;
    top: 50%;
    box-shadow: 0 0 18px 2px rgba(0,0,0,.2);
}
#carrousel-nav  .carrousel-left {
    left: 0;
    transform: translateX(-50%);
}
#carrousel-nav  .carrousel-right {
    right: 0;
    transform: translateX(50%);
}
/* ----==== Fin Blog ====---- */

/* ----==== Début PanneauPocket ====---- */
/* Largeur et espacement des colonnes/lignes */
@media only screen and (min-width: 981px) {
    #panneaupocket > .et_pb_row > .et_pb_column:first-child {
        width: 57.5%;
        padding-top: 30px;
    }
    #panneaupocket > .et_pb_row > .et_pb_column:last-child {
        width: 37%;
    }
}
@media only screen and (max-width: 980px) {
    #panneaupocket > .et_pb_row {
        width: 100%;
    }
}

/* Résumé */
#panneaupocket .et_pb_blurb .et_pb_main_blurb_image {
    width: 120px;
}
#panneaupocket .et_pb_blurb .et_pb_blurb_container {
    padding-left: 30px;
}
#panneaupocket .et_pb_blurb h3 {
    color: #004170;
    font-size: 45px;
    text-transform: uppercase;
}

/* iframe */
#panneaupocket iframe.screen {
    width: 280px;
    height: 580px;
    background: #fff;
    position: absolute;
    top: 41px;
    left: 65px;
    z-index: 10;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
    border: 2px solid #000;
    overflow: auto;
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    #panneaupocket .et_pb_image.phone {
        margin-left: auto;
    }
    #panneaupocket iframe.screen {
        right: 120px;
        left: auto;
    }
}
@media only screen and (max-width: 767px) {
    #panneaupocket .et_pb_blurb h3 {
        font-size: 35px;
    }
    #panneaupocket .et_pb_image.phone {
        overflow-x: hidden;
        text-align: center;
    }
    #panneaupocket .et_pb_image.phone img {
        width: 380px;
        max-width: 380px;
        transform: translateX(-50%);
        left: calc(13px + 50%);
    }
    #panneaupocket iframe.screen {
        transform: translateX(-50%);
        left: 50%;
        top: 36px;
        width: 244px;
        height: 501px;
    }
}
/* ----==== Fin PanneauPocket ====---- */

/* ----==== Début Événements ====---- */
/* Cacher la recherche par date, n'afficher que les 3 premiers événements, cacher la navigation et l'export */
#home-events .tribe-events-header.tribe-events-header--has-event-search,
#home-events .tribe-common article:nth-child(n+5),
#home-events .tribe-events-pro-photo-nav.tribe-events-c-nav,
.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
    display: none;
}
@media only screen and (max-width: 767px) {
    #home-events .tribe-common article:nth-child(n+3) {
        display: none;
    }
}

/* Largeur des événements */
#home-events .event_col_2 article:nth-child(even) {
    margin-right: 0 !important;
}
@media only screen and (min-width: 981px) {
    #home-events .event_col_1 {
        width: 50%;
    }
    #home-events .event_col_2 {
        width: 49%;
        margin-left: 1%;
        display: flex;
        flex-wrap: wrap;
    }
    #home-events .event_col_1 article {
        width: 100%!important;
    }
    #home-events .event_col_2 article {
        width: 48% !important;
        margin-right: 2% !important;
        margin-bottom: 2% !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    #home-events .event_col_1 > article {
        width: 80% !important;
        margin-left: auto;
        margin-right: auto;
    }
    #home-events .event_col_2 {
        display: flex;
        flex-wrap: wrap;
    }
    #home-events .event_col_2 > article {
        width: 47% !important;
        margin-right: 3%;
        margin-bottom: 3%;
    }
}
@media only screen and (max-width: 767px) {
    #home-events article {
        width: 100%!important;
    }
}

/* Hauteur de l'image */
#home-events .event_col_2 article a.tribe-events-pro-photo__event-featured-image-link,
#agenda-events article a.tribe-events-pro-photo__event-featured-image-link {
    display: flex;
    align-items: center;
    max-height: 225px;
}
#home-events .event_col_2 article a.tribe-events-pro-photo__event-featured-image-link > img,
#agenda-events article a.tribe-events-pro-photo__event-featured-image-link > img {
    width: 100%;
}
/* ----==== Fin Événements ====---- */

/* Carte intéractive */
#home-card {
    display: flex;
    flex-wrap: wrap;
}
#home-card .blurb-card {
    display: flex;
    align-items: center;
}
#home-card .blurb-card .et_pb_main_blurb_image,
#home-card .blurb-card .et_pb_blurb_container {
    vertical-align: middle;
}

@media only screen and (min-width: 981px) {
    #home-card .blurb-card {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    #home-card .blurb-card:nth-child(even) {
        margin-right: 0%;
    }
    #home-card .blurb-card:nth-child(n+11) {
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    #home-card .blurb-card {
        width: 32%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    #home-card .blurb-card:nth-child(3n+3) {
        margin-right: 0%;
    }
    #home-card .blurb-card:nth-child(n+10) {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    #home-card {
        margin-left: -5%;
        width: 110% !important;
    }
    #home-card .blurb-card {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    #home-card .blurb-card:nth-child(even) {
        margin-right: 0%;
    }
    #home-card .blurb-card:nth-child(n+11) {
        margin-bottom: 0;
    }
    #home-card .blurb-card .et_pb_blurb_container {
        padding-left: 8px!important;
    }
}



/****************************
*                           *
*      MAIRE & ADJOINTS     *
*                           *
****************************/

/* Maire */
.maire > .maire-container .maire-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 1em;
}
.maire > .maire-container > .maire-contact {
    margin-top: 30px;
}

/* Adjoints */
.adjoint {
    margin-bottom: 60px;
}
.adjoint > .adjoint-container .adjoint-title {
    font-size: 18px;
    display: flex;
    font-weight: bold;
    padding-bottom: 5px;
}
.adjoint > .adjoint-container .adjoint-title > span:first-child {
    padding-right: 4px;
}
.adjoint > .adjoint-container .adjoint-fonction {
    padding-bottom: 1em;
}

@media only screen and (min-width: 768px) {
    .maire,
    .adjoint {
        display: flex;
    }
    .adjoint:last-child {
        margin-bottom: 0;
    }
    .adjoint:nth-child(odd) {
        flex-direction: row-reverse;
    }
    .maire > .maire-img {
        width: 38%;
        margin-right: 3%;
    }
    .maire > .maire-container,
    .adjoint > .adjoint-container {
        width: 59%;
        padding: 20px 0;
    }
    .adjoint > .adjoint-img {
        width: 38%;
    }
    .adjoint:nth-child(even) > .adjoint-img {
        margin-right: 3%;
    }
    .adjoint:nth-child(odd) > .adjoint-container {
        margin-right: 3%;
    }
    .adjoint:nth-child(odd) > .adjoint-container > .mairie-adjoint,
    .adjoint:nth-child(odd) > .adjoint-container > .mairie-adjoint > .adjoint-title {
        text-align: right;
    }
    .adjoint:nth-child(odd) > .adjoint-container > .mairie-adjoint > .adjoint-title {
        justify-content: flex-end;
    }
}
@media only screen and (max-width: 767px) {
    .maire > .maire-img,
    .adjoint > .adjoint-img {
        margin-bottom: 30px;
    }
    .maire > .maire-container > .mairie-maire,
    .maire > .maire-container > .maire-contact,
    .adjoint > .adjoint-container > .adjoint-name,
    .adjoint > .adjoint-container > .adjoint-title,
    .adjoint > .adjoint-container > .adjoint-fonction {
        text-align: center;
    }
}



/****************************
*                           *
*   CONSEILLERS MUNICIPAUX  *
*                           *
****************************/

@media only screen and (min-width: 768px) {
    /* Mettre en colonnes */
    #conseillers > .et_pb_text_inner {
        display: flex;
        flex-wrap: wrap;
    }
}

@media only screen and (min-width: 981px) {
    /* Largeur des colonnes */
    #conseillers .conseiller {
        width: 22.75%;
        margin-right: 3%;
        margin-bottom: 50px;
    }
    #conseillers .conseiller:nth-child(4n) {
        margin-right: 0%;
    }
    #conseillers .conseiller:nth-last-child(-n+4) {
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    /* Largeur des colonnes */
    #conseillers .conseiller {
        width: 47.25%;
        margin-right: 5.5%;
        margin-bottom: 50px;
    }
    #conseillers .conseiller:nth-child(2n) {
        margin-right: 0%;
    }
    #conseillers .conseiller:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    #conseillers .conseiller {
        margin-bottom: 30px;
    }
    #conseillers .conseiller:last-child {
        margin-bottom: 0;
    }
}


/****************************
*                           *
*       CR MUNICIPAUX       *
*                           *
****************************/

/* Afficher en ligne */
#mairie-crcm .cr_municipaux,
#cantine-menu .menus-cantine {
    position: relative;
    margin-bottom: 20px;
    background: #f2f9fe;
}
#mairie-crcm .cr-municipaux:last-child,
#cantine-menu .menus-cantine:last-child {
    margin-bottom: 0;
}

/* Afficher un trombone */
#mairie-crcm .cr_municipaux:before,
#cantine-menu .menus-cantine::before {
    content: '\e016';
    font-family: 'ETmodules';
    color: #008ef0;
    position: absolute;
}
/* Background à droite */
#mairie-crcm .cr_municipaux:after,
#cantine-menu .menus-cantine::after,
#job .job::after,
#demarches .demarche:after {
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0,140,240,.15);
}

/* Bouton "Télécharger" */
#mairie-crcm .cr_municipaux > .cr_municipaux-file,
#cantine-menu .menus-cantine > .menus-cantine-file {
    margin-left: auto;
}
.maire-contact > .et_pb_button,
.maire-contact > .et_pb_button:hover,
#mairie-crcm .cr_municipaux > .cr_municipaux-file > a.et_pb_button,
#mairie-crcm .cr_municipaux > .cr_municipaux-file > a.et_pb_button:hover,
#job .job .job-file > a.et_pb_button,
#job .job .job-file > a.et_pb_button:hover,
#cantine-menu .menus-cantine > .menus-cantine-file > a.et_pb_button,
#cantine-menu .menus-cantine > .menus-cantine-file > a.et_pb_button:hover {
    border: none;
    border-radius: 50px;
    padding: 0.6em 1.2em;
    z-index: 1;
}
.maire-contact > .et_pb_button:after,
#mairie-crcm .cr_municipaux > .cr_municipaux-file > a.et_pb_button:after,
#job .job .job-file > a.et_pb_button:after,
#cantine-menu .menus-cantine > .menus-cantine-file > a.et_pb_button::after {
    display: none;
}

@media only screen and (min-width: 768px) {
    /* Afficher en ligne */
    #mairie-crcm .cr_municipaux,
    #cantine-menu .menus-cantine {
        display: flex;
        align-items: center;
        padding: 35px 35px 35px 100px;
    }
    /* Afficher un trombone */
    #mairie-crcm .cr_municipaux:before,
    #cantine-menu .menus-cantine::before,
    #job h2.job-title::before,
    #demarches h2.demarche-title::before {
        font-size: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100px;
        left: 0;
    }
    /* Background à droite */
    #mairie-crcm .cr_municipaux:after,
    #cantine-menu .menus-cantine::after,
    #job .job::after,
    #demarches .demarche:after {
        width: 150px;
    }
    /* Espacement sous le titre */
    #mairie-crcm .cr_municipaux > h2.cr_municipaux-title,
    #cantine-menu .menus-cantine > h2.menus-cantine-title {
        padding-right: 20px;
        padding-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    /* Afficher en ligne */
    #mairie-crcm .cr_municipaux,
    #cantine-menu .menus-cantine {
        padding: 20px 20px 30px;
    }
    #mairie-crcm .cr_municipaux:before,
    #cantine-menu .menus-cantine::before {
        font-size: 30px;
        top: -7px;
        left: -7px;
    }
    /* Background à droite */
    #mairie-crcm .cr_municipaux:after,
    #cantine-menu .menus-cantine::after {
        width: 80px;
    }
    /* Espacement sous le titre */
    #mairie-crcm .cr_municipaux > h2.cr_municipaux-title,
    #cantine-menu .menus-cantine > h2.menus-cantine-title {
        padding-bottom: 25px;
    }
}



/****************************
*                           *
*      OFFRES D'EMPLOI      *
*                           *
****************************/

/* Fond de l'offre */
#job .job,
#demarches .demarche {
    cursor: pointer;
    padding: 35px;
    position: relative;
    margin-bottom: 20px;
    background: #f2f9fe;
}

#job .job:last-child,
#demarches .demarche:last-child {
    margin-bottom: 0;
}

/* Icônes toggle du H2 */
#job h2.job-title::before,
#demarches h2.demarche-title:before {
    content: '\68';
    font-family: 'ETmodules';
    color: #008ef0;
    position: absolute;
}
@media only screen and (min-width: 768px) {
    #job h2.job-title::before,
    #demarches h2.demarche-title:before {
        left: -35px;
    }
    /* Bouton "Voir plus"/"Voir moins" */
    #job h2.job-title::after,
    #demarches h2.demarche-title:after {
        content: 'Voir plus';
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        line-height: 1.2em!important;
        border-radius: 50px;
        padding: 0.6em 1.2em;
        background-image: linear-gradient(to right, #004170, #008ef0)!important;
        position: absolute;
        right: 0;
        z-index: 1;
        transition: .5s all ease;
        top: 50%;
        transform: translateY(-50%);
    }
    #job h2.job-title.open::after,
    #demarches h2.demarche-title.open:after {
        content: 'Voir moins';
    }
}
@media only screen and (max-width: 767px) {
    #job .job,
    #demarches .demarche {
        padding: 20px;
    }
    #job h2.job-title::before,
    #demarches h2.demarche-title:before {
        font-size: 30px;
        top: -27px;
        left: -32px;
    }
    #job h2.job-title,
    #demarches h2.demarche-title {
        padding: 0!important;
        justify-content: center;
    }
}

/* Centrer verticalement le H2 */
#job h2.job-title,
#demarches h2.demarche-title {
    display: flex;
    position: relative;
    cursor: pointer;
    padding: 0 165px 0 65px;
}

/* Aucune offre d'emploi */
#job h2.job-not-found {
    font-weight: 500;
    font-size: 20px;
    color: #000!important;
    text-align: center;
}

/* Contenu */
#job .job > .job-content,
#demarches .demarche > .demarche-contenaire {
    margin-top: 30px;
}
#job .job > .job-content > div:not(.job-postuler, .job-file) {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px dotted #004170;
}
#job .job > .job-content > .job-postuler {
    padding-top: 20px;
}
#job .job > .job-content > .job-file {
    margin-top: 30px;
    text-align: center;
}
#job .job > .job-content > .job-file > a {
    color: #fff!important;
    font-size: 16px;
    text-transform: uppercase;
}



/****************************
*                           *
*         DEMARCHES         *
*                           *
****************************/

/* Marge sous le contenu */
#demarches .demarche .demarche-content {
    margin-bottom: 30px;
}

/* Fichiers joints */
#demarches .demarche .demarche-files {
    border: 1px dotted #004170;
    padding: 15px 30px;
    margin: 10px 0;
}
#demarches .demarche .demarche-files > .demarche-info > a {
    font-family: 'ETmodules';
    float: right;
    color: #004170!important;
}
#demarches .demarche .demarche-file > a > span.demarche-icone {
    font-family: 'ETmodules';
    font-size: 25px;
    padding-right: 20px;
}
@media only screen and (max-width: 767px) {
    #demarches .demarche .demarche-files {
        padding: 15px;
    }
}


/****************************
*                           *
*       ASSOCIATIONS /      *
*       ENTREPRISES /       *
*       HEBERGEMENTS /      *
*           ECOLES          *
*                           *
****************************/

/* Espacement + bordure entre chaque asso */
#asso .asso,
#hebergement .hebergement,
#entreprise .entreprise,
#ecoles .ecole {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dotted #004170;
}
#asso .asso:first-child,
#hebergement .hebergement:first-child,
#entreprise .entreprise:first-child,
#ecoles .ecole:first-child {
    padding-top: 0;
}
#asso .asso:last-child,
#hebergement .hebergement:last-child,
#entreprise .entreprise:last-child,
#ecoles .ecole:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Espacement au dessus des H2 */
#entreprise .header-entreprise:nth-child(n+2),
#ecoles .header-ecole:nth-child(n+2) {
    padding-top: 30px;
}

/* Espacement sous le H2 */
#entreprise .header-entreprise > h2,
#ecoles .header-ecole > h2 {
    margin-bottom: 10px;
}

/* Décoration du H2 */
#entreprise .header-entreprise > h2:after,
#ecoles .header-ecole > h2:after {
    content: '';
    position: absolute;
    background-image: linear-gradient(90deg,#004170 0%,#008ef0 75%);
    border-radius: 50px 50px 50px 50px;
    height: 5px;
    width: 100%;
    left: 0;
    margin-top: 65px;
}

/* Espacement sous le titre CPT */
#asso .asso > h2.asso-title,
#hebergement .hebergement > h2.hebergement-title,
#entreprise .entreprise > h3.entreprise-title,
#ecoles .ecole > h3.ecole-title {
    padding-bottom: 20px;
}

/* Image asso */
#asso .asso > .asso-container > .asso-img img,
#hebergement .hebergement > .hebergement-container > .hebergement-img img,
#entreprise .entreprise > .entreprise-container > .entreprise-img img,
#ecoles .ecole > .ecole-container > .ecole-img img {
    border-radius: 10px;
    box-shadow: 0 2px 18px 0 rgba(0,0,0,.2);
}

/* Espacement sous les blocs "contact" et "adresse" */
#asso .asso > .asso-container > .asso-content > .asso-contact,
#asso .asso > .asso-container > .asso-content > .asso-contact > .asso-address,
#hebergement .hebergement > .hebergement-container > .hebergement-content > .hebergement-contact,
#hebergement .hebergement > .hebergement-container > .hebergement-content > .hebergement-contact > .hebergement-address,
#entreprise .entreprise > .entreprise-container > .entreprise-content > .entreprise-contact,
#entreprise .entreprise > .entreprise-container > .entreprise-content > .entreprise-contact > .entreprise-address,
#ecoles .ecole > .ecole-container > .ecole-content > .ecole-contact,
#ecoles .ecole > .ecole-container > .ecole-content > .ecole-contact > .ecole-address {
    padding-bottom: 10px;
}

/* Heuteur des RS */
#asso .asso > .asso-container > .asso-content > .asso-contact > .asso-rs,
#hebergement .hebergement > .hebergement-container > .hebergement-content > .hebergement-contact > .hebergement-rs,
#entreprise .entreprise > .entreprise-container > .entreprise-content > .entreprise-contact > .entreprise-rs {
    height: 30px;
}

/* Taille des icônes Rs */
img.rs-facebook,
img.rs-twitter,
img.rs-linkedin {
    width: 30px;
}


@media only screen and (min-width: 981px) {
    /* Asso sur 2 colonnes */
    #asso .asso > .asso-container,
    #hebergement .hebergement > .hebergement-container,
    #entreprise .entreprise > .entreprise-container,
    #ecoles .ecole > .ecole-container {
        display: flex;
    }
    /* Largeur des colonnes + centrer l'image horizontalement */
    #asso .asso > .asso-container > .asso-img,
    #hebergement .hebergement > .hebergement-container > .hebergement-img,
    #entreprise .entreprise > .entreprise-container > .entreprise-img,
    #ecoles .ecole > .ecole-container > .ecole-img {
        display: flex;
        justify-content: center;
    }
    /* Largeur des colonnes + centrer l'image horizontalement */
    #asso .asso > .asso-container > .asso-img,
    #hebergement .hebergement > .hebergement-container > .hebergement-img,
    #entreprise .entreprise > .entreprise-container > .entreprise-img,
    #ecoles .ecole > .ecole-container > .ecole-img {
        width: 50%;
        margin-right: 2%;
    }
    #asso .asso > .asso-container > .asso-content,
    #hebergement .hebergement > .hebergement-container > .hebergement-content,
    #entreprise .entreprise > .entreprise-container > .entreprise-content,
    #ecoles .ecole > .ecole-container > .ecole-content {
        width: 48%;
    }
}
@media only screen and (max-width: 980px) {
    #asso .asso > .asso-container > .asso-img,
    #hebergement .hebergement > .hebergement-container > .hebergement-img,
    #entreprise .entreprise > .entreprise-container > .entreprise-img,
    #ecoles .ecole > .ecole-container > .ecole-img {
        margin-bottom: 8px;
    }
}



/****************************
*                           *
*         ACTUALITES        *
*                           *
****************************/

/* Mettre tous les articles dans une seule colonne */
.blog .et_pb_salvattore_content[data-columns]::before {
    content: '1 .column.size-1of1' !important;
}
@media only screen and (min-width: 768px) {
    #actu-blog.blog .column,
    #search-blog.blog .column {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
}

/* Largeur des articles */
@media only screen and (min-width: 981px) {
    #actu-blog.blog article,
    #search-blog.blog article,
    .tribe-common article {
        width: 31%!important;
        margin-right: 3.5%;
        margin-bottom: 40px!important;
    }
    #actu-blog.blog article:nth-child(3n),
    #search-blog.blog article:nth-child(3n),
    .tribe-common article:nth-child(3n) {
        margin-right: 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 980px) {
    #actu-blog.blog article,
    #search-blog.blog article,
    .tribe-common article {
        width: 48%!important;
        margin-right: 4%;
        margin-bottom: 4%!important;
    }
    #actu-blog.blog article:nth-child(2n),
    #search-blog.blog article:nth-child(2n),
    .tribe-common article:nth-child(2n) {
        margin-right: 0;
    }
}
@media only screen and (max-width: 767px) {
    #actu-blog.blog article,
    #search-blog.blog article,
    .tribe-common article {
        width: 100%!important;
        margin-right: 0;
        margin-bottom: 30px!important;
    }
}

/* Padding de l'article */
.blog article,
.tribe-common article {
    padding: 0!important;
    cursor: pointer;
}

/* Marge sous image */
.blog article .et_pb_image_container,
.blog article .et_pb_image_container > a {
    margin-bottom: 0;
}

/* Effet sur l'image */
.blog article a.entry-featured-image-url,
.tribe-common article,
.tribe-common article a.tribe-events-pro-photo__event-featured-image-link {
    overflow: hidden;
}
.blog article img,
.tribe-common article img {
    transition: all 2s;
}
.blog article:hover img,
.tribe-common article:hover img {
    transform: scale(1.05)rotate(1deg);
    filter: grayscale(1);
}

/* Espacement du titre et des meta */
.blog article {
    position: relative;
}
.blog article .title_plus_meta {
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(0deg, #004170 30%, transparent);
    padding-top: 25px;
}

/* Titre de l'article */
.blog article .title_plus_meta > .entry-title {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
}

/* Meta */
.blog article .title_plus_meta > p.post-meta {
    line-height: 1.3em;
    margin-bottom: 0;
    padding: 5px 0;
}

/* Navigation */
.blog .pagination,
.tribe-events-pro-photo-nav {
    padding: 20px 0!important;
    border-top: 1px dotted #004170!important;
    border-bottom: 1px dotted #004170!important;
}
.blog .pagination a {
    font-size: 14px;
}



/****************************
*                           *
*           AGENDA          *
*                           *
****************************/

/* Supprimer les puces et l'icône de récurrence */
.tribe-common li:before,
.tribe-common a.tribe-events-pro-photo__event-datetime-recurring-link {
    display: none;
}

/* Hauteur, padding et marge du module */
.tribe-common .tribe-common-l-container.tribe-events-l-container {
    min-height: 0!important;
    padding: 0!important;
}
.tribe-common .tribe-common-g-row {
    margin: 0!important;
}

/* Radius + Ombre */
.tribe-common article {
    border-radius: 10px;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 20%);
    background-color: #fff;
}
.tribe-common article img {
    border-radius: 10px 10px 0 0;
}
.tribe-common article .tribe-events-pro-photo__event-title {
    border-bottom-right-radius: 10px;
}

/* Effet sur l'image */
.tribe-common article a.tribe-events-pro-photo__event-featured-image-link {
    border-radius: 10px 10px 0 0;
}

/* Opacité de l'image en hover */
.tribe-common article a.tribe-events-pro-photo__event-featured-image-link:hover {
    opacity: 1!important;
}

/* Police */
.tribe-common article .tribe-events-pro-photo__event-date-tag-month,
.tribe-common article .tribe-events-pro-photo__event-date-tag-daynum.tribe-common-h5.tribe-common-h4--min-medium,
.tribe-common article .tribe-events-pro-photo__event-datetime.tribe-common-b2,
.tribe-common article .tribe-events-pro-photo__event-cost.tribe-common-b3,
.tribe-common article h3.tribe-common-h6,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__prev-label,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__next-label {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
}

/* Couleur */
.tribe-common article .tribe-events-pro-photo__event-date-tag-month,
.tribe-common article .tribe-events-pro-photo__event-date-tag-daynum.tribe-common-h5.tribe-common-h4--min-medium,
.tribe-common article .tribe-events-pro-photo__event-datetime.tribe-common-b2,
.tribe-common article .tribe-events-pro-photo__event-cost.tribe-common-b3 {
    color: #fff!important;
}

/* Grosseur du texte */
.tribe-common article .tribe-events-pro-photo__event-date-tag-month,
.tribe-common article .tribe-events-pro-photo__event-datetime.tribe-common-b2,
.tribe-common article .tribe-events-pro-photo__event-cost.tribe-common-b3,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__prev-label,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__next-label {
    font-weight: 500!important;
}

/* Prix de l'événement */
.tribe-common article .tribe-events-pro-photo__event-cost.tribe-common-b3 {
    font-size: 14px;
    margin-top: 0;
}

/* Afficher les méta et titre sur le bas de l'image */
.tribe-common article {
    position: relative;
}
.tribe-common article > .tribe-events-pro-photo__event-details-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(0deg, #004170 30%, transparent);
    padding-top: 25px;
    padding-bottom: 5px;
}

/* Centrer la date horizontalement */
.tribe-common article .tribe-events-pro-photo__event-date-tag {
    margin-left: auto;
    margin-right: auto!important;
    width: 45px;
}

/* Inversion de la date */
.tribe-common article .tribe-events-pro-photo__event-date-tag-datetime {
    flex-direction: column-reverse!important;
}
.tribe-common article .tribe-events-pro-photo__event-date-tag-daynum.tribe-common-h5.tribe-common-h4--min-medium {
    line-height: 1em!important;
}

/* Espacement  à droite du détail de l'événement (heure et titre) */
.tribe-common article .tribe-events-pro-photo__event-details {
    padding-right: 5px;
}

/* Titre de l'événement */
.tribe-common article h3.tribe-common-h6 {
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2em!important;
}

/* Bordure en hover */
.tribe-common article h3 > a.tribe-events-pro-photo__event-title-link:active,
.tribe-common article h3 > a.tribe-events-pro-photo__event-title-link:focus,
.tribe-common article h3 > a.tribe-events-pro-photo__event-title-link:hover {
    border-bottom: transparent!important;
}

/* Navigation */
@media only screen and (max-width: 767px) {
    .tribe-common .tribe-events-pro-photo-nav > .tribe-events-c-nav__list {
        display: inline-block;
    }
    .tribe-common .tribe-events-pro-photo-nav > .tribe-events-c-nav__list > .tribe-events-c-nav__list-item {
        width: 100%;
    }
}
.tribe-common .tribe-events-pro-photo-nav > .tribe-events-c-nav__list > .tribe-events-c-nav__list-item.tribe-events-c-nav__list-item--today {
    display: none
}

.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__prev-label,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__next-label {
    color: #008ef0;
    font-size: 14px;
}
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__prev-label,
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__next-label {
    visibility: collapse;
}
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__prev-label::before {
    content: '« Évènements précédents';
    visibility: visible;
}
.tribe-common .tribe-events-pro-photo-nav .tribe-events-c-nav__next-label::after {
    content: 'Évènements suivants »';
    visibility: visible;
}
.tribe-common .tribe-events-pro-photo-nav svg  {
    display: none;
}



/****************************
*                           *
*          CONTACT          *
*                           *
****************************/

@media only screen and (min-width: 768px) {
    /* Mettre les champs sur 2 colonnes */
    .forminator-row:nth-child(-n+3) {
        display: flex;
    }
    /* Largeur des champs */
    .forminator-row:nth-child(-n+3) > .forminator-col {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 0!important;
    }
    .forminator-row:nth-child(-n+3) > .forminator-col:last-child {
        margin-right: 0;
    }
}
@media only screen and (max-width: 767px) {
    /* Espacement sous les champs */
    .forminator-row:nth-child(-n+3) > .forminator-col:first-child {
        margin-bottom: 10px!important;
    }
    /* Nom des fichiers téléchargés sous le bouton de téléchargement */
    .forminator-file-upload {
        flex-direction: column;
        align-items: baseline!important;
    }
}

/* Espacement sous les champs */
.forminator-row:nth-child(-n+3) {
    margin-bottom: 10px!important;
}
.forminator-row.forminator-row-last {
    margin-bottom: 0!important;
}

/* Placement du compteur de caractère à côté du titre du champ */
.forminator-field {
    position: relative;
}
.forminator-field > span.forminator-description {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0!important;
}

/* Couleur des titres */
.forminator-label,
.et-db #et-boc .et_pb_module.forminator-label,
.forminator-file-upload > span,
.et-db #et-boc .et_pb_module.forminator-file-upload > span {
    font-weight: 500!important;
}
.forminator-label,
.et-db #et-boc .et_pb_module.forminator-label {
    padding-left: 10px;
}

/* Champs */
.forminator-field input,
.forminator-field textarea {
    border-radius: 10px!important;
    font-size: 15px!important;
    font-weight: 500!important;
}

/* Masquer le titre RGPD */
#gdprcheckbox-1 .forminator-field .forminator-label {
    display: none!important;
}

/* Texte du champs RGDP */
#gdprcheckbox-1 .forminator-field p {
    font-size: 12px;
    font-weight: 500!important;
}
#gdprcheckbox-1 .forminator-field p:after {
    content: ' *';
    color: #008ef0;
}

/* Bouton */
.forminator-custom-form #submit {
    text-align: center;
}
.forminator-button.forminator-button-submit {
    border-width: 0px!important;
    border-radius: 50px!important;
    font-size: 16px!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
    padding: .6em 1.2em!important;
}
.contact-form-inscription .forminator-button.forminator-button-submit {
    font-size: 15px;
}

/* Hover sur tous les boutons */
.forminator-button:hover {
    box-shadow: none!important;
}
