
/* Icônes */
@font-face {
    font-family: "neocatalys";
    src: url("https://www.neocatalys.fr/fonts/neocatalys.woff");
}

.icon { font-family: "neocatalys", serif; }

.icon_big { font-size: 24px; }

.avis_star {
    font-size: 16px;
    color: #FB0;
}


/* éléments génériques */

.center { text-align: center; }
.left { float: left; }
.right { float: right; }

/* couleurs */
.vert { color: #71b62b; }
.bleu { color: #064b57; }

.bgvert { background: #71b62b; }
.bgbleu { background: #064b57; }


/* liens et boutons */
a {
    color: #064b57;
    text-decoration: none;
}

a:hover { color: #71b62b; }

.bouton {
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff;
    font-family: 'Montserrat', sans-serif ;
    font-weight: 200;
    font-size: 18px;
}

.bouton:hover {
    color: #064b57;
}


/*********************/
/* OVERRIDE FANCYBOX */
/*********************/

.fancybox-caption__body {
    max-height: 50vh;
    overflow: auto;
    pointer-events: all;
    color: #fff;
    background: #000;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 18px;
}





/* structure de la page */
body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    overflow-y: scroll;
}

.wrapper {
    width: 98%;
    margin: 0 auto;
}

.navigation {
    margin: 0;
    position: fixed;
    width: 22%;
    padding: 15px;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4em;
    box-sizing: border-box;
}

.footer {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.3em;
    margin: 50px auto 0;
    padding: 0 0 30px;
    text-align: center;
}
.contenu {
    transition: 200ms;
    margin: 0 0 0 27%;
    width: 78%;
    float: right;
    box-sizing: border-box;

}

.clearfix {}

.clearfix::after {
    content: '';
    clear: both;
    display: table;
}


/* titres */

h1 {
    font-family: Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6em;
    text-align: center;
}

h2 {
    font-family: Lato, sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.6em;
    border-bottom: 1px solid #ccc;
}

h3 {
    font-family: Lato, sans-serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6em;
    border-bottom: 1px solid #ccc;
    display: inline-block;
}

.title_break {
    width: 40px;
    display: block;
    margin: 0 auto;
    border-top: 2px solid #71b62b;
}

.soustitre{
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 20px auto 10px;
    text-align: center;
    color: #064b57;
}

.accroche {
    margin: 30px 10%;
    font-family: lato, sans-serif;
    font-weight: 300;
    text-align: center;
}


/* home */

.home_accroche {
    margin: 50px 0;
    box-sizing: border-box;
    padding: 20px;
    text-align: justify;
}
/* navigation */

.logo {
    margin-bottom: 20px;
}

.logo img { max-width: 100%; }
.navigation ul {
    list-style-type: none;
    margin: 15px 0 0;
    padding: 0;
}

.navigation ul.sub-menu {
    margin: 0 0 10px;
    padding: 5px 0 5px 10px;
}

.navigation ul.rs li {
    float: left;
    padding-right: 10px;
    font-size: 20px;
}

.navig.active {
    transform: translateX(10%);
    transition: 0.5s;
}


.burger {
    display: none;
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    border: 1px solid transparent;
    transition: all 0.3s;
    top: 15px;
    left: 15px;
    z-index: 50;
}

.bar {
    width: 40px;
    height: 6px;
    border-radius: 4px;
    background: #064b57;
    position: relative;
    margin-top: 12px;
}

.bar:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s;
    width: 40px;
    height: 6px;
    border-radius: 4px;
    background: #064b57;
    top: -12px;
}

.bar:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s;
    width: 40px;
    height: 6px;
    border-radius: 4px;
    background: #064b57;
    top: 12px;
}

.bar.active {
    height: 0;
}
.bar.active:before {
    transform: translateY(12px) rotate(45deg);
}

.bar.active:after {
    transform: translateY(-12px) rotate(-45deg);
}

/* Galeries */

.cta_galerie {
    margin: 20px auto;
    text-align: center;
}

/* Call to action */

.call-to-action {
    margin: 50px 0;
    border:1px solid #ddd;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
}

.tagline {
    color: #064b57;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 200;
    letter-spacing: 1px;
    line-height: 1.3em;
    width: 67%;
}

.tagline strong {
    font-weight: 600;
}

.tagline span {
    font-family: Lato, sans-serif;
    font-size: 16px;
    display: block;
}

.gros_bouton {
    font-size: 20px;
    font-family: Lato, sans-serif;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 3px;
    text-align: center;
    width: 33%;
    color: #fff;
    letter-spacing: 1px;
}

.gros_bouton strong {
    font-weight: 300;
    font-size: 22px;
    font-family: Montserrat, sans-serif;

}

/* Boxes home page */

.boxes_home{
    display: flex;
    justify-content: space-between;
}

.box-sections{
    width: 32%;
    line-height: 24px;
    color: #444;
}

.box-sections img {
    width: 100%;
}

.box-sections h3 {
    display: block;
    border: none;
    text-align: center;
    margin: 10px 0;
    color: #064b57;

}

.box-sections p {
    text-align: justify;
}


/* Diaporama */

.diaporama {
    height: 450px;
    width: 100%;
    position: relative;
}

.diaporama_ref {
    height: 200px;
    width: 80%;
    position: relative;
}

.diaporama_home {
    margin-top: 75px;
    height: 450px;
}

.slide {
    height: 450px;
    padding: 0 5px;
}

.slide img  {
    height: 450px;
    width: auto;
}

.slide_ref {
    height: 100px;
    padding: 0 5px;
    width: 33%;
    position: relative;
}

.slide_ref img  {
    display: block;
    max-height: 100px;
    max-width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide_avis {
    padding: 10px;
    box-sizing: border-box;
    height: 260px;
}

.slide_avis_container {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
    height: 220px;
    overflow: auto;
}

.entete_avis {
    font-size: 18px;
    font-weight: 700;
    display: flex;
}

.entete_avis img {
    width: 70px;
    margin-right: 10px;
}

.texte_avis {
    font-size: 14px;
    color: #444;
}

.texte_avis:before, .texte_avis:after {
    content: '"';
    font-size: 26px;
    color: #888;
}


.footer_avis {
    font-size: 14px;
    color: #888;
    font-style: italic;
}


.slide_home {
    height: 450px;
    padding: 0 5px;
}
.slide_content {
    display: flex;
    position: relative;

}
.home_diapo_image {

}

.home_diapo_image img {
    height: 450px;
    width: auto;
}

.home_diapo_texte {
    max-width: 350px;
    font-size: 18px;
    color: #064b57;
    font-style: italic;
    line-height: 26px;
}

.home_diapo_texte h3 {
    display: block;
    border: none;
    color: #064b57;
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.6em;
}

.home_diapo_texte a {

}



/* Blocs image */
.block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block_visuel {
    width: 50%;
    max-height: 500px;
    overflow: hidden;
    box-sizing: border-box;
}

.block_visuel img {
    width: 100%;
    height: auto;
}

.block_visuel img.horizontal {
    height: 500px;
    width: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}

.block_contenu {
    width: 50%;
    box-sizing: border-box;
    padding: 0 10px;
}

.block_contenu h3 {
    display: block;
    margin-top: 0;
    line-height: 22px;
    border: none;
}

.block_reverse { order: 1; }

.block_lien {
    text-align: right;
    margin-top: 20px;
}

.block_lien a {
    padding: 4px 8px;
    border-radius: 5px;
    color: #fff;
    font-family: 'Montserrat', sans-serif ;
    font-weight: 200;
    font-size: 14px;
    background: #064b57;
}

.block_lien a:hover {
    background: #71b62b;
}


/* Page contact */

.contact_contenu {
    display: flex;
    margin: 30px 0 60px;
}

.contact_form {
    width: 60%;
    padding: 10px;
    box-sizing: border-box;
}

.contact_form label {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 200;
    color: #064b57;
}

.contact_form input, .contact_form textarea {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    margin: 5px 0 20px;
    width: 90%;
    padding: 5px;
}
.contact_form input.required:after {
    content: "*";
    color: red;
}

.contact_form input.input_code_visuel {
    width: 50%;
}

.contact_form input.rgpd {
    width: auto;
    margin-right: 5px;
}


.contact_side {
    width: 40%;
    padding: 10px;
    box-sizing: border-box;
    line-height: 24px;
    color: #064b57;
}

.contact_carte { margin-top: 20px; }

.contact_form input.sendbutton {
    display: block;
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff;
    font-family: 'Montserrat', sans-serif ;
    font-weight: 200;
    font-size: 18px;
    background: #064b57;
    border: none;
}

#usermessagea {
    margin: 20px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 20px;
}

.success {
    color: #71b62b;
}

.error { color: #b00; }

/* Page A propos */
.apropos {
    display: flex;
}

.apropos_visuel {
    width: 30%;
    max-width: 300px;
    padding-right: 30px;
    box-sizing: border-box;
}

.apropos_visuel img{
    width: 100%;
}

.apropos_contenu {
    width: 70%;
}


/********************************************************/
/* Bandeau cookies
/********************************************************/

.cookies_banner {
    position: fixed;
    top: 40%;
    left: 0;
    width: 100%;
    background: rgba(6, 75, 87, .8);
    color: #fff;
    z-index: 9999;
    padding: 40px;
    font-size: 18px;
    line-height: 30px;
    font-family: 'lato', sans-serif;
    font-weight: 300;
    text-align: center;
    backdrop-filter: blur(8px);
}

.cookies_banner span {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.cookies_banner a {
    display: inline-block;
    margin: 10px;
    padding: 3px 10px;
    background: #71b62b;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 4px;
    color: #fff;
}


/***********************************************************************/
/*********** Masonry ***************************************************/
/***********************************************************************/

.grid_home {
    margin-top: 60px !important;

}
.grid {
    margin: 0 auto;

}

.grid-item {
    float: left;;
    margin-bottom: 4px;
    box-sizing: border-box;
    width: calc(33.3% - 5px);
    overflow: hidden;
}

.grid-item-x2 {
    width: calc(50% - 5px);
}

.grid-item img, .grid-item-x2 img {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: transform .4s;
}

.grid-item img:hover, .grid-item-x2 img:hover {
    transform: scale(1.06);
}

/* Override Fancybox */

.fancybox-bg {
    background: #fff;
}

.fancybox-button {
    background: rgba(6, 75, 87, 1);
}

.fancybox-button, .fancybox-button:link, .fancybox-button:visited {
    color: #fff;
}

.fancybox-button:hover {
    color: #71b62b;
}



/***********************************************************************/
/******************            RESPONSIVE           ********************/
/***********************************************************************/





@media  (max-width: 567px) {
    .wrapper {
        width: 100%;
    }

    .navigation {
        position: relative;
        width: 100%;
        margin: 0 0 15px 0;

    }

    .burger {
        display: block;
    }

    .logo {
        text-align: center;
        margin: 0;
    }

    .logo img {
        width: 200px;
    }

    .navig {
        position: fixed;
        top: 58px;
        transform: translateX(-100%);
        transition: 0.5s;
        z-index: 13;
        margin-left: -30px;
        background: #fff;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        width: 80%;
        max-height: 85%;
        overflow: auto;
    }

    .navig ul li a {
        display: inline-block;
        background: #064b57;
        margin: 3px 0;
        padding: 12px 20px;
        font-size: 20px;
        color: #fff;
        border-radius: 5px;

    }

    .navig ul li ul li a {
        background: rgba(6, 75, 87, .7);
    }

    .contenu {
        width: 100%;
        float: none;
        padding: 0 0 0 15px;
        margin: 0;


    }

    .grid-item {
        width: calc(100% - 15px);

    }

    .block {
        display: block;
    }

    .block_visuel {
        width: 100%;
        max-height: 500px;
        overflow: hidden;
        box-sizing: border-box;
    }

    .block_visuel img {
        width: 100%;
        height: auto;
    }

    .block_visuel img.horizontal {
        height: 500px;
        width: auto;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .block_contenu {
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .contact_contenu { display: block; }

    .contact_form { width: 100%; }

    .contact_side { width: 100%; }


    .call-to-action {
        margin: 20px 0;
        display: block;
        border: none;
        padding-left: 0;
        text-align: center;
    }

    .tagline {
        width: 100%;
    }

    .gros_bouton {
        width: 100%;
    }


    .boxes_home{
        display: block;
    }

    .box-sections{
        width: 95%;
        margin-bottom: 60px;
    }

    /* Page A propos */
    .apropos {
        display: flex;
        flex-wrap: wrap;
    }

    .apropos_visuel {
        width: 100%;
        padding-right: 30px;
        box-sizing: border-box;
    }

    .apropos_visuel img{
        width: 50%;
        display: block;
        margin: 0 auto;
    }

    .apropos_contenu {
        width: 100%;
    }

}

@media (min-width: 568px) and (max-width: 767px) {
    .wrapper {
        width: 100%;
    }

    .navigation {
        position: relative;
        width: 100%;
        margin: 0 0 15px 0;

    }
.burger {display: block; }



    .logo {
        text-align: center;
        margin: 0;
    }

    .logo img{
        width: 200px;
    }

    .navig {
        position: fixed;
        top: 58px;
        transform: translateX(-100%);
        transition: 0.5s;
        z-index: 13;
        margin-left: -30px;
        background: #fff;
        padding: 15px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        width: 50%;
    }

    .navig ul li a {
        display: inline-block;
        background: #064b57;
        margin: 3px 0;
        padding: 12px 20px;
        font-size: 20px;
        color: #fff;
        border-radius: 5px;

    }

    .navig ul li ul li a {
        background: rgba(6, 75, 87, .7);
    }

    .contenu {
        width: 100%;
        float: none;
        padding: 0 0 0 15px;
        margin: 0;


    }

    .grid-item {
        width: calc(100% - 15px);

    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .wrapper {
        width: 100%;
    }

    .navigation {
        width: 25%;
    }

    .logo img{
        width: 100%;
    }
    .contenu {
        width: 70%;
        float: right;
    }

    .grid-item {
        width: calc(100% - 15px);

    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .wrapper {
        width: 98%;
    }

    .navigation {
        width: 22%;
    }

    .contenu {
        width: 78%;
        float: right;
    }

    .grid-item {
        width: calc(50% - 15px);

    }
}

@media (min-width: 1200px) {
    .wrapper {
        width: 98%;
    }

    .navigation {
        width: 22%;
    }

    .contenu {
        width: 78%;
        float: right;
    }
}
