* {
    -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: "Noto Sans", sans-serif;
    font-size:18px; 
    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: linear-gradient(to bottom, #014e7a, #00253a);

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

/* HEADER LOGO */
.wrapper-header div.logo {
    z-index: 4;
    display: flex;
    flex-direction: row;
    background-color: #fff;
    height: 100%;
    border-bottom-right-radius: 1.5em;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: -1em;

    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.4);
}

.wrapper-header a.logo {
    text-decoration: none;
    color: currentColor;
    position: relative;
    display: inline-flex;
    vertical-align: top;
    align-items: center;
    height: 100%;

    padding: 1.5em 1.5em 1.5em 1.5em;
}


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

.wrapper-header .header-slogan {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom right, #d2d2d2, #ffffff, #d2d2d2);
    padding: 1.5em 1.2em 1.5em 1.2em;
}

.wrapper-header .header-slogan h3 {
    font-size: 1.5em;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 800;
    color: #0e3a5a;
    line-height: 1.2;
    margin: 0;
}
.wrapper-header .header-slogan h3 span.dl {
    font-size: 0.9em;
    font-weight: 400;
    font-style: italic;
    color: currentColor;
}


.wrapper-header-right {
    width: 100%;
    display: flex;
    flex-direction: column;
}


.header-top-contact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.5em 1em;

    background-color: #4f83a0;
    width: max-content;
    margin-left: auto;

    border-bottom-left-radius: 1em;
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.header-top-contact img {
    width: 1.6em;
    height: 1.6em;
}

.header-top-contact p {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    font-family: "Fira Sans Condensed", sans-serif;
    line-height: 1.2;
}




/* MENU */
.wrapper-menu{
    text-align: center;

    width: 100%;
    margin: 0 auto;
    margin-top: auto;

    padding-right: 2em;
}
.wrapper-menu .menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    height: 100%;

    z-index: 2;
    position: relative;
}
.wrapper-menu .menu > li{
    position: relative;
    z-index: 10;
    transform: translateZ(0);
}

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

    transition: color 0.2s ease, background 0.2s ease;
}


.wrapper-menu .menu .menu-item > a::before,
.wrapper-menu .menu .menu-item > span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5em;
    background: #6aaf2e;
    z-index: 0;
    transform: scaleY(0);
    transform-origin: bottom center;

    transition: transform 0.2s ease;
}

/* ON HOVER */
.wrapper-menu .menu .menu-item:hover > a,
.wrapper-menu .menu .menu-item:hover > span {
    /* background: rgba(237, 28, 36, 0.2); */
    /* color: #fff; */
}
.wrapper-menu .menu .menu-item:hover > a::before,
.wrapper-menu .menu .menu-item:hover > span::before {
    /* transform: scaleX(1) skewX(-15deg); */
    transform: scaleY(1);
}

/* ON SELECTED */
.wrapper-menu .menu .menu-item.selected > a,
.wrapper-menu .menu .menu-item.selected > span {
    color: #6aaf2e;
    background: #003d5e;
}

.wrapper-menu .menu .menu-item.selected > a::before,
.wrapper-menu .menu .menu-item.selected > span::before {
    /* transform: scaleX(1) skewX(-15deg); */
    transform: scaleX(1);
    background: #6aaf2e;
}

.wrapper-menu .menu .menu-item.selected .menu-arrow {
    filter: none;
}

.wrapper-menu .menu .menu-item > a em,
.wrapper-menu .menu .menu-item > span em {
    font-style: normal;
}

.wrapper-menu .menu .menu-arrow {
    filter: brightness(0) invert(1);
} 
.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%);
    transform-origin: top;
    min-width: 100%;
    list-style: none;
    padding: 0;
    background-color: #00253a;
    z-index: -1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.wrapper-menu .sousmenu a{
    color: #fff;
    text-decoration: none;
    padding: 1em 0.7em;
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    display: block;
    line-height: 1.15;
    font-size: 0.9em;
    font-weight: 400;
    border-radius: 0;
}

.wrapper-menu .sousmenu a:hover{
    background: rgba(255, 255, 255, 0.2);
    /* color: #fff; */
}

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

.wrapper-menu .menu li:hover > ul{
    display: block;
}



/* BURGER */
.wrapper-header .burger-btn{
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 1em;
    width: 40px;
    height: 40px;
    padding: 16px;
    background-color: #6aaf2e;
    border: none;
    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: #fff;

    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: 1600px) {
    .wrapper-header {
        font-size: 18px;
    }
}

@media (max-width: 1480px) {
    .wrapper-header {
        font-size: 17px;
    }
}
@media (max-width: 1380px) {
    .wrapper-header {
        font-size: 16px;
    }

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

    .wrapper-header a.logo {
        padding: 1.5em 1em 1.5em 1em;
    }
    .wrapper-header .header-slogan {
        padding: 1.5em 0.8em 1.5em 0.8em;
    }

}
@media (max-width: 1250px) {
    .wrapper-header {
        font-size: 15px;
    }
    .wrapper-header div.logo {
        font-size: 14px;
    }
}

@media (max-width: 1150px) {
    .wrapper-menu .menu a, .wrapper-menu .menu span {
        padding: 1em 1.1em 1.3em;
    }
}

@media (max-width: 1110px) {
    .wrapper-header {
        font-size: 14px;
    }

    .wrapper-header div.logo {
        font-size: 12px;
    }
    .wrapper-header a.logo {
        padding: 2em 1em 2em 1em;
    }
}


@media (max-width: 1000px) {

    .header-top-contact {
        background-size: 100% auto;
    }
    
    .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: 14px;
    } 

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

    .wrapper-header .wrapper-menu .menu {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 10px 70px 10px 10px;
        height: 100%;
        background: linear-gradient(to bottom, #014e7a, #00253a);;
        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-menu .menu .menu-item > a em, 
    .wrapper-menu .menu .menu-item > span em {
        transform: none;
    }

    .wrapper-header .wrapper-menu .menu a,
    .wrapper-header .wrapper-menu .menu span {
        padding: 10px;
        width: 100%;
        text-align: left;
        height: auto;
        counter-increment: menu-item;
    }

    .wrapper-header .wrapper-menu .menu span em {
        display: flex;
        flex-direction: row;
    }

    

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

    .wrapper-header .wrapper-menu .sousmenu{
        position: static;
        box-shadow: none;
        display: none;
        background: transparent;
        padding-left: 15px;
        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: 500;
        padding: 10px 10px;
        text-align: left;
        font-size: 16px;
        /* text-transform: none; */
    }

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


    .wrapper-header .header-top {
        font-size: 14px;
    }


    .wrapper-menu .menu .menu-item > a::before,
    .wrapper-menu .menu .menu-item > span::before {
        height: 0.3em;
    }

    /* HOVER */
    .wrapper-menu .menu-item:hover > a::before,
    .wrapper-menu .menu-item:hover > span::before {
    }
    
    /* SELECTED */
    .wrapper-menu .menu-item.selected > a::before, 
    .wrapper-menu .menu-item.selected > span::before {
    }

    .header-top-contact {
        top: auto;
        bottom: 0;
    }

}


@media (max-width: 600px) {
    .wrapper-header {
        font-size: 12px;
    }
    .wrapper-header a.logo {
        padding: 3em 1em 3em 1em;
    }
    .wrapper-header div.logo {
        font-size: 9px;
    }
}

@media (max-width: 460px) {
    .wrapper-header .header-slogan {
        display: none;
    }

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

    .wrapper-header a.logo {
        padding: 2.8em 1em 2.8em 1em;
    }
}



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

    color: #fff;

    background: linear-gradient(to top, #002338, #004e79);

    margin-top: calc(clamp(120px, 35vw, 335px) * 335/296 * 0.4);
}

.wrapper-full-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('i/bg-footer-2x.png') bottom 80px center no-repeat;

    background-size: clamp(250px, 55vw, 1070px) auto;

    pointer-events: none;
}


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


.wrapper-footer .logo-footer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-40%);
    z-index: 2;
}

.wrapper-footer .logo-footer img {
    width: clamp(120px, 35vw, 335px);
}


.wrapper-footer a {
    text-decoration: none;
    color: currentColor;
    font-weight: 700;
}

.wrapper-footer a:hover {
    color: #6aaf2e;
}

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

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;

    margin: 0 auto;

    z-index: 1;

    max-width: 1920px;

    padding: clamp(40px, 20vw, 200px) 0 calc(clamp(40px, 20vw, 200px) * 130/100);
}



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


.wrapper-footer-inner .footer-inner {
    margin: 0 auto;
    text-align: center;
    padding: 40px 10px;
    max-width: 400px;
}

.wrapper-footer-inner .footer-inner h3 {
    color: #fff;
    margin: 0;
    margin-bottom: 0.5em;
    font-weight: 600;
    font-family: "Kanit", sans-serif;
    font-size: 1.5em;
}


.footer-1 p {
    max-width: 260px;
    margin: 0 auto;
}

.footer-tel {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

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




.wrapper-footer .mentions{
    color: #425d6c;
    position: relative;
    padding: 40px 20px;
}

div.mentions {
    position: relative;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #425d6c;

    padding: 40px 20px 0;
}


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


.pix-footer-facebook {
    margin-top: 1em;
    display: inline-block;
}

.pix-footer-facebook:hover {
    filter: brightness(0) saturate(100%) invert(54%) sepia(64%) saturate(479%) hue-rotate(49deg) brightness(99%) contrast(89%);
}


@media (max-width: 980px) {
    .wrapper-footer-inner .footer-1,
    .wrapper-footer-inner .footer-2 {
        width: 100%;
    }

    .wrapper-footer-inner .footer-inner {
        padding-block: 20px;
    }
}





/* CONTENU */
input.form_submit,
a.bouton {
    display: inline-block;
    color: #fff;
    background: linear-gradient(to right, #6aaf2e 0%, #4f8223 50%, #4f8223 100%);
    background-size: 200% auto;
    background-position: left center;

    text-decoration: none;
    padding: 1em 1em;
    font-weight: 700;
    font-size: 1em;
    border: none;
    border-radius: 0;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: background-position 0.2s ease, color 0.2s ease;
}


a.bouton:hover,
input.form_submit:hover {
    background-position: right center;
    color: #fff;
}

.formulaire-envoyer input.form_submit {
    padding: 8px 18px;
    font-size: 18px;
    cursor: pointer;
    background: #d2590a;
    color: #fff;
}



.wrapper-site {
    /* overflow: hidden; */ /* Quand il est activé le sticky ne fonctionne plus */
}



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

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

.wrapper-boxed {
    position: relative;
}


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

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

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


h1,h2.h1 {
    font-size: clamp(26px, 4vw, 44px);
    font-family: "Noto Sans", sans-serif;
    font-variation-settings: 'wdth' 75;
    font-weight: 700;
    line-height: 1.05;
    color: #004e7a;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -0.5rem;
    position: relative;
}


span.dl {
    display: block;
    font-size: 0.65em;
    font-weight: 500;
    line-height: 1.05;
    color: inherit;
    text-transform: uppercase;
    margin: 0;
    margin-top: 0.1em;
    font-variation-settings: 'wdth' 100;
}


h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    line-height: 1.05;
    color: #004e7a;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -0.5rem;
    position: relative;
}


h3 {  
    font-size: calc(clamp(26px, 4vw, 44px) * 32/40);
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    line-height: 1.05;
    color: #4f83a0;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: -0.5rem;
    position: relative;
}






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


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

a.lien:hover {
    color: #6aaf2e;
    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: 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;max-width:100%;}
div.left-responsive {float:left; padding-right: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:#e16b1d; 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 #e16b1d 1px; font-size:15px;}
input.frmsubmit {  background-color:#e16b1d; border:#e16b1d 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: #4f83a0;
    padding: 4px 20px!important;
    color:#ffffff;text-align:left;
    text-transform: uppercase;text-align: center;font-weight: 700;
}
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;
    background: #4f83a0;
    margin-top: 20px;
    color: #fff;
}

sup{
    color: #e16b1d;
    font-weight: 700;
    font-size: 16px;
    vertical-align: top;
}
.error{color:#e16b1d;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;
    right: 0;
    transform: translateX(-50%);
    bottom: 20px;
    background: #6aaf2e url("i/arrow-up.svg") no-repeat center center;
    background-size: 20px 20px;
    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;
}



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 {
    box-shadow: 0.1em 0.2em 0.4em rgba(0, 0, 0, 0.5);
}


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

}


.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:#000;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: #6aaf2e !important;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    margin: 5px 0;
    display: inline-block;
    font-family: "Noto Sans", sans-serif;
    font-variation-settings: 'wdth' 75;
}

.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:#6aaf2e !important;
    font-weight: 500;
    font-style: normal;
    font-family: "Noto Sans", sans-serif;
    font-variation-settings: 'wdth' 75;
    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 / 800;
    position: relative;
    user-select: none;
    max-width: 1920px;
    margin: 0 auto;
    
    --bandeau-padding-left: clamp(20px, 4vw, 60px);
    --bandeau-radius: calc(var(--bandeau-padding-left) * 80 / 60);
    padding-left: var(--bandeau-padding-left, 0);

    overflow: hidden;
}

.pix-bandeau-swiper .swiper-slide img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 1860px;
    border-bottom-left-radius: var(--bandeau-radius);
}
.pix-bandeau-swiper .swiper-slide {
    position: relative;
    /* background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0)); */
}
.pix-bandeau-swiper .swiper-slogan {
    position: absolute;
    bottom: var(--bandeau-radius);
    left: calc(var(--bandeau-padding-left, 0) * -1);
    text-align: left;
    pointer-events: none;
    font-size: clamp(16px, 4vw, 60px);
    padding: 0.7em 0.5em;
    color: #fff;
    width: max-content;
    max-width: 100%;
    
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

    display: flex;
    justify-content: center;
    flex-direction: column;

    background: rgba(0, 77, 122, 0.7);
}
.pix-bandeau-swiper .swiper-slogan h3 {  
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 1em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    color: #fff;
}

.pix-bandeau-swiper .swiper-slogan span {
    font-family: "Noto Sans", sans-serif;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    font-size: clamp(12px, 0.5em, 1em);
    line-height: 1;
    margin-top: 0.4em;
}

.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;
    background: #6aaf2e 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;
}


/* @media (max-width: 800px) {
    .pix-bandeau-swiper {
        height: 450px;
        aspect-ratio: initial;
    }
}
@media (max-width: 520px) {
    .pix-bandeau-swiper {
        height: 360px;
        aspect-ratio: initial;
    }
} */
@media (max-width: 470px) {
    .pix-bandeau-swiper {
        height: 220px;
        aspect-ratio: initial;
    }
}



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



/* 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;
    }
}




/* 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;}



/* CAROUSEL ICONES */
.wrapper-bande-icones {
    position: relative;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    background: url('i/bg-goudron.jpg') repeat-x center center;
    background-size: auto min(100%, 700px);

}


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

.swiper-icones {
    position: relative;

    padding: max(2vw, 20px) 80px;
    
    width: 100%;
    margin: 0 auto;

    overflow: hidden;

    text-align: center;
}

.wrapper-icone {
    text-decoration: none;
    max-width: 500px;
    width: 100%;

    font-size: 20px;

    background: linear-gradient(to bottom right, #d7d6d6, #fff, #d7d6d6);
    border: 1px solid #bcbcbc;

    
    color: #2b2c30;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    padding: 1.5em 2em 2em 2em;
    border-radius: 1.5em;

    margin-top: 4px;

    transition: all 0.3s ease;

    position: relative;
}

.wrapper-icone::before {
    content: '';
    position: absolute;
    bottom: -1px; /* border bottom */
    left: 0;
    transform: translateY(100%);
    width: 100%;
    height: 0px;
    z-index: 2;
    transition: height 0.3s ease;
}


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

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

    background: linear-gradient(to top, #025884, #23aedd);
    border-radius: 50%;

    transition: filter 0.4s ease; 
}

.wrapper-icone-texte {
    text-align: left;
}
.wrapper-icone-texte h3 {
    margin: 0;
    line-height: 1.1;
    font-size: 1.2em;
    text-transform: uppercase;
    color: currentColor;
    font-family: "Noto Sans", sans-serif;
    font-variation-settings: "wdth" 85;
    font-weight: 600;
    color: #00263c;

    transition: color 0.4s ease;
}
.wrapper-icone-texte h3 span {
    font-weight: 400;
    display: block;
    font-style: italic;
}

.wrapper-icone-voir-plus {
    color: #6aaf2e;
    font-weight: 500;
    font-family: "Kanit", sans-serif;
    margin-top: 1em;
    display: inline-block;
}

.wrapper-icone-voir-plus img {
    transition: margin-left 0.2s ease;
}


.wrapper-icone:hover {
    margin-top: 0;
    margin-bottom: 4px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.wrapper-icone:hover::before {
    height: 4px;
}

.wrapper-icone:hover .wrapper-icone-voir-plus img {
    margin-left: 4px;
}



@media (max-width: 1670px) {
    .swiper-icones {
        padding-inline: 40px;
    }
}

@media (max-width: 1350px) {
    .wrapper-icone {
        font-size: 17px;
    }
    .wrapper-icone-image img {
        width: 5em;
        height: 5em;
    }
}

@media (max-width: 900px) {
    .wrapper-icone {
        font-size: 15px;
        padding: 1.2em 1.5em 1.5em 1.5em;
    }

    .swiper-icones {
        padding-inline: 20px;
    }
}

@media (max-width: 480px) {
    .wrapper-icone {
        font-size: 13px;
    }
}




/* PIX-BANDE-IMAGE */
.wrapper-bande-image {
    position: relative;
    z-index: 2;

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

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    place-items: center;

    background: #004e7a;

    margin: 60px 0;
}

.wrapper-bande-image-img {
    height: 100%;
    max-width: 780px;
    margin-right: auto;
}

.wrapper-bande-image-img img {
    vertical-align: top;
    width: 100%;
    height: calc(100% + 80px);
    object-fit: cover;
    margin-top: -40px;
    margin-bottom: -40px;
    border-radius: 0 40px 40px 0;

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


.wrapper-bande-image-text {
    max-width: 800px;
    margin-right: auto;
    padding: clamp(20px, 6vw, 140px) 40px clamp(20px, 6vw, 140px) 0;

    color: #fff;
}

.wrapper-bande-image-text :is(h1, h2) {
    color: #fff;
}
.wrapper-bande-image-text :is(h1, h2) span.dl {
    color: #ffffff;
}


@media (max-width: 800px) {
    .wrapper-bande-image {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
    .wrapper-bande-image-img,
    .wrapper-bande-image-text {
        width: 100%;
    }
    .wrapper-bande-image-text {
        padding: 20px;
        order: -1;
    }

    .wrapper-bande-image-img img {
        border-radius: 40px 40px 0 0;

        margin-bottom: 0;
        height: calc(100% + 40px);
    }
}




/* BANDE ACTUS */
.wrapper-bande-actus {
    max-width: 1920px;
    margin: 0 auto;

    padding: 20px 40px 30px; 
    overflow: hidden;

    background: url('i/bg-goudron.jpg') repeat-x center center;
    background-size: auto min(100%, 700px);
}

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

.wrapper-bande-actus h2 {
    text-align: center;
    margin-bottom: 0.7em;
    font-size: calc(clamp(26px, 4vw, 44px) * 64/44)
}


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




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

    background-color: #fff;
    
    max-width: 500px;
    border-top-right-radius: 3em;
    overflow: hidden;
    margin: 0 auto;

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

    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: 1.5em 2.5em 1.5em 1.5em;
    width: 100%;
    text-align: left;

    background: rgba(255, 255, 255, 0.7);
}


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

.pix-card .pix-card-excerpt {
    font-weight: 500;
    font-family: "Noto Sans", sans-serif;
    margin: 0;
    margin-top: 0.75em;
}

.pix-card .voir-plus {
    position: absolute;
    bottom: 10px;
    right: 10px;

    background: #6aaf2e;
    box-sizing: content-box;
    width: 2em;
    height: 2em;
    border-radius: 0 0.3em 0 0.3em;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transition: background 0.2s ease;
}

.pix-card .voir-plus img {
    width: 1em;
    padding: 0.5em;
    transition: transform 0.5s ease;
}


.pix-card:hover .voir-plus img {
    transform: rotate(270deg);
}

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

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

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





.wrapper-bande-philippetp {
    display: grid;
    grid-template-columns: 40% 60%;

    --triangle-size: clamp(100px, 15vw, 280px);

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

.bande-philippetp-image {
    position: relative;
}

.bande-philippetp-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: var(--triangle-size);
    height: 100%;
    background: #fff;
    z-index: 1;
    pointer-events: none;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.bande-philippetp-image img {
    vertical-align: top;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.bande-philippetp-inner {
    text-align: center;
    align-content: center;
    padding-left: calc(var(--triangle-size) / 2);
    padding-right: 1px;

    padding-block: 40px;
}

.bande-philippetp-inner h2 {
   font-family: "Noto Sans", sans-serif;
   font-weight: 400;
   color: #000; 
   text-transform: none;
   font-size: clamp(24px, 3vw, 30px);
}

.bande-philippetp-inner h2 img {
    margin-top: 1.5em;
}

.bande-philippetp-inner p {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1.5em 0 2em 0;
}


.bande-philippetp-inner a.bouton {
    background-image: linear-gradient(to right, #e16b1d 0%, #cf5505 50%, #cf5505 100%);
}

@media (max-width: 700px) {
    .wrapper-bande-philippetp  {
        grid-template-columns: 1fr;
        
        --triangle-size: 40px;
    }

    .bande-philippetp-image::before {
        top: -1px;
        left: 0;
        width: 100%;
        height: var(--triangle-size);
        clip-path: polygon(0 0, 100% 0, 100% 1px, 0% 100%);
    }

    .bande-philippetp-inner h2 img {
        max-width: 300px;
        margin-top: 0.8em;
    }

    .bande-philippetp-inner {
        padding: 40px 20px calc(var(--triangle-size) / 2) 20px;
    }
}







/* 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: #4f83a0;
    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: #4f83a0;border-radius: 5px;
}
/* FIREFOX */
.tableau-container {
    scrollbar-width: large;
    scrollbar-color: #4f83a0 #f1f1f1;
}