/*
Theme Name: La Pergola distributeurs
Theme URI: https://github.com/elementor/hello-theme/
Description: Thème enfant de Hello Elementor par IPSO
Author: IPSO
Author URI: https://www.studioipso.fr
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

/* ---------- */
/* HEADER */
/* ---------- */
.site-header .elementor-menu-toggle > span {
    height: 33px;
}

.site-header .elementor-widget-theme-site-logo img {
    transition: .5s ease;
}

.scroll-up .site-header .icon-facebook svg, 
.scroll-down .site-header .icon-facebook svg {
    fill: var(--e-global-color-primary) !important;
}

.site-header .icon-facebook .elementor-icon-wrapper {
    height: 20px;
}

@media screen and (min-width: 768px) {
.scroll-up .site-header,
.scroll-down .site-header {
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0,0,0,.15);
}

.scroll-up .site-header .elementor-widget-theme-site-logo img,
.scroll-down .site-header .elementor-widget-theme-site-logo img {
    height: 80px;
}

.scroll-up .menu-header .menu-item > a,
.scroll-down .menu-header .menu-item > a {
    color: var(--e-global-color-primary) !important;
}
}

@media screen and (max-width: 767px) {
.site-header {
    background: #fff;
}

.site-header .icon-facebook svg {
    fill: var(--e-global-color-primary) !important;
}
}



/* ---------- */
/* FOOTER */
/* ---------- */
@media screen and (max-width: 767px) {
.menu-footer .elementor-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5em;
}
.menu-footer .elementor-nav-menu:after,
.menu-footer .elementor-nav-menu li:after {
    display: none;
}

.menu-footer .elementor-nav-menu li a {
    margin: 0 !important;
}
}



/* ---------- */
/* GRID PIZZA */
/* ---------- */
.item-pizza .item-pizza-image img {
    transition: .5s ease;
}

.item-pizza:hover .item-pizza-image img {
    transform: scale(1.1);
}



/* ---------- */
/* PROMO PIZZA */
/* ---------- */
@media screen and (max-width: 1024px) {
#promotion {
    overflow: hidden !important;
}

.promo-pizza-image {
    opacity: .25;
}

}



/* ---------- */
/* WP FORMS */
/* ---------- */
.wpforms-field-container .wpforms-field-label {
    margin-bottom: .5em;
    font-size: 17px;
    color: #fff;
    font-weight: 400 !important;
} 

.wpforms-field-container .wpforms-field-label .wpforms-required-label {
    color: #fff;
}

.wpforms-field-container .wpforms-field input,
.wpforms-field-container .wpforms-field textarea {
    padding: .7em 1em;
    max-width: 100% !important;
    color: #fff;
    font-size: 1em;
    border-radius: 2px;
    border: 1px solid #eee;
    background: transparent;
}

.wpforms-field-container .wpforms-field input:focus,
.wpforms-field-container .wpforms-field textarea:focus {
    outline: 1px solid var(--e-global-color-primary) !important;
}

.wpforms-field-container .wpforms-field-gdpr-checkbox ul {
    padding-left: 0;
    list-style: none;
    color: #fff;
    font-size: 1em;
}

.wpforms-container .wpforms-field-label-inline {
    color: #fff;
    font-weight: 300 !important;
}

.wpforms-container .wpforms-required-label {
    color: #fff !important;
}


.wpforms-submit-container {
    margin-top: 1.5em;
    text-align: right;
}

.wpforms-submit-container .wpforms-submit {
    line-height: 1;
    cursor: pointer;
}

.wpforms-container label.wpforms-error,
.wpforms-container em.wpforms-error {
    color: #fff !important;
    font-size: .8em !important;
}

.wpforms-container .wpforms-field input.wpforms-error,
.wpforms-container .wpforms-field input.user-invalid,
.wpforms-container .wpforms-field textarea.wpforms-error,
.wpforms-container .wpforms-field textarea.user-invalid,
.wpforms-container .wpforms-field select.wpforms-error,
.wpforms-container .wpforms-field select.user-invalid {
    border: 1px solid #fff !important;
}

.wpforms-confirmation-container {
    padding: .8em !important;
    color: #fff !important;
    font-weight: 400 !important;
    border: 1px solid #eee !important;
    border-radius: 2px !important;
}

.wpforms-confirmation-container p:first-of-type {
    margin-top: 0 !important;
}

.wpforms-confirmation-container p:last-of-type {
    margin-bottom: 0 !important;
}


/* ---------- */
/* CARTE */
/* ---------- */
.carte-distributeurs .acf-map {
    min-height: 500px;
    width: 100%;
}

@media screen and (max-width: 767px) {
.carte-distributeurs .acf-map {
    min-height: 300px;
    width: 100%;
}
}

.carte-distributeurs .marker-ville {
	color: #283034;
	font-size: 16px;
	font-weight: 700;
}

.carte-distributeurs .marker-address {
	margin-top: .5em;
	margin-bottom: 0;
	color: #283034;
	font-size: 14px;
	font-style: italic;
}