body {
    margin: 0;
    font-family: var(--ff-primary);
}

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-family: var(--ff-bold-primary);
}

#main-nav a.actuel {
    color: var(--color-secondary) !important;
}

.grid_children {
    display:grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr;
}

.grid_children.gridcount_1  {
    grid-template-columns: 1fr;
}

figure.item-travaux img {
    height: 400px !important;
    width: 100%;
    object-fit: cover;
    display: block;
}
figure.item-travaux .legende {
    position: absolute;
    left:0;
    top:0;
    right: 0;
    bottom:0;


    text-align: center;
}

figure.item-travaux .legende a {
    background-color: rgba(255,255,255,0.8); 

    display: grid;
    align-items: center;
    opacity:0;
    transition: linear 0.25s all;
    border: 1px solid #fff;
}

figure.item-travaux:hover .legende a {
    opacity: 1;
    border: 1px solid var(--color-gray-10);
}

.travaux .bande-travaux.border-bottom-1:last-child {
    border-bottom-width: 0 !important;
}

.img-fill {
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.sfw-form .editer {
    margin-bottom: 1em;
}

.sfw-form .message_retour_defaut {
    border: 1px solid var(--color-gray-50);
    padding: 1rem 1rem 0 1rem;
    font-family: var(--ff-bold-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    background-color: var(--color-gray-5);
    font-size: 1.2em;;
}

/*
MEDIA QUERIES - - - - 
*/
@media (min-width:768px) {
    .maxw_text {
        max-width: 80%;
    } 
    .maxw_text_center {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width:992px) {
    .maxw_text {
        max-width: 50em;
    }

    .maxw_text_center {
        max-width: 50em;
        margin-left: auto;
        margin-right: auto;
    }

    .grid_children {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width:1200px) {
    .maxw_text {
        max-width: 50em;
    }
}

@media (min-width:1400px) {
    .maxw_text {
        max-width: 50em;
    }
}