@font-face {
    font-family: "Gabriola";
    src: url("../font/gabriola.ttf") format("truetype");
}

@font-face {
    font-family: "Century gothic";
    src: url("../font/century-gothic.ttf") format("truetype");
}

/**:last-child{
margin-bottom:0;
}*/
.content-map{
    padding:0;
}
iframe{
    pointer-events:none;
}
article p.coord{
    font-size:1.2em;
}
article.coord.row article{
    text-align:left;
}
article.coord.row>*{
    padding:0;
}
article.row article h2{
    font-size:2em;
}
article.row article h3{
    padding:0;
}
#historique h3{
    padding: 0;
    padding-top: 20px;
    line-height:1.2em;
}
p{
    font-size:1.1em;/*font-size:0.8em;*/
}
/*    COMMUN    */
a{
    color:#f2d7a2;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

.clear {
    clear: both;
}

.page {
    padding-bottom: 228px;
    min-height: 100%;
    position: relative;
}
span.yellow{
    color:#f2d7a2;
}
a:active{
    color:white;
}

h2 {
    color: #f2d7a2;
    font-family: 'Simonetta', cursive;
    line-height: 1em;
    font-size: 2em;
}
h2.center{
    font-size:3em;
    margin-bottom:30px;
}

h2.center {
    text-align: center;
}

h3 {
    color: white;
    font-size: 1.2em;
    font-family: 'Simonetta', cursive;
    line-height: 1em;
}
h3.yellow{
    color:#f2d7a2;
}

article h3{
    font-family:"Century gothic";
    font-size: 1.2em;
}

ul {
    margin: 0;
}

div.black {
    background: rgba(0, 0, 0, 0.4);
}

article {
    padding: 40px 20px;
}

section {
    padding: 40px 0;
}

body {
    background: url("../images/background.jpg") repeat-y;
    background-size: 100%;
    color: white;
    font-family: "Century gothic";
    font-size: 16px;
}

*:last-child() {
    margin-bottom: 0 !important;
}


/*    HEADER   */
header #opennav{
    display:none;
}
header {
    padding: 40px 0 0 0;
}

header h1 {
    margin: 0 42%;
    width: 204px;
}


/*    SLIDER   */

.content-slider {
    margin-top: 40px;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-top: solid white 2px;
    border-bottom: solid white 2px;
}

@media screen and (max-width: 1024px) {
    .content-slider {
        display: none;
    }
}

.content-slider .row {
    position: relative;
    height: 0px;
}

.content-slider h2 {
    position: absolute;
    display: block;
    left: 20px;
}

.content-slider h2.yellow {
    top: -190px;
    font-size: 54px;
    background: rgba(242, 215, 162, 0.8);
    color: #220b04;
    padding: 10px 25px 0 25px;
}

.content-slider h2.white {
    top: -100px;
    font-size: 23px;
    font-family: "Century gothic";
    color: black;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 25px;
}


/*    INDEX NAV   */

.page>nav {
    padding: 40px 0 0 0;
}

.page>nav ul li {
    list-style: none;
    padding: 0 20px;
}

.page>nav ul li a {
    display: block;
    width: 100%;
    padding: 40px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    color: white;
    font-size: 16px;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

.page>nav ul li a:hover {
    color: white;
}

.page>nav ul li a::before {
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

.page>nav ul li a p {
    margin: 0;
    padding: 0;
}

@media screen and (min-width:1025px) {
    .page>nav ul li a:hover {
        background: rgba(0, 0, 0, 0.6);
    }
    .page>nav ul li a:hover::before {
        transform: rotate(20deg);
        -moz-transform: rotate(20deg);
        -o-transform: rotate(20deg);
        -webkit-transform: rotate(20deg);
    }
    .page>nav ul li a:hover {
        color: white;
    }
}

.page>nav ul li a .yellow {
    color: #f2d7a2;
    font-size: 25px;
    font-family: 'Simonetta', cursive;
    line-height: 1em;
    margin-bottom: 40px;
}

.page>nav ul li a::before {
    content: ' ';
    width: 100%;
    height: 120px;
    display: block;
    margin-bottom: 40px;
}

#pains::before {
    background: url("../images/picto/pains.png") center no-repeat;
    background-size: auto 100%;
}
#viennoiseries::before {
    background: url("../images/picto/viennoiseries.png") center no-repeat;
    background-size: auto 100%;
}
#patisseries::before {
    background: url("../images/picto/patisseries.png") center no-repeat;
    background-size: auto 100%;
}

#traiteur::before {
    background: url("../images/picto/traiteur.png") center no-repeat;
    background-size: auto 100%;
}
.questionnaire .question{
    color: #f2d7a2;
    font-family: 'Simonetta', cursive;
    line-height: 1em;
    font-size: 2em;
    margin-bottom: 10px;
}
.questionnaire label{
    color: #fff;
    margin-right: 40px;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-rendering: optimizeLegibility;
}
.questionnaire div{
    margin-bottom: 25px;
}
input.submit {
    background-color: transparent;
    color: #f2d7a2;
    font-family: 'Simonetta', cursive;
    line-height: 1em;
    font-size: 2em;
    border: none;
    margin-bottom: 50px;
    border:1px solid #f2d7a2;
    padding:10px;
    transition:0.3s all;
}
input.submit:hover{
  color:#fff;
  border:1px solid #fff;
}

#jeux-educatifs::before {
    background: url("../images/picto/jeux-educatifs.png") center no-repeat;
    background-size: auto 100%;
}

#blog::before {
    background: url("../images/picto/blog.png") center no-repeat;
    background-size: auto 100%;
}

#conseils-astuces::before {
    background: url("../images/picto/conseils-astuces.png") center no-repeat;
    background-size: auto 100%;
}
ul.listeProduits{
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
    opacity:1;
    padding:0;
}

ul.listeProduits li {
    list-style: none;
    padding: 20px;
    position:relative;
}

ul.listeProduits li a {
    display: block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

ul.listeProduits li a:hover {
    display: block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
}

ul.listeProduits li h3 {
    font-family: "Century gothic";
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 15px;
}

.listeProduits .bio::before{ /*Modif Fred Pluscom : retirer sur demande du client (mail du 26/07/16)*/
    /*content: url('../images/AB.png');
    width:36px;
    height:50px;
    position:absolute;
    right:10px;
    top:10px;*/
}

.fancybox.small{
    display:inline-block;
    max-height:130px;
    max-width:170px;
    overflow:hidden;
    border: 4px solid #fff;
    transition: border-color 0.5s ease-out;
    border-radius: 8px;
}
.fancybox.small img{
    max-width:220px;
    max-height:286px;
}

@media screen and (max-width:910px) {
    body, .page>nav ul li a p {
        font-size: 13px;
    }
    .page>nav ul li a .yellow {
        font-size: 34px;
        margin-bottom: 20px;
    }
    .page>nav ul li a::before {
        height: 80px;
    }
    .page>nav ul li a {
        padding: 20px;
    }
}

@media screen and (max-width:910px) {
    .page>nav ul li a p {
        display: none;
    }
}

@media screen and (max-width:640px) {
    .page>nav ul li a .yellow {
        line-height: 20px;
        font-size: 23px;
    }
    .page>nav ul li a::before {
        height: 60px;
    }
}


/*    NAV    */

header nav ul {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    display: block;
    padding: 10px 0;
    color: #f2d7a2;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

header nav ul li a:hover, header nav ul li a.active {
    color: white;
}

header #banner {
    height: 200px;
    width: 100%;
    background-size: cover;
    border-bottom: solid white 2px;
}

header .pain {
    background: url("../images/pains/banner.jpg") center no-repeat;
}
header .viennoiserie {
    background: url("../images/viennoiseries/banner.jpg") center no-repeat;
}
header .patisserie {
    background: url("../images/patisseries/banner.jpg") center no-repeat;
}

nav.black {
    background: rgba(0, 0, 0, 0.8);
}

nav#ariane ul{
    display:block;
    margin-top:0;
    padding:0 20px;
}
nav#ariane ul li:not(:last-of-type)::after{
    content:"/";
    display:block;
    float:left;
    padding: 10px 10px;
}
nav#ariane ul li a{
    float:left;
    padding: 10px 10px;
}
/*    ARTICLE    */


/*    SEARCH    */

.search {
    padding: 20px 20px 0 20px;
}

.search p {
    text-align: center;
    line-height: 56px;
    font-size: 25px;
}

.search input, .search select {
    border: none;
    height: auto;
    font-size: 20px;
    box-shadow: none;
    line-height: 41px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
}

.search input:focus, .search select:focus {
    border: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.twitter-typeahead{
    width:100%;
}
.tt-menu{
    background:rgba(0,0,0,0.4);
    color:white;
    font-size: 20px;
    width:100%;
}

.tt-selectable{
    padding:10px 20px;
    cursor:pointer;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}
.tt-selectable:hover{
    color:#f2d7a2;
}

/*    FICHE TECHNIQUE    */

.fiche-produit {
    padding: 40px 0;
}

.image-produit {
    border: solid white 2px;
    padding: 0;
    margin: 0;
}


/*    SECTION ARTICLE COLUMNS    */

section article {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
}
article ul{
    padding-left:20px;
}

.coord{
    text-align:center;
}
.coord article{
    padding-bottom:0;
}
.coord .yellow{
    color:#f2d7a2;
}
.coord a{
    color:white;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}
.coord a:hover{
    color:#f2d7a2;
}
/*    FOOTER    */

footer {
    width: 100%;
    text-align: center;
    margin: 0;
    position: absolute;
    bottom: 0;
}
footer.black{
    background:rgba(0,0,0,0.4);
}
footer div:first-of-type:not(:last-of-type){
    padding-bottom:10px;
}
footer div:last-of-type {
    background:rgba(0,0,0,0.4);
}
footer.black div:last-of-type{
    background:transparent;
}
footer p {
    margin: 0;
    padding: 10px;
}

footer a {
    color: white;
    transition:all 0.3s;
    -o-transition:all 0.3s;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
}

footer a:hover {
    color: #f2d7a2;
}

@media screen and (max-width:1024px) {
    .row:not(.page>nav) {
        padding: 40px 20px;
    }
    .page>nav {
        padding:40px 0 0 0;
    }
    h2:not(.titre){
        font-size: 50px;
    }
    article p.coord{
        font-size:18px;
    }
    article.row article h2 {
        font-size:40px;
    }
}

@media screen and (max-width:640px) {
    .search p{
        display: none;
    }
    .page {
        padding-bottom: 428px;
    }
    header h1:not(.accueil){
        width:50%;
        margin-left:40px;
        padding-bottom:40px;
    }
    header{
        z-index:999;
        position:relative;
    }
    header>div.row{
        position:relative;
    }
    header #opennav{
        position:absolute;
        top:0;
        right:30px;
        width:30px;
        height:30px;
        display:block;
        background:url("../images/picto/menu.png") center;
        background-size:100%;
    }
    header #banner nav{
        overflow:hidden;
        max-height:0;
        transition:all 1s ease;
        -o-transition:all 1s ease;
        -moz-transition:all 1s ease;
        -webkit-transition:all 1s ease;
    }
    header #banner nav.active{
        max-height:600px;
    }
    header #banner nav ul {
        z-index: 999;
        display:block;
        text-align:center;
    }
    header #banner{
        z-index:999;
        position:relative;
    }
    header #banner nav ul li a{
        width:100%;
        padding:20px;
        font-size:20px;
    }
    article.coord.row article{
        text-align:center;
    }
    section div:not(:last-of-type) article {
        margin-bottom: 20px;
    }
    footer p {
        font-size: 10px;
    }

}
