body,
html {
    overflow-x: hidden;
}

body {
    background: var(--color__blanc);
}

body.preload * {
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

#page.vvv_fadeinload {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    -webkit-transition: opacity 0.8s ease-in-out;
    -moz-transition: opacity 0.8s ease-in-out;
    -ms-transition: opacity 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-in-out;
}

.site {
    overflow: hidden;
}

.site-main,
.entry-content > *:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 50px;
    margin-bottom: 50px; */
    max-width: var(--content_width);
}

h1,
h2,
h3,
h4,
h5,
b,
s,
a {
    font-family: var(--font__titles);
    color: var(--color__noir);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    /*text-transform: uppercase;*/
    font-family: 'Roboto';
}

li a {
    font-family: 'Roboto';
}

li::marker {
    color: var(--color__1);
}


h1 {
    font-size: 4rem;
    text-align: center;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.2rem;
}

ul {
    margin-left: 0;
    font-size: 1.3rem;
}

li .rouge::marker {color:red;} !important;

.btn {
    width: 100%;
    background-color: var(--color__background_button);
    border-color: var(--color__border_button);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: var(--color__background_button_hover);
    border-color: var(--color__border_button_hover);
}

.scale {
    transition: 0.25s;
}

.scale:hover {
    transform: scale(0.95);
}

/*********************
* HEADER ********************
*********************/

#wp-admin-bar-edit {
    display: none !important;
}

/*******************************
**** NAVIGATION MATT ***********
********************************/

/** Burger Icon mobile menu **/
#togglemenu {
    cursor: pointer;
    z-index: 9999;
    position: relative;
    display: inline-block;
    margin-right: 50px;
    width: 100%;
    text-align: right;
    margin-top: -20px;
}

@media screen and (min-width: 992px) {
    #togglemenu {
        display: none;
    }
}

#togglemenu svg {
    transition: visibility 0s, max-height 0.15s, opacity 0.5s linear;
    position: absolute;
}

/* @media screen and (min-width: 681px) {
	#togglemenu svg {
		position: unset;
	}
} */

#togglemenu.active svg#burger {
    transform: scaleX(-1);
}

#togglemenu:not(.active) svg#burger,
#togglemenu.active svg#closemenu {
    visibility: visible;
    opacity: 1;
    max-width: 27px;
    width: 27px;
}

#togglemenu:not(.active) svg#closemenu,
#togglemenu.active svg#burger {
    visibility: hidden;
    opacity: 0;
    max-width: 0;
    margin: 0;
}

#togglemenu.active span {
    color: var(--color__blanc);
}

#popout {
    position: fixed;
    font-family: 'Roboto';
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    background: var(--color__blanc);
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    padding: 4em 2em;
    overflow: auto;
    transition: opacity 0.8s, visibility 0.8s;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#popout::-webkit-scrollbar {
    display: none;
    /* Chrome & Safari */
}

@media screen and (min-width: 992px) {
    #popout {
        position: unset;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        padding: 0;
    }
}

#popout.opened {
    visibility: visible;
    opacity: 1;
}

#popout ul {
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 0;
    flex-direction: column;
}

@media screen and (min-width: 992px) {
    #popout ul {
        flex-direction: row;
    }
}

#popout ul li {
    display: block;
    padding: 0.5em 0.8em;
    position: relative;
}

#popout > ul > li:not(:last-of-type)::after {
    content: '';
}

@media screen and (min-width: 992px) {
    #popout > ul > li:not(:last-of-type)::after {
        /* content: '|';*/
        position: absolute;
        top: 18%;
        margin: auto 0;
        right: 0;
        display: flex;
    }
}

#popout ul li a {
    color: var(--color__link_menu);
    text-decoration: none;
}

#popout ul li a:hover {
    color: var(--color__link_menu_hover);
    background: transparent;
}

#popout ul li a:focus {
    outline: none;
}

/*********************
* NAVIGATION ********************
*********************/

.navbar {
    margin: auto;
    z-index: 999;
    padding-left: 0;
    padding-right: 0;
    padding: 1rem 1rem;
}

.logo-link-mobil {
    display: none;
}

.logo-link-screen {
    height: 50px;
    /* taille du logo dans le menu */
    padding: 1rem;
}

.logo-link-screen img {
    height: 50px;
    /* taille du logo dans le menu */
    width: auto;
    margin-right: 2rem;
}

.navbar-collapse {
    background-color: white;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transition: 0.25s;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: relative;
    width: 100%;
    border: none;
    border-radius: 0;
    min-width: 200px;
    margin: 0;
    padding: 1em 0;
}

@media screen and (min-width: 992px) {
    .dropdown-menu.show {
        position: absolute;
    }
}

.megamenu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    padding: 15px;
}

.megamenu-li {
    position: static;
}

.dropdown-item {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1.1em;
}

.dropdown-item:active {
    background-color: var(--color__link_text);
}

.page-item.active .page-link {
    background-color: var(--color__link_text);
    border-color: var(--color__link_text);
}

.page-link:hover {
    color: var(--color__link_text_hover);
}

/** WP file Buttons */
.wp-block-file__button {
    background: var(--color__1);
    color: var(--color__blanc);
}

.wp-block-file__button:hover {
    background: var(--color__noir);
    color: var(--color__blanc);
}

/*********************
******* Home  ********
*********************/
.colonnes_icones_home .m_columns__column {
    text-align: center;
}

.colonnes_icones_home .m_columns__column i {
    font-size: 5em;
}

.colonnes_icones_home .m_columns__column a,
.colonnes_icones_home .m_columns__column a:visited {
    color: var(--color__noir);
}

.colonnes_icones_home .m_columns__column a h4 {
    transition: all 0.3s;
}

.colonnes_icones_home .m_columns__column a:hover,
.colonnes_icones_home .m_columns__column a:hover h4 {
    color: var(--color__1);
    text-decoration: none;
}

.box-edito .m_columns__column:nth-of-type(1) {
    text-align: center;
}

.box-news h2 {
    margin: 1em auto;
    text-align: center;
}

.home_bloc_galerie_title {
    margin-top: 2em;
    text-align: center;
}

.home_bloc_galerie {
    margin-top: 4em;
    margin-bottom: 2em;
    display: grid;
    grid-template-columns: 1fr;

    @media screen and (min-width: 992px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.home_bloc_galerie .img-galerie {
    opacity: 0.8;
    transition: all 0.3s;
}

.home_bloc_galerie .img-galerie:hover {
    opacity: 1;
}

/** Page Menu de la semaine **/
a.wp-block-button__link.has-color-1-background-color:hover {
    color: var(--color__noir);
}

/*********************
* SLIDER ********************
*********************/

.box-slider a {
    position: relative;
    display: inline-block;
}

.tab-slider {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-slider {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-slider {
    font-size: 4rem;
    text-transform: uppercase;
    line-height: 1;
    color: var(--color__blanc);
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.content-slider {
    font-size: 2rem;
    line-height: 1.5;
    color: var(--color__blanc);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.img-slider {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 550px;
}

.slick-dots {
    bottom: 25px;
}

.slick-dots li button::before {
    opacity: 1;
    color: var(--color__blanc);
}

.slick-dots li.slick-active button::before {
    opacity: 1;
    color: var(--color__link_text);
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}


.bandeau_bottom_slider {
    background-color: var(--color__1);
    color: var(--color__blanc);
    padding: 0.5em 1em;
    font-size: 1.5em;
    text-align: center;
    font-weight: 700;
    margin-top: -10px;
}

.bandeau_bottom_slider:hover {
    background-color: #ecbc15;
}


/*********************
**** Bouton PDF ******
*********************/
.wp-block-file:not(.wp-element-button) {
    font-size: .8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100px;
}

.wp-block-file__button.wp-element-button {
    background: url('/wp-content/themes/devn124/img/pdf_icon.png');
    width: 60px;
    height: 80px;
    background-size: cover;
    border-radius: 0;
    font-size: 0;
}

/*********************
* ACCUEIL ********************
*********************/

.link-event {
    display: block;
    position: relative;
}

.tab-event {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
}

.cell-event {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.title-event {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.75);
}

.bg-news {
    background-color: var(--color__link_text);
}

.div-cc {
    border-radius: 1rem;
    background-color: var(--color__link_text);
    text-align: center;
}

.div-cc h1,
.div-cc h2,
.div-cc h3,
.div-cc h4,
.div-cc h5,
.div-cc h6 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.div-cc p {
    color: white;
    padding-bottom: 15px;
}

.icon-cc {
    font-size: 4rem;
    color: white;
}

/*********************
*** Box Partenaires ***
*********************/
.box-partenaires .list_partenaires {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 2.5em;
    margin-right: 2.5em;
}

.box-partenaires .list_partenaires a {
    flex: 1 0 auto;
    text-align: center;
    opacity: 1;
    padding: 1em;
}

.box-partenaires .list_partenaires a:hover {
    opacity: 0.85;
}

.box-partenaires .list_partenaires a img {
    height: 120px;
    width: auto;
}

/*********************
* CONTACT ********************
*********************/

.map-contact iframe {
    height: 635px;
}

.txt-contact {
    font-size: 1rem;
}

/*********************
* ACCESSIBILITÉ ********************
*********************/

.img-acces {
    display: inline;
    width: 100px;
    margin-right: 10px;
    float: left;
}

/*********************
* ARCHIVE ********************
*********************/

.nav-filter-archive {
    text-align: center;
}

.nav-filter-archive li {
    list-style: none;
    display: inline;
    margin-right: 10px;
}

.link-archive,
.link-galerie {
    overflow: hidden;
    position: relative;
    display: block;
}

.content_loop_actu a.content_loop_actu_title {
    text-align: center;
    font-weight: 700;
    font-size: 1.5em;
    margin: 0.5em auto;
    display: block;
}

.content_loop_actu a.content_loop_actu_title:hover {
    color: var(--color__1);
}


a.lireplus {
    color: var(--color__blanc);
    text-align: center;
    background-color: var(--color__1);
    display: block;
    margin-top: 1em;
}

a.lireplus:hover {
    color: var(--color__blanc);
    background-color: var(--color__noir);
}

.img-archive,
.img-galerie {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 250px;
}

.pagination {
    margin: 0;
}

.title-archive py-2 px-2 {
    text-align: center;
    font-weight: 700;
    font-size: 1.5em;
    margin: 0.5em auto;
    display: block;
}


/*********************
* CONTENT ARCHIVE ********************
*********************/

.nav-archive {
    font-size: 1.2rem;
}

.nav-archive a {
    width: auto;
    background-color: var(--color__link_text);
    border-color: var(--color__link_text);
    color: var(--color__blanc) !important;
    font-size: 1.2rem;
    display: inline-block;
    font-weight: 400;
    border-radius: .25rem;
    padding: .375rem .75rem;
    line-height: 1.5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.nav-archive a:hover {
    background-color: #153045;
    border-color: #153045;
    text-decoration: none;
}

.img-archive:hover {
    transition: 0.5s ease;
    opacity: 0.85;
    transform: rotate(-4deg) scale(1.2);
}

.img-archive none:hover {
    transition: none;
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/*********************
* FOOTER ********************
*********************/
.bloc-footer-map {
    max-height: 400px;
}

.bloc-footer-map iframe {
    width: 100%;
    max-height: 400px;
}

.bloc_citation {
    background: var(--color__2);
    color: var(--color__blanc);
    padding: 2em;
    display: block;
}


.icon-footer {
    color: white !important;
    transition: 0.25s;
}

.icon-footer:hover {
    color: var(--color__noir) !important;
}

.icon-footer i {
    font-size: 3rem;
    margin-right: 0.2em;

}


@media screen and (min-width: 992px) {
    .bloc_citation {
        display: flex;
    }
}


.bloc_citation_title {
    width: 100%;
    margin-left: auto;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .bloc_citation_title {
        width: 30%;
        margin-left: 3em;
        text-align: left;
    }
}

.bloc_citation_title h3 {
    color: var(--color__blanc);
    font-size: 2em;
}

.bloc_citation_citation {
    display: flex;
    align-items: center;
}

.bloc_citation_citation .bi.bi-quote::before {
    font-size: 8em;
    margin-right: -30px;
}

.bloc_citation_citation .wp-block-quote {
    margin-top: 1em;
}

.bloc_citation_citation .wp-block-quote p {
    font-style: italic;
    font-size: 2em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.bloc_citation_citation .wp-block-quote > cite {
    font-style: normal;
}

.footer_mentions {
    text-align: center;
    margin: 1em auto;
}

/* Supprimer les marges entre les blocs Gutenberg */
.wp-block {
    margin-bottom: 0;
}

/* Ajustement supplémentaire pour les paragraphes */
.wp-block-paragraph {
    margin-top: 0;
    margin-bottom: 0;
}

/* Suppression des marges entre les listes */
.wp-block-list {
    margin-top: 0;
    margin-bottom: 0;
}


/*********************
* RESPONSIVE ********************
*********************/
/*
@media (max-width: 575px) {
    .box-news {
        width: auto;
        margin: auto;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .box-news {
        width: 540px;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .box-news {
        width: 720px;
        margin: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box-news {
        width: 960px;
        margin: auto;
    }
}

@media (min-width: 1200px) {
    .box-news {
        width: 1140px;
        margin: auto;
    }
}*/

@media (max-width: 991px) {
    .navbar {
        margin: auto;
        min-height: 80px;
    }

    /* .navbar-collapse{
        padding-top: 1rem;
        padding-bottom: 1rem;
        transition: 0.25s;
    } */

    .navbar-toggler {
        margin-right: 0.5rem;
    }

    .logo-link-mobil {
        display: block;
        height: calc(100px - 1rem);
        margin-left: 0.5rem;
    }

    .logo-link-mobil img {
        height: calc(100px - 1rem);
        width: auto;
    }

    .logo-link-screen {
        display: none !important;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-archive {
        font-size: 1rem;
    }

    .nav-archive a {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .title-slider {
        font-size: 2rem;
        line-height: 1;
    }

    .content-slider {
        font-size: 1rem;
        line-height: 1.5;
    }

    .title-event {
        font-size: 2rem;
    }

    .title-archive {
        top: 0px;
        font-size: 1.5rem;
    }

    .content-archive {
        bottom: 0px;
        font-size: 1rem;
    }
}
