/*
Theme Name: Grand Restaurant Child
Theme URI: https://www.untraitdecerise.com
Description: Thème enfant Un trait de Cerise (personnalisations Altitude, parent Grand Restaurant 7.x)
Version: 1.0.0
Author: Altitude Création
Author URI: https://www.altitude-creation.fr
Template: grandrestaurant
Text Domain: grandrestaurant-child
*/

/* ==========================================================================
   Police manuscrite (menu Drive)
   ========================================================================== */
@font-face {
	font-family: 'fineliner_scriptregular';
	src: url('css/font/fineliner_script-webfont.woff2') format('woff2'),
	url('css/font/fineliner_script-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/* ==========================================================================
   Surcharge wordpress.css du parent
   ========================================================================== */
p {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

/* ==========================================================================
   Menu : liens Réservation / Drive (ex screen.css parent)
   ========================================================================== */
#menu_wrapper .nav ul li.resa-link > a, #menu_wrapper div .nav li.resa-link > a {
	border-left:1px solid rgba(255,255,255,0.5);
	border-right:1px solid rgba(255,255,255,0.5);
	background:rgba(0,0,0,0.1);
}

#menu_wrapper .nav ul li.drive-link > a, #menu_wrapper div .nav li.drive-link > a {
	font-family: 'fineliner_scriptregular',Arial, Helvetica, sans-serif;
	font-size: 24px;
	line-height: 1;
}

#menu_wrapper .nav li.drive-link.arrow > a:after,
#menu_wrapper div .nav li.drive-link.arrow > a:after {
	margin-top: 6px;
}

/* ==========================================================================
   Ex css/customize.css du parent
   ========================================================================== */
/** --------------------------
    HELPERS
--------------------------- **/

.alt_container {
    padding:0 15px;
}
.button,
.menu_title,
.menu_price,
.questrial {
    font-family: 'Questrial',arial,sans-serif !important;
}

body {
    font-family: 'Questrial',arial,sans-serif;
}



/** --------------------------
    TOP BAR LOGO DEGRADE
--------------------------- **/

body .top_bar {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 1%, #eee3d4 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 1%,#eee3d4 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 1%,#eee3d4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eee3d4',GradientType=0 ); /* IE6-9 */
    height:auto;
}

body .top_bar_elements #logo_normal {
    padding: 10px 0 0;
}



body .top_bar_elements_txt {
    font-size:16px;
    padding-top:25px;
    float:left;
    display:none;
}

body .top_bar_elements_txt span {
    display:inline-block;
    font-weight: bold;
    margin-left:15px;
}

body .top_bar_elements .top_bar_traiteur{
    float:right;
}

body .logo_container {
    float: left;
    display: block;
    height: auto;
    width: auto;
    margin: 0 auto;
    text-align: center;
}

body .logo_align {
    display: inline-block;
    vertical-align: baseline;
}


/** --------------------------
    MENU
--------------------------- **/

body #nav_wrapper {
    float: left;
    display: block;
    height: auto;
    margin-left: 0;
    clear:both;
    width: 100%;
    background:#9f0504 url(images/bg-menu.jpg) top center no-repeat;
}

body #menu_wrapper {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}



body #menu_wrapper .nav ul li a,
body #menu_wrapper div .nav li > a {
    padding:9px 10px;
    font-family: 'Questrial',arial,sans-serif;
    font-size:16px;
    text-transform: none;
    color:#fff;
    font-weight: 300;
}


/** --------------------------
    ACCUEIL
--------------------------- **/

body #wrapper h2.ppb_title {
    color:#9F0504;
    text-align: center;
}

body.home #wrapper .parallax.title h2.ppb_title{
    color:rgba(255,255,255,1) !important;
}

body.home #wrapper .parallax.title h2.ppb_title:after{
    content:'';
    background:transparent url(images/feuille-icon.png) top left no-repeat;
    width: 29px;
    height: 21px;
    display:block;
    margin:40px auto;
}

body.home .ppb_text {
    padding:40px 0;
}

body.home .ppb_text h2 {
    color:#9F0504;
    font-size:45px;
}

body .ppb_text h2:after{
    content:'';
    background:transparent url(images/feuille-icon-gris.png) top left no-repeat;
    width: 29px;
    height: 21px;
    display:block;
    margin:20px auto;
}


body .four_cols.gallery .element {
    padding:10px;
}
body.home .divider.one{
    margin-top: 80px;
}

body.home .divider.one:before{
    content: '';
    background: transparent url(images/feuilles-bottom.png) top left no-repeat;
    width: 500px;
    height: 265px;
    position: absolute;
    right: 15%;
    z-index: -2;
    top: -268px;
}



body .withsmallpadding h2 a{
    color: #9F0504;
}

body .withsmallpadding h2 a:hover{
    color: #cfa670;
}

/** PARALLAX FEUILLES **/

div.parallax:before, div.fullwidth_image:before{
    content: '';
    background: transparent url(images/feuilles_top_coupe.png) top left no-repeat;
    width: 425px;
    height: 265px;
    position: absolute;
    top: 0px;
    left: 0;
}

div.parallax:after,div.fullwidth_image:after{
    content: "";
    background-image: url(images/feuilles_bottom_coupe.png);
    background-repeat: no-repeat;
    width: 520px;
    height: 162px;
    position: absolute;
    bottom: 0px;
    right: 0;
}

.one_half.last.parallax_scroll{
    padding: 35px !important;
}


/** ARCHIVE **/

body.archive.category .post_readmore{
    display: none;
}

body.archive.category .post_wrapper .post_img a img{
    height: 290px!important;
}
    /* services */

.three_cols.gallery .element.services-item {
     width: 100%;
     margin:0 0 0.5% 0;
     padding: 0;
     font-size: 0;
     position: relative;
     overflow: hidden;
 }

.services-item-text {
    background: rgba(128, 0, 0, 0.7) url(images/feuilles.png) center 105% no-repeat;
    border-radius: 50%;
    height: 100%;
    padding: 30% 0;
    width: 200%;
    text-align: center;
    color: #fff;
    left: -50%;
    position: absolute;
    z-index: 2;
    top:-175%;
    transition:400ms;
    -webkit-transition:400ms;
}

.three_cols.gallery .element.services-item:hover .services-item-text {
    top:-100%;
}

.services-item-text p {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 5%;
    left:0;
    font-family: Parisienne, "Comic Sans MS", cursive, sans-serif;
    font-size:30px;
    color:#fff;
}

.services-item-image {
    /*position: relative;
    height: 522px;
    z-index: 1;*/
}

.services-item-text {
    font-size:16px;
}

.services-item-image-bg {
    width: 100%;
    background-size: cover;
    background-position: center center;
    padding-top: 100%;
    z-index: 2;
}


/** --------------------------
    RESTAURANT
--------------------------- **/

body .ppb_menu_title {
    text-transform: none;
}

/** --------------------------
    FOOTER
--------------------------- **/


body #footer {
    background:#A00000;
	border-top:2px solid #fff;
    position: relative;
}

body #copyright2,
body #footer, body #copyright {
    color: #fff;
    font-size:13px;
    font-weight: normal;
}

body #footer h2.widgettitle {
	color:#000 !important;
}

body #footer h3 {
	color:#fff;
	font-family:"Questrial",arial,sans-serif;
	font-size:18px;
	margin-bottom:0;
	font-weight:bold;
}
body #footer .text16 {
	font-size:16px;
}

body #footer .encadre:before {
	background-color: #be352d;
    content: "";
    display: block;
    height: 2px;
    margin-bottom: 20px;
    width: 50px;
}
body #footer .encadre:after {
	background-color: #be352d;
    content: "";
    display: block;
    height: 2px;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 50px;
}

body #footer li.menu-item a {
	color:#fff !important;
}

body #copyright2 {
    float:right;
	text-transform:uppercase;
	color:#fff;
	letter-spacing:2px;
}
body #copyright2 a:link {
	color:#fff;
}

body .footer_bar_wrapper {
    border-top:1px solid #ddd;
	background-color:#A00000;
}

body #footer .textwidget img.alignnone{
    margin: 0;
}

/** --------------------------
            SLIDER
--------------------------- **/

.tp-wordsplit .tp-splitted{
    text-shadow: 1px 1px 10px #000;
}

/** --------------------------
            POST
--------------------------- **/

h2.ppb_title {
    font-size: 45px;
}

body.single-post #page_caption h1{
    font-family: 'Parisienne', cursive !important;
}
a.bouton_link.bouton_link_shortcode{
    background: #a00000;
    color: #fff;
    padding: 10px;
}

/** Reservation **/

#tg_sidemenu_reservation, #tg_reservation{
    display: none;
}

/** --------------------------
    RESPONSIVE
--------------------------- **/


@media only screen and (max-width: 1280px) {
    .three_cols.gallery .element.services-item .services-item-text {
        top: -100%;
    }
}

@media only screen and (max-width: 768px) {
    /** bouton slider **/
    .tp-caption.rev-btn{
        font-size: 9px !important;
        padding: 5px 15px !important;
    }

    .tp-caption.rev-btn.rev-withicon i{
        font-size: 9px !important;
    }

    /** cart input quantity **/
    .woocommerce-page .quantity input.qty{
        height: 20px !important;
        margin: 0 0 2px 0 !important;
    }

    /** image e-transaction **/
    label[for="payment_method_etransactions_std"]:after{
        position: initial !important;
        float: right;
    }
    /** bouton ajouter au panier **/
    .woocommerce #page_content_wrapper a.button{
        width: 100%;
    }

    /** produits en vedettes **/
    .woocommerce ul.products li.product{
        width: 100% !important;
    }

}

@media only screen and (max-width: 480px){
    .wc-proceed-to-checkout a.checkout-button{
        font-size: 9px !important;
    }

    input[name="apply_coupon"]{
        width: 100% !important;
    }

    /** icon cart header **/
    .header_cart_wrapper{
        display: none;
    }

    h1{
        text-align: center;
    }
}

@media (min-width:768px) and (max-width:960px) {
    .services-item-text p{
        font-size: 19px;
    }
}

@media only screen and (min-width: 768px) {
    .three_cols.gallery .element.services-item {
        width: 24%;
        margin: 0 0.5% 0.5% 0.5%;
    }

    .menu_buttons_container{
        margin: 18px 0 !important;
    }
}

@media only screen and (min-width: 961px) {


    .three_cols.gallery .element.services-item {
        width: 32.3%;
        margin: 0 0.5% 0.5% 0.5%;
    }

    body .top_bar_elements #logo_normal {
        padding: 20px 0 13px;
    }

    body .logo_container {
        float:none;
    }

    body .menu_buttons_container {
        display: none;
    }

    body .top_bar_elements_txt {
        display:block;
    }
}

@media only screen and (min-width: 1200px) {
    body .menu_buttons_container {
        display: none;
    }
    body #menu_wrapper .nav ul li a,
    body #menu_wrapper div .nav li > a {
        padding:9px 15px;
        font-size:18px;
    }

    body .one_half.last {
        background-image:url(images/feuillesq.jpg) !important;
        background-position:bottom right  !important;
        background-repeat: no-repeat !important;
        -moz-box-shadow: -90px 90px 20px -90px #656565;
        -webkit-box-shadow: -90px 90px 20px -90px #656565;
        -o-box-shadow: -90px 90px 20px -90px #656565;
        box-shadow: -90px 90px 20px -90px #656565;
        filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=224, Strength=20);
    }


    body.home  .standard_wrapper {
        position: relative;
    }

    /* body.home .one_half.last:before {
        content:'';
        display: inline-block;
        background:transparent url(images/salt-icon.png) top left no-repeat;
        width: 36px;
        height: 43px;
        position: absolute;
        top:-90px;
        left:50%;
        margin-left:-18px;
    } */

    body.home #wrapper .parallax.title h2.ppb_title{
        font-size:45px;
    }

}


/** COMMANDER **/
body.page-id-4267 .menu_order, body.page-id-4258 .menu_order {
    display: none !important;
}
/* ==========================================================================
   Ex fin de css/screen.css du parent (ajouts Altitude)
   ========================================================================== */
.page_title_inner {
	float: left;
	width: 100%;
	text-align: center;
}

#page_caption h1, .ppb_title {
	font-family: 'Parisienne', cursive;
	letter-spacing: 0 !important;
}


/** REWRITE SCREEN.CSS **/
@media (min-width: 961px){
	.col2_footer_menu{
		width: 10%!important;
	}

	.col6_footer_menu{
		width: 50%!important;
	}
}

h1.product_title {
	 text-transform: none;
}


#footer img.footer-img-trait-cerise,#footer img.footer-img-fb{
	margin: 0 20px 0 0;
}

/** LIVRE D'OR **/

#gwolle_gb div.label label{
	text-transform: capitalize;
	font-size: 20px;
}

body #gwolle_gb .admin-entry {
	color: #333;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #f4eee4);
	background-image: -ms-linear-gradient(top, #f4f4f4, #f4eee4);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #f4eee4);
	background-image: -o-linear-gradient(top, #f4f4f4, #f4eee4);
	background-image: linear-gradient(top, #f4f4f4, #f4eee4);
	padding-left: 5px;
}

body #gwolle_gb .gb-entry {
	border-top: 1px solid #e1e1e1;
	padding: 20px 20px;
	margin: 10px 0;
}

body #gwolle_gb .gb-entry .gb-entry-content {
	margin: 15px 0 15px 10px;
	border-left: 1px dashed #9f0505;
	font-family: 'Parisienne', cursive;
	letter-spacing: 0 !important;
	font-size: 20px;
	color: #000;
}

body #gwolle_gb .admin-entry a {
	color: #8f0505;
}

body form#gwolle_gb_new_entry h3{
	margin: 0 0 15px 0;
}

@media (max-width: 767px){
	form#gwolle_gb_new_entry div.label, form#gwolle_gb_new_entry div.input{
		width: 100%;
	}
}

/** override woocommerce **/

body.woocommerce div.product div.images img{
	width: auto !important;
	margin:0 auto;
}

body.woocommerce #respond input#submit, body.woocommerce-page #respond input#submit,
body.woocommerce h1.product_title, body.woocommerce li.product h3,
body.woocommerce ul.products li.product .price,body.woocommerce .woocommerce-result-count,
body.woocommerce .woocommerce-ordering select, body.woocommerce-page form.woocommerce-checkout h3,
body.woocommerce-page form label{
	font-family: 'Questrial',arial,sans-serif;
}

body.woocommerce .woocommerce-result-count,body.woocommerce .woocommerce-ordering select{
	font-size: 20px;
	margin:0;
}

body.woocommerce #reviews #comments h2, body.woocommerce-page #reviews #comments h2{
	font-size: 26px;
}

body.woocommerce-page .summary:before{
	content: '';
	background: transparent url(images/feuilles-top.png) top left no-repeat;
	background-size: 427px 265px;
	width: 427px;
	height: 265px;
	position: absolute;
	top: -60px;
	z-index: -1;
	right: 0;
}

body.woocommerce-page .woocommerce-Tabs-panel{
	position: relative;
}

body.woocommerce-page .woocommerce-Tabs-panel:after{
	content: "";
	background-image: url(images/feuilles_bottom_coupe.png);
	background-repeat: no-repeat;
	width: 520px;
	height: 162px;
	position: absolute;
	bottom: 0px;
	right: 0;
}

body.woocommerce-page #page_content_wrapper p,body.woocommerce-page .page_content_wrapper p {
	position: relative;
	z-index: 1;
}

body.woocommerce-page .woocommerce-info:before {
	color: #ce8b8b;
}

mark.count{
	background: none;
	color: #855f4e;
	display: none;
}

body.woocommerce-page .woocommerce-info a{
	color: #f4e8d6 !important;
}

div.pp_woocommerce div.ppt{
	display: none !important;
}

body.woocommerce-page #add_payment_method #payment div.payment_box:before,
body.woocommerce-page .woocommerce-cart #payment div.payment_box:before,
body.woocommerce-page .woocommerce-checkout #payment div.payment_box:before{
	top: -14px;
}

body.woocommerce-page #page_caption h1{
	padding: 15px;
}
body.woocommerce-page .woocommerce-message:before {
	content: "\e015";
	color: #faf6f0;
}

label[for="payment_method_etransactions_std"]:after, label[for="payment_method_cod"]:after{
	content: "";
	background:transparent url(images/e-transaction-logo.jpg) no-repeat center center;
	background-size: 150px 69px;
	width:150px;
	height:69px;
	margin-left: 15px;
	position:absolute;
}
p.woo-error-msg{
	color: #a00;
}

div#additional_heure_retrait div{
	display: inline-block;
	margin: 0px 20px 10px 0;
	border: 2px solid #ccc;
	padding: 0 10px;
	background: #cbbbb1;
	color: #fff;
}

div#additional_heure_retrait div input,
div#additional_heure_retrait div label{
	cursor: pointer;
	font-size: 22px;
	font-weight: normal;
}

div#additional_heure_retrait div label{
	display: inline;
}
div#additional_heure_retrait div.container-radio.selRadio{
	background: #9f0505;
}

div.container-radio.selRadio label {
	color: #dcc2a0;
	text-shadow: 1px 1px 1px #4f4f4f;
}


/** CART **/
.cartcontents{
	font-size: 11px;
	vertical-align: middle;
}
/* Surcharge David */
.sideBarProducts {
	/* display:none; */
}
#page_content_wrapper .sideBarProducts .products img ,
.page_content_wrapper .sideBarProducts .products img {
	height: 280px !important;
    width: 280px !important;
}

.sideBarProducts .products .button {
	display:none !important;
}

.product-category.product {
	text-align: center;
}

.woocommerce ul.products li.product h2.woocommerce-loop-category__title{
	font-size: 2em;
}
/* ==========================================================================
   Corrections migration 7.2
   ========================================================================== */

/* Logo : la 7.2 le traite comme une image retina (taille divisée par 2) ;
   le site d'origine l'affichait à sa taille réelle (447x40). */
#custom_logo img,
#custom_logo_transparent img {
	width: auto !important;
	height: 40px !important;
	max-width: 100%;
}

/* Menu centré : la 7.2 passe .nav_wrapper_inner en table-cell (largeur réduite au contenu),
   ce qui annule le centrage d'origine. Retour au comportement bloc de la 2.3.1. */
.nav_wrapper_inner {
	display: block;
	vertical-align: baseline;
}

/* Contact : la 7.2 fixe la carte à 100vh (hauteur d'écran) ; sur le site d'origine
   elle suivait la hauteur du bloc formulaire (100%). */
.one_half_bg.nopadding[style*="100vh"],
.map_shortcode_wrapper[style*="100vh"] {
	height: 100% !important;
}

/* ==========================================================================
   Pages légales (politique cookies...) : contenu dans <div class="alt-legal">
   ========================================================================== */
.alt-legal {
	max-width: 900px;
	margin: 0 auto;
	padding: 20px 0 40px;
	color: #222222;
	line-height: 1.7;
}
.alt-legal h2 {
	margin: 40px 0 15px;
	padding-bottom: 8px;
	border-bottom: 1px solid #cfa670;
	color: #9f0504;
	font-size: 28px;
}
.alt-legal h3 {
	margin: 30px 0 10px;
	color: #222222;
	font-family: 'Questrial', Arial, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.alt-legal a {
	color: #9f0504;
	text-decoration: underline;
}
.alt-legal a:hover {
	color: #cfa670;
}
.alt-legal ul {
	margin: 10px 0 10px 20px;
	list-style: disc;
}
.alt-legal-maj {
	color: #656565;
	font-style: italic;
	font-size: 0.9em;
}
.alt-legal-action {
	padding: 15px 20px;
	background: #faf6f0;
	border-left: 4px solid #9f0504;
}
.alt-legal-table {
	width: 100%;
	margin: 15px 0 20px;
	border-collapse: collapse;
	font-size: 0.95em;
}
.alt-legal-table th,
.alt-legal-table td {
	padding: 10px 12px;
	border: 1px solid #e1e1e1;
	text-align: left;
	vertical-align: top;
}
.alt-legal-table th {
	background: #9f0504;
	color: #ffffff;
	font-weight: normal;
	letter-spacing: 1px;
}
.alt-legal-table tbody tr:nth-child(even) {
	background: #faf6f0;
}
.alt-legal-table td:first-child {
	font-family: Consolas, Monaco, monospace;
	font-size: 0.9em;
	word-break: break-word;
}
@media (max-width: 767px) {
	.alt-legal-table th,
	.alt-legal-table td {
		padding: 8px;
		font-size: 0.85em;
	}
}
