/*
Theme Name: Augustine Child
Theme URI: https://augustine.qodeinteractive.com
Description: A child theme of Augustine
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: augustine
Template: augustine
*/

/* ROOT */
:root {
--color_green: #0b6354;
--color_grey: #595959;
--color_grey_light: #c4c4c4;
--color_white: #ffffff;	
}

/* HEADER */
#qodef-page-header .qodef-header-navigation > ul > li > a { font-size: 1rem; text-transform: uppercase; }
#qodef-page-header .qodef-header-navigation > ul > li.qodef-menu-item--narrow ul li > a { font-size: 1rem; }

/* MOBILE HEADER */
#qodef-page-mobile-header {}
#qodef-page-mobile-header .qodef-mobile-header-logo-link { margin-right: auto; order: -1; }
#qodef-page-mobile-header .qodef-widget-holder .widget:last-child { margin-right: 20px; }
#qodef-page-mobile-header .qodef-widget-holder .widget:last-child a { padding: 0px 12px; }
#qodef-page-mobile-header .qodef-mobile-header-navigation { border-bottom: none; background-color: var(--color_green); }
#qodef-page-mobile-header .qodef-mobile-header-navigation > ul { padding: 20px 0; }
#qodef-page-mobile-header .qodef-mobile-header-navigation > ul > li { margin: 20px 0; }
#qodef-page-mobile-header .qodef-mobile-header-navigation .qodef-menu-item-arrow, #qodef-side-area-mobile-header .qodef-menu-item-arrow { padding: 12px; margin: -12px; box-sizing: content-box; }
#qodef-page-mobile-header .qodef-mobile-header-navigation > ul > li > a { font-size: 1rem; text-transform: uppercase; color: var(--color_white); }
#qodef-page-mobile-header .qodef-mobile-header-navigation > ul > li > a .qodef-menu-item-text::before { background: var(--color_white); }
#qodef-page-mobile-header .qodef-mobile-header-navigation ul li ul li { margin: 10px 0 0; }
#qodef-page-mobile-header .qodef-mobile-header-navigation .qodef-drop-down-second-inner ul li > a { font-size: 1rem; color: var(--color_white); }
#qodef-page-mobile-header .qodef-mobile-header-navigation .qodef-drop-down-second-inner ul li > a .qodef-menu-item-text::before { background: var(--color_white); }

/* FOOTER TOP */
#qodef-page-footer-top-area { padding: clamp(3rem, 2.2987rem + 3.1169vw, 6rem) 0; }
#qodef-page-footer-top-area .logos { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
#qodef-page-footer-top-area .logos > div { height: auto; }
#qodef-page-footer-top-area .logos .michelin { width: 100px; width: clamp(4rem, 3.5325rem + 2.0779vw, 6rem); }
#qodef-page-footer-top-area .logos .jre { width: 123px; width: clamp(4.5rem, 3.9156rem + 2.5974vw, 7rem); }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item p { line-height: 1.5em; }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2) { text-align: center; }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2) p { margin: 20px 0 0; }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2) p:first-child { margin: 0; }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3) { text-align: right; }
#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3) p { margin: 80px 0 0; }
@media only screen and (max-width: 1024px) {
	#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(1) { margin: 30px 0 0; }
	#qodef-page-footer-top-area .logos { flex-direction: column; align-items: flex-start; }
}
@media only screen and (max-width: 768px) {
	#qodef-page-footer-top-area .logos { flex-direction: row; justify-content: center; align-items: center; }
	#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2) { margin: 40px 0; text-align: center; }
	#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3) { margin: 0; text-align: center; }
	#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3) p { margin: clamp(3rem, 1.2353rem + 7.8431vw, 5rem) 0 0; }
}

/* FOOTER BOTTOM */
#qodef-page-footer-bottom-area { padding: 0; }
#qodef-page-footer-bottom-area .legal { display: flex; flex-direction: row; flex-wrap: wrap; overflow: hidden; padding: 20px 0; text-align: left; gap: 0 15px; }
#qodef-page-footer-bottom-area .legal p { position: relative; display: block; margin: 0; line-height: 1.5; color: var(--color_grey); }
#qodef-page-footer-bottom-area .legal p::before { content: "|"; position: absolute; left: -9px; color: var(--color_grey); }
#qodef-page-footer-bottom-area .legal p:first-child::before { display: none; }
#qodef-page-footer-bottom-area .legal p span { display: inline-block; }
#qodef-page-footer-bottom-area .legal p span.bar::before { content: "- "; }
#qodef-page-footer-bottom-area .legal p a { font-weight: 700; }
@media only screen and (max-width: 768px) {
	#qodef-page-footer-bottom-area .legal { display: block; overflow: visible; text-align: center; }
	#qodef-page-footer-bottom-area .legal p { position: static; }
	#qodef-page-footer-bottom-area .legal p::before { display: none; content: ""; }
	#qodef-page-footer-bottom-area .legal p span.newline { display: block; }
	#qodef-page-footer-bottom-area .legal p span.bar::before { display: none; content: ""; }	
}
@media only screen and (max-width: 680px) {
	#qodef-page-footer-bottom-area .qodef-content-full-width { padding: 10px 40px; }
}

/* COMUNICAZIONE HOME */
.comunicazione-home { margin: 150px 0 0; padding: 60px 100px; text-align: center; border: 1px solid var(--color_grey_light); }
.comunicazione-home h3 { margin-top: 0; }
.comunicazione-home .comunicazione-home__text { font-size: 18px; }
.comunicazione-home .comunicazione-home__text *:first-child { margin-top: 0; }
.comunicazione-home .comunicazione-home__button { margin-top: 30px; }
@media only screen and (max-width: 1024px) {
	.comunicazione-home { margin: 80px 0 0; padding: 60px 40px; }
}
@media only screen and (max-width: 767px) {
	.comunicazione-home { margin: 60px 0 0; padding: 50px 30px; }
}

/* CANTINA */
.menu-vini { display: grid; grid-template-columns: 1fr auto; row-gap: 20px; column-gap: 30px; align-items: center; }
.menu-vini .menu-vini__item { display: grid; grid-template-columns: subgrid; grid-column: span 2; }
.menu-vini .menu-vini__item h3 { display: flex; align-items: center; font-size: 26px; margin: 0; word-break: break-word; }
.menu-vini .menu-vini__item h3::after { content: ""; flex-grow: 1; margin-left: 30px; border-bottom: 1px dashed var(--color_grey_light); }
.menu-vini__item a { align-self: center; white-space: nowrap; }
@media only screen and (max-width: 599px) {
	.menu-vini { display: flex; flex-direction: column; gap: 30px; }
	.menu-vini .menu-vini__item { display: flex; flex-direction: column; gap: 10px; align-items: center; }
	.menu-vini .menu-vini__item h3 { display: block; text-align: center; }
	.menu-vini .menu-vini__item h3::after { content: none; }
}

/* RECAPITI */
.recapiti { gap: 30px; }
.recapiti p { line-height: 1.2; }

/* PRIVACY / COOKIE */
#cmplz-document { font-size: 18px; max-width: none; }
#cmplz-document p, #cmplz-document li, #cmplz-document .cmplz-dropdown p, #cmplz-document .cmplz-dropdown a { font-size: 18px; }
#cmplz-document h2 { font-size: 26px; }
#cmplz-document .cmplz-dropdown summary div h3 { font-size: 22px; }

/* COOKIE BUTTON */
#cmplz-manage-consent .cmplz-manage-consent {
left: 1.5rem !important;
left: clamp(1.5rem, 1.1494rem + 1.5584vw, 3rem) !important;
bottom: 1.5rem !important;
bottom: clamp(1.5rem, 1.1494rem + 1.5584vw, 3rem) !important;
right: initial !important;
display: flex !important;
align-items: center;
justify-content: center;
width: 2.5rem !important;
width: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem) !important;
min-width: 0 !important;
height: 2.5rem !important;
height: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem) !important;
font-size: 0 !important;
background-color: transparent !important;
border: none !important;
border-radius: 0% !important;
padding: 0 !important;
box-shadow: none !important;
animation: none !important;
}
#cmplz-manage-consent .cmplz-manage-consent::before {
content: "";
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--color_green) !important;
border-radius: 50% !important;
transition: transform .3s cubic-bezier(.4,0,.2,1);
}
#cmplz-manage-consent .cmplz-manage-consent:hover::before {
transform: scale(.9);
}
#cmplz-manage-consent .cmplz-manage-consent::after {
content: "\f564" !important;
position: relative;
font-family: "Font Awesome 5 Free" !important;
font-weight: 900 !important;
font-size: 1.5rem !important;
color: #ffffff !important;
}

/* TORNA SU */
#qodef-back-to-top {
width: 2.5rem;
width: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem);
height: 2.5rem;
height: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem);
right: 1.5rem;
right: clamp(1.5rem, 1.1494rem + 1.5584vw, 3rem);
bottom: 1.5rem;
bottom: clamp(1.5rem, 1.1494rem + 1.5584vw, 3rem);
z-index: 10000;
}
#qodef-back-to-top::before {
width: 2.5rem;
width: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem);
height: 2.5rem;
height: clamp(2.5rem, 1.9886rem + 2.2727vw, 4.6875rem);
}