:root {
    --header-padding-bottom: 40px;
}

* {
    -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: "Lato", sans-serif;
    font-size: 20px; 
    color: #271e1a;
    background: #ede8de;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
}

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


html {height: 100%;}

.wrapper-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    z-index: 1000000000;
    margin: 0 auto;
    font-size: 20px;

    filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.3));
}

.wrapper-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background: #ede8de;
    
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--header-padding-bottom)), 0% 100%);
    pointer-events: none;
}

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

.wrapper-header a.logo {
    text-decoration: none;
    color: currentColor;
    position: relative;
    display: inline-block;
    vertical-align: top;

    padding: 1em 2em;
}

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

.header-bottom {
    position: relative;
    padding-bottom: var(--header-padding-bottom);
}


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

    width: 100%;
    height: 100%;

    max-width: 1780px;
    padding-right: 20px;
}
.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{

    --menu-item-scale: 0;

    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 1.3em;
    line-height: 1.2;
    color: #271e1a;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 0.8em 0.8em 0.6em;
    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;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(var(--menu-item-scale));
    width: 0.8em;
    height: 0.8em;
    background: url('i/menu-s.svg') center center no-repeat;
    background-size: 100% 100%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* ON HOVER */
.wrapper-menu .menu-item:hover > a,
.wrapper-menu .menu-item:hover > span {

}

.wrapper-menu .menu-item:hover > a::before,
.wrapper-menu .menu-item:hover > span::before {
    --menu-item-scale: 0.7;
    opacity: 1;
}


/* ON SELECTED */
.wrapper-menu .menu-item.selected > a,
.wrapper-menu .menu-item.selected > span {
    color: #154566;
}

.wrapper-menu .menu-item.selected > a::before,
.wrapper-menu .menu-item.selected > span::before {
    --menu-item-scale: 1;
    opacity: 1;
}



.wrapper-menu .menu-item.selected .menu-arrow {
    filter: brightness(0) saturate(100%) invert(24%) sepia(14%) saturate(2420%) hue-rotate(162deg) brightness(92%) contrast(95%);
}


.wrapper-menu .menu .menu-arrow {

} 
.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: 230px;
    list-style: none;
    padding: 0;
    background-color: #ede8de;
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);

}


.wrapper-menu .sousmenu a{
    color: #271e1a;
    text-decoration: none;
    padding: 0.7em 0.4em;
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    display: block;
    line-height: 1.15;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 0;
}

.wrapper-menu .sousmenu a:hover{
    color: #154566;
}

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

.wrapper-menu .menu li:hover > 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;
    top: 50%;
    right: 1em;
    font-size: 1em;
    width: 40px;
    height: 40px;
    padding: 15px;
    background: transparent;
    border-radius: 50%;
    border: 2px solid #271e1a;
    display: none;
    cursor: pointer;
    z-index: 100000;
    align-self: center;
    transition: background 0.2s ease;
    transform: translateY(-50%);
}
.wrapper-header  .burger-btn .line{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: inline-block;
    width: 16px;
    height: 2px;
    background: #271e1a;

    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);
}


.wrapper-header.open .burger-btn {
    background: #271e1a;
}
.wrapper-header.open .burger-btn .line {
    background: #fff;
}


@media (max-width: 1600px) {
    .wrapper-header div.logo img {
        width: 18em;
    }
}

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

    .wrapper-header a.logo {
        padding: 1em 1em;
    }
}
@media (max-width: 1200px) {
   .wrapper-menu .menu a, .wrapper-menu .menu span {
    padding-inline: 0.4em;
   }
}
@media (max-width: 1100px) {
    .wrapper-header {
        font-size: 16px;
    }
    .wrapper-header div.logo img {
        width: 15em;
    }
}
@media (max-width: 1040px) {
    :root {
        --header-padding-bottom: 25px;
    }

    .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;    
    } 

    .wrapper-header.open .wrapper-menu{
        opacity: 1;
        pointer-events: all;
    }

    .wrapper-header .wrapper-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 10px 60px 10px 10px;
        height: 100%;
        background: #ede8de;
        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: 10px 10px 10px 14px;
        width: 100%;
        text-align: left;
        height: auto;
        counter-increment: menu-item;
        
    }

    .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: 1.1em;
        color: #271e1a;
    }

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

    .wrapper-header .wrapper-menu .sousmenu-item.selected a {
        color: #fff;
    }

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


    .wrapper-menu .menu-item > a::before,
    .wrapper-menu .menu-item > span::before {
        bottom: auto;
        top: 50%;
        left: -8px;
        transform: translateY(-50%) translateX(-100%);
        transform-origin: left center;
        border-radius: 0 50px 50px 0;
        width: 1em;
    }

    /* HOVER */
    .wrapper-menu .menu-item:hover > a::before,
    .wrapper-menu .menu-item:hover > span::before {
        transform: translateY(-50%);
        opacity: 0.5;
    }
    
    /* SELECTED */
    .wrapper-menu .menu-item.selected > a::before, 
    .wrapper-menu .menu-item.selected > span::before {
        transform: translateY(-50%);
        opacity: 1;
    }



    .wrapper-menu .menu-item > a::after, 
    .wrapper-menu .menu-item > span::after {
        left: 35px;
        width: 50px;
        height: 4px;
    }


    .wrapper-header div.logo {
        left: 1em;
    }
}


@media (max-width: 490px) {
    :root {
        --header-padding-bottom: 20px;
    }   
    .wrapper-header div.logo img {
        width: 13em;
    }
}

@media (max-width: 400px) {
    :root {
        --header-padding-bottom: 16px;
    }
}




/* FOOTER */
.wrapper-full-footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(to top, #154566 60%, #085b8b);
    padding: clamp(40px, 8vw, 140px) 0 20px;
}

.wrapper-full-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
    z-index: -1;

    background: url('i/footer.svg') right center no-repeat;
    background-size: auto 100%;
}


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


.wrapper-footer a {
    text-decoration: none;
    color: currentColor;
}
.wrapper-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;

}


.footer-logo {
    filter: brightness(0) invert(1);
}

/* 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) {
    width: 33.33%;
    position: relative;
    text-align: center;
}

.wrapper-footer-inner :is(.footer-2, .footer-3) .footer-inner {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    padding: 20px 10px;
    color: #fff;
    max-width: 370px;
}


.wrapper-footer-inner .footer-inner h3 {
    font-weight: 900;
    color: #fff;
    margin: 0;
    margin-bottom: 0.5em;
    font-size: 26px;
    font-family: "Lato", sans-serif;;
    text-transform: uppercase;
    position: relative;
    line-height: 1.2;
}

.footer-2 address {
    font-style: normal;
}

.footer-2 .footer-tel {
    display: inline-block;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.footer-3 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-3 a {
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    padding-bottom: 4px;
    text-transform: uppercase;
}



.wrapper-footer .mentions{
    color: #5b7587;
}

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: #5b7587;
    margin-top: clamp(40px, 10vw, 140px);

    padding: 0 20px;
}


div.mentions a {
    color: #5b7587;
    font-weight: 700;
    text-decoration: none;
}
div.mentions a:hover {
    color: #fff;
}



@media (max-width: 1200px) {
    .wrapper-footer-inner {
        padding: 0 20px;
        row-gap: 50px;
        max-width: 1000px;
    }
    .wrapper-footer-inner .footer-inner {
        display: block;
        padding: 0;
    }

    .wrapper-footer-inner .footer-1 {
        width: 100%;
    }
    .wrapper-footer-inner :is(.footer-2, .footer-3) {
        width: 50%;
    }
}
@media (max-width: 650px) {
    .wrapper-footer-inner :is(.footer-1, .footer-2, .footer-3) {
        width: 100%;
    }
    .wrapper-footer-inner .footer-inner {
        max-width: 100%;
        text-align: center;
    }
    .wrapper-footer-inner .footer-1::before {
        content: none;
    }

    .wrapper-full-footer::before {
        background-size: 100% auto;
    }

    .wrapper-footer-inner :is(.footer-2, .footer-3) .footer-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

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





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

    background: linear-gradient(to top, #154566 60%, #085b8b);
    cursor: pointer;

}

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

input.form_submit:hover,
a.bouton:hover {
    background: linear-gradient(to top, #085b8b, #085b8b);
}

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

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

.page-accueil .wrapper-contenu {
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

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

.wrapper-boxed {
    position: relative;
}



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

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

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



h1,h2.h1 {
    font-size: clamp(27px, 4vw, 50px);
    font-family: "Lato", sans-serif;
    font-weight: 900;
    line-height: 1.1;
    color: #271e1a;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -0.3em;
}

span.dl {
    display: block;
    text-transform: none;
    color: #271e1a;
    font-family: "Great Vibes", cursive;
    font-size: 1em;
    line-height: 1;
    font-weight: 400;
    margin-top: 0.1em;
}

h2 {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    color: #271e1a;
    position: relative;
    line-height: 1.1;
    font-size: clamp(32px, 4vw, 50px);
    margin-bottom: -0.5em;
}

h3 {  
     font-size: clamp(26px, 3.5vw, 36px);
    font-family: "Great Vibes", serif;
    font-weight: 400;
    color: #271e1a;
    margin: 0;
    line-height: 1;
    margin-bottom: -0.5em;
    text-transform: none;
}


h1.realisations {
    margin-bottom: 0;
}



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


a.lien:link,
a.lien:visited {
    color: #154566;
    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:currentColor; font-weight:800; text-decoration:none; }
a.lienpetit:hover{color:currentColor;text-decoration:none;}

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: #ede8de;
  border: none;
  padding: 5px;
  color: #271e1a;
  border: 1px solid #271e1a;
  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:#d42010; font-weight:bold; }

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

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

.cadresubmit { border:1px #271e1a 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: #154566;
    padding: 4px 20px !important;
    color: #ffffff;
    text-align: left;
    text-align: center;
    font-weight: 500;
    font-family: "Barlow Condensed", sans-serif;
    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: #154566;
}

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

#form {
    color:#271e1a;
    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;
    right: 20px;
    /* transform: translateX(-50%); */
    bottom: 20px;
    border-radius: 8px;
    background: url("i/arrow-up.svg") no-repeat center center, #154566;
    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: 1em 1em 2em rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    img.cadrephoto, img.ombre, ul.images img, img.ronde {
        box-shadow: 0.5em 0.5em 1em 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:#271e1a;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: #271e1a !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 rgba(39, 30, 26, 0.5);
    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:#271e1a !important;
    font-weight: normal;
    font-style: normal;
    font-family: "Lato", 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: 1920 / 870;
    position: relative;
    user-select: none;
    max-width: 1920px;
    margin: 0 auto;

    margin-top: calc(-1 * var(--header-padding-bottom));
}

.pix-bandeau-swiper .swiper-slide .swiper-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 870;
    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-slogan {
    position: absolute;
    bottom: 10%;
    right: 0;
    text-align: right;
    pointer-events: none;
    font-size: clamp(16px, 3vw, 40px);
    color: #fff;
    max-width: 600px;
    width: 90%;

    background: rgba(21, 70, 102, 0.9);
    border-radius: 1.5em 0 0 1.5em;
    padding: 1em 1em 0.9em;
}
.pix-bandeau-swiper .swiper-slogan h3 {  
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 1em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    color: currentColor;
}

.pix-bandeau-swiper .swiper-slogan span.dl {
    display: block;
    font-family: "Great Vibes", serif;
    font-weight: 400;
    font-size: max(1em, 20px);
    line-height: 1;
    margin-top: 0.2em;
    color: currentColor;
}

.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: #154566 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: #154566;
}

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

/* 
@media (max-width: 800px) {
    .pix-bandeau-swiper {
        height: 350px;
        aspect-ratio: initial;
    }

    .pix-bandeau-swiper .pix-bandeau-icones {
        gap: 8px;
    }
    .pix-bandeau-swiper .pix-bandeau-icones a {
        width: 38px;
        height: 36px;
    }
    .pix-bandeau-swiper .pix-bandeau-icones a img {
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 600px) {
    .pix-bandeau-swiper {
        height: 250px;
        aspect-ratio: initial;
    }
}

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

}
 */





/* SLOGAN */
.slogan {
    padding: 20px;
    background: rgba(245, 220, 224, 0.25);
    position: relative;
    z-index: 1;
}



/* 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(3, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .wrapper-liste-actualites {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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



/* CARD POUR LES ACTUS */
.pix-card {
    position: relative;
    text-decoration: none;
    color: #271e1a;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    
    width: 100%;
    height: 100%;
    
    font-size: 20px;

    background-color: #ede8de;
    
    max-width: 500px;
    margin: 0 auto;

    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);

    transition: box-shadow 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: 5 / 3.5;
    object-fit: cover;
}

.pix-card .pix-card-content {
    padding: 2em 1.5em;
    width: 100%;
    text-align: left;
    padding-right: 3em;
}


.pix-card .pix-card-title {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    font-size: 1.3em;
    color: inherit;
    color: #154566;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.pix-card .pix-card-description {
    font-size: 1em;
    line-height: 1.2;
    margin: 0;
    margin-top: 0.4em;
    font-weight: 400;
}
.pix-card .pix-card-description:empty {
    display: none;
}

.pix-card .voir-plus {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    background: #075b8b;
    border-radius: 4px;
    box-sizing: content-box;
    width: 2em;
    height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease;
}

.pix-card .voir-plus img {
    filter: brightness(0) invert(1);
}

.pix-card:hover {
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.3);
}
.pix-card:hover .voir-plus {
    background: #154566;
}

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

@media (max-width: 500px) {
    .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 LOGOS FOOTER */
.wrapper-logos {
    display: flex;
    flex-direction: row;
    gap: 100px;
    justify-content: center;
    align-items: center;
    /* background-color: #fff; */
    padding:clamp(20px, 3vw, 30px) clamp(30px, 5vw, 50px);
}

.wrapper-logos img {
    vertical-align: top;    
}

@media (max-width:1000px) {

    .wrapper-logos {
        gap: 60px;
    }
}




@media (max-width:800px) {
.wrapper-logos {flex-wrap: wrap;gap:0px;padding-top:10px;}

.wrapper-logos > div {
    width: 50%;
    padding:30px 10px;
    text-align: center;
    box-sizing: border-box;
}
}

@media (max-width:500px) {
    .wrapper-logos > div {padding:10px 10px;}
    .wrapper-logos {padding-left:15px;padding-right:15px;}
}





/* BANDE ACTUS */
.wrapper-bande-actus {
    max-width: 1920px;
    margin: 0 auto;
    background: #154566 url('i/bg-actus.webp') center center;
    background-repeat: repeat-x;
    background-size: auto 100%;

    padding: clamp(30px, 8vw, 60px) 40px clamp(30px, 4vw, 70px); 
    overflow: hidden;

}
.wrapper-bande-actus h2 {
    text-align: center;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-size: clamp(25px, 4vw, 60px);
    margin-bottom: 0.4em;
    position: relative;
    border: none;
    color: #2a6288;
    margin-bottom: 1em;
}


.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 {
        padding-inline: 30px;
    }
}
@media (max-width: 640px) {
    .wrapper-bande-actus {
        padding-inline: 20px;
    }
}




/* BANDE ACCUEIL */
.wrapper-bande-accueil {
    position: relative;
    min-height: 300px;
    display: flex;

    --bande-accueil-padding: clamp(18px, 2vw, 36px);

    padding: var(--bande-accueil-padding);
}

.bande-accueil-image {
    position: relative;
}
.bande-accueil-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bande-accueil-image img {
    vertical-align: top;
}

.bande-accueil-inner {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: var(--bande-accueil-padding);
}

.bande-accueil-inner a {
    font-size: clamp(30px, 4vw, 70px);
    font-family: "Lato", sans-serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    text-align: right;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    
    display: flex;
    align-items: center;
    gap: 0.3em;

    margin-bottom: 1em;
    margin-right: 0.7em;
    margin-left: 0.7em;

    transition: transform 0.2s ease, padding-left 0.2s ease;
}

.bande-accueil-inner a::after {
    content: '';
    height: 0.9ch;
    aspect-ratio: 1 / 2;
    background: #fff;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.bande-accueil-inner a:hover {
    transform: translateX(0.05em); 
    padding-left: 0.05em;   
}

.wrapper-footer ul.sousmenu {
    transform: scale(0.8);
    transform-origin: center top;
    opacity: 0.7;
}