* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    image-orientation: none;
}

html {
    overflow-y: scroll !important;
}

body {
    font-family: "Fira Sans", sans-serif;
    font-size: 20px; 
    color: #000000;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

@media (max-width:600px) {
    body {
        font-size: 16px;
    }
}


html {height: 100%;}

.wrapper-header{
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 1000000000;
    margin: 0 auto;
    font-size: 20px;
    background: #fff;
    color: #2F6AA2;

    max-width: calc(1780px + 40px);
    padding: 0 20px;
}

/* HEADER LOGO */
.wrapper-header div.logo {
    font-size: 1em;
    flex-shrink: 0;

    margin-bottom: -4em;
    margin-left: 1.5em;
}

.wrapper-header a.logo {
    text-decoration: none;
    color: currentColor;
    position: relative;
    display: inline-block;
    vertical-align: top;
    background-color: #fff;
    padding: 1em 0.5em 1em 1em;

    border-radius: 0 0 1.5em 1.5em;
    box-shadow: 0 0.25em 1.5em rgba(0, 0, 0, 0.2);

}

.wrapper-header div.logo img {
    vertical-align: top;
    width: 9em;
}

.header-top {
    position: absolute;
    top: 0;
    right: 20px;
}

.header-top-inner {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.header-top-inner img {
    width: 3em;
    vertical-align: top;
}


.header-bottom {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    margin-top: auto;
}


/* MENU */
.wrapper-menu {
    text-align: center;
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;
}
.wrapper-menu .menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}
.wrapper-menu .menu > li{
    position: relative;
    z-index: 10;
}

.wrapper-menu .menu a,
.wrapper-menu .menu span{
    font-weight: 600;
    font-size: 1.2em;
    line-height: 1.2;
    font-family: "Fira Sans Extra Condensed", sans-serif;
    color: #2F6AA2;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 1em 1em 1.2em;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;

    transition: color 0.2s ease;
}

.wrapper-menu .menu-item > a::before,
.wrapper-menu .menu-item > span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.4em;
    background: #2F6AA2;

    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
/* ON HOVER */
.wrapper-menu .menu-item:is(:hover, :focus-within) > a::before,
.wrapper-menu .menu-item:is(:hover, :focus-within) > span::before {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
}


/* ON SELECTED */
.wrapper-menu .menu-item.selected > a,
.wrapper-menu .menu-item.selected > span {
    color: #961918;
}
.wrapper-menu .menu-item.selected > a::before,
.wrapper-menu .menu-item.selected > span::before {
    opacity: 1;
    transform: scaleX(1);
    background: #961918;
}


.wrapper-menu .menu-item.selected .menu-arrow {
    filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(2788%) hue-rotate(350deg) brightness(86%) contrast(95%);
}


.wrapper-menu .menu .menu-arrow {
    display: flex;
} 
.wrapper-menu .menu .menu-arrow img{
    vertical-align: middle;
    margin-left: 0.15em;
    width: 0.6em;
}

.wrapper-menu .sousmenu{
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    list-style: none;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);

}


.wrapper-menu .sousmenu a{
    color: #2F6AA2;
    font-variation-settings: "wdth" 75;
    text-decoration: none;
    padding: 0.6em 0.7em;
    text-transform: uppercase;
    text-align: left;
    display: block;
    line-height: 1.15;
    font-size: 1em;
    font-weight: 600;
    border-radius: 0;
    transition: none;
}

.wrapper-menu .sousmenu a:hover{
    background: rgba(47, 106, 162, 0.7);
    color: #fff;
}

.wrapper-menu .sousmenu .selected a {
    background: #961918;
    color: #fff;
}

.wrapper-menu .menu li:is(:hover, :focus-within) > ul{
    display: block;
}


.wrapper-menu .sousmenu a em {
    font-size: 0.8em;
    font-weight: 300;
    font-style: normal;
}


/* BURGER */
.wrapper-header .burger-btn{
    position: absolute;
    bottom: 1em;
    right: 0;
    font-size: 1em;
    width: 40px;
    height: 40px;
    padding: 15px;
    background: transparent;
    border-radius: 0;
    border: 2px solid #961918;
    display: none;
    cursor: pointer;
    z-index: 100000;
    align-self: center;
    transition: background 0.2s ease;
}
.wrapper-header  .burger-btn .line{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: inline-block;
    width: 16px;
    height: 2px;
    background: #961918;

    transition: transform 0.2s ease;
}


.wrapper-header .burger-btn .line:first-child{
    transform: translate(-50%, -8px); /* 8px + 2px de la hauteur*/
}
.wrapper-header .burger-btn .line:last-child{
    transform: translate(-50%, 6px);
}
.wrapper-header.open .burger-btn .line:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}
.wrapper-header.open .burger-btn .line:nth-child(2){
    transform: translate(-50%, -50%) scaleX(0);
}
.wrapper-header.open .burger-btn .line:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}


@media (max-width: 1650px) {
    .wrapper-header {
        font-size: 19px;
    }
}
@media (max-width: 1550px) {
    .wrapper-header {
        font-size: 18px;
    }
}
@media (max-width: 1450px) {
    .wrapper-header {
        font-size: 17px;
    }
}
@media (max-width: 1380px) {
    .wrapper-header {
        font-size: 16px;
    }
    .wrapper-menu .menu-item > a, .wrapper-menu .menu-item > span {
        padding: 1em 0.8em 1.2em;
    }
}
@media (max-width: 1230px) {
    .wrapper-header {
        font-size: 15px;
    }
}
@media (max-width: 1160px) {
    .wrapper-header {
        font-size: 14px;
    }
}
@media (max-width: 1100px) {
    .wrapper-menu .menu-item > a, .wrapper-menu .menu-item > span {
        padding: 1em 0.5em 1.2em;
    }
}
@media (max-width: 1040px) {
 
    .wrapper-menu {
        padding-right: 10px;
    }
    
    .wrapper-header:not(.showslidemenu),
    .wrapper-header:not(.showslidemenu) .wrapper-menu{
        transition: none;
    }

    body.nav-open{
        height: 100vh;
        height: 100dvh;
        overflow-y: hidden;
    }

    .wrapper-header .burger-btn{
        display: block;
    }

    .wrapper-header .wrapper-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 100000;
        background-color: rgba(0, 0, 0, 0.5);
        width: 100%;
        opacity: 0;
        padding: 0;
        transition: opacity 0.2s ease;
        opacity: 0;
        pointer-events: none; 
        height: 100vh;      
        height: 100dvh;  
        margin-top: 0;    
        font-size: 20px;
    } 

    .wrapper-header.open .wrapper-menu{
        opacity: 1;
        pointer-events: all;
        font-size: 16px;
    }

    .wrapper-header .wrapper-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 10px 100px 10px 10px;
        height: 100%;
        background: #fff;
        transform: translateX(100%);
        min-width: 240px;
        transition: transform 0.2s ease-out;
        transform-origin: top right;
        max-width: 350px;
        margin-left: auto; 
        overflow: auto;
    }
    .wrapper-header.open .wrapper-menu .menu {
        transform: translateX(0);
        counter-reset: menu-item;
    }

    .wrapper-header .wrapper-menu .menu a,
    .wrapper-header .wrapper-menu .menu span {
        padding: 0.5em 1em;
        width: 100%;
        text-align: left;
        height: auto;
        counter-increment: menu-item;
        font-size: 1em;
    }

    .wrapper-header .menu > li {
        width: 100%;
    }
    .wrapper-header .wrapper-menu a{
        position: relative;
    }

    .wrapper-header .wrapper-menu .sousmenu{
        position: static;
        box-shadow: none;
        display: none;
        background: transparent;
        padding-left: 10px;
        transform: none;
    }
    .wrapper-header .sousmenu::before {
        content: none;
    }

    .wrapper-menu .menu li:hover:not(.open) > ul {
        display: none;
    }

    .wrapper-header .menu-item:hover.open .sousmenu,
    .wrapper-header .menu-item.open .sousmenu {
        display: block;
    }
    .wrapper-header .menu-item.open div.menu-arrow {
        transform: none;
    }

    .wrapper-header .wrapper-menu .sousmenu a{
        font-weight: 400;
        padding: 10px 10px;
        text-align: left;
        font-size: 1em;
    }

    .wrapper-header .wrapper-menu .sousmenu a:hover {
   
    }


    .wrapper-menu .menu a, .wrapper-menu .menu span {
        position: static;
    }

    .wrapper-menu .menu-item > a::before, .wrapper-menu .menu-item > span::before {
        width: 5px;
        height: 100%;
        transform: scaleY(0);
    }
    
    .wrapper-menu .menu-item:hover > a::before, .wrapper-menu .menu-item:hover > span::before {
        transform: scaleY(1);
        transform-origin: top;
    }

    .wrapper-menu .menu span div.menu-arrow {
        margin-left: 5px;
        transform: rotate(-90deg);
    }

    .wrapper-header div.logo {
        font-size: 11px;
    }

}






/* FOOTER */
.wrapper-full-footer {
    position: relative;
    z-index: 1;

    filter: drop-shadow(0 -4px 30px rgba(0,0,0,0.2));

    margin: 0 auto;
    max-width: 1920px;

}

body:is(.page-accueil, .page-contact) .wrapper-full-footer {
    margin-top: -90px
}

.wrapper-full-footer-inner {
    -webkit-mask-image: url(i/mask-footer.svg);
    mask-image: url(i/mask-footer.svg);
    -webkit-mask-size: 100% auto;
    mask-size: 100% auto;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-position: top center;

    background: url('i/bg-footer.webp') no-repeat center center/cover;
}

.wrapper-footer {
    position: relative;
    font-weight: 400;


    padding: clamp(100px, 20vw, 260px) 20px 50px;
}

@media 
(-webkit-min-device-pixel-ratio: 1.5), 
(min-resolution: 144dpi) {
    .wrapper-full-footer-inner {
        background-image: url('i/bg-footer-2x.webp');
    }
}


.wrapper-footer a {
    text-decoration: none;
    color: currentColor;
}
.wrapper-footer a:hover {
    color: #961918;
}



/* FOOTER */
.wrapper-footer-inner {
    position: relative;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    font-size: 20px;

    margin: 0 auto;

    z-index: 1;

    max-width: 1620px;
}


.wrapper-footer-inner :is(.footer-1, .footer-2, .footer-3, .footer-4) {
    width: 25%;
    position: relative;
    text-align: center;
}

.wrapper-footer-inner .footer-inner {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    padding: 20px 10px;
    color: #000;
    max-width: 370px;
}


.wrapper-footer-inner .footer-inner h3 {
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 700;
    color: #2F6AA2;
    margin: 0;
    margin-bottom: 0.2em;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 0.5em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-inner ul a {
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding-bottom: 8px;
    text-transform: uppercase;
    width: 100%;
}




.wrapper-footer-inner .footer-1 {
    margin-top: -80px;
}

.wrapper-footer-inner .footer-inner address {
    font-style: normal;
}

.wrapper-footer-inner .footer-inner .footer-lien {
    color: #961918;
    font-weight: 700;
}

.wrapper-footer-inner .footer-inner .footer-tel {
    display: inline-block;
    margin: 20px 0;
}
.wrapper-footer-inner .footer-inner .footer-reseaux {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: center;
    margin-top: 1.5em;
}

.wrapper-footer-inner .footer-inner .footer-reseaux img {
    vertical-align: top;
    filter: brightness(0);
    transition: filter 0.2s ease;
}

.wrapper-footer-inner .footer-inner .footer-reseaux a:hover img {
    filter: none;
}

.wrapper-footer-inner .footer-inner div.logo {
    width: 14.5em;
    display: inline-block;
}


.wrapper-footer .mentions{
    color: #7E7E7E;
}

.footer-inner .panneau-pocket-iframe {
    width: min(100%, 300px);
}

div.mentions {
    position: relative;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #7E7E7E;
    margin-top: clamp(60px, 14vw, 190px);

    padding: 0 20px;
}


div.mentions a {
    color: #7E7E7E;
    font-weight: 600;
    text-decoration: none;
}
div.mentions a:hover {
    color: #000;
}



.footer-bottom img {
    vertical-align: top;
    width: 100%;
}


@media (max-width: 1300px) {
    .wrapper-footer-inner {
        max-width: 1000px;
    }

    .wrapper-footer-inner :is(.footer-1, .footer-2, .footer-3, .footer-4) {
        width: 50%;
    }

    .wrapper-footer-infos {
        padding: 1em 2em;
        margin-bottom: 40px;
        font-size: 18px;
    }

    .wrapper-footer-inner .footer-1 {
        margin-top: -30px;
    }
    .wrapper-footer-inner .footer-inner div.logo {
        width: 12em;
    }

    
}

@media (max-width: 700px) {
    .wrapper-footer-inner {
        gap: 20px;
    }
    .wrapper-footer-inner :is(.footer-1, .footer-2, .footer-3, .footer-4) {
        width: 100%;
    }
    .wrapper-footer-inner .footer-inner {
        max-width: 100%;
        display: block;
        padding: 10px 10px;
    }

    .wrapper-footer-inner .footer-1 {
        margin-top: 0;
    }
}

@media (max-width: 450px) {
    .wrapper-footer-inner .footer-inner h3 {
        font-size: 22px;
    }
    .wrapper-footer-inner  {
        font-size: 16px;
    }
}





/* CONTENU */
input.form_submit,
a.bouton {
    display: inline-block;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    padding: 0.9em 1em;
    border-radius: 0;
    border: none;
    color: #fff;
    text-decoration: none;

    background: #74962C;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;

}

input.form_submit:hover,
a.bouton:hover {
    background: #961918;
    color: #fff;
}

a.bouton:hover img {
    filter: brightness(0) invert(1);
}

.wrapper-contenu {
    z-index: 1;
    position: relative;
}

body:not(.page-accueil, .page-contact) .wrapper-contenu {
    padding-bottom: calc(clamp(100px, 10vw, 150px) / 2);
}


.wrapper-boxed-contenu {
    max-width: 1180px;
    margin: auto;
}

.wrapper-boxed {
    position: relative;
}



.boxed {
    max-width: 1400px;
    margin: auto;
}

div.padding { padding:90px 30px 70px 30px;}

@media (max-width:900px) {
    div.padding {
        padding:70px 20px 50px 20px;
    }
}
@media (max-width:660px) {
    div.padding { 
        padding:70px 15px 30px 15px;
    }
}



h1,h2.h1 {
    --pix-base-font-size: clamp(27px, 5vw, 60px); 

    position: relative;
    z-index: 1;
    font-size: var(--pix-base-font-size);
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 0.3em;

    display: inline-flex;
    flex-direction: column-reverse;
}

:is(h1, h2.h1) span.l1 {
    position: relative;
    display: inline-block;
    padding: 0.2em calc(1.5 * var(--pix-base-font-size)) 0.2em 0;
}
:is(h1, h2.h1) span.l1::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, #7C9FC0 50%, #2F6AA2); /* dégradé bleu */
    border-radius: 0 40px 40px 0;
    box-shadow: 0.075em 0.15em 0 #C3D8EB;
    z-index: -1;

    /* la partie qui sort à gauche */
    width: 100vw;
    right: 0;
}


span.dl {
    display: block;
    text-transform: none;
    color: #74962C;
    font-size: max(0.9em, 20px);
    line-height: 0.8;
    margin-bottom: -0.15em;
    font-weight: 300;
    font-family: "Style Script", cursive;
    text-align: right;
    padding-right: calc(1.5 * var(--pix-base-font-size));
}


:is(h1, h2.h1).titre-blanc {
    color: #2F6AA2
}
:is(h1, h2.h1).titre-blanc span.l1::before {
    background: #fff;
    box-shadow: 0.075em 0.15em 0 rgba(255, 255, 255, 0.2);
}
:is(h1, h2.h1).titre-blanc span.dl {
    color: #fff;
}


:is(h1, h2.h1).titre-bleu span.dl {
    color: #2F6AA2;
}



:is(h1, h2.h1).titre-centre {
    display: flex;
    align-items: center;
    margin-inline: auto;
}
:is(h1, h2.h1).titre-centre span.l1 {
    padding: 0.2em calc(1.5 * var(--pix-base-font-size));
    text-align: center;
}
:is(h1, h2.h1).titre-centre span.l1::before {
    border-radius: 40px;
    width: 100%;
}
:is(h1, h2.h1).titre-centre span.dl {
    text-align: center;
    padding: 0;
}




h2 {
    font-size: calc(clamp(27px, 3.7vw, 60px) * 40/50);
    font-variation-settings: "wdth" 75;
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: #2F6AA2;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -0.3em;
}

h3 {  
    font-size: clamp(22px, 3.5vw, 26px);
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 700;
    color: #2F6AA2;
    margin: 0;
    line-height: 1;
    margin-bottom: -0.8em;
    text-transform: none;
}


span.fin {
    font-weight: 300;
}

.justify  { text-align:justify;}
div.center  { text-align:center;}


a.lien:link,
a.lien:visited {
    color: #74962C;
    font-weight: 700;
    text-decoration: none;
}

a.lien:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


a.lienpetit:link,a.lienpetit:visited {font-size:15px;color: #74962C; font-weight:800; text-decoration:none; }
a.lienpetit:hover{color:currentColor;text-decoration:none;}

a.lien[target="_blank"]::after {
    content: url('i/external.svg');
    display: inline-block;
    width: 0.8em;
    height: auto;
    margin-left: 0.2em;
    vertical-align: middle;
}


span.petit {
    font-size: 16px;
}



.list-3-columns {-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;}

.list-2-columns {-webkit-column-count: 2; 
-moz-column-count: 2;
column-count: 2;}



@media (max-width:800px) {
    .list-3-columns {-webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;}
}
@media (max-width:490px) {
    .list-3-columns, .list-2-columns {-webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;}
}



ul.list-3-columns li, ul.list-2-columns li {-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;}



ul.puce {
    margin: 0;
    padding: 0;
	margin-top:5px;
	margin-bottom:5px;
    padding-left:10px;
}
ul.puce > li {
    position: relative;
    list-style-type:none;
    padding-left: 14px;
    overflow: hidden;
}
ul.puce > li::before{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 0;
    top: 10px;
    background: url(i/puce.svg) center center no-repeat;
    background-size: contain;
    vertical-align: middle;
}



input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
  width: 90%;
  width: 100%;
  background: rgb(255, 255, 255);
  border: none;
  padding: 5px;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 0;
}
input[type=text]:focus-visible,
input[type=email]:focus-visible,
input[type=url]:focus-visible,
input[type=password]:focus-visible,
textarea:focus-visible {
    border-radius: 0;
}



div.right { float:right; padding-left:16px; max-width: 100%;}
div.left { float:left; padding-right:16px;max-width: 100%;}

div.right-responsive {float:right; padding-left:16px; padding-bottom: 16px;max-width:100%;}
div.left-responsive {float:left; padding-right:16px; padding-bottom: 16px;max-width:100%;}

div.right-responsive-xl {float:right; padding-left:16px;max-width:100%;}
div.left-responsive-xl {float:left; padding-right:16px;max-width:100%;}


@media (max-width:800px) {
    div.right-responsive-xl {float:none;width:auto;padding:0;padding-bottom:20px;text-align: center;}
    div.left-responsive-xl {float:none;width:auto;padding:0;padding-bottom:20px;text-align: center;}
}

@media (max-width:560px) {
    div.right-responsive {float:none;width:auto;padding:0;padding-bottom:20px;text-align: center;}
    div.left-responsive {float:none;width:auto;padding:0;padding-bottom:20px;text-align: center;}
}


div.dessous {clear:both;height: 0px;}


.obligatoire {font-size:15px; color:#961918; font-weight:bold; }

input.contact,textarea.contact {color:#000000; background-color:#f4f7f8; border:solid #000000 1px; font-size:15px;}

input.contact_pb,textarea.contact_pb {  color:#000000; background-color:#f4f7f8; border:solid #961918 1px; font-size:15px;}
input.frmsubmit {  background-color:#961918; border:#961918 1px solid; height:22px; width:90px; cursor:hand;  font-size:15px; color:#000000; font-weight:bold;  text-decoration:none;}

.cadresubmit { border:1px #000000 solid; }


div.pagination {
    background-color: transparent;
    padding: 6px;
    overflow: hidden;
    font-size: 16px;
}
div.detail-pagination {
    background-color: transparent;
    padding: 6px 0;
    overflow: hidden;
    font-size: 16px;
}

.arrow-next {
    padding-left:6px;
    display: inline-block;
        vertical-align: -1px;
}

.arrow-previous {
    padding-right:6px;
    display: inline-block;
        vertical-align: -1px;
}

.arrow-next img,
.arrow-previous img {
    height: 0.8em;
    width: auto;
}


.form_header {
    background-color: #2F6AA2;
    background-size: auto 100%, 100% 100%;
    background-repeat: repeat-x, no-repeat;
    padding: 4px 20px !important;
    color: #ffffff;
    text-align: left;
    text-align: center;
    font-weight: 300;
    text-transform: uppercase;
}
form table:nth-of-type(1) {    
/*    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
    border: 1px solid #dedede;*/
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
}

.formulaire-message-envoye {
    padding: 20px;
    margin-top: 20px;
    color: #fff;
    font-size: 23px;
    text-align: center;
    background: #2F6AA2;
}

sup{
    color: #961918;
    font-weight: 700;
    font-size: 16px;
    vertical-align: top;
}
.error{color:#961918;font-weight: 600; font-size: 15px;}
.form_label {font-weight:normal;}
.form_input {}
div.form_note {font-style:italic;font-size:10px;}

#form {
    color:#000;
    background-position: center center;
}

#form textarea {
    resize: vertical;
    min-height: 50px;
}

.formulaire-envoyer {margin-top:25px;text-align: center;}

.formulaire-champs-requis {
    display: inline-block;
    margin-left: 20px;
    font-size: 12px;
}

img {max-width: 100%;height:auto;}

div.wrapper-padding {padding-left:20px;padding-right:20px;}

@media (max-width:400px) {
	div.wrapper-padding {padding-left:14px;padding-right:14px;}
}

#menu {
    display:none;
}

@media (max-width:500px) {
	div.justify {text-align: left;}
}

a.back-to-top {
    display: none;
    width: 38px;
    height: 38px;
    text-indent: -9999px;
    position: fixed;
    z-index: 9999999;
    left:50%;
    transform: translateX(-50%);
    bottom: 20px;
    border-radius: 8px;
    background: url("i/arrow-up.svg") no-repeat center center, #961918;
    background-size: 20px 20px, 100% 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.27);
    transition: all 0.2s ease-in-out 0s;
}

a.back-to-top:hover {
    background-size: 24px 24px, 100% 100%;
}



iframe {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}



div.galerie-photo {width:33.33%;display:inline-block;vertical-align: top;padding:18px;text-align: center;}

div.galerie-photo img, ul.images img {margin-bottom: 7px;}

@media (max-width:800px) {
    div.galerie-photo {width:50%;}
}


@media (max-width:500px) {
    div.galerie-photo {width:100%;}
}

img.cadrephoto, img.ombre, ul.images img, img.ronde {
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
    img.cadrephoto, img.ombre, ul.images img, img.ronde {
        box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
    }
}

img.ronde {
    border-radius: 50%;
}

a.lien-actu {color:inherit;text-decoration: none;}

div.col1-2 {display:inline-block;vertical-align:top;width:48%;}
div.col2-2 {display:inline-block;vertical-align:top;margin-left:4%;width:48%;}


@media (max-width:700px) { 
    div.col1-2 {display:inline-block;vertical-align:top;width:100%;}
    div.col2-2 {display:inline-block;vertical-align:top;margin-left:0%;width:100%;margin-top:15px;}
}


div.col1-3, div.col2-3, div.col3-3 {display:inline-block;width:30%;vertical-align: top;}
div.col2-3, div.col3-3 {margin-left:5%;}


@media (max-width:880px) {
    div.col1-3, div.col2-3, div.col3-3 {width:50%;margin-bottom: 10px;margin-left:0%;padding-left:2%;padding-right: 2%;}

}

@media (max-width:480px) {
    div.col1-3, div.col2-3, div.col3-3 {width:100%;margin-bottom: 10px;margin-left:0%;}

}


.wrapper-flex-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.wrapper-flex-columns.items-center {
    align-items: center;
}

.wrapper-flex-columns > br {
    display: none;
}

.wrapper-flex-columns .wrapper-col {
    flex: 1;
    min-width: min(450px, 100%);
    position: relative;
}

.wrapper-flex-columns .wrapper-col.fit-content {
    flex: 0;
}



.style-galerie {
    border:1px solid #d8d8d8;background:rgba(0,0,0,0.05);position:relative;max-width: 760px;
    margin: auto;
}

.wrapper-galerie {
        float: none;
        width:100%;
        max-width:720px;
        margin:auto;margin-bottom: 20px;
    }

.photo_commentaire {display: block;text-align: center;text-decoration: none !important;color:#323232;padding-top:5px;}


.ilightbox {text-decoration: none;}

.h2-puce {
    vertical-align: -1px;
    padding-right: 3px;
}

.wrapper-bande {}
.wrapper-boxed-bande {max-width: 1180px;margin:auto;}

body label[for="element7i0"] {font-size: 12px;line-height: 1.1;}

div.map iframe {vertical-align: top;}

.actualite-galerie {margin-top:20px; margin-bottom: 20px;}
/* isotope */

.isotope-grid-item { width: 33.33%; }


.pix-masonry-photo {
    padding: 10px;
    text-align: center;
}

@media (max-width:820px) {
    .isotope-grid-item { width: 50%; }
}

@media (max-width:520px) {
    .isotope-grid-item { width: 100%; }
    .pix-masonry-photo {
        padding: 0;
        padding-bottom: 10px;
    }
}



.pswp {z-index: 150000000;}


.detail-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
}

.back-list a.lien,
.detail-pagination a.lien {
    color: #000 !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-transform: uppercase;
    margin: 5px 0;
    display: inline-block;
}

.back-list {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.detail-pagination .show-next {
    text-align: right;
    margin-left: auto;
}

.back-list .lien,
.show-previous .lien {
    padding-left: 2px;
    transition: padding 0.2s ease;
    
}

.back-list .lien:hover,
.show-previous .lien:hover {
    padding-left: 0;
    padding-right: 2px;
}
.show-next .lien {
    padding-right: 2px;
    transition: padding 0.2s ease;
}
.show-next .lien:hover {
    padding-right: 0;
    padding-left: 2px;
}


.liste-pagination {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.liste-pagination > div {
    display: inline-block;
    width: 100%;
}

.liste-pagination > div:first-of-type{text-align: left;}
.liste-pagination > div:nth-of-type(2){text-align: center;}
.liste-pagination > div:last-of-type{text-align: right;}

.liste-pagination a.lien {
    color:#000 !important;
    font-weight: normal;
    font-style: normal;
    font-family: "Fira Sans Extra Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 15px;
}


@media (max-width: 700px) {
    .detail-pagination .show-previous {width: 100%;}
    .detail-pagination .show-next {width: 100%;}
}






.form_label {
    
    font-weight: 500;
}


.form label[for="element7i0"] {font-size: 13px;color: #c6c6c6;}


.div-centre {text-align: center;}
.div-centre h2 {display: inline-block;}



.pswp {z-index: 1500000000 !important;}



/* BANDEAU SWIPER */
.pix-bandeau-swiper {
    aspect-ratio: 1780 / 700;
    position: relative;
    user-select: none;
    max-width: calc(1780px + 40px);
    margin: 0 auto;

    overflow: hidden;

    padding: 0 20px;
}


.pix-bandeau-swiper .swiper-slide .swiper-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1780 / 700;
    background-position: center center;
    background-size: cover;
}
.pix-bandeau-swiper .swiper-slide img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pix-bandeau-swiper .swiper-slide {
    position: relative;
}

.pix-bandeau-swiper .swiper-button-prev::after,
.pix-bandeau-swiper .swiper-button-next::after {
    content: none;
}
.pix-bandeau-swiper .swiper-button-prev,
.pix-bandeau-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
    --swiper-navigation-size: 36px;
    background: #74962C url('i/arrow-right.svg') no-repeat left 14px center / 8px 12px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pix-bandeau-swiper .swiper-button-prev {
    transform: rotate(180deg);
}
.pix-bandeau-swiper:hover .swiper-button-prev,
.pix-bandeau-swiper:hover .swiper-button-next {
    opacity: 0.5;
}
.pix-bandeau-swiper .swiper-button-prev:hover,
.pix-bandeau-swiper .swiper-button-next:hover {
    opacity: 1;
    background-color: #74962C;
}

@media (pointer: coarse) {
    .pix-bandeau-swiper .swiper-button-prev,
    .pix-bandeau-swiper .swiper-button-next {
        display: none;
    }
}


@media (max-width: 900px) {
    .pix-bandeau-swiper {
        height: 360px;
        aspect-ratio: initial;
    }
}
@media (max-width: 640px) {
    .pix-bandeau-swiper {
        height: 300px;
        aspect-ratio: initial;
    }
}

@media (max-width: 500px) {
    .pix-bandeau-swiper {
        height: 250px;
        aspect-ratio: initial;
    }
}






/* SLOGAN */
.slogan {
    padding: 20px;
    background: #c3d8eb80;
    position: relative;
    z-index: 1;
    overflow:hidden;
}



/* FORMULAIRES */
.formulaire {
    display: block;
}
.formulaire tbody {
    display: block;
}
.formulaire tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.formulaire th {
    text-align: left;
    padding: 0 20px;
    margin-bottom: 3px;
}
.formulaire td {
    padding: 0 20px;
    line-height: 1;
}
.formulaire td input:not([type="checkbox"]), .formulaire td textarea {
    width: 100%;
}
.formulaire-envoyer {
    text-align: left;
}


/* GRILLE LISTE DES  ACTUS */
.wrapper-liste-actualites {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


@media (max-width: 950px) {
    .wrapper-liste-actualites {
        grid-template-columns: 1fr;
    }
}



/* CARD POUR LES ACTUS */
.pix-card {
    position: relative;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: row;
    
    width: 100%;
    height: 100%;
    
    font-size: 20px;

    background-color: #fff;
    
    max-width: 750px;
    margin: 0 auto;

    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);

    overflow: hidden;

    transition: border 0.2s ease;
}

.pix-card .pix-card-image {
    width: 100%;
}
.pix-card .pix-card-image img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.pix-card .pix-card-content {
    padding: 2.5em 1.5em 2.5em;
    text-align: left;

    display: flex;
    flex-direction: column;

}


.pix-card .pix-card-title {
    color: #000;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.pix-card .pix-card-plus {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #961918;
    text-transform: uppercase;
    color: #fff;
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 600;
    padding: 0.6em 1em;
    
    transition: background 0.2s ease;
}



.pix-card:hover .pix-card-plus {
    background: #74962C;
}

@media (max-width: 1200px) {
    .pix-card .pix-card-content {
       padding: 1.5em 1em 2.5em;
    }
}

@media (max-width: 600px) {
    .pix-card {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .pix-card {
        flex-direction: column;
    }
}



@media (max-width: 400px) {
    .pix-card {
        font-size: 16px;
    }
}



/* LISTE DES ACTUALITES */
.intro-actualites {
    margin-bottom: 2em;
}

/* DETAIL DES ACTUALITES */
.titre-actualite {
    margin-bottom: 0.5em;
}



em.pix-masonry-photo-titre {font-style: normal;display: block;font-size:16px;}
em.pix-masonry-photo-commentaire {font-style: normal;display: block;font-size:14px;color:#999;}



/* BANDE IMAGE */
.wrapper-bande-image {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 50px;

    padding: clamp(20px, 4vw, 70px) 0;
}


.wrapper-bande-image.bande-image-reverse {
    flex-direction: row-reverse;
}

.wrapper-bande-image .bande-image-contenu {
    width: 100%;
    flex-grow: 1;
    align-self: center;
}


.wrapper-bande-image .bande-image-img {
    width: 100%;
    flex-grow: 1;
    text-align: center;
}

@media (max-width: 1000px) {
    .wrapper-bande-image {
        gap: 30px;
    }
}
@media (max-width: 830px) {
    .wrapper-bande-image {
        flex-direction: column;
        gap: 20px;
    }    
    .wrapper-bande-image.bande-image-reverse {
        flex-direction: column;
    }
   .wrapper-bande-image .bande-image-contenu  {
        text-align: left;
    }
}




/* BANDE ACTUS */
.wrapper-bande-actus {
    max-width: 1920px;
    margin: 0 auto;
    background: #fff url('i/bg-actus.svg') no-repeat center center;
    background-size: cover;

    padding: clamp(40px, 6vw, 80px) 0 calc(clamp(40px, 6vw, 80px) * 110/80); 
    overflow: hidden;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);

    position: relative;
}

.wrapper-bande-actus-header {
    max-width: 1480px;
    padding: 0 20px;
    margin: 0 auto;

    margin-bottom: 2em;
}


.wrapper-bande-actus .swiper-actus {
    padding: 0 40px;
}

.wrapper-bande-actus .swiper-actus .swiper-slide {
    height: auto;
}
.wrapper-bande-actus .wrapper-actualite {
    height: 100%;
}
.wrapper-bande-actus .pix-card {
    /* max-width: 500px; */
    margin: 0 auto;
}


@media (max-width: 1250px) {
    .wrapper-bande-actus .swiper-actus {
        padding-inline: 30px;
    }
}

@media (max-width: 950px) {
    .wrapper-bande-actus .swiper-actus {
        padding-inline: 20px;
    }
}







/* CAROUSEL ICONES */
.wrapper-bande-icones {
    position: relative;
    z-index: 10000;
    display: flex;
    flex-direction: row;
    max-width: min(1350px, 90%);
    margin: 0 auto;
    border-radius: 50px 0 50px 0;
    overflow: hidden;

    background-color: #fff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);

    margin-top: -50px;
}

.swiper-icones {
    position: relative;

    padding: 50px 40px 25px;
    
    width: 100%;
    margin: 0 auto;

    

    text-align: center;
}

.wrapper-icone {
    text-decoration: none;
    max-width: 8em;
    margin: 0 auto;
    width: 100%;

    font-size: 20px;

    color: #2F6AA2;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    transition: all 0.3s ease;

    position: relative;
}

.wrapper-icone-image {
    position: relative;
    margin-bottom: 1em;
}

.wrapper-icone-image img {
    width: 3em;;
    object-fit: contain;
    vertical-align: top;
    position: relative;
    z-index: 1;
}

.wrapper-icone-texte h3 {
    margin: 0;
    line-height: 1.1;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 300;
    color: #2F6AA2;
    font-family: "Fira Sans Condensed", sans-serif;
    transition: color 0.4s ease;
}

.wrapper-icone-texte p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.2;
    margin-top: 0.5em;
}

.wrapper-icone:hover .wrapper-icone-image img {
    filter: brightness(0) saturate(100%) invert(15%) sepia(76%) saturate(2699%) hue-rotate(346deg) brightness(91%) contrast(99%);
}
.wrapper-icone:hover h3 {
    color: #961918;
}

@media (max-width: 1350px) {
    .wrapper-bande-icones {
        margin-top: -40px;
        border-radius: 40px 0 40px 0;
    }
    .swiper-icones {
        padding: 40px 40px 20px;
    }
    .wrapper-icone {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .wrapper-bande-icones {
        margin-top: -35px;
        border-radius: -35px 0 -35px 0;
    }
    .wrapper-icone {
        font-size: 15px;
    }

    .swiper-icones {
        padding: 30px 20px 15px;
    }
}

@media (max-width: 480px) {
    .wrapper-bande-icones {
        margin-top: -30px;
        max-width: 80%;
        border-radius: -30px 0 -30px 0;
    }
    .swiper-icones {
        padding: 20px 20px 15px;
    }
    .wrapper-icone {
        font-size: 13px;
    }
}

/* MOT DU MAIRE */
.wrapper-bande-mot-maire {
    padding: 60px 20px clamp(40px, 12vw, 100px);

    background: url('i/logo-blason.svg') right 3% center;
    background-repeat: no-repeat;
    background-size: auto 90%;

    
    margin: 0 auto;
    max-width: 1920px;
}
.bande-mot-maire-inner {
    border: 20px solid #74962C;
    background: #fff;
    padding: 20px;

    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    flex-direction: row;

    gap: 1.5em;

    margin-top: 3em;
}

.bande-mot-maire-image {
    flex-shrink: 0;
}

.bande-mot-maire-image img {
    vertical-align: top;
    height: 100%;
    object-fit: cover;
}
.bande-mot-maire-content {
    align-self: flex-end;
}

@media (max-width: 900px) {
    .bande-mot-maire-inner {
        border-width: 10px;
        padding: 15px
    }
}

@media (max-width: 700px) {
    .wrapper-bande-mot-maire {
        background-position: right 20px top 20px;
        background-size: auto 30%;
    }
    .bande-mot-maire-inner {
        flex-direction: column;
    }
}







/* LOGO CAROUSEL LINEAR INFINITE */
.wrapper-bande-marques {
    overflow: hidden;
    padding: clamp(30px, 7vw, 80px) 0;
    white-space: nowrap;
    position: relative;

    margin: 0 auto;
    max-width: 1920px;
}

.marques-slide {
    width: max-content;
    animation: 35s slide infinite linear;
    animation-play-state: paused;
    animation-duration: calc(var(--nb-logos) * 3s);
    display: inline-block;
    text-align: center;
    background: inherit;

    display: inline-flex;
    flex-direction: row;
}

.marques-slide.animate {
    animation-play-state: running;
}


.marques-slide .wrapper-marque {
    align-content: center;
    padding: 30px 40px;
    
    position: relative;
    
}

.marques-slide img {
    --scale: 1;
    width: auto;
    height: calc(var(--height) * var(--scale));
    vertical-align: top;
}

@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
}

@media (max-width: 900px) {
    .marques-slide .wrapper-marque {
        padding: 20px 30px;
    }
    .marques-slide img {
        --scale: 0.8;
    }
}
@media (max-width: 550px) {
    .marques-slide {
        animation-duration: calc(var(--nb-logos) * 2s);
    }
    .marques-slide .wrapper-marque {
        padding: 10px 20px;
    }
    .marques-slide img {
        --scale: 0.6;
    }
}





.wrapper-bande-atouts {
    background: url('i/bg-atouts.webp') center center no-repeat;
    background-size: cover;

    padding: clamp(80px, 30vw, 240px) 200px 150px 20px;

    max-width: 1920px;
    margin: 0 auto;
}

@media 
(-webkit-min-device-pixel-ratio: 1.5), 
(min-resolution: 144dpi) {
    .wrapper-bande-atouts {
        background-image: url('i/bg-atouts-2x.webp');
    }
}

.wrapper-bande-atouts-inner {
    position: relative;
    max-width: 780px;
    margin-left: auto;

    background: rgba(255, 255, 255, 0.7);
    border: 10px solid #ffffff;
    text-align: center;

    padding: clamp(27px, 5vw, 60px) calc(clamp(27px, 5vw, 60px) * 100/60) calc(clamp(27px, 5vw, 60px) / 2) calc(clamp(27px, 5vw, 60px) * 100/60);
}

.wrapper-bande-atouts-inner h2.h1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-90%);
    width: max-content;
}

.wrapper-bande-atouts-inner p {
    font-family: "Gochi Hand", cursive;
    color: #2F6AA2;
    font-size: clamp(27px, 5vw, 60px);
    line-height: 1;
    margin: 0;

}

.wrapper-bande-atouts-inner img {
    width: calc(clamp(27px, 5vw, 60px) * 380/60)
}

@media (max-width: 1200px) {
    .wrapper-bande-atouts {
        padding-inline: 20px;
    }
    .wrapper-bande-atouts-inner {
        margin: 0 auto;
    }
}



.pix-quick-links {
    position: fixed;
    top: clamp(220px, 30vw, 300px);
    right: 0;
    z-index: 100;

    display: flex;
    flex-direction: column;
    gap: 10px;

    font-size: clamp(14px, 2vw, 20px);
}

.pix-quick-links a {
    display: inline-block;
    background: #2F6AA2;
    width: 3.2em;
    height: 3em;
    padding-right: 0.2em;
    transform: translateX(0.2em);
    
    transition: transform 0.2s ease;
}
.pix-quick-links a:hover {
    transform: translateX(0);
}

.pix-quick-links a img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 500px) {
    .pix-quick-links {
        top: auto;
        bottom: 100px;
    }
}





/* GRILLE EQUIPE */
.wrapper-grille-equipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1100px) {
    .wrapper-grille-equipe {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .wrapper-grille-equipe {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 420px) {
    .wrapper-grille-equipe {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}



.wrapper-equipe {
    text-decoration: none;
    margin: 0 auto;
    width: 100%;
    max-width: 340px;
    height: 100%;

    font-size: 20px;

    color: #000;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    transition: all 0.3s ease;

    position: relative;

    background-color: #c3d8eb80;
}

.wrapper-equipe-image {
    position: relative;
    width: 100%;
}

.wrapper-equipe-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
    position: relative;
    z-index: 1;
}

.wrapper-equipe-texte {
    padding: 1em;
}

.wrapper-equipe-texte h3 {
    margin: 0;
    line-height: 1.1;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: #2F6AA2;
    transition: color 0.4s ease;
    font-style: normal;
}

.wrapper-equipe-texte p {
    margin: 0;
    color: #000;
}

@media (max-width: 1350px) {
    .wrapper-equipe {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .wrapper-equipe {
        font-size: 16px;
    }
}

@media (max-width: 650px) {
    .wrapper-equipe-texte {
        padding: 1em 0.5em;
    }
}





/* TABLEAUX */
.tableau-container {
    display: grid;
    overflow-x: auto;
    cursor: grab;
    position: relative;
}
.tableau {
    grid-area: 1 / 1;
}
.tableau-container::before {
    content: '';
    grid-area: 1 / 1;
    justify-self: end;
    position: sticky;
    right: 0;
    top: 0;
    height: 100%;
    width: 20px;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(0,0,0,0.08) 40%,
        rgba(0,0,0,0.15) 70%,
        rgba(0,0,0,0.20) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
    z-index: 2;
}
.tableau-container.loaded::before {
    opacity: 1;
}

.tableau-container.loaded.scroll-end::before {
    opacity: 0;
}

.tableau {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    font-family: 'Lato', sans-serif;
}

.tableau td strong {
    display: inline-block;
    max-width: 200px;
}

.tableau thead {
    background-color: #2F6AA2;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
}
.tableau thead tr{
    border: 1px solid #ddd;
}
.tableau thead th {
    margin: 0 auto;
    border: 1px solid #ddd;
}


.tableau tbody {
    width: 100%;
}

.tableau tbody tr {
    border: 1px solid #ddd;
    padding: .35em;
}

.tableau th,
.tableau td {
    padding: .625em;
    text-align: center;
    min-width: 140px;
}

.tableau td { border: 1px solid #ddd;}

.tableau th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}


.tableau thead th em {
    font-size: 0.8em;
    line-height: 1.2;
    display: inline-block;
    font-weight: 400;
}

/* WEBKIT */
.tableau-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.tableau-container::-webkit-scrollbar-track {
    background: #f1f1f1;border-radius: 5px;
}
.tableau-container::-webkit-scrollbar-thumb {
    background: #2F6AA2;border-radius: 5px;
}
/* FIREFOX */
.tableau-container {
    scrollbar-width: large;
    scrollbar-color: #2F6AA2 #f1f1f1;
}




/* FICHE CARDS */
.wrapper-liste-fiches-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}


.pix-fiche-card {
    position: relative;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    font-size: 20px;
    background-color: #fff;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 4px 6px 0 #C3D8EB;
    border: 1px solid #2F6AA2;
    overflow: hidden;
    transition: border 0.2s ease;
    border-radius: 20px;
}

.pix-fiche-card .pix-fiche-card-image {
    width: 100%;
}
.pix-fiche-card .pix-fiche-card-image img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pix-fiche-card .pix-fiche-card-content {
    padding: 1.5em;
    text-align: left;

    display: flex;
    flex-direction: column;

}


.pix-fiche-card .pix-fiche-card-title {
    color: #2F6AA2;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    font-family: "Fira Sans Extra Condensed", sans-serif;
}

.pix-fiche-card .pix-fiche-card-excerpt {
    margin: 0;
    margin-top: 0.5em;
}

.pix-fiche-card .pix-fiche-card-plus {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #961918;
    text-transform: uppercase;
    color: #fff;
    font-family: "Fira Sans Extra Condensed", sans-serif;
    font-weight: 600;
    padding: 0.6em 1em;
    
    transition: background 0.2s ease;
}



.pix-fiche-card:hover .pix-fiche-card-plus {
    background: #74962C;
}

@media (max-width: 1200px) {
    .pix-fiche-card .pix-fiche-card-content {
       padding: 1em;
    }
}

@media (max-width: 1000px) {
    .wrapper-liste-fiches-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pix-fiche-card {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .wrapper-liste-fiches-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 400px) {
    .pix-fiche-card {
        font-size: 16px;
    }
}
