/*
Theme Name: Bonbay
Version: 1.0
Theme URI: http://www.bonbay.fr/
Author: Bonbay
Author URI: http://www.bonbay.fr/
Text Domain:
*/

/*	Copyright: (c) 2013 Alexander "Alx" Agnarson
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html*/


/*RESET*/
/*---------------------------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,b,u,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:flex}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
table{border-collapse:collapse;border-spacing:0}


/*  Base awesome
================================================== */
.fa { width: 1em; text-align: center; }


/*  Base formulaire
================================================== */
input, textarea, 
button, select, 
label { font-family: inherit; }
input,
textarea,
button,
select,
label { font-size: 1rem; }
input::-moz-focus-inner,
button::-moz-focus-inner{ border: 0; padding: 0; }
input[type="text"],
input[type="password"],
input[type="email"],
input[type="submit"],
input[type="tel"],
select,
textarea { margin: 0; border-radius: 0; width:100%;}
input,
textarea,
select,
button { 
    -moz-appearance: none; 
    -webkit-appearance: none;
    appearance: none;
    transition: all .2s ease; 
}
input[type="checkbox"]{ -moz-appearance: checkbox; -webkit-appearance: checkbox; appearance: checkbox; }
input[type="radio"]{ -moz-appearance: radio; -webkit-appearance: radio; appearance: radio; }
label{ }

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    background: #fff;
    border: 1px solid #333;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: calc( 90% - 2px );
    outline: none;
    padding: 0.5rem 5%;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus { border-color: #666;  }
label .required { color: #8d001a; }
input[type="submit"],
button[type="submit"] {
    background: #8d001a;
    color: #fff;
    padding: .5rem 1rem;
    font-weight: 600;
    display: flex;
    border: none;
    cursor: pointer;
    font-size: 20px;
    justify-content: center;
    align-items: center;
}
input[type="submit"]:hover,
button[type="submit"]:hover { background: #000; }

/*WPCF7*/
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing{
    border: 1px solid red;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{ border-color: red; color:red; }
.wpcf7 form .wpcf7-response-output{ border: 1px solid grey; }

/*SWIPER*/
.swiper-slide{  }
.swiper-pagination{  }
.swiper-pagination-bullet{  }
.swiper-pagination-bullet-active{  }
.swiper-button-next, .swiper-button-prev{  }
.swiper-button-prev{  }
.swiper-button-next{  }



/** GRID ***/
.row{
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-flow: row wrap;
}
.row.nowrap{ flex-flow: row nowrap; }
.row.flow-row{ flex-flow: row wrap; }

.middle{ align-items: center; }
.flex-end{ align-items: flex-end; }

@media (max-width: 767px){
      /*.row{ flex-flow: column wrap; }
      .row.nowrap{ flex-flow: column nowrap; }*/
}

/* 24 colonnes */
.spannomargin-1, .spannomargin-2, .spannomargin-3,
.spannomargin-4, .spannomargin-5, .spannomargin-6,
.spannomargin-7, .spannomargin-8, .spannomargin-9,
.spannomargin-10, .spannomargin-11, .spannomargin-12,
.spannomargin-13, .spannomargin-14, .spannomargin-15,
.spannomargin-16, .spannomargin-17, .spannomargin-18,
.spannomargin-19, .spannomargin-20, .spannomargin-21,
.spannomargin-22, .spannomargin-23, .spannomargin-24{ width: 100%; }

/*16 colonnes*/
.span-1, .span-2, .span-3, 
.span-4, .span-5, .span-6, 
.span-7, .span-8, .span-9, 
.span-10, .span-11, .span-12, 
.span-13, .span-14, .span-15, .span-16{ width: 100%; }


/* tablette portrait */
@media (min-width: 768px){

    /* 24 colonnes */
    .spannomargin-1{ width: 5%; }
    .spannomargin-2{ width: 5%; }
    .spannomargin-3{ width: 10%; }
    .spannomargin-4{ width: 15%; }
    .spannomargin-5{ width: 25%; }
    .spannomargin-6{ width: 25%; }
    .spannomargin-7{ width: 35%; }
    .spannomargin-8{ width: 40%; }
    .spannomargin-9{ width: 50%; }
    .spannomargin-10{ width: 50%; }
    .spannomargin-11{ width: 50%; }
    .spannomargin-12{ width: 50%; }
    .spannomargin-13{ width: 50%; }
    .spannomargin-14{ width: 50%; }
    .spannomargin-15{ width: 50%; }
    .spannomargin-16{ width: 60%; }
    .spannomargin-17{ width: 65%; }
    .spannomargin-18{ width: 75%; }
    .spannomargin-19{ width: 75%; }
    .spannomargin-20{ width: 85%; }
    .spannomargin-21{ width: 90%; }
    .spannomargin-22{ width: 95%; }
    .spannomargin-23{ width: 95%; }
    .spannomargin-24{ width: 100%; }

    /*16 colonnes*/
    .span-1{ width: 6.25%; }
    .span-2{ width: 12.5%; }
    .span-3{ width: 18.75%; }
    .span-4{ width: 25%; }
    .span-5{ width: 31.25%; }
    .span-6{ width: 37.5%; }
    .span-7{ width: 43.75%; }
    .span-8{ width: 50%; }
    .span-9{ width: 56.25%; }
    .span-10{ width: 62.25%; }
    .span-11{ width: 68.75%; }
    .span-12{ width: 75%; }
    .span-13{ width: 81.25%; }
    .span-14{ width: 87.5%; }
    .span-15{ width: 93.75%; }
    .span-16{ width: 100%; }

}
/* tablette paysage */
@media (min-width: 1024px){

    /*24 colonnes*/
    .spannomargin-1{ width: 4.16666667%; }
    .spannomargin-2{ width: 8.33333333%; }
    .spannomargin-3{ width: 12.5%; }
    .spannomargin-4{ width: 16.666666666667%; }
    .spannomargin-5{ width: 20.833333333333%; }
    .spannomargin-6{ width: 25%; }
    .spannomargin-7{ width: 29.16666667%; }
    .spannomargin-8{ width: 33.333%; }
    .spannomargin-9{ width: 37.5%; }
    .spannomargin-10{ width: 41.66%; }
    .spannomargin-11{ width: 45.833333333333%; }
    .spannomargin-12{ width: 50%; }
    .spannomargin-13{ width: 54.166666666667%; }
    .spannomargin-14{ width: 58.3333333%; }
    .spannomargin-15{ width: 62.5%; }
    .spannomargin-16{ width: 66.666%; }
    .spannomargin-17{ width: 70.8266666%; }
    .spannomargin-18{ width: 75%; }
    .spannomargin-19{ width: 79.16%; }
    .spannomargin-20{ width: 83.32%; }
    .spannomargin-21{ width: 87.4866666%; }
    .spannomargin-22{ width: 91.6533333%; }
    .spannomargin-23{ width: 95.82%; }
    .spannomargin-24{ width: 100%; }
    .mille{ max-width: 960px; width: 100%; }

    /*16 colonnes*/
    .span-1{ width: 6.25%; }
    .span-2{ width: 12.5%; }
    .span-3{ width: 18.75%; }
    .span-4{ width: 25%; }
    .span-5{ width: 31.25%; }
    .span-6{ width: 37.5%; }
    .span-7{ width: 43.75%; }
    .span-8{ width: 50%; }
    .span-9{ width: 56.25%; }
    .span-10{ width: 62.25%; }
    .span-11{ width: 68.75%; }
    .span-12{ width: 75%; }
    .span-13{ width: 81.25%; }
    .span-14{ width: 87.5%; }
    .span-15{ width: 93.75%; }
    .span-16{ width: 100%; }

}
@media (min-width: 1280px){
    .mille{ max-width: 1080px; }
}
@media (min-width: 1480px){
    .mille{ max-width: 1280px; }
}

.nomobile{ display: none; }
@media (min-width: 1024px){ .nomobile{ display: flex; } }
.onlymobile{ display: flex; }
@media (min-width: 1024px){ .onlymobile{ display: none; } }

/*****************************************/

/*FONTS*/
    .roboto{
        font-family: "Roboto", sans-serif;
        font-optical-sizing: auto;
        font-style: normal;
    }
    .thin{ font-weight: 100; }
    .light{ font-weight: 300; }
    .regular{ font-weight: 400; }
    .medium{ font-weight: 500; }
    .semibold{ font-weight: 600; }
    .bold{ font-weight: 700; }
    .ultrabold{ font-weight: 900; }

/**/

img, iframe, video{ max-width: 100%; }
h1, h2, h3, h4, h5, h6{ }
h1{ font-size: 32px; }
h2{ font-size: 28px; }
h3{ font-size: 24px; }
h4{ font-size: 20px; }
.italique, i, em{ font-style: italic; }
.lowercase{ text-transform: lowercase; }
.uppercase{ text-transform: uppercase; }
.black, a.black{ color:#000; }
.white, a.white{ color: #fff; }
.grey, a.grey{ color: #959393; }

strong, b{ font-weight: 700; }
.align-left, .alignleft{ text-align: left; justify-content: flex-start; }
.align-right, .alignright{ text-align: right; justify-content: flex-end; }
.align-center, .aligncenter{ text-align: center; justify-content: center; }

img.alignleft, img.align-left{ float: left; margin: 0 1em 1em 0 }
img.alignright, img.align-right{ float: right; margin: 0 0 1em 1em }
img.aligncenter, img.align-center{ float: none; margin: 0 auto 1em auto }

.justify{ text-align: justify; }

.button{
    display: block;
    width: auto;
    text-decoration: underline;
    font-size: 16px;
    text-align: center;
    transition: ease-in-out all 0.1s;
    cursor: pointer;
    background: white;
    text-decoration: none;
}
.button:hover{
    background: black!important;
    text-decoration: none;
}

a{ color: #000; text-decoration: none; cursor: pointer; }
a:hover{ color: #959393; text-decoration: underline; }
p{ margin: 10px 0; }
article ul{ margin: 1em 0; }
article ul li{ list-style-type: disc; margin-left: 2em; }

.gallery {
  display: flex;
  width: 100%;
  align-items: flex-start;
  flex-flow: row wrap;
}
.gallery-item{ margin: 0 1rem 1rem 0; }


.left{ float: left; }
.right{ float: right; }
.center{ margin: 0 auto; }

.relative{ position: relative; }
.absolute{ position: absolute; }

.error{ color: red; font-weight: bold; }

/*****/
/* base */

body{
    margin: 0;
    padding: 0;
    font-weight: 400;

    background: #f5f5f5;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    color: #424242;

}
.conteneur{ max-width: 1920px; margin: 0 auto; }

header,  main, footer, .home_contenu{ width: 100%; }
header{
    background: #cfd1d2;
    padding: 1rem 0;
    margin-bottom: 1rem;
}
a#logo{
    margin: 0 0 0 0;
}
.menu-toggle{ display: none; }
.nav-menu{ display: flex; }
nav{
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: auto;
}
.menu-menu-principal-container{
    display: flex;
    width: 100%;
    position: relative;
}
nav ul{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
}
nav ul li{
    list-style-type: none;
    display: inline-flex;
    text-align: center;
    background: transparent;
    transition: ease-in-out all 0.1s;
}
nav ul li a{
    font-size: 20px;
    display: flex;
    color: black;
    text-decoration: none;
    line-height: 20px;
    padding: 10px;
    margin: 0 0px;
    width: auto;
    background: transparent;
    border: 0;
}
nav ul li:hover{ }
nav ul li:hover a, 
nav ul li.current-menu-item a{
    transition: ease-in-out all 0.1s;
    text-decoration: none;
    border-color: white;
    color: white;
}
/*nav ul li ul{
    position: absolute;
    top: 45px;
    left: 0;
    z-index: 5001;
    padding: 0;
    background: white;
    border: 1px solid #f6772b;
    display: none;
}
nav ul li:hover ul{ display: flex; flex-flow: column wrap;  }
nav ul li ul li{
    display: list-item;
}
nav ul li ul li a{
    color: #f6772b;
    padding: 0;
    margin: 0;
}
nav ul li ul li a:hover{
    color: black;
    text-decoration: none;
}*/

.bghome{
    background: white; 
    border-radius: 1rem;
    padding: 2rem 3rem 4rem 3rem;
    margin: 2rem auto 4rem auto;
}
h1{ 
    color: #263383;
    font-size: 2rem;
    font-weight: bold;
    margin: 2rem auto;
}
h2{ 
    color: #D40068;
    font-size: 1.75rem;
    font-weight: bold;
    margin: 2rem auto;
}
h3{ 
    color: #263383;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem auto;
}
p{

    font-size: 1.1rem;
    line-height: 1.5rem;
    margin: 1rem 0;
}
a{ color: #D40068; text-decoration: none; }
a:hover{ color: #263383; }
.btn{
    display: block;
    font-size: 1.2rem;
    color: white; 
    font-weight: bold; 
    background:#263383;
    border-radius: 1rem;
    padding: 1rem 0;
    margin: 2rem auto;
    transition: ease-in-out all .1s;
}
.btn:hover{
    background:#D40068;
    color: white; 
    text-decoration: none;
    transition: ease-in-out all .1s;
}


.wpcf7{ padding: 3rem auto; position: relative; }
.wpcf7 label{ color: #263383; }
.wpcf7-spinner{ position: absolute; bottom: 0; right: 0; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    background: #fff;
    border: 1px solid #263383;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
    max-width: 100%;
    width: calc( 100% - 2px - 2rem );
    outline: none;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}
.wpcf7 select{ width: 100%; color: #263383;}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: #D40068;  }
input[type="submit"]{
    display: block;
    font-size: 1.2rem;
    color: white; 
    font-weight: bold; 
    background:#263383;
    border-radius: 1rem;
    padding: 1rem 0;
    margin: 2rem auto;
    transition: ease-in-out all .1s;
}
input[type="submit"]:hover,
button[type="submit"]:hover { background: #D40068; }









footer{  }
.menu-footer-container{ display: flex; width: 100%; }
.footer-menu{ display: flex; flex-flow: row wrap; justify-content: flex-start; }



/**/
@media (min-width: 2px) and (max-width: 1023px){

    .menu-toggle{
        width: 100%;
        padding: 0;
        background: #fff;
        color: #8d001a;
        border:0;
        display: block;
        font-size: 2rem;
        line-height: 2rem;
        text-align: center;
    }
   .menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover{
        text-decoration: none;
    }
    .nav-menu{ 
        display: none; 
        padding:0; 
        margin:0; 
        z-index: 10001; 
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
     }
    .nav-menu.toggled-on{ display: flex; }
    nav ul{
        flex-direction: column;
    }
    nav ul li{
        list-style-type: none;
        display: inline-flex;
        text-align: center;
        transition: ease-in-out all 0.1s;
    }
    nav ul li a{
        font-size: 20px;
        display: block;
        color: #000;
        background: white;
        text-decoration: none;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    nav ul li a:hover{ color: #8d001a; }
    nav ul li ul{
        margin:0;
        padding:0;
    }
    nav ul li:hover ul{ }
    nav ul li ul li{
        display: list-item;
    }
    nav ul li ul li a{
        color: #000;
    }
    nav ul li ul li a:hover{
        color: black;
        text-decoration: none;
    }

    a#logo img{ max-width: 80%; margin: 0 auto; }
    a#logo{ display: block; text-align: center; }
    h1{ 
        font-size: 1.5rem;
        margin: 1.5rem auto;
    }
    h2{ 
        font-size: 1.25rem;
        margin: 1.5rem auto;
    }
    h3{ 
        font-size: 1rem;
        margin: 1rem auto;
    }
    p{
        font-size: 1rem;
        line-height: 1.25rem;
        margin: 1rem 0;
    }
    .bghome{ padding: 2rem 2rem; margin: 2rem 1rem; }

}
/**/
@media (min-width: 768px) and (max-width: 1023px){

}
/**/
@media (min-width: 1024px) and (max-width: 1279px) {

}
/**/
@media (min-width: 1280px) and (max-width: 1479px){

}
/**/
@media (min-width: 1480px) and (max-width: 1599px){

}
/**/
@media (min-width: 1600px) and (max-width: 1799px){

}
/**/
@media (min-width: 1800px){

}
/**/
@media (min-width: 1900px){

}
/**/