@font-face {
    font-family: 'Avenir LT Std';
    src: url('AvenirLTStd-Light.woff2') format('woff2'),
        url('AvenirLTStd-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('AvenirLTStd-Medium.woff2') format('woff2'),
        url('AvenirLTStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('AvenirLTStd-MediumOblique.woff2') format('woff2'),
        url('AvenirLTStd-MediumOblique.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('AvenirLTStd-Black.woff2') format('woff2'),
        url('AvenirLTStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



:root {
    --black: #000;
    --white: #fff;
    --primary: #328c4c;
    --second: #50aaa3;
    --gris: #aaa;

}

.back-primary{background: var(--primary);}

body {
    padding: 0px;
    margin: 0px;
    font-family: 'Avenir LT Std';
    font-weight: normal;
    overflow-x: hidden;
    color: var(--black);
    background: var(--white);
}

ul {
    padding: 0px;
    margin: 0px;
}

.block-top-contact {
    padding: 0px 15px;
    color: var(--white);
    font-size: 14px;
    max-width: 1300px;
    margin: 0 auto;
    position: absolute;
    right: 0;
    z-index: 1;
    top: 40px;
    padding-right: 40px;
    text-transform: uppercase;
}
.block-top-contact:after{content:"";width: 21px;display: block;height: 50px;background: var(--primary);position: absolute;right: 0;top: 0;border-radius: 10px 0px 0px 10px;}

.block-top-contact a {
    text-decoration: none !important;
}

.link-piscine {
    padding: 0;
    color: var(--black);
    transition: 0.3s ease all;
    cursor: pointer;
    font-size: 17px;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 800;
    max-width: max-content;
    text-decoration: none !important;
}
.link-piscine img{
    margin-right: 15px;
}

.link-piscine span.border {display: table;border: 3px solid var(--black) !important;padding: 6px 20px;font-weight: 500;margin-top: 5px;}
.link-piscine:hover {color:var(--primary)}

.link-piscine:hover .border {
    background: var(--primary) !important;
    color: var(--white);
    text-decoration: none;
}

.block-top-contact .phone {
    display: block;
    font-size: 22px;
    color: var(--white) !important;
    text-align: right;
    padding: 0;
    position: relative;
    font-weight: 700;
    padding-left: 20px;
}

.header {
    width: 100%;
    position: relative;
}

.content-header {display: flex;}

.content-header--left {width: 50%;background: var(--second);display: flex;align-items: center;justify-content: center;position: relative;z-index: 1;padding: 0px 15px;}
.content-header--left:after{content:"";background: url(../images/feuille2.png);width: 100%;height: 100%;position: absolute;bottom: -100px;left: 0;background-repeat: no-repeat;background-position: bottom left;}
.content-header--left:before{content:"";background: url(../images/feuille1.png);width: 100%;height: 100%;position: absolute;top: 0;right: -72px;background-repeat: no-repeat;background-position: top right;}

.banner-header {
    width: 100%;
    height: 980px;
    max-width: 100%;
    max-height: 100vh;
}

.header .banner {width: 100%;}

.vegas-timer-progress {
    display: none !important
}

.page .banner-header {
    display: none;
}

.logo {
    padding: 0;
    display: block;
    text-align: center;
    position: absolute;
    top: 33%;
    left: 20px;
}

.logo img {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

/* end header */


/* menu */

.navbar-nav .nav-item {
    display: flex;
    transition: 0.5s ease all;
    align-items: center;
}
.navbar .navbar-nav .nav-item:first-child .nav-link{
    border: none;
}

.link-boutique{
    background: var(--second);
    position: relative;
}

.link-boutique .nav-link:after{content:"";display:block;border-style: solid;position:absolute;border-width: 0 0 57px 20px;border-color: transparent transparent var(--second) transparent;right: 100%;top: 0;transition: 0.3s ease all;}

.navbar-nav .dropdown-menu .nav-item:after {
    display: none
}

.navbar-nav .dropdown-menu .nav-item {
    display: block
}

.navbar-nav .nav-item:last-child:after {
    display: none
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 5px 23px;
    color: var(--white);
    white-space: nowrap;
    transition: 0.3s ease all;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    border-left: 3px solid #fff;
}

.navbar .navbar-nav .nav-item .nav-link:hover {
    background: var(--second);
    color: var(--white);
}
.link-boutique .nav-link:hover:after{
    border-color: transparent transparent var(--primary) transparent;
}

.navbar-nav .nav-item:hover>.nav-link {
    background: var(--second);
    color: var(--white);
}

.menubox {
    transition: 0.5s ease width;
    width: auto;
    background: var(--primary);
    position: absolute;
    z-index: 9999999;
    top: 40px;
    left: 0;
    border-radius: 0px 10px 10px 0px;
    padding: 12px 15px;
}

.inner-menubox {
    position: relative;
    transition: 0.3s ease all;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

.navbar {
    padding: 0px
}

.menubox.fixed .inner-menubox {
    padding: 0;
}

.navbar-nav {
    margin: 0px auto !important;
    padding: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.fixed .navbar-nav:after {
    display: none
}

.dropdown-menu {
    background: var(--primary);
    margin: 0px;
    border: none;
    border-radius: 0;
    z-index: 9;
    min-width: 250px;
    padding: 0;
    left: 0;
    top: 35px;
    padding: 10px 0px;
}

.navbar-nav .nav-item .dropdown-menu .nav-link {
    text-align: left;
    text-transform: none;
    font-size: 14px;
    white-space: pre-line;
    display: block;
    border: none !important;
}

.navbar-nav li:hover>ul.dropdown-menu {
    display: block;
}

.fixed .dropdown-menu {
    left: 0;
    top: 34px;
}

/****** end menu ***/

/****** bloc prestations ***/


.block-background{
    background: url(../images/back1.jpg);
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 20px 40px;
}
.list-prestations {
    margin: 0rem auto 3rem;
    position: relative;
    max-width: 1400px;
    overflow: hidden;
}

.list-prestations>h2{
    display: table;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    border: 5px solid #fff;
    padding: 19px 40px;
    background: var(--second);
}

.list-prestations .row-prestations img {
    max-width: 100%;
    display: block;
    transition: 0.2s ease all;
    margin: 0 auto;
}

.row-prestations {
    display: flex;
    justify-content: center;
    padding: 0px;
    margin: 0 AUTO;
    flex-wrap: wrap;
    position: relative;
    max-width: 100%;
    padding-top: 40px;
}
.row-prestations:after{content:"";width: 5px;height: 100%;position: absolute;top: 0;left: calc(50% - 13px);background: #fff;}

.row-prestations .col-rubrique {
    width: calc(100% / 2);
    flex: calc(100% / 2);
    max-width: calc(100% / 2);
    margin-bottom: 60px;
    position: relative;
    padding: 0px 40px;
}

.row-prestations .col-12 .item-rubrique {
    text-decoration: none !important;
    display: flex;
    position: relative;
    z-index: 1;
    text-align: left;
    color: var(--white);
    align-items: center;
}
.row-prestations .item-rubrique:hover .title-rubrique{
    color: var(--black);
}
.row-prestations .item-rubrique:hover img{
    transform: rotate(5deg) scale(0.8);
}
.row-prestations .col-12>div {
    position: relative;
    margin: 0 auto;
}

.row-prestations .title-rubrique {
    margin: 0px 0px 13px;
    font-size: 17px;
    color: var(--white);
    transition: 0.3s ease all;
    font-weight: 800;
    position: relative;
}
.row-prestations .text-rubrique {
    position: relative;
    width: 100%;
    text-align: left;
    font-size: 15px;
    padding-left: 15px;
}


/******* end bloc prestations*/




/****** bloc flex text + images ***/


.block-fb{
    display: flex;
    align-items: center;
    max-width: 870px;
    margin: 0 auto;
}
.page .block-fb{
    margin-bottom: 40px;
}

.block-fb a{
    transition: 0.3s ease all;
    background: var(--primary);
    color: var(--white);
    display: block;
    padding: 30px 40px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none !important;
}
.block-fb a:hover {background:var(--second)}
.block-fb a b{
    display: block;
    font-size: 25px;
}

.flex-block {
    position: relative;
    transition: 0.5s ease all;
    background-size: cover;
    margin: 40px auto;
}
.flex-block-3{background:var(--second);max-width: 1300px;color: #fff;padding: 40px 20px;}
.flex-block-3 .flex-block--inner{
    max-width: 1024px;
    margin: 0 auto;
}
.flex-block-3 .flex-block--text{
    text-align: left;
}
.flex-block-3 .flex-block--text b{font-weight:900;font-size:17px}
.flex-block-3 .flex-block--title{
    margin: 0;
    color: #fff;
    font-weight: 900;
    font-size: 27px;
}
.flex-block-4{
    max-width: 1080px;
    left: 50px;
    margin: 5rem auto 30px;
}

.bloc-realisations {
    background: url(../images/back1.jpg);
    padding: 0px 15px 4rem;
    color: var(--white);
    margin: 0 auto;
}
.bloc-realisations .flex-block--inner{
    max-width: 960px;
}

.flex-block-2 {
    max-width: 1200px;
    margin: -10rem auto -60px;
    padding: 0;
    overflow: hidden;
}
.flex-block-2 .flex-block--content{
    padding: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-block-2 .flex-block--content:after{content:"";background: url(../images/icone2.png);width: 159px;height: 140px;position: absolute;top: 67%;left: 8px;display: block;background-repeat: no-repeat;}
.flex-block-2 .flex-block--content:before{content:"";background: url(../images/icone1.png);width: 182px;height: 146px;position: absolute;top: 43%;left: -70px;display: block;background-size: contain;background-repeat: no-repeat;}
.flex-block-2 .flex-block--content>div{
    max-width: 450px;
    margin: 0 auto;
    text-align: justify;
}
.flex-block--content{
    height: 100%;
}
.flex-block-2 .flex-block--title {
  font-size: 20px;
  color: var(--white);
  font-weight: 900;
}
.flex-block-2 .flex-block--title span{font-size:26px}


.btn-block{
     display: table;
     position: relative;
     margin: 0 auto;
     transition: 0.3s ease all;
     width: auto;
}
.btn-block:hover{text-decoration:none !important}
.btn-block span{
    background: #000;
    color: #fff;
    display: table;
    padding: 15px 40px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    transition: 0.3s ease all;
}
.btn-block:after{content:"";width: 100%;height: 100%;display: block;background: var(--second);position: absolute;top: 15px;right: -15px;}
.btn-block:hover span{background: var(--white);color: var(--primary);}
.btn-block:hover span b{color:var(--white) !important}
.btn-block  b{
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    display: block;
    color: #fff !important;
}
.flex-block--inner {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0;
    position: relative;
    z-index: 2;
}

.bloc-realisations .flex-block--content {
    max-width: 100%;
    margin-bottom: 15px;
}

.flex-block--content {
    max-width: 100%;
    position: relative;
    font-size: 15px;
    font-weight: 300;
}
.border-radius{
    overflow: hidden;
    border-radius: 50%;
    border: 20px solid #fff;
    right: 100px;
}

.flex-block--title {
    font-size: 19px;
    color: var(--black);
    margin-bottom: 15px;
}

.flex-block--text {
    font-size: 15px;
    margin: 0;
}

.block-services {background: url(../images/back2.jpg);padding: 40px;background-size: cover;background-position: center;}
.block-services>div{
    border: 5px solid var(--primary);
}
.block-services--title{
    font-weight: 800;
    font-size: 29px;
    margin-bottom: 4rem;
    margin-top: 4rem;
    color: #fff;
    padding-left: 40px;
}
h3.flex-block--title{
    font-weight: 800;
    font-size: 18px;
    margin: 25px 0px 15px;
    color: #fff;
}
.block-services .flex-block--content{
    max-width: 390px;
    margin: 0 auto;
    height: auto;
    background: #328c4cd6;
    color: #fff;
    text-align: left;
    padding: 30px 25px;
    margin-bottom: 40px;
    border-radius: 20px;
    position: relative;
}
.block-services .flex-block--content:after{

content:"";

width: 14px;

display: block;

height: 33px;

background: #fff;

position: absolute;

left: -14px;

top: 30px;

border-radius: 10px 0px 0px
 10px;

}
.block-services h3.flex-block--title{
    margin: 0px 0px 10px;
}
.block-services .flex-block--content img{
    height: 80px;
}
/****** bloc flex text + images ***/


/****** textblocimg ***/

.bloc-realisations--title:before{content:"";width: 15px;height: 60px;background: #fff;display: block;margin: 0 auto 20px;}
.bloc-realisations--title {
    font-size: 22px;
    margin-bottom: 4rem;
    text-align: center;
    display: block;
    font-weight: 700;
}

/****** end textblocimg ***/

.text_center {
    padding: 40px 15px;
    max-width: 990px;
    margin: 0px auto;
    font-weight: 500;
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: var(--black);
    text-align: center;
}

.text_center h2 {
    text-align: center;
    font-weight: 800;
    color:var(--primary);
    margin: 0 auto;
    padding: 0px 17px;
  
    margin-bottom: 20px;
}
.text_center h2 span{
    background: #fff;
    padding: 10px 20px;
    position: relative;
    top: -16px;
}

/****** page interne ***/

.text {
    margin: 10px auto 40px;
    padding: 15px;
    max-width: 1300px;
    position: relative;
    z-index: 2;
}

.textdiv {
    padding: 15px 0px 0px;
    margin: 0px AUTO 0px;
}

.textdiv--text {
    line-height: 31px;
    font-size: 15px;
    text-align: justify;
}

.page .header .banner {
    height: 415px;
    background: url(../images/slider1/slider1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

/****** end page interne ***/


/****** Contact ***/
.fluid-contact {
    position: relative;
    margin-top: 5rem;
}

.contact {
    font-size: 17px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0px 15px;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

.contact .col-12:last-child p{
    text-align: right;
}

.contact .phone {
    color: var(--black) !important;
    padding: 0px;
    display: block;
    margin: 0;
    text-decoration: none;
    font-size: 20px;
    text-align: right;
    font-weight: 900;
}

.adresse-block--link {
    color: var(--black) !important;
    transition: 0.3s ease all;
    text-decoration: none !important;
    display: table;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--black);
    margin-top: 4px;
}

.adresse-block--link:hover {
    color: var(--primary) !important;
}

.adresse-block--text {
    color: var(--black);
    font-size: 16px;
    font-weight: 900;
}


/****** end Contact ***/


/****** footer ***/

.boxfooter {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0;
    position: relative;
    background: #fff;
}

.footerlink {
    color: #d0d0d0;
    font-size: 10px;
    text-align: right;
}

.footerlink ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.footerlink ul li {
    display: inline-block;
}

.footerlink ul li a {
    text-decoration: none !important;
    transition: 0.3s ease all;
    color: var(--gris);
    padding: 0px 10px;
}

.footerlink ul li a:hover {
    color: var(--primary);
}

.inlineblock {
    display: inline-block;
}



.boxfooter>div {
    width: 100%;
    margin: 0;
    align-items: center;
}

.footer-ico {
    max-width: 110px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(5%) saturate(14%) hue-rotate(332deg) brightness(94%) contrast(90%);
}

/****** footer ***/



/****** responsive css  ***/
@media (min-width:991px) {

   
    .page .menubox {
    }

    .page .logo img {
        max-width: 360px;
    }

    .page .logo {
        top: 9rem;
    }

    .menubox.fixed .navbar-nav {
        flex-direction: row !important;
        justify-content: center;
        flex-wrap: nowrap;
        max-width: 100%;
    }

    .menubox.fixed .navbar-nav .nav-item {
        border: none;
    }


    .menubox.fixed {
        position: fixed;
        left: 0;
        width: 100%;
        top: 0 !important;
        margin: 0;
        max-width: 100%;
        display: block;
        height: auto;
        padding: 15px;
        z-index: 10;
        bottom: initial;
        background: var(--primary);
    }


}






@media (max-width: 1200px) {
.list-prestations .row-prestations img{
    max-width: 220px;
}
   
.link-boutique .nav-link:after{display:none}

}


@media (max-width: 991px) {
    .banner-header {
        width: 100%;
        float: none;
        max-width: 100%;
        height: 400px;
        max-height: 400px;
    }

    .flex-block-2 .flex-block--title:after {
        display: none
    }

    .flex-block-2 .flex-block--title span {
        max-width: 100%;
    }

    .link-piscine {
        margin: 10px auto 0;
        left: 0 !important;
    }

    .header .banner {
        width: 100%;
    }

    .menubox:before {
        display: none;
    }

    .flex-block {
        margin-bottom: 20px;
        margin-top: 0;
        left: 0;
        text-align: center;
    }
    .flex-block-4{
    margin: 40px auto 0;
}
    .border-radius{
    right: 0;
    max-width: 320px;
    margin: 0 auto;
}
    .border-radius img{}
    .flex-block-2{
    background: #ffffffa8;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

    .flex-block--inner .col-12 {
        top: 0 !important;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        flex-wrap: wrap;
    }

    .flex-block-2 .col-12:nth-child(1) {
        background: none;
        margin-bottom: 0;
    }

    .flex-block--text {
        max-width: 100%;
    }

    .navbar {
        padding: 0px;
    }

    .navbar-nav:after {
        display: none
    }

    .navbar .navbar-nav .nav-item {
        border: none;
        justify-content: center;
        display: block;
        width: 100%;
    }

    .navbar .navbar-nav .nav-item .nav-link {
        text-align: center;
        padding: 6px 5px !important;
        color: var(--white);
        font-size: 18px;
        font-weight: normal;
    }

    .navbar-nav .nav-item:after {
        display: none
    }

    .inner-menubox {
        padding: 0;
        background: none;
        max-width: 100%;
    }

    .page .fluid-contact {
        margin-top: 30px;
    }

    .navbar-nav {
        align-items: center;
        flex-direction: column;
        padding-bottom: 0;
    }

    .fixed .navbar-nav {
        display: block;
        width: 100%;
        padding: 0;
    }

    .menubox {
        position: fixed;
        top: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        z-index: 9999999;
        min-height: 50px;
        padding: 0px;
        margin: 0 !important;
        bottom: initial;
        background: var(--primary);
        display: block;
        height: auto;
        border: none;
        border-radius: 0;
    }

    .navbar-toggler {
        background: var(--white);
        outline: none !important;
        min-height: 50px;
        border-radius: 0;
        border: 0px;
    }

    .fluid-contact:after {
        display: none;
    }

    .contact {
        padding: 40px 15px;
        margin-top: 0;
        flex-wrap: wrap;
    }

    .contact:after{display:none}
    .contact .col-12 {
        width: 100%;
        border: none;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0;
        padding: 0 !important;
      
    }

    .adresse-block--link {
        margin: 10px auto;
    }

    .adresse-block--text {
        text-align: center
    }
.contact .col-12:last-child p{  text-align: center}
   .contact .phone{  text-align: center}

    .header {
        position: relative;
        padding-top: 0;
        margin-bottom: 0px;
        margin-top: 50px;
        max-height: initial;
        overflow: initial;
    }


    .block-top-contact {
    top: 80px;
    }

   

    .content-header {
        display: block;
        overflow: hidden;
    }

    .content-header--left {
        width: 100%;
        position: absolute;
        height: 100%;
        overflow: hidden;
        background: #0000007a;
    }

    .header:after {
        display: none
    }
}

@media (max-width: 767px) {

.content-header--left:after{content:"";background-size: contain;}
.content-header--left:before{content:"";background-size: contain;}
.logo{
    left: 0;
    padding: 0px 40px;
}
    .block-top-contact {
    display: block;
    text-align: center;
    }

    .block-top-contact .phone {
        letter-spacing: 1px;
        text-align: center;
    }

    .flex-block--title {
        font-size: 18px;
    }
    .flex-block-3 .flex-block--title{
    margin-bottom: 20px;
}
    .list-prestations{margin-bottom:0}
    .flex-block-2 .flex-block--title{
    text-align: center;
    font-size: 20px;
}
    .flex-block-2 .flex-block--title span{
    font-size: 18px;
}
    .block-background {
    padding: 20px 15px;
    background-attachment: initial;
}
    .row-prestations .col-rubrique{
    width: 100%;
    flex: 100%;
    max-width: 100%;
    padding: 0;
}
    .row-prestations:after{display:none}
    .list-prestations .row-prestations img{
    max-width: 150px;
}

    .textdiv {
        background: none;
        margin: 0;
        padding: 15px;
    }

    .navbar-nav .nav-item {
        border: none;
    }

    .text {
        box-shadow: none;
        top: 0;
        margin: 15px 0px;
        padding-top: 1px;
        padding-bottom: 0;
    }

    .footerlink {
        text-align: center;
    }

    .flex-block {
        margin: 0px auto 15px;
        padding: 0px 15px;
        left: 0px !important;
    }
    .block-services{padding:20px}
.flex-block-2{padding:0}
    .page .header {
        height: auto;
    }
    .flex-block-2 .flex-block--content:before{
    width: 80px;
    height: 50px;
    background-size: cover;
    left: 0px;
    top: 44px;
}
    .flex-block-2 .flex-block--content:after{
    width: 80px;
    height: 50px;
    background-size: contain;
    left: 20px;
    bottom: 15px;
    top: initial;
}
    .block-services--title{
    margin: 0 auto;
    font-size: 22px;
    padding: 25px;
}
    .block-services>div{border:none}
    .block-services .flex-block--content{max-width:100%}
.flex-block-3{
    padding: 20px;
}
    .menubox:after {
        display: none;
    }

    .fluid-contact {
        min-height: auto;
        margin: 0px;
        padding-bottom: 0;
    }

    .bloc-realisations .flex-block--content {
        padding: 0px 15px 15px;
    }

   
    .contact {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: initial;
        margin-bottom: 0;
    }

    .boxfooter img {
        margin: 0 auto 15px;
        display: block;
    }

    .content-header--left {
        display: block;
    }
    .block-fb{
    display: block;
    max-width: max-content;
}
}