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

html {
    overflow-y: scroll !important;
}

body {
    font-family: "Open Sans", serif;
    font-size:18px; 
    color:#22325d;
    font-weight: 400;
    margin: 0;
    background-color:#ffffff;
    line-height: 1.4;
}

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


#menu, .slicknav_menu {
    display: none;
}

html {height:100%;}



.wrapper-header{
    display: flex;
    flex-direction: row;

    position: relative;
    z-index: 1000000000;
    
    margin: 0 auto;
    background: linear-gradient(to top, #273c75, #4a618c);

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

    font-size: 22px;
}


/* HEADER LOGO */
.wrapper-header div.logo {
    flex-shrink: 0;
    z-index: 100000;
    height: 100%;
}

.wrapper-header a.logo {
    text-decoration: none;
    color: currentColor;
    position: relative;
    display: inline-block;
    background-color: #fff;

    padding: 0.9em 2em 0.9em 1.4em;
    border-top-right-radius: 2.4em;

    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);

}

.wrapper-header a.logo img {
    vertical-align: top;
    width: 25em;
}

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

    width: 100%;
    margin: 0 auto;

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

.wrapper-menu .menu a,
.wrapper-menu .menu span{
    font-family: "Open Sans", sans-serif;
    font-variation-settings: "wdth" 87.5;
    font-weight: 500;
    font-size: 1em;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 1em 1em;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.wrapper-menu .menu-item > a,
.wrapper-menu .menu-item > span {
    border-radius: 0.85em;
    border-top-left-radius: 0;
}



.wrapper-menu .menu-item {
    --selected-color: #5e5e5e;
    --background-color: #2a88ad;
}


/* ON HOVER */
.wrapper-menu .menu-item:hover > a,
.wrapper-menu .menu-item:hover > span {
    background: rgba(26, 40, 66, 0.15)
}

.wrapper-menu .menu-item:hover > a::before,
.wrapper-menu .menu-item:hover > span::before {
    transform: scaleY(1);
}

/* ON SELECTED */
.wrapper-menu .menu-item.selected > a,
.wrapper-menu .menu-item.selected > span {
    background: var(--background-color);
    color: #fff;
}

.wrapper-menu .menu-item.selected > a::before,
.wrapper-menu .menu-item.selected > span::before{
    transform: scaleY(1);
}



.wrapper-menu .menu span div.menu-arrow {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}
.wrapper-menu .menu span div.menu-arrow img {
    width: 0.6em;
    height: auto;
}

.wrapper-menu .menu-item.selected .menu-arrow {
    filter: brightness(0) invert(1);
} 

.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(39, 60, 117, 0.9);
    z-index: -1;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}


.wrapper-menu .sousmenu::before {
    content: '';
    position: absolute;
    top: 0px;
    height:10px;
    left: 0px;
    width: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 5px, rgba(0, 0, 0, 0) 10px);
    pointer-events: none;
}
.wrapper-menu .sousmenu a{
    color: #fff;
    text-decoration: none;
    padding: 1em 1em;
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    display: block;
    line-height: 1.15;
    font-size: 0.9em;
    font-weight: 500;
}

.wrapper-menu .sousmenu a:hover{
    background: var(--background-color);
}

.wrapper-menu .sousmenu .selected a {
    background: var(--background-color);
    color: #fff;
}

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



/* BURGER */
.wrapper-header .burger-btn{
    position: relative;
    margin-left: auto;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    padding: 15px;
    background-color: #2a88ad;
    border: none;
    border-radius: 0.85em;
    border-top-left-radius: 0;
    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: 22px;
    height: 2px;
    background: #fff;

    transition: transform 0.2s ease;
}


.wrapper-header .burger-btn .line:first-child{
    transform: translate(-50%, -10px); /* 8px + 2px de la hauteur*/
}
.wrapper-header .burger-btn .line:last-child{
    transform: translate(-50%, 8px);
}
.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: 20px;
    }
}
@media (max-width: 1480px) {
    .wrapper-header {
        font-size: 18px;
    }
}

@media (max-width: 1300px) {
    .wrapper-header {
        font-size: 16px;
    }
    .wrapper-menu .menu {
        padding-right: 1.5em;
    }
}

@media (max-width: 1150px) {
    .wrapper-header a.logo img {
        width: 20em;
    }
}

@media (max-width: 1080px) {
    .wrapper-menu .menu-item > a, .wrapper-menu .menu-item > span {
        font-variation-settings: "wdth" 75;
    }
    .wrapper-header a.logo {
        padding: 0.9em 1em 0.9em 0.7em;
    }
}

@media (max-width: 960px) {
    .wrapper-menu {
        padding-right: 10px;
    }
    .wrapper-header .header-top {
        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.7);
        width: 100%;
        opacity: 0;
        padding: 0;
        transition: opacity 0.2s ease;
        opacity: 0;
        pointer-events: none; 
        height: 100vh;      
        height: 100dvh;      
    } 

    .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: linear-gradient(to top, #273c75, #4a618c);
        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;
        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 .menu-item:hover {
        background: transparent;
    }

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

    .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-item > a::before,
    .wrapper-menu .menu-item > span::before {
        width: 5px;
        height: 100%;
    }

}



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

    background: linear-gradient(to top, #fdfdfd 80px, #fff 80px);

    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1) inset;
}

.wrapper-footer {
    color: #273c75;
    position: relative;
    font-weight: 400;
    background: url('i/deco-footer.svg') no-repeat bottom right;
    background-size: 500px auto;
}


.wrapper-footer a {
    text-decoration: none;
    color: currentColor;
    font-weight: bold;
}
.wrapper-footer a:hover {
    color: #2a88ad;
}


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

    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;

    padding: clamp(50px, 5vw, 70px) 0 clamp(20px, 6vw, 90px);

    margin: 0 auto;

    z-index: 1;

    max-width: 1780px;
}


.footer-1 {
    width: 300px;
    flex-shrink: 0;
} 
.footer-1 .footer-inner {
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.footer-2, .footer-3, .footer-4 {
    width: 100%;
}

.wrapper-footer-inner .footer-inner {
    margin: 0 auto;
    padding: 20px;
    max-width: 400px;
    width: max-content;
}

.footer-inner h3 {
    text-align: left;
    color: currentColor;
    text-transform: uppercase;
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-inner p {
    margin: 0;
}
.footer-inner address {
    font-style: normal;
    font-weight: 400;
}

.wrapper-footer .footer-lien-plan {
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 700;
}


.footer-inner .footer-email {
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
}

.footer-2 .jours {
    text-transform: uppercase;
    font-weight: 700;
}
.footer-2 .fermeture {
    font-style: italic;
    font-weight: 600;
    color: #4a618c;
}
.footer-2 .horaires {
    margin-bottom: 10px;
}

.footer-2 .footer-space {
    margin-bottom: 5px;
    display: inline-block;
}

.footer-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-4 ul li a {
    text-transform: uppercase;
    display: inline-block;
    padding: 1px 0;
}

.footer-3 {
    position: relative;;
}
.footer-3::before, 
.footer-3::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 220px;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, #4a618c00, #273c75, #4a618c00);
}
.footer-3::after {
    right: 0;
    left: auto;
}


.wrapper-footer .mentions{    
    font-size: 18px;
}

div.mentions {
    position: relative;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 0 35px 0 35px;

    padding-bottom: 150px;
}

div.mentions a {
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1320px) {
    .wrapper-full-footer {
        background-size: 300px auto;
    }

    .wrapper-footer-inner {
        flex-wrap: wrap;
    }

    .footer-1 {
        width: 100%;
    }

}
@media (max-width: 950px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-2, .footer-3, .footer-4 {
        width: 100%;
    }

    .wrapper-footer-inner .footer-inner {
        padding: 20px;
        margin: 0 auto;
        text-align: center;
        font-size: 18px;
    }
    .footer-inner h3 {
        text-align: center;
    }

    .footer-3::before, .footer-3::after {
        height: 2px;
        width: 40vw;
        transform: translateX(-50%);

        background: linear-gradient(to right, #4a618c00, #273c75, #4a618c00);
    }

    .footer-3::before {
        top: 0;
        left: 50%;
    }

    .footer-3::after {
        bottom: 0;
        top: auto;
        left: 50%;
    }

    .footer-2 .footer-inner {
        padding-bottom: 30px;
    }
    .footer-3 .footer-inner {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .footer-4 .footer-inner {
        padding-top: 30px;
    }
}

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


/* CONTENU */

input.form_submit,
a.bouton {
    display: inline-block;
    color: #fff;
    background: #2a88ad;

    border-radius: 0.5em;
    border-top-left-radius: 0;
    text-decoration: none;
    padding: 0.75em 0.75em;
    font-weight: 700;
    font-size: 1em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-align: center;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    border:none;
}

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

a.bouton.bouton-blanc {
    color: #fff;
    border-color: #fff;
}


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



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



.wrapper-contenu {
    background: #ffffff;
    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 50px 30px;}

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




h1,h2.h1 {
    font-family: "Quicksand", serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.05;
    color: #273c75;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    margin-bottom: -0.5em;
}

span.dl {
    display: block;
    color: #4a618c;
    font-family: "Open Sans", serif;
    font-size: 0.62em;
    line-height: 1;
    font-weight: 700;
    margin-top: 0.3em;
}

h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-20px);
    background: #4a618c;
}



h2 {
    font-family: "Quicksand", serif;
    margin: 0;
    font-weight: 500;
    color: #273c75;
    position: relative;
    line-height: 1.1;
    font-size: calc(clamp(26px, 4vw, 48px) * 36/48);
    margin-bottom: -1rem;
    text-transform: uppercase;
}

h3 {  
    font-family: "Quicksand", serif;
    font-size: calc(clamp(22px, 4vw, 26px) * 22/26);
    font-weight: 500;
    color: #273c75;
    margin: 0;
    line-height: 1;
    margin-bottom: -1rem;
}






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


a.lien:link,
a.lien:visited {
    color: #2a88ad;
    font-weight: 800;
    text-decoration: none;
}

a.lien:hover {
    color: #2a88ad;
    text-decoration: none;}


a.lienpetit:link,a.lienpetit:visited {font-size:15px;color:#2a88ad; font-weight:800; text-decoration:none; }
a.lienpetit:hover{color:#2a88ad;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: 8px;
    background: url(i/puce.svg) center center no-repeat;
    background-size: contain;
    vertical-align: middle;
}



ul.images {
    padding:0px;
    margin:0;
    list-style-type:none;
}

ul.images li {
    float:left;
}

ul.images div.i {
    display:block;
    margin:auto;
    text-align:center;
}

ul.n2 li {width:50%;}
ul.n3 li {width:33.33%;}
ul.n4 li {width:25%;}
ul.n5 li {width:20%;}

ul.n2 li, ul.n3 li, ul.n4 li, ul.n5 li {padding-left:10px;padding-right:10px;}


@media (max-width:880px) {
    ul.n4 li {width:50%;margin-bottom:20px;}
}




@media (max-width:560px) {
	ul.n2 li, ul.n3 li, ul.n4 li, ul.n5 li {width:100%;margin-bottom:20px;}
	ul.images li {float:none;}
}



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: #333;
  border: 1px solid #333;
  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:#ba0000; font-weight:bold; }

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

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

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

.pagination_inactif { color:#c6bdbd; font-weight:normal; font-style:normal;}
a.lienpagination:link,a.lienpagination:visited,a.lienpagination:hover,a.lienpagination:active  {   color:#000; font-weight:bold; text-decoration:none;display:block;width:100%;}
a.lienpaginations:link,a.lienpaginations:visited,a.lienpaginations:hover,a.lienpaginations:active  {   color:#000; font-weight:bold; text-decoration:none;display:block;width:100%;}
.cadrepagination {}
.cadrepaginations {background-color:#ba0000;pointer-events: none; }
a.lienpaginations{color: #fff!important;}
a.lienpaginations[href="#"] {pointer-events: none; color: #fff;}
table.pagination {background-color:#CCC;border:1px solid #ccc;background-image:url(i/pagination.gif);background-repeat:repeat-x;background-position:top;}

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

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

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

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



@media (max-width:580px) {
    td.cadrepaginations, td.cadrepagination {display: none;}
}



div.map {
    padding: 0px 0;
}

.form_header {
    background: #223353;
    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: #223353;
    margin-top: 20px;
    color: #fff;
}

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

#form {
    color:#333333;
    background-position: center center;
    padding: 20px;
}

#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: #2a88ad url("i/arrow-up.svg") no-repeat center center;
    background-size: 20px 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out 0s;
}

a.back-to-top:hover {
    background-size: 24px 24px;
    background-color: #273c75;
}



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: 0px 3px 8px rgba(9, 9, 13, 0.3);
}

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



.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: 25%; }

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

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

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

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



.pswp {z-index: 150000000;}


.detail-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
}
.detail-pagination a.lien {
    color: currentColor !important;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    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: 14px;
}

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

.show-previous .lien {
    padding-left: 2px;
    transition: padding 0.2s ease;
    
}
.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:#223353 !important;
    font-weight: normal;
    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 / 720;
    position: relative;
    user-select: none;
    max-width: 1920px;
    margin: 0 auto;
    margin-top: -1px;
}


.pix-bandeau-swiper .swiper-slide .swiper-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 720;
    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;
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
}
.pix-bandeau-swiper .swiper-slogan {
    position: absolute;
    bottom: 7%;
    left: 4%;
    right: 0;
    text-align: left;
    pointer-events: none;
    font-size: 30px;
    color: #fff;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: translateY(10px);
}
.pix-bandeau-swiper .swiper-slide-active .swiper-slogan {
    opacity: 1;
    transform: translateY(0px);
}
.pix-bandeau-swiper .swiper-slogan h3 {
    
    font-weight: 900;
    font-size: clamp(20px, 5vw, 40px);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
}
.pix-bandeau-swiper .swiper-slogan span {
    display: block;
}


.pix-bandeau-swiper video {
    pointer-events: none;
}
.pix-bandeau-swiper video[poster]{
    height:100%;
    width:100%;
    object-fit: cover;
}


.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: 30px;
    height: 30px;
    background: #273c75 url('i/arrow-bandeau.svg') no-repeat center center / 12px 12px;
    border-radius: 0px;
    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.7;
}
.pix-bandeau-swiper .swiper-button-prev:hover,
.pix-bandeau-swiper .swiper-button-next:hover {
    opacity: 1;
}


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



/* Bande actualites */
.wrapper-bande-annonces {
    width: 100%;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    padding: clamp(35px, 5vw, 70px) 0 clamp(35px, 5vw, 70px);

    background-image: url('i/bg-annonces.svg'), linear-gradient(to top, #fff 20%, #273c75 20%, #4a618c 100%);
    background-repeat: no-repeat;
    background-size: 100% auto, 100% 100%;
    background-position: top center, center center;
}

.wrapper-bande-annonces h2.h1 span.dl {
    color: #fff;
}


.wrapper-bande-annonces h2 {
    font-family: "Quicksand", serif;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-align: center;

    margin-bottom: 0.5em;
}

.wrapper-bande-annonces h2::after {
    content: '';
    display: block;
    width: 8em;
    height: 2px;
    background: linear-gradient(to right, #ffffff00, #fff, #ffffff00);
    margin: 0 auto;
    margin-top: 0.5em;
}


.swiper-annonces {
    position: relative;
    padding: 0 20px;
}


/* SLOGAN */
.slogan {
    padding: 20px;
    background: rgba(34, 51, 83, 0.1);
    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;
}

.wrapper-liste-actualites .wrapper-actu {
    width: calc(1 / 3* 100% - 40px);
}
.wrapper-liste-actualites .wrapper-actu .actu {
    width: 100%;
    max-width: none;
}

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




/* FICHE TERRAIN/MAISON */
.wrapper-annonce {
    margin-top: 30px;
}
.wrapper-annonce h1 {
    margin-bottom: 0.3em;
}

.wrapper-annonce .annonce-content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 'content info' 'dpe info' 'galerie info';
    position: relative;
    margin-bottom: 50px;
}

.wrapper-annonce .detail-texte {
    grid-area: content;
}

.wrapper-annonce .annonce-dpe {
    grid-area: dpe;
}

.wrapper-annonce .annonce-info {
    grid-area: info;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    max-height: calc(100dvh - 40px); /* 40px = padding haut + bas */
    overflow: auto;
    align-self: flex-start;
    position: sticky;
    top: 20px;
    margin-left: 20px;

    width: min(320px, 40vw);

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

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

.annonce-item-info {
    display: flex;
    flex-direction: column;
}
.annonce-item-info .annonce-item-label {
    font-size: 0.8em;
    line-height: 1;
    margin-top: 0.2em;
}
.annonce-item-info .annonce-item-value {
    font-weight: 800;
    color: #156f8c;
    font-size: 1.2em;
    line-height: 1;
}

.annonce-prix-honoraires {
    display: block;
    font-size: 0.8em;
    margin: 0;
    font-style: italic;
}


.wrapper-annonce .annonce-galerie {
    grid-area: galerie;
}

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

.wrapper-annonce .annonce-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
}
.wrapper-annonce .annonce-tags .annonce-tag {
    display: inline-block;
    color: #3d3d3d;
    background: transparent;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    text-decoration: none;
    padding: 0.5em 0.75em;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .wrapper-annonce .annonce-galerie .isotope-grid-item {width: 50%;}
}

@media (max-width: 750px) {
    .wrapper-annonce  .annonce-content {
        display: grid;
        grid-template-areas: 'info' 'content' 'dpe' 'galerie';
        grid-template-columns: 1fr;
        gap: 16px; /* Espacement entre les éléments */
    }

    .wrapper-annonce .annonce-info {
        margin-left: 0;
        width: 100%;
        position: static;
    }

}

@media (max-width: 450px) {
    .wrapper-annonce .annonce-galerie .isotope-grid-item {
        width: 100%;
    }
}





/* CAROUSEL ICONES */
.wrapper-bande-icones {
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: row;
    max-width: 1820px;
    margin: 0 auto;

}

.swiper-icones {
    position: relative;
    
    padding: 0;
    
    width: 100%;
    margin: 0 auto;
    
    overflow: hidden;
    
    padding: 60px 0;
}

.wrapper-icone {
    text-decoration: none;
    max-width: 500px;
    
    font-size: 18px;
    margin: 0 1em;

    color: #273c75;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1em;
}



.wrapper-icone-image {
    background: linear-gradient(to top, #273c75, #4a618c);
    height: fit-content;
    --radius: 1.9em;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.wrapper-icone-image.corner-1 {
    border-top-left-radius: 0;
}
.wrapper-icone-image.corner-2 {
    border-bottom-left-radius: 0;
}
.wrapper-icone-image.corner-3 {
    border-top-right-radius: 0;
}
.wrapper-icone-image.corner-4 {
    border-bottom-right-radius: 0;
}

/* hover background */
.wrapper-icone-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;


    background: linear-gradient(to top, #273c75, #2a88ad);
    opacity: 0;
    transition: opacity 0.3s ease;
}


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

.wrapper-icone-texte {
    max-width: 320px;
    padding-bottom: 0.5em;
}
.wrapper-icone-texte h3 {
    margin: 0;
    line-height: 1.1;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: currentColor;

    transition: color 0.3s ease;
}
.wrapper-icone-texte p {
    font-size: 1em;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
    max-width: 100%;
    padding-right: 20px;
    margin-top: 0.3em;
}

.wrapper-icone:hover .wrapper-icone-texte h3 {
    color: #2a88ad;
}
.wrapper-icone:hover .wrapper-icone-image::before {
    opacity: 1;
}

@media (max-width: 1150px) {
    .wrapper-icone {
        font-size: 15px;
    }
    .wrapper-icone-image {
        --radius: 1.5em;
    }
    .wrapper-icone-image img {
        width: 2.5em;
        height: 2.5em;
    }

    .swiper-icones {
        padding: 40px 0;
    }
}

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

    .swiper-icones {
        padding: 30px 0;
    }
}


/* TEMOIGNAGES */
.wrapper-bande-citations {
    background: url(i/quote.svg) no-repeat right 5% center / auto 80%, linear-gradient(to top, #273c75, #4a618c);
    position: relative;
    text-align: center;
    padding: 50px 20px;
}


.boxed-bande-citations {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;

    position: relative;
}

.wrapper-bande-citations .swiper-pagination {
    position: static;
    margin: 0 auto;
    transform: none!important;
    margin-top: 20px;
    --swiper-theme-color: #2a88ad;
    --swiper-pagination-bullet-inactive-color: #607099;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-size: 10px;
}

.wrapper-bande-citations q {
    font-style: italic;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 300;
}
.wrapper-bande-citations q::before {
    margin-right: 5px;
}
.wrapper-bande-citations q::after {
    margin-left: 5px;
}

q::before, q::after {
    content:none;
}

.wrapper-bande-citations q strong {
    display: inline-block;padding:0px 10px;
}


@media (max-width: 700px) {
    .boxed-bande-temoignages {
        padding: 30px;
        padding-top: 90px;
    }
}







/* CARD POUR LES ANNONCES ETC */
.pix-card {
    position: relative;
    text-decoration: none;
    color: currentColor;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    
    background-color: #fff;
    box-shadow: -1px 2px 15px rgba(0, 0, 0, 0.15);
    
    overflow: hidden;

    font-size: 19px;
    border-radius: 1em;
}

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

.pix-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;

    padding: 1em 1.5em;
}

.pix-card-title {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    font-size: 1.1em;
    color: #273c75;
    position: relative;
    z-index: 1;
}
.pix-card-price {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    font-size: 1.1em;
    color: #156f8c;
    position: relative;
    z-index: 1;
    margin-top: 0.5em;
}
.pix-card-description {
    font-size: 0.8em;
    margin: 0;
    margin-top: 0.4em;
    padding-right:2em;
    font-style: italic;
}

.pix-card-ref {
    font-weight: 600;
    font-size: 1em;
    margin: 0;
    margin-top: 20px;
}

.pix-card .voir-plus {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    width: 2.5em;
    height: 2.5em;
    background: #2a88ad url('i/plus.svg') no-repeat center center / 1em 1em;
    border-radius: 99px;
}

@media (max-width: 790px) {
    .pix-card {
        font-size: 17px;
    }
}
@media (max-width: 380px) {
    .pix-card {
        font-size: 15px;
    }
}


/* GRILLE LISTE DES ANNONCES */
.wrapper-liste-annonces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

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


/* FORMULAIRE DE RECHERCHE DES FICHES */
.form-search-fiches {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

.form-search-fiches .form-control {
    display: flex;
    flex-direction: column;
}


.form-search-fiches .form-control label {
    font-size: 16px;
    margin-bottom: auto;
}

@media (max-width: 700px) {
    .form-search-fiches {
        flex-direction: column;
        gap: 0.5em;
    }
    .form-search-fiches .form-group {
        width: 100%;
    }
}


/* PIX SELECT FORM */
.pix-select {
    position: relative;
    min-width: 15ch;
    max-width: 30ch;
    border: 1px solid #000;
    border-radius: 0.25em;
    padding: 0;
    font-size: 1em;
    cursor: pointer;
    line-height: 1.1;
    background-color: #fff;
    display: inline-block;
}
.pix-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    color: #000;
    font-weight: 500;
    border: none;
    padding: 0.25em 2em 0.25em 0.5em;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    z-index: 1;
    outline: none;
    width: 100%;
    font-size: 18px;
}

.pix-select select::-ms-expand {
    display: none;
}

.pix-select::after {
    content: "";
    display: inline-block;
    position: absolute;
    width: 0.8em;
    height: 0.5em;
    background-color: #000;
    -webkit-clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


/* SWITCH */
.pix-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.pix-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    /* -webkit-transition: .4s;
    transition: .4s; */
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    /* -webkit-transition: .4s; */
    /* transition: .4s; */
}

input:checked + .slider {
    background-color: #282828;
}

input:focus + .slider {
    box-shadow: 0 0 1px #282828;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
  }
  
.slider.round:before {
    border-radius: 50%;
}




















/* DPE */
.npe-conso-etiquettes {position: relative;}

.ndpe-lettre {
    height: 26px;
    position: relative;
    color: #fff;
    font-weight: bold;
    padding-left: 4px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.ndpe-lettre:after {
    content: " ";
    position: absolute;
    right: -10px;
    display : inline-block;
    height : 0;
    width : 0;
    border-top : 13px solid transparent;
    border-bottom : 13px solid transparent;
}

.npe-emissions-etiquettes .ndpe-lettre:after {
    content: none;
}

.npe-emissions-etiquettes .ndpe-lettre {border-radius: 0px 13px 13px 0px;}


.ndpe-wrapper-consommation .ndpe-a {width: 50px;background-color: #328952;}
.ndpe-wrapper-consommation .ndpe-a:after {border-left : 10px solid #328952;}

.ndpe-wrapper-consommation .ndpe-b {width: 70px;background-color: #6AA64E;}
.ndpe-wrapper-consommation .ndpe-b:after {border-left : 10px solid #6AA64E;}

.ndpe-wrapper-consommation .ndpe-c {width: 90px;background-color: #97C11F;}
.ndpe-wrapper-consommation .ndpe-c:after {border-left : 10px solid #97C11F;}

.ndpe-wrapper-consommation .ndpe-d {width: 110px;background-color: #F5C32C;}
.ndpe-wrapper-consommation .ndpe-d:after {border-left : 10px solid #F5C32C;}

.ndpe-wrapper-consommation .ndpe-e {width: 130px;background-color: #EA8A36;}
.ndpe-wrapper-consommation .ndpe-e:after {border-left : 10px solid #EA8A36;}

.ndpe-wrapper-consommation .ndpe-f {width: 150px;background-color: #E5423B;}
.ndpe-wrapper-consommation .ndpe-f:after {border-left : 10px solid #E5423B;}

.ndpe-wrapper-consommation .ndpe-g {width: 170px;background-color: #D8103E;}
.ndpe-wrapper-consommation .ndpe-g:after {border-left : 10px solid #D8103E;}


.ndpe-wrapper-consommation .ndpe-a-selected .ndpe-a,
.ndpe-wrapper-consommation .ndpe-b-selected .ndpe-b,
.ndpe-wrapper-consommation .ndpe-c-selected .ndpe-c,
.ndpe-wrapper-consommation .ndpe-d-selected .ndpe-d,
.ndpe-wrapper-consommation .ndpe-e-selected .ndpe-e,
.ndpe-wrapper-consommation .ndpe-f-selected .ndpe-f,
.ndpe-wrapper-consommation .ndpe-g-selected .ndpe-g
 {height: 52px;text-shadow: 1px 1px 3px rgba(0, 0, 0,1);font-size: 36px;}

.ndpe-wrapper-consommation .ndpe-a-selected div.ndpe-a:after,
.ndpe-wrapper-consommation .ndpe-b-selected div.ndpe-b:after,
.ndpe-wrapper-consommation .ndpe-c-selected div.ndpe-c:after,
.ndpe-wrapper-consommation .ndpe-d-selected div.ndpe-d:after,
.ndpe-wrapper-consommation .ndpe-e-selected div.ndpe-e:after,
.ndpe-wrapper-consommation .ndpe-f-selected div.ndpe-f:after,
.ndpe-wrapper-consommation .ndpe-g-selected div.ndpe-g:after {
    right: -20px;
    border-top : 26px solid transparent;
    border-bottom : 26px solid transparent;
    border-left-width: 20px; 
}

.ndpe-conso-message-top {color:#328952;font-size: 12px;line-height: 1.1;padding-bottom: 6px;}
.ndpe-conso-message-bottom {color: #D8103E;font-size: 12px;line-height: 1.1;padding-top: 6px;}

.ndpe-intitule {display: block;font-size: 14px;letter-spacing: -1px;line-height: 1.1;}
.ndpe-valeur {display: block;font-size: 20px;font-weight: bold;line-height: 1.1;}
.ndpe-unite {display: block;font-size: 11px;line-height: 1.1;}

.ndpe-conso-message-conso {display: inline-block;text-align: center;}
.ndpe-conso-message-emissions {display: inline-block;text-align: center;}

.ndpe-conso-message {
    text-align: center;
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 195px;
    border: 2px solid gray;
    border-radius: 6px;
    padding: 2px;
}

.ndpe-a-selected .ndpe-conso-message {top: 25px;left: 75px;}
.ndpe-b-selected .ndpe-conso-message {top: 52px;left: 95px;}
.ndpe-c-selected .ndpe-conso-message {top: 79px;left: 115px;}
.ndpe-d-selected .ndpe-conso-message {top: 105px;left: 135px;}
.ndpe-e-selected .ndpe-conso-message {top: 131px;left: 155px;}
.ndpe-f-selected .ndpe-conso-message {top: 158px;left: 175px;}
.ndpe-g-selected .ndpe-conso-message {top: 185px;left: 195px;}



.npe-emissions-etiquettes {position: relative;}


.ndpe-wrapper-emissions .ndpe-a {width: 50px;background-color: #A6D2F5;}
.ndpe-wrapper-emissions .ndpe-a:after {border-left : 10px solid #A6D2F5;}

.ndpe-wrapper-emissions .ndpe-b {width: 70px;background-color: #85A2C5;}
.ndpe-wrapper-emissions .ndpe-b:after {border-left : 10px solid #85A2C5;}

.ndpe-wrapper-emissions .ndpe-c {width: 90px;background-color: #6B7E9F;}
.ndpe-wrapper-emissions .ndpe-c:after {border-left : 10px solid #6B7E9F;}

.ndpe-wrapper-emissions .ndpe-d {width: 110px;background-color: #525C7C;}
.ndpe-wrapper-emissions .ndpe-d:after {border-left : 10px solid #525C7C;}

.ndpe-wrapper-emissions .ndpe-e {width: 130px;background-color: #3F4262;}
.ndpe-wrapper-emissions .ndpe-e:after {border-left : 10px solid #3F4262;}

.ndpe-wrapper-emissions .ndpe-f {width: 150px;background-color: #2D2B48;}
.ndpe-wrapper-emissions .ndpe-f:after {border-left : 10px solid #2D2B48;}

.ndpe-wrapper-emissions .ndpe-g {width: 170px;background-color: #1B1431;}
.ndpe-wrapper-emissions .ndpe-g:after {border-left : 10px solid #1B1431;}


.ndpe-wrapper-emissions .ndpe-a-selected .ndpe-a,
.ndpe-wrapper-emissions .ndpe-b-selected .ndpe-b,
.ndpe-wrapper-emissions .ndpe-c-selected .ndpe-c,
.ndpe-wrapper-emissions .ndpe-d-selected .ndpe-d,
.ndpe-wrapper-emissions .ndpe-e-selected .ndpe-e,
.ndpe-wrapper-emissions .ndpe-f-selected .ndpe-f,
.ndpe-wrapper-emissions .ndpe-g-selected .ndpe-g
 {
    height: 52px;text-shadow: 1px 1px 3px rgba(0, 0, 0,1);font-size: 36px;
     border-radius: 0px 26px 26px 0px;
 }

.ndpe-wrapper-emissions .ndpe-a-selected div.ndpe-a:after,
.ndpe-wrapper-emissions .ndpe-b-selected div.ndpe-b:after,
.ndpe-wrapper-emissions .ndpe-c-selected div.ndpe-c:after,
.ndpe-wrapper-emissions .ndpe-d-selected div.ndpe-d:after,
.ndpe-wrapper-emissions .ndpe-e-selected div.ndpe-e:after,
.ndpe-wrapper-emissions .ndpe-f-selected div.ndpe-f:after,
.ndpe-wrapper-emissions .ndpe-g-selected div.ndpe-g:after {
    right: -20px;
    border-top : 26px solid transparent;
    border-bottom : 26px solid transparent;
    border-left-width: 20px; 
}


.ndpe-emissions-message-top {color:#6b7e9f;font-size: 12px;line-height: 1.1;padding-bottom: 3px;}
.ndpe-emissions-message-bottom {color: #1B1431;font-size: 12px;line-height: 1.1;padding-top: 6px;}

.ndpe-emissions-message-emissions {text-align: center;}

.ndpe-emissions-message {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 195px;
    border: 2px solid gray;
    border-radius: 6px;
    padding: 2px;
}

.ndpe-a-selected .ndpe-emissions-message {top: 35px;left: 55px;}
.ndpe-b-selected .ndpe-emissions-message {top: 62px;left: 75px;}
.ndpe-c-selected .ndpe-emissions-message {top: 87px;left: 95px;}
.ndpe-d-selected .ndpe-emissions-message {top: 113px;left: 115px;}
.ndpe-e-selected .ndpe-emissions-message {top: 139px;left: 135px;}
.ndpe-f-selected .ndpe-emissions-message {top: 166px;left: 155px;}
.ndpe-g-selected .ndpe-emissions-message {top: 193px;left: 175px;}


.ndpe-wrapper-consommation {text-align: center;vertical-align: middle;display: inline-block;width: 50%;}
.ndpe-wrapper-emissions {text-align: center;vertical-align: middle;display: inline-block;width: 50%;}


.ndpe-boxed-consommation {text-align: left;width: 340px;display: inline-block;}
.ndpe-boxed-emissions {
    text-align: left;width: 340px;display: inline-block;
    border: 2px solid #6b7e9f;
    padding: 10px;
    border-radius: 10px;
}


.detail-ndpe {
    background-color: #fff;
}

@media (max-width:760px) {
    .ndpe-wrapper-consommation {width: 100%;}
    .ndpe-wrapper-emissions {margin-top: 20px;width: 100%;}
    .ndpe-boxed-consommation {width: 100%;}
    .ndpe-boxed-emissions {width: 100%;}
    .ndpe-intitule {font-size: 12px;}
    .ndpe-unite {font-size: 10px;letter-spacing: -1px;}
}


@media (max-width:400px) {

    .ndpe-wrapper-consommation .ndpe-a, .ndpe-wrapper-emissions .ndpe-a {width: 30px;}
    .ndpe-wrapper-consommation .ndpe-b, .ndpe-wrapper-emissions .ndpe-b {width: 50px;}
    .ndpe-wrapper-consommation .ndpe-c, .ndpe-wrapper-emissions .ndpe-c {width: 70px;}
    .ndpe-wrapper-consommation .ndpe-d, .ndpe-wrapper-emissions .ndpe-d {width: 90px;}
    .ndpe-wrapper-consommation .ndpe-e, .ndpe-wrapper-emissions .ndpe-e {width: 110px;}
    .ndpe-wrapper-consommation .ndpe-f, .ndpe-wrapper-emissions .ndpe-f {width: 130px;}
    .ndpe-wrapper-consommation .ndpe-g, .ndpe-wrapper-emissions .ndpe-g {width: 150px;}

    .ndpe-a-selected .ndpe-emissions-message {left: 35px;}
    .ndpe-b-selected .ndpe-emissions-message {left: 55px;}
    .ndpe-c-selected .ndpe-emissions-message {left: 75px;}
    .ndpe-d-selected .ndpe-emissions-message {left: 95px;}
    .ndpe-e-selected .ndpe-emissions-message {left: 115px;}
    .ndpe-f-selected .ndpe-emissions-message {left: 135px;}
    .ndpe-g-selected .ndpe-emissions-message {left: 155px;}

    .ndpe-a-selected .ndpe-conso-message {left: 55px;}
    .ndpe-b-selected .ndpe-conso-message {left: 75px;}
    .ndpe-c-selected .ndpe-conso-message {left: 95px;}
    .ndpe-d-selected .ndpe-conso-message {left: 115px;}
    .ndpe-e-selected .ndpe-conso-message {left: 135px;}
    .ndpe-f-selected .ndpe-conso-message {left: 155px;}
    .ndpe-g-selected .ndpe-conso-message {left: 175px;}
}
/* DPE */






.cadre {
    display: inline-block;
    position: relative;
}

.cadre img {
    vertical-align: top;
    border-radius: 0 0 0 50px;
}

.cadre::before {
    content: "";
    position: absolute;
    top: 15px; /* Décalage vertical */
    left: -15px; /* Décalage horizontal */
    width: calc(100%); /* Ajuste la largeur pour inclure le décalage */
    height: calc(100%); /* Ajuste la hauteur pour inclure le décalage */
    background-color: #2a88ad;
    z-index: -1; /* Place le cadre derrière l'image */
    box-sizing: border-box; /* Inclut la bordure dans les dimensions */
    border-radius: 0 0 0 50px;
  }


  
.wrapper-accueil {
    display: flex;
    align-items: center;
    gap: 3em;
}

.accueil1 {width:50%;}
.accueil2 {width:50%;}

@media (max-width:800px) {
    .wrapper-accueil {gap:2em;}
}


@media (max-width:540px) {
    .wrapper-accueil {flex-wrap: wrap;}
    .accueil1 {width:100%;}
    .accueil2 {width:100%;}
}



.notaire-conseil-du-monde-rural {
    text-align: center;
    margin-top: 50px;
}







.wrapper-encart {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap:0px;
    flex-wrap: wrap;
}

.encart-inner {    background-color: rgba(255, 255, 255);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    border-radius: 30px 5px 30px 5px; 
height:100% }

.encart {    
    padding:20px;
    width: 50%;
    text-align: center;
}


@media (max-width:900px) {
    .encart {    
        width: 100%;}
}



.wrapper-liens-immonot {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 20px;
    background: linear-gradient(to bottom, rgba(34, 51, 83, 0.1), rgba(255, 255, 255, 0.1));
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px;
}


.liens-immonot {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.liens-immonot a {
    display: inline-block;
    text-decoration: none;
    color: #273c75;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}