/*
Theme Name: Evidence  V2
Description: Thème Wordpress du Restaurant L'Évidence
Theme URI:   https://www.restaurant-levidence.com/
Author: Henji
Author URI:  https://henji.fr
Template: salient
Version: 2.0
*/

:root {
    --color-black: #1c1C1C;
    --accent-color: #d09e49;
}

.mb-0 {
    margin-block-end: 0;
}

.my-3 {
    margin-block: 3%;
}

.span_12.light .wpb_text_column a:not(:hover) {
    opacity: 1;
    color: var(--accent-color)
}

#header-secondary-outer a {
    font-size: 80%;
    font-weight: 400;
}

#header-outer[data-lhe="animated_underline"] #top nav>ul>li>a {
    margin-inline: 30px;
}

#header-outer ul.sf-menu>li.menu-item-has-icon>a {
    flex-direction: column-reverse;
}

#header-outer[data-lhe="animated_underline"] li>a .menu-title-text {
    position: relative;
    z-index: 0;
}

#top .sf-menu>li.nectar-regular-menu-item>a>.nectar-menu-icon {
    margin: 0;
    padding-inline: 4px;
    background-color: var(--color-black);
    position: relative;
}

@media only screen and (min-width: 1000px) {
    #top>.container {
        padding-inline: 50px;
    }
}

body #header-outer[data-lhe=animated_underline] #top nav>ul>li:not([class*=button_])>a .menu-title-text:after {
    bottom: -8px
}

#header-outer[data-lhe="animated_underline"] li.lang-item>a .menu-title-text {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

#header-outer[data-lhe="animated_underline"] li.lang-item>a .menu-title-text img {
    width: 23px !important;
    height: 15px !important;
    margin: 0;
    position: relative;
    top: -6px;
}

body #header-outer[data-lhe=animated_underline] #top nav>ul>li.lang-item>a .menu-title-text:after {
    bottom: 13px
}

#page-header-bg h1 {
    text-shadow: 2px 2px 7px black;
}

.project-title {
    display: none;
}

.page-sub-header__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: max-content;
    max-width: 100%;
    background-color: var(--color-black);
    padding-block: 5px 10px;
    padding-inline: 1rem;
    font-family: 'EB Garamond';
}

body #page-header-bg .project-title {
    text-align: center;
}

.single-portfolio #page-header-bg .subheader {
    background-color: var(--color-black);
    padding-block: 5px 10px;
    padding-inline: 10px;
    margin: 0 auto;
    width: auto;

}


img.img-with-animation.logo-evidence__section {
    width: 300px !important;
    height: auto;
}

.nectar-split-heading[data-animation-type="line-reveal-by-space"] span {
    line-height: 1.5;
}

.wpb_wrapper>div {
    margin-bottom: 0;
}

body .portfolio-items .col img {
    height: 220px !important;
    width: 100%;
    object-fit: cover;
}

.portfolio-items[data-ps="3"] .inner-wrap,
.portfolio-items[data-ps="5"] .inner-wrap {
    border-radius: 8px;
}

.home blockquote {
    font-size: 18px;
    ;
}

/*
* Buttons / inputs
*/

button[type=submit],
input[type=button],
input[type=submit] {
    background-color: transparent !important;
    font-weight: 500;
    font-family: 'Manrope';
    text-transform: uppercase;
}

.wpcf7-spinner {
    position: absolute;
    right: -100%;
    margin: 0;
}

body[data-button-style="slightly_rounded_shadow"] input[type="submit"]:hover,
body[data-button-style="slightly_rounded_shadow"] .container-wrap input[type="submit"]:hover {
    transform: none !important;
    box-shadow: none !important;
}

body[data-form-submit=regular] .container-wrap button[type=submit],
body[data-form-submit=regular] .container-wrap input[type=submit] {
    padding-inline: 0 !important;
}

.nectar-cta[data-style=arrow-animation] svg,
.nectar-cta[data-style=arrow-animation] svg polyline {
    stroke: white
}

.wpcf7-form input,
.wpcf7-form input.placeholder,
.wpcf7-form input:-moz-placeholder,
.wpcf7-form input::-moz-placeholder,
.wpcf7-form input:-ms-input-placeholder,
.wpcf7-form input::-webkit-input-placeholder,
.wpcf7-form textarea,
.wpcf7-form textarea.placeholder,
.wpcf7-form textarea:-moz-placeholder,
.wpcf7-form textarea::-moz-placeholder,
.wpcf7-form textarea:-ms-input-placeholder,
.wpcf7-form textarea::-webkit-input-placeholder {
    color: white !important;
}

.container-wrap input[type=text],
body input[type=text],
.container-wrap input[type=email],
body input[type=email],
.container-wrap textarea,
body textarea {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.wpcf7-form .form-group:not(:first-of-type) {
    margin-block-start: 1rem;
}

.wpcf7-form .form-group-acceptance p {
    display: flex;
    gap: 1rem;

}

.wpcf7-form .form-group-acceptance label {
    cursor: pointer;
}

.wpcf7-form .form-group-acceptance p a {
    color: var(--color-black);
    text-decoration: underline;
}

.wpcf7-form .form-group-acceptance p a:hover {
    font-weight: 700;
}

@media all and (min-width: 768px) {
    .wpcf7-form .form-group:first-of-type {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* 
* WOOCOMMERCE
*/

ul.products li a img {
    border-radius: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-block-start: 0;
}

.woocommerce .classic .add_to_cart_button,
.woocommerce .classic .product-add-to-cart a.button {
    background-color: white !important;
    color: var(--color-black)
}

.woocommerce ul.products li.product .price {
    color: var(--color-black) !important
}

body.single-product .container-wrap,
body.woocommerce-cart .container-wrap {
    background-color: var(--accent-color) !important;
}

body.single-product .container-wrap {
    padding-block-end: 0;
}

body.single-product .nectar-shape-divider-wrap {
    margin-block-end: -15px;
}

.woocommerce-MyAccount-navigation ul li.is-active a:before,
.woocommerce-account .woocommerce>#customer_login .visible form,
.woocommerce-account .woocommerce>#customer_login .nectar-form-controls .control,
.woocommerce-MyAccount-navigation ul li a,
.woocommerce-MyAccount-content {
    color: var(--accent-black) !important
}

.woocommerce-account .woocommerce-MyAccount-content a {
    text-decoration: underline;
    color: var(--accent-black) !important
}

.woocommerce-page button.single_add_to_cart_button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #order_review #payment #place_order {
    background-color: var(--color-black) !important;
}

.posted_in a {
    color: var(--color-black)
}

#add_payment_method .cart-collaterals .cart_totals table tr:first-child td,
#add_payment_method .cart-collaterals .cart_totals table tr:first-child th,
.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td,
.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th,
.woocommerce-checkout .cart-collaterals .cart_totals table tr:first-child td,
.woocommerce-checkout .cart-collaterals .cart_totals table tr:first-child th,
.woocommerce table.shop_table tbody:first-child tr:first-child td,
.woocommerce table.shop_table tbody:first-child tr:first-child th,
.woocommerce-cart .woocommerce table.shop_table tbody th,
.woocommerce-cart .woocommerce table.shop_table td {
    border: 1px solid var(--color-black)
}

.woocommerce-tabs .full-width-content .tab-container {
    border-bottom: 1px solid var(--color-black);
}

div.product .woocommerce-tabs .full-width-content[data-tab-style*=fullwidth] ul.tabs {
    margin-block-start: 0;
}

.single-product .woocommerce-tabs>.first-section {
    display: none;
}

.single-product .woocommerce-tabs[data-tab-style=fullwidth],
.woocommerce-tabs[data-tab-style=fullwidth_centered] {
    margin-block-start: 0;
    border-top: 1px solid var(--color-black);
}

#portfolio-nav ul li span,
#portfolio-nav #all-items {
    display: none;
}

.single-portfolio .bottom_controls {
    padding: 0;
}

.bottom_controls #portfolio-nav .controls {
    display: flex;
}

#portfolio-nav li {
    flex: 1;
}

#portfolio-nav #prev-link a,
#portfolio-nav #next-link a {
    width: 100%;
}

/* 
** FOOTER
*/
#footer-outer[data-custom-color=true] #footer-widgets a {
    position: relative;
}

#footer-outer[data-custom-color=true] #footer-widgets a::after {
    position: absolute;
    display: block;
    bottom: -6px;
    left: 0;
    width: 100%;
    -ms-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    border-top: 1px solid var(--accent-color);
    content: "";
    padding-bottom: inherit;
    transform-origin: 0 0;
    transition: transform .35s cubic-bezier(.52, .01, .16, 1);
}

#footer-outer[data-custom-color=true] #footer-widgets a:hover::after {
    transform: scaleX(1);
}

#footer-outer[data-custom-color=true] #footer-widgets a:not(.nectar-button):focus,
#footer-outer[data-custom-color=true] #footer-widgets a:not(.nectar-button):hover {
    opacity: 1;
    color: var(--accent-color)
}

body:not(.home) #footer-widgets>.container>.row {
    padding-block-start: 0;
}


/*
** GLOBAL SECTIONS 
*/

/* Infos Restaurant */

.row .col img:not([srcset]).logo__footer {
    width: 200px;
    height: 200px;
}

.distinctions p {
    display: flex;
    justify-content: space-around;
}

.infos__restaurant {
    border-top: 1px solid white;
    margin-block-start: 4%;
    padding-block-start: 4%;
}

body .infos__generales .icon-default-style {
    font-size: 23px;
    line-height: 26px;
}

.infos__generales .col .iwithtext .iwt-icon img:not([srcset]) {
    width: 25px;
    height: auto;
    margin: 0;
}

.infos__generales .iwithtext .iwt-text {
    padding-left: 45px;
}

.infos__generales .wpb_wrapper>div {
    margin-block-end: 1rem;
}

/* Inscription Newsletter */
.inscription-newsletter .tnp-subscription-minimal input.tnp-submit {
    width: auto;
    box-sizing: border-box;
    display: inline-block;
    background-color: var(--color-black) !important;
    background-image: none;
    text-shadow: none;
    color: #fff;
    font-size: 1rem;
    line-height: 20px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding-block: 0 !important;
    padding-inline: 1.5rem !important;
    border-radius: 0 !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.inscription-newsletter .tnp-subscription-minimal input.tnp-email {
    font-size: 1rem;
    border: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin: 0;
    height: 45px;
}

.inscription-newsletter .wpb_wrapper>div {
    margin-block-end: 0;
}

/* Actus */
body.category .subheader,
body.category .meta-category {
    display: none;
}

body.category h1 {
    color: white;
}

.single-post h1.entry-title {
    text-align: center;
    width: max-content;
    max-width: 100%;
    background-color: var(--color-black);
    padding-block: 5px 10px;
    padding-inline: 1rem;
    font-family: 'EB Garamond' !important;
    font-weight: 400 !important;
    text-transform: capitalize !important;
}

.single-post .container-wrap {
    background-color: var(--accent-color);
}

.single-post .post .content-inner {
    padding-bottom: 0;
}

.single-post #single-below-header {
    display: none;
}