/******************************************************************
Theme Name: Au Bon Jambon
Description: Au Bon Jambon
Author: Olivier B.
Template: tilt
Version: 1

*/

#header-background{
    background: #333 url('/wp-content/uploads/2019/06/header.jpg') no-repeat;
    background-size: cover !important;
    height: 66vh;
    position: relative;
    border-top: 10px solid #ed213b;
}

body{
    overflow-x: hidden;
}

#content{
    background: #333;
/*    overflow-x: hidden;*/
/*    border-bottom: 100px solid #ed213b;*/
}

h1{
    font-weight: 600 !important;
}

.blanc{
    color: #fff;
}

.blanc h1,
.blanc h2,
.blanc h3,
.blanc h4,
.blanc p, .blanc ul li
{
    color: #fff;
}

.page h1{
    padding-top: 0 !important;
    font-weight: 300 !important;
    color: #ed213b !important;
}

.home h1{
    padding-top: 40px !important;
}

h4{
    color: #ed213b !important;
    font-weight: 300 !important;
}

#header-wrapper{
    position: relative !important;
}
blockquote{
    background: #fff;
    padding: 20px 20px 30px;
    margin: 0;
    border: 0;
}

#site-header{
    height: 0;
    margin-bottom: 120px;
}

.home #site-header{
    height: 0;
    margin-bottom: 652px;
}

#site-header.menu-dark #header-wrapper{
    background: #333 !important;
}

#jours-menu{
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
}

.tab{
    padding: 10px;
}

.active a{
    color: #222;
}

#plats{
    padding-top: 40px;
}

#plats .wpb_wrapper, #plats .wpb_raw_code{
    height: 100%;
}

.plats-wrapper{
    min-height: 300px;
    background: #fff;
    background-size: cover;
    max-height: 100%;
}

.plats-inner{
    background: rgba(255,255,255,.7);
    padding: 20px;
}

.plats-inner .vc_btn3{
    font-size: 1em !important;
    padding: 10px 20px;
    width: 50%;
    display: block;
    margin: 0 auto;
    margin-top: 30px;
}

@media (min-width: 972px){
    .plats-inner{
        width: 50%;
         height: 100%;
    }

    .footer-sidebar .vc_row{
        display: -ms-flexbox;
            display: -webkit-box;
            display: flex;

            -ms-flex-align: center;
            -webkit-box-align: center;

            align-items: center;
        }

}

#site-header.menu-dark #site-logo, #site-header.menu-light #site-logo{
    margin: 0 auto;
    margin-left: auto !important;
    position: relative;
    margin-top: 0px !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    position: absolute;
    top: -60px;
    left: calc(50% - 75px);
}

#site-header.menu-dark.header-container-sticked #site-logo, #site-header.menu-light.header-container-sticked #site-logo{
    margin-top: 0 !important;
}

#header-container{
    margin-top: -60px;
}
#site-header #header-container{
    z-index: 999;
    height: 0 !important;
}

#site-navigation{
    float: none;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 30px 0;
    z-index: 9999;
}

.header-container-sticked #site-navigation{
    padding: 10px 0;
}

h1, h1 a{
    color: #fff !important;
    text-align: center;

    padding: 50px 0 30px 0;
}

.show-sticked{
    display: none;
}
.header-container-sticked .show-sticked{
    display: block;
}
.header-container-sticked .hide-sticked{
    display: none;
    height: 0;
}

.header-sticked{
    z-index: 9999;
}

.site-h1 img{
    margin: 0 auto;
    width: 120px;
    display: block;
    max-width: 100px;
}

.img-abs{
    position: absolute;
    top: 0;
}

.img-abs img{
    margin-top: -25%;
    -webkit-box-shadow: 0 10px 20px rgba(0,0,0,.3);
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
}

.row_content{
    display: block;
    overflow: visible;
}

.vc_btn3.vc_btn3-color-juicy-pink, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat{
    background: #ed213b;
    font-weight: 700;
    font-size: 1.6em;
    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,.3);
    box-shadow: 5px 5px 10px rgba(0,0,0,.3);
}

.vc_btn3.vc_btn3-color-juicy-pink:hover, .vc_btn3.vc_btn3-color-juicy-pink.vc_btn3-style-flat:hover{
    -webkit-box-shadow: 10px 10px 20px rgba(0,0,0,.5);
    box-shadow: 10px 10px 20px rgba(0,0,0,.5);
    background: #111;
}

.wpcf7 input, .wpcf7 textarea, .wpcf7 select{
    background: #fff;
    margin-bottom: 0;
    color: #333;
}

.wpcf7 input[type="submit"]{
    width: 100%;
}

::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333 !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333 !important;
  opacity: 1; /* Firefox */
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333 !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #333 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #333 !important;
}

.annonce{
    max-width: 1200px;
    color: #fff;
    font-size: 1.4em;
    margin: 0 auto;
    border: 2px solid #fff;
    text-align: center;
    padding: 20px;
}

#site-header.header-bold #site-navigation .menu-container > ul > li > a{
    font-weight: 600;
    text-transform: none;
    font-size: 14px !important;
}


#main-menu-wrapper .row_content{
    clear: both;
    margin-top: -20px;
}

.plat-item{
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
    z-index: 1;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: -webkit-transform .5s ease-in-out;
    transition: -webkit-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out, -webkit-transform .5s ease-in-out;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-size: cover;
    background-position: center;
}

.plat-item.flip{
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.fliped-content{
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: -webkit-transform .5s ease-in-out;
    transition: -webkit-transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out, -webkit-transform .5s ease-in-out;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-size: cover;
    background-position: center;
    background: #000;
    color: #FFF;
   -webkit-transform: rotateY(180deg);
   transform: rotateY(180deg);transform: rotateY(180deg);
}

.fliped-content.flip{
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
}

.fliped-content h4{
    padding: 0 20px;
    font-size: 1.6em;
    padding-bottom: 20px;
}

.plat-item-wrapper{
    -webkit-perspective: 1480px;
    perspective: 1480px;
}

.row-clear{
    clear: both;
}

@media (min-width:1260px){
    #header-background{
        background-position: bottom;
    }
    .plat-item-wrapper{
        min-height: 273px;
        margin-bottom: 0;
    }
}

.plat-item-wrapper:hover{
    cursor: pointer;
}
.plat-item h4{
    background: #ed213b;
    padding: 2px 10px 5px 10px;
    font-weight: 500 !important;
    font-size: 24px;
    color: #fff !important;
    margin-bottom: 10px;
}

.plat-item .wpb_wrapper{

}

.plat-item .vc_single_image-wrapper{
    position: relative;
    z-index: -1;
    max-width: calc(100%);
    left: 0;
    top: 3px;
    max-height: 400px;
    overflow: hidden;
    border: 0;
    margin-top: -100px;
}

.titre-plat{
    background: rgba(255,255,255,.6);
    min-height: 97px;
}

.plat-item .vc_column-inner{
    padding: 0;
}

.plat-item p{
    margin: 0;
    padding: 0px 20px;
}
.plat-item .wpb_wrapper p:first-of-type{
    padding-bottom: 0 !important;
}
.plat-item .wpb_wrapper p:last-child{
    padding-bottom: 10px;
}

@media only screen and (max-width: 979px) and (min-width: 768px){
    .vc_responsive .wpb_row .plat-item-wrapper.vc_col-sm-4, .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper{
        width: 33%;
        float: left;
    }
    .vc_responsive .wpb_row .plat-item-wrapper.vc_col-sm-4:nth-child(2n+1), .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper:nth-child(2n+1){
        clear: none !important;
    }
}

#related{position: relative;padding-top: 90px;}
#related:before{
    display: block;
    position: absolute;
    top: 90px;
    right: 0;
    content: "";
    background: url(https://www.rouge-traiteur.fr/wp-content/uploads/2019/06/bg-pattern.png) no-repeat;
    width: 40%;
    height: 300px;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

#related-pages{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 40px;
}
.item-related{
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0 5px;
}
.item-related img{
    height: auto;
    max-height: 350px;
}
.item-related h4{
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0px;
    color: #333 !important;
    padding: 10px 0;
    padding-left: 50px;
    margin: 0 5px;
    font-size: 18px;
    font-weight: 500 !important;
    background: rgba(200,200,200,.8);
    display: block;
    width: calc(100% - 10px);
}

.fond-blanc{
    background: #FFF;
    width: 60%;
    margin-bottom: 40px;
    padding: 5px 0;
    padding-left: 30px;
}

.float-right{
    float: right;
}

.float-right + .row-inner{
    clear: both;
}

#site-logo-page h1{
    display: inline-block;
    padding: 0;
    padding-left: 20px;
    height: 90px;
    vertical-align: middle;
}

#site-logo-page h1 a{
    padding: 0;
    margin: 0;
}

#site-logo-page{
    text-align: center;
    margin-bottom: -40px;
}
#site-logo-page img{
    max-width: 100px;
}

h1.fz-medium{
    font-size: 2em;
}

.site-footer{
    clear: both;
    margin-top: 100px;
}

#related{
    clear: both;
}

.footer-sidebar{
    padding-top: 20px;
    padding-bottom: 10px;
}

.footer-sidebar .widget input, .site-info .widget input,.footer-sidebar .widget input[type="submit"], .site-info .widget input[type="submit"]{
    width: 100%;
}

.footer-sidebar #menu-contact a{
    text-align: center;
    color: #333;
    display: block;
}
.footer-sidebar #menu-contact a:hover{
    color: #ed213b;
}

#wrapper{background-color: #333 !important;}
#custom_html-2{padding-bottom: 0;}
.site-info{padding: 0px;}

#bloc-carte-gourmande{
    margin-top: -120px;
    padding-top: 120px;
}

#bloc-carte-gourmande .vc_column-inner {
    padding-left: 0;
    padding-right: 0;
}

.footer-sidebar .widget, .site-info .widget{
    color: #333;
}

.logo-sticked{
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 999;
    max-width: 75px;
}

.title-sticked{
    margin-left: 100px;
    color: #FFF;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 0;
    display: none;
}

@media (max-width:968px){
    #main{
        margin-top: 90px;
    }
    .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper{
        clear: both;
        width: 100%;
        margin: 0 auto;
        display: block;
        float: none;
    }
    .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper .vc_figure{display: block !important;}
    .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper .wpb_single_image img{
        width: 100% !important;
        max-height: none;
    }
    .plat-item-wrapper .plat-item .vc_single_image-wrapper{
        max-height: none !important;
        width: 100%;
    }
    .vc_responsive .wpb_row .vc_col-sm-8.plat-item-wrapper .titre-plat{
        max-width: 100%;
        text-align: center;
    }

    .footer-sidebar{
        padding: 40px 60px;
    }
    .title-sticked{
        display: block;
    }
    #header-wrapper{
        background: #333;
        padding: 15px;
    }

    .toggle-mobile-menu{
        top: 30px;
    }

    .plat-item-wrapper{
        margin-bottom: 30px;
    }

    .titre-plat{
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width:600px){
    #main{
        margin-top: 150px;
    }
}

::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999 !important;
    font-style: italic;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999 !important;
    font-style: italic;
  opacity: 1; /* Firefox */
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999 !important;
    font-style: italic;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999 !important;
    font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #999 !important;
    font-style: italic;
}
