/* colori */

:root {
	--aminta-ceruleo:     #6D8DC0;
	--aminta-avorio:      #EAE0D5;
	--aminta-argilla:     #C4C4C4;
	--aminta-rosso-mosto: #CC303B;
	--aminta-rosa-antico: #D69788;
	--aminta-cipria:      #F6E2DB;

	--aminta-blu:         #1A1E25;
	--aminta-lino:        #E8E2DA;

	--aminta-footer-heading-opacity: 0.55;
}

.visible-auth-no {
    display: none;
}
.visible-auth-yes {
    display: none;
}
body.auth-no .visible-auth-no {
    display: block;
}
body.auth-yes .visible-auth-yes {
    display: block;
}

.visible-it, .visible-en {
	display: none;
}

body.it .visible-it {
    display: block;
}
body.en .visible-en {
    display: block;
}


/* switch logo per pagine con slider */

.primary-logo img {
	display: none;
}

.primary-logo {
	height: 140px;
	position: relative;
	background-size: contain;
	background-image: url(/custom/img/logo.svg);
	background-repeat: no-repeat;
	background-position: center center;
	max-width: 200px;
	margin: 0 auto;
}

#header.menu-transparent-dark .primary-logo {
	background-image: url(/custom/img/logo-black.svg);
}

@media (min-width:1200px) {
	.primary-logo {
		background-position: center center;
	}
}

/* nascondi punti 
#fidelitybox { display: none; }
*/

/*
#age-popup {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	background-image: url('/custom/img/age-popup-bg.jpg');
}
*/


/* stripe header 
#header {
	top: 32px;
}
.primary-nav {
	padding-top: 208px;
}
.fullheight {
	min-height: calc(100vh - 32px);
}*/

/* stripe header alto su mobile 
#header {
	top: 76px;
}
.primary-nav {
    padding-top: 230px;
}

.fullheight {
    min-height: calc(100vh - 76px);
}

@media (min-width:422px) {
	#header {
		top: 54px;
	}
	.primary-nav {
		padding-top: 208px;
	}
	.fullheight {
		min-height: calc(100vh - 54px);
	}
}

@media (min-width:771px) {
	#header {
		top: 32px;
	}
	.primary-nav {
		padding-top: 208px;
	}
	.fullheight {
		min-height: calc(100vh - 32px);
	}
}

*/


/* layout categoria e prodotti invertito per foto con fondo bianco

#layout-category {
	background-color: #F5F5F5;
}

#product-list .bg-lightgrey {
	background-color: #FFF;
}


#layout-product .bg-newlightgrey {
	background-color: #FFF;
}

#layout-product .bg-lightgrey {
	background-color: #FFF;
}

#layout-product {
	background-color: #F5F5F5;
}

#layout-product #header {
	background-color: #F5F5F5;
}

#layout-product .wrap-ls-product {
	border-right:1px solid rgba(165,165,165,0.2);
}


*/

/* colore principale

::selection {
    background-color: #A22839;
    color: #FFF;
}

#header .menu > ul > li > a:after {
	border-bottom: 1px solid #A22839;
}

#header .menu a:hover, #header .menu a:focus {
	color: #A22839;
	text-decoration: none;
}

#header.menu-transparent-dark .menu a:hover, #header.menu-transparent-dark .menu a:focus {
        color: #A22839;
    }

.text-primary {
    color:#A22839
}

a {
    color: #333333;
    text-decoration:none
}

a:hover, a:focus {
    color: #A22839;
}

.btn-primary {
    color: #A22839;
    background-color: #FFF;
    border-color:#A22839
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #A22839;
    border-color:#A22839
}

.btn-primary:hover {
    color: #fff;
    background-color: #A22839;
    border-color:#A22839
}

.btn-link {
    color: #A22839;
}
.btn-link:hover, .btn-link:focus {
    color: #A22839;
}

.menu-top .btn-small:hover, .menu-top .text-btn-small:hover {
		color: #A22839;
	}

 .menu-top .dropdown-menu > li > a:hover, .menu-top .dropdown-menu > li > a:focus {
        text-decoration: none;
        color: #A22839;
        background-color: transparent;
    }

.primary-nav a {
    color: #FFF;
}

    .primary-nav a:hover, .primary-nav a:focus {
        color: #A22839;
        text-decoration: none;
    }

#footer .btn-dark:hover, #footer .btn-dark:focus, #footer .btn-dark:active, #footer .btn-dark.active {
	color: #FFF;
	background-color: #A22839;
	border-color: #A22839;
}

#footer a {
    color: #FFF;
}

#footer a:hover, #footer a:focus {
    color: #A22839;
}

.product-view-tabs .nav-pills > li > a:after {
    border-bottom: 1px solid #A22839;
}

 fine colore principale */

/* prodotti con foto cover 
#layout-product #header { background-color: #FFF; }
@media (min-width:992px) {
	#layout-product .ls-fullheight { top: 132px; }
}
fine prodotti con foto cover */


/* elenco prodotti con  blocco testo sulla foto

#layout-category[data-id='8'] #product-list .product-item > a {
	display: block;
	position: relative;
}
#layout-category[data-id='8'] #product-list .product-item .product-text-wrap {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	width:100%;
	white-space: nowrap;
	background-color: rgba(0,0,0,0.4);
	padding-bottom: 40px;
}

#layout-category[data-id='8'] #product-list .product-item .product-text-wrap:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

#layout-category[data-id='8'] #product-list .product-item .product-text {
	display: inline-block;
	vertical-align: bottom;
	width:100%;
	white-space: normal;
	color: #fff;
}

#layout-category[data-id='8'] #product-list .product-item .product-text .h3, #layout-category[data-id='8'] #product-list .product-item .product-text .text-black {
	color: #fff;
}

#layout-category[data-id='8'] #product-list .product-item .product-text .text-primary {
	color: #aaa;
	margin-top: 5px;
}

#layout-category[data-id='8'] #product-list .product-item .product-text img {
	opacity: .4;
}
fine elenco prodotti con  blocco testo sulla foto */

/* testo fattura obbligatoria italia
#layout-checkout-complete #invoicerequired-text:before {
	content: "Se è un acquisto personale inserire il proprio nome e cognome nel campo 'Ragione Sociale'";
	display: block;
	padding-left: 10px;
}
*/

/* Modifica abbonamento in area riservata 
.subscription-edit-trigger {
    display: block;
}*/


body {
    font-family: "Lora", serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A1E25;
    background-color: #EAE0D5;
    line-height: 1.5;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { 
    font-family: "Lora", serif;
    letter-spacing: 0;
    font-weight: 400;
    color: #1A1E25;
    margin-top: 0;
}

h1, .h1, #block-product h1 { font-size: 24px; }
h2, .h2 { font-size: 21px; }
h3, .h3 { font-size: 18px; }
h4, .h4 { margin: 40px 0 15px; font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.text-nunito { font-family: "Nunito", sans-serif; }
.text-bold { font-weight: 700; }
.text-grey { color: #1A1E25; }

.ls1 { letter-spacing: 1px; }
.ls2 { letter-spacing: 2px; }
.ls3 { letter-spacing: 3px; }

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white .h1, .text-white .h2, .text-white .h3, .text-white h4, .text-white .h4, .text-white h5, .text-white .h5, .text-white h6, .text-white .h6 {
    color: #FCFBF7;
}

.text-big { font-size: 1.2em; }

.btn {
    font-family: "Nunito", sans-serif;
}


a:hover, a:focus {
    color: #1A1E25;
    text-decoration:none;
}

small, .small { font-size: 87.5%; line-height: 1.5em; }

 #header .menu > ul > li > a {
    padding: 41px 15px 89px;
    line-height: 30px;
    display: block;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

#header .menu > ul > li > a:after {
    display: none;
}

/* menu sempre su una riga: con zoom 125-150% le voci andavano a capo */
#header .menu > ul { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) {
    #header .menu > ul > li > a { padding-left: 10px; padding-right: 10px; }
}

#header .menu > ul > li > ul > li > a {
    padding: 0 35px;
    display: block;
    white-space: nowrap;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

#header .menu > ul > li > ul {
    top: 66px;
}

#header .primary-nav { background-color: #1A1E25; }

#header .primary-nav-trigger .menu-icon { width: 40px; }
#header .primary-nav-wrap { width: 40px; display: inline-block; }
#header .primary-nav-trigger .menu-icon::before { top: -8px; }
#header .primary-nav-trigger .menu-icon::after { top: 8px; }

#header .primary-nav-trigger .menu-icon.is-clicked::before { top: 0; }
#header .primary-nav-trigger .menu-icon.is-clicked::after { top: 0; }

#header .primary-logo { height: 60px; background-position: left center; margin: 0; }

#header .menu-wrap { padding-top: 10px;}
#header .menu-wrap > hr { display: none; }

body.navigation-is-open .menu-wrap { background-color: transparent; }

#header .menu a { color: #FCFBF7; }
#header .menu a:hover, #header .menu a:focus { color: #b4a796; }

#header.menu-transparent-dark .menu a { color: #1A1E25; }
#header.menu-transparent-dark .menu a:hover, #header.menu-transparent-dark .menu a:focus { color: #615749; }

#header .primary-nav a { color: #FCFBF7; }
#header .primary-nav a:hover, #header .primary-nav a:focus { color: #b4a796; }

#header .menu-top-language { display: none; }
#header .menu-top-language { position: absolute; top: 15px; right: 30px; z-index: 9; font-family: "Nunito", sans-serif; }
#header .menu-top-language .menu-language ul { position: absolute; right: 0; width: 40px; padding-top: 20px; }
#header .menu-top-language .menu-language ul { display: none; }
body.navigation-is-open #header .menu-top-language .menu-language { display: block; }
#header .menu-top-language .menu-language:hover ul { display: block; }

.menu-language a { color: #F0EAE0; padding: 0; }
.menu-language a:hover { color: #C6C1B9; }



/* footer */

#footer, #footer-bottom {
	background-color: var(--aminta-blu);
	color: var(--aminta-avorio);
	font-family: "Nunito", sans-serif;
}

#footer a, #footer-bottom a, #footer-bottom a.text-white { color: var(--aminta-avorio); }

/* l'hover schiarisce verso il ceruleo del marchio invece di spegnersi nel grigio */
#footer a:hover, #footer a:focus,
#footer-bottom a:hover, #footer-bottom a:focus,
#footer-bottom a.text-white:hover, #footer-bottom a.text-white:focus { color: var(--aminta-ceruleo); }

#footer :focus-visible, #footer-bottom :focus-visible {
	outline: 2px solid var(--aminta-ceruleo);
	outline-offset: 3px;
}

#footer { padding-top: 63px; }

/* titoli di colonna: Lora corsivo 19px, smorzati */
#footer h3, #footer .h3 {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	font-size: 19px;
	line-height: 1;
	color: var(--aminta-avorio);
	opacity: var(--aminta-footer-heading-opacity);
	margin: 0 0 22px;
}
#footer h3 em { font-style: italic; }

#footer p { font-size: 16px; line-height: 1.5; }

/* colonna 1: marchio */
.footer-brand img { width: 256px; max-width: 100%; height: auto; }

/* colonna 2: newsletter */
.footer-newsletter p { font-size: 14px; line-height: 1.5; }
.footer-newsletter a {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* colonna 3: esplora */
.footer-explore ul { list-style: none; margin: 0; padding: 0; }
.footer-explore li { margin: 0; }
.footer-explore a {
	display: inline-block;
	font-size: 14px;
	line-height: 26px;
	text-transform: uppercase;
	text-decoration: none;
}

/* colonna 4: contatti */
.footer-contacts p { font-size: 16px; }
.footer-contacts .list-inline { margin-top: 26px; }
.footer-contacts .list-inline > li { padding: 0; margin-right: 18px; }

/* fascia di chiusura */
.footer-endorsement { margin-top: 70px; }
.footer-endorsement img { width: 256px; max-width: 100%; height: auto; }
.footer-legal-warning { font-size: 14px; line-height: 1.5; margin: 0; }

#footer-bottom { padding-bottom: 30px; }
#footer-bottom hr { border-top: 1px solid var(--aminta-avorio); opacity: 0.25; margin: 30px 0 22px; }
#footer-bottom, #footer-bottom small, #footer-bottom a { font-size: 14px; }

#footer-bottom #footer-menu .list-inline > li,
#footer-bottom #footer-menu .list-inline > li > a { padding: 0; margin: 0; line-height: 1; }
#footer-bottom #footer-menu .list-inline > li + li {
	border-left: 1px solid var(--aminta-avorio);
	margin: 0 0 0 15px;
	padding: 0 0 0 15px;
}

#footer-bottom h1, #footer-bottom .h1, #footer-bottom h2, #footer-bottom .h2, #footer-bottom h3, #footer-bottom .h3, #footer-bottom h4, #footer-bottom .h4, #footer-bottom h5, #footer-bottom .h5, #footer-bottom h6, #footer-bottom .h6 { color: var(--aminta-avorio); opacity: var(--aminta-footer-heading-opacity); }

@media (max-width: 1199px) {
	#footer { padding-top: 40px; }
	#footer .footer-col + .footer-col { margin-top: 40px; }
	.footer-endorsement { margin-top: 48px; }
}

/* home */
.home-wines { background-color: var(--aminta-argilla); }

@media (min-width: 1200px) {
	.home-rel:nth-of-type(odd) .home-rel-row { flex-direction: row-reverse; }
	.home-wines-head { display: flex; align-items: flex-end; }
}

/* btgrid annidata (testo + immagine): stesse spaziature delle sub */
.btgrid .btgrid { padding: 0; }

@media (max-width: 1199px) {
	.btgrid .btgrid:not(.specs) > .row > .col + .col { margin-top: 40px; }
}

@media (min-width: 1200px) {
	.btgrid .btgrid:not(.specs) > .row { margin: 0 -50px; }
	.btgrid .btgrid:not(.specs) > .row > .col { padding: 0 50px; }
}

/* scheda dati (es. vigne): btgrid con classe specs, prima colonna = label */
.btgrid.specs { margin-top: 40px; }
.btgrid.specs .row { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--aminta-blu); }
.btgrid.specs .row:first-child { padding-top: 0; }
.btgrid.specs .col { padding: 0; }
.btgrid.specs p { margin: 0; }
.btgrid.specs .col:first-child p { margin-bottom: 5px; font-family: "Nunito", sans-serif; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }

@media (min-width: 768px) {
	.btgrid.specs .row { display: flex; align-items: flex-start; }
	.btgrid.specs .col:first-child { flex: 0 0 33.3333%; padding-right: 30px; }
	.btgrid.specs .col:last-child { flex: 1; }
	.btgrid.specs .col:first-child p { margin: 0; padding-top: 4px; line-height: 1.6; }
}

#main img { width: 100%; height: auto; }
#main img.wa { width: auto; height: auto; }

#main .description_primary_wrap .container-fluid { padding: 0; }
#main .description_primary_wrap .row { margin: 0; }

.bg-black-opacity { background-color: rgba(0,0,0,0.3); }
.bg-lightgrey { background-color: var(--aminta-argilla); }

.btn { letter-spacing: 0; font-size: 19px; line-height: 1; font-weight: 600; outline: none !important; }

.btn:active, .btn.active { 
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
    background-color: inherit;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none !important;
    outline-offset: 0;
}

.btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus {
    color: inherit;
    background-color: inherit;
    border-color: inherit;
    outline: none !important;
}

.btn-default { color: #1A1E25; background-color: transparent; border: none; padding: 0 40px 0 0; margin: 0; position: relative; }
.btn-default:hover, .btn-default:active, .btn-default:focus { color: #4e4c48; background-color: transparent; }
.btn-default::after{ content: ""; position: absolute; top: 50%; right: 0; width: 30px; height: 14px; transform: translateY(-50%); background-repeat: no-repeat; background-position: center; background-image: url("/custom/img/content/ico-arrow-right.svg"); }

.btn-default.white { color: #FCFBF7; }
.btn-default.white:hover, .btn-default.white:active, .btn-default.white:focus { color: #FFFFFF; background-color: transparent; }
.btn-default.white::after{ background-image: url("/custom/img/content/ico-arrow-right-white.svg"); }

.btn-primary { color: #1A1E25; background-color: transparent; border: 1px solid #1A1E25; padding: 15px 40px; margin: 0; position: relative; font-size: 14px; letter-spacing: 2px; transition: color 0.2s, background-color 0.2s; }
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary.active:hover, .btn-primary.active:focus { color: var(--aminta-lino); background-color: var(--aminta-blu); border: 1px solid var(--aminta-blu); }

.btgrid { padding: 40px 0; }
.btgrid + .btgrid { padding: 0 0 40px 0; }
#layout-page #section-sub .home-rel + .home-rel > .container-fluid > .btgrid,
#rel-list .home-rel + .home-rel > .container-fluid > .btgrid,
#rel-list .rel-title + .home-rel > .container-fluid > .btgrid { padding-top: 0; }
#rel-list .rel-title .btgrid { padding-bottom: 0; }
.page-sub-wines .btgrid { padding-top: 0; }
.category-products .btgrid { padding-top: 0; }
.category-products .description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.category-products .description p { margin: 0; }
.category-products .description hr, .category-products .description p:has(> .text-small) { display: none; }
#rel-list .home-rel hr, #rel-list .home-rel p:has(> .text-small) { display: none; }

@media (min-width: 1200px) {
	.category-products article:nth-child(odd) { clear: left; }
}

.lh1 { line-height: 1; }

.ct1 { padding: 0 15px; margin:0 0 14px; }
.ct2 { padding: 0 70px; margin:0 0 14px; }
.ct3 { padding: 0 140px; margin:0 0 14px; }

.wrap-home-wine .centered { position: absolute; top: 50px; }

.video-wrapper { overflow: hidden; }

.video-wrapper video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.center .title, .center .subtitle, .center .surtitle { white-space: normal; }



.map-point {
    display: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.estate-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.estate-menu li {
    height: auto;
}

.estate-link {
    display: inline-block;
    color: #f7f3eb;
    font-size: 19px;
    line-height: 1.5em;
    text-decoration: none;
    cursor: pointer;
}

.estate-link:hover,
.estate-link:focus,
.estate-link.is-active {
    color: #dcd5cb;
    text-decoration: none;
}

.estate-sidebar {
    position: relative;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 60px;
    text-align: center;
}

/* ---------------------------------------------------------------------- */
/*	Scroll down icon 
/* ---------------------------------------------------------------------- */

@-webkit-keyframes scroll-down-anim {
   0%{ bottom: 0px; }
   50%{ bottom: 10px; }
   100%{ bottom: 0px; }
}
@keyframes scroll-down-anim {
   0%{ bottom: 0px; }
   50%{ bottom: 10px; }
   100%{ bottom: 0px; }
}

.scroll-down { position: absolute; bottom: 0; width: 100%; text-align: left; z-index: 10; }

.scroll-top {
	position: fixed;
	bottom: 10px;
    right: 0;
    padding-bottom: 10px;
	width: auto;
	text-align: right;
	z-index: 2;
}

.scroll-top .scroll-to {
	display: inline-block;
	padding: 20px 30px;
	position: relative;
	-webkit-animation: scroll-down-anim 1s infinite;
	animation: scroll-down-anim 1s infinite;
}

.scroll-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.scroll .scroll-top {
    opacity: 1;
    pointer-events: auto;
}

.wrap-wine-list hr { border-top: 1px solid #615749; }
.wrap-wine-list .wine-category:last-child hr { display: none; }

/* wine filter navigation */
.wrap-wine-filter { padding: 50px 0 30px; }
.label-filter { margin-bottom: 25px; }
.wine-filter-nav { display: flex; align-items: flex-start; min-height: 120px; }
.wine-filter-col { display: flex; flex-direction: column; min-height: 280px; max-height: 280px; overflow-y: auto; scrollbar-width: none; padding: 30px 0; }
.wine-filter-col::before, .wine-filter-col::after { content: ''; flex: 1; }
.wine-filter-col::-webkit-scrollbar { display: none; }
.wine-filter-col-1 { flex: 1; padding-right: 40px; }
.wine-filter-col-2 { flex: 1; padding: 30px 40px; }
.wine-filter-col-3 { flex: 1; padding-left: 40px; }
.wine-filter-sep { width: 1px; background: linear-gradient(to bottom, transparent 0%, #615749 18%, #615749 82%, transparent 100%); align-self: stretch; min-height: 80px; flex-shrink: 0; display: none; }
.wine-filter-item { display: block; cursor: pointer; color: inherit; text-decoration: none; }
.wine-filter-col-1 .wine-filter-item { font-family: 'Lora', serif; font-size: 24px; margin-bottom: 18px; opacity: 0.5; transition: opacity 0.2s; }
.wine-filter-col-1 .wine-filter-item:hover,
.wine-filter-col-1 .wine-filter-item.active { opacity: 1; }
.wine-filter-col-2 .wine-filter-item { text-transform: uppercase; font-size: 18px; margin-bottom: 14px; opacity: 0.5; transition: opacity 0.2s; }
.wine-filter-col-2 .wine-filter-item:hover,
.wine-filter-col-2 .wine-filter-item.active { opacity: 1; }
.wine-filter-col-3 .wine-filter-item { margin-bottom: 18px; }
.wine-filter-col-3 .wine-filter-item strong { display: block; font-size: 18px; }
.wine-filter-col-3 .wine-filter-item span { font-size: 18px; }

/* wine filter — mobile (una colonna per volta) */
.wine-filter-back { display: none; background: none; border: none; padding: 0; margin-bottom: 20px; cursor: pointer; color: inherit; opacity: 0.7; }
.wine-filter-back:hover { opacity: 1; }
@media (max-width: 1199px) {
    .wine-filter-nav { flex-direction: column; min-height: 0; position: relative; }
    .wine-filter-sep { display: none !important; }
    .wine-filter-col { display: none; width: 100%; padding: 0 !important; }
    .wine-filter-col.wine-filter-col--active { display: flex; }
    .wine-filter-back { display: block; }
    .wine-filter-back:not(.wine-filter-back--visible) { visibility: hidden; }
}


@media (min-width:992px) {

    h1, .h1, #block-product h1 { font-size: 35px; }
	h2, .h2 { font-size: 26px; }
    h3, .h3 { font-size: 19px; }

    .rowflex { display: flex; justify-content: space-between; }
    .rowflex > .sx { align-self: center; }

    .list-related .item .sx .description { max-width:500px; margin: 0 auto; }

    .list-related .wrap-item:nth-child(odd) .sx { left:50% }
    .list-related .wrap-item:nth-child(odd) .dx { right:50% }

    .scroll-down { bottom: 55px; text-align: center; }

}

@media (min-width:1200px) {
    
    .ct1 { padding: 0 35px; }
    .ct2 { padding: 0 70px; }
    .ct3 { padding: 0 140px; }

    #header .primary-logo { height: 140px; background-position: center center; margin: 0 auto; }
    #header .menu-wrap { padding-top: 50px;}
    #header .menu-wrap > hr { display: block; }
    #header .menu-top-language { display: block; }

    /* menu allineato al testo di .home-rel */
    #header .menu-middle > .container-fluid { padding-left: calc(8.3333% + 35px); padding-right: calc(8.3333% + 35px); }

    .aic .row { display: flex; align-items: center; }

    .btgrid { padding: 100px 0; }
    .btgrid + .btgrid { padding: 0 0 100px 0; }

    .wrap-home-wine .centered { position: relative; top: 0; }

    .map-overlay {
        background-color: rgba(0,0,0,0.2);
    }

    .estate-sidebar {
        position: absolute;
        left: 5%;
        top: 35%;
        text-align: left;
        padding: 0;
    }
    .estate-menu li {
        height: 2vw;
    }
    .estate-link {
        font-size: 1.25vw;
        line-height: 1.25vw;
    }

    .map-point {
        display: block;
        position: absolute;
        padding: 0.5vw;
        color: #f7f3eb;
        font-size: 2vw;
        line-height: 2vw;
        text-transform: uppercase;
        cursor: pointer;
    }

    .map-point img {
        width: 10vw !important;
    }

    .map-point:hover,
    .map-point:focus,
    .map-point.is-active {
        color: #dcd5cb;
        text-decoration: none;
    }

    .line {
        position: absolute;
        background-color: #f7f3eb;
        height: 1px;
        transform-origin: top left;
        width: 8vw;
        top: 50%;
        left: 100%;
        pointer-events: none;
    }

    .line::after {
        content: '';
        position: absolute;
        left: 100%;
        top: 50%;
        display: block;
        width: 6px;
        height: 6px;
        background-color: #f7f3eb;
        border-radius:50%
    }

    .line.left {
        left: auto;
        right: 100%;
    }

    .line.left::after {
        left: 0;
        right: 100%;
    }

    .line.bottom {
        left: 50%;
        top: 100%;
    }

    .map-point.is-active .line, .map-point.is-active .line::after {
        background-color: #dcd5cb;
    }

    .wrap-wine .description { max-width: 40vw; margin: 0 auto; }
    
}

@media (min-width:1400px) {



    
}



.map-point span {
    display: inline-block !important;
    animation: aGlow 4s ease-in-out infinite;
    text-shadow: 0 0 4px rgba(247, 243, 235, 0.1);
}

@keyframes aGlow {
    0%, 100% { 
        text-shadow: 
            0 0 4px rgba(247, 243, 235, 0.2),
            0 0 8px rgba(247, 243, 235, 0.1);
        transform: scale(1);
    }
    50% { 
        text-shadow: 
            0 0 4px rgba(247, 243, 235, 0.4),
            0 0 8px rgba(247, 243, 235, 0.2),
            0 0 16px rgba(247, 243, 235, 0.1);
        transform: scale(1.03);
    }
}



/* wine list auto-grid */
@media (min-width: 1200px) {
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(1) {
        width: 100%;
    }
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(2),
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(2) ~ [class*="col-lg-4"] {
        width: 50%;
    }
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(n+3),
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(n+3) ~ [class*="col-lg-4"] {
        width: 33.333%;
    }

    /* ratio immagini in base al numero di elementi */
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(1) .cover {
        padding-top: 40%;
    }
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(2) .cover,
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(2) ~ [class*="col-lg-4"] .cover {
        padding-top: 80%;
    }
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(n+3) .cover,
    .wrap-wine-list .wine-category .row > [class*="col-lg-4"]:first-child:nth-last-child(n+3) ~ [class*="col-lg-4"] .cover {
        padding-top: 133.333%;
    }
}

.line::after {
    animation: dotPulse 2s infinite;
    transform-origin: center;
}

@keyframes dotPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(247, 243, 235, 0.5);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.02);
        box-shadow: 0 0 0 12px rgba(247, 243, 235, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(247, 243, 235, 0);
    }
}
/* banner pagine interne ad altezza fissa */
#layout-page .ls-banner-wrap .fullheight,
#layout-category .ls-banner-wrap .fullheight {
    height: 450px;
    min-height: 450px;
}
@media (min-width:1200px) {
    #layout-page .ls-banner-wrap .fullheight,
    #layout-category .ls-banner-wrap .fullheight {
        height: 37.5vw;
        min-height: 37.5vw;
    }
}

/* foto a tutto schermo prima del footer */
.wrap-page-photos { position: relative; overflow: hidden; }
.wrap-page-photos .lSAction > a { width: 50px; height: 50px; margin-top: -25px; background: none; opacity: 0.8; }
.wrap-page-photos .lSAction > a:hover { opacity: 1; }
.wrap-page-photos .lSAction > .lSPrev { left: 30px; }
.wrap-page-photos .lSAction > .lSNext { right: 30px; }

/* scheda prodotto: testata con blocco di prenotazione del CMS */
#layout-page .ls-banner-not,
#layout-product .ls-banner-not { background-color: var(--aminta-blu); }
.product-top > .container-fluid > .btgrid { padding-top: 0; }
@media (min-width: 1200px) {
	.product-top > .container-fluid > .btgrid { padding-top: 60px; }
}

#layout-product #block-product { padding: 0; text-align: left; }
#layout-product #block-product h1 { line-height: 1.2; margin-bottom: 0; }
#layout-product #block-product .description_short { margin-top: 40px; }
#layout-product #block-product .description_short p:last-child { margin-bottom: 0; }
#layout-product #block-product .description_short .text-small { display: inline-block; width: 33.3333%; font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
#layout-product #block-product .description_short hr { margin: 20px 0 30px; border-top: 1px solid var(--aminta-blu); }

#layout-product #block-product .price { display: flex; align-items: baseline; margin: 0 0 20px; }
#layout-product #block-product .price p { margin: 0; text-align: left; color: var(--aminta-blu); }
#layout-product #block-product .price .tax-text { display: none; }
#layout-product #block-product .price p:last-child { margin-left: 10px; font-family: "Nunito", sans-serif; font-size: 14px; opacity: 0.7; }

#layout-product .form-booking .form-group { margin: 0 0 10px; }
#layout-product .form-booking .datepicker input,
#layout-product .form-booking .sod_select,
.wine-download .sod_select { height: 44px; border: 1px solid var(--aminta-blu); font-family: "Nunito", sans-serif; font-size: 14px; color: var(--aminta-blu); }
#layout-product .form-booking .sod_select,
.wine-download .sod_select { margin: 0; line-height: 42px; }
#layout-product .form-booking .sod_select .sod_label,
.wine-download .sod_select .sod_label { height: 42px; line-height: 42px; color: var(--aminta-blu); }
#layout-product .form-booking .sod_select.disabled .sod_label { opacity: 0.5; }
#layout-product .form-booking label.prefix,
#layout-product .form-booking .sod_prefix,
.wine-download .sod_prefix { float: left; padding: 0; font-family: "Nunito", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--aminta-blu); }
#layout-product .form-booking label.prefix { height: 44px; line-height: 44px; }
.wine-download { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 30px; }
.wine-download .sod_select { width: auto; min-width: 150px; background-color: var(--aminta-avorio); }
.wine-download .sod_select .sod_list_wrapper { background-color: var(--aminta-avorio); border: 1px solid var(--aminta-blu); }
.wine-download .sod_select .sod_option.active,
.wine-download .sod_select .sod_option.selected { background-color: rgba(26, 30, 37, 0.06); color: var(--aminta-blu); }
.wine-download .sod_prefix { margin-right: 5px; }
.wine-years-wrap, .wine-years-wrap .btgrid { padding-bottom: 0; }
.wine-years { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; font-family: "Nunito", sans-serif; font-size: 16px; }
@media (min-width: 1200px) {
	.wine-years { width: 250%; }
}
.wine-years-label { padding-right: 30px; border-right: 1px solid var(--aminta-blu); color: var(--aminta-blu); opacity: 0.4; }
.wine-years a { color: var(--aminta-blu); opacity: 0.4; transition: opacity 0.2s; }
.wine-years a:hover, .wine-years a:focus, .wine-years a.active { color: var(--aminta-blu); opacity: 1; text-decoration: none; }
.wine-years a.active { font-weight: 700; }
#layout-product .form-booking .datepicker .form-control-feedback { top: 0; height: 44px; line-height: 44px; }

#layout-product .form-booking .btn-booking { margin-top: 20px; padding: 20px 40px; color: var(--aminta-lino); background-color: var(--aminta-blu); border-color: var(--aminta-blu); }
#layout-product .form-booking .btn-booking:hover,
#layout-product .form-booking .btn-booking:focus { color: var(--aminta-blu); background-color: transparent; }


/* checkout: riepilogo prenotazione */
#layout-checkout-complete .checkout-steps .breadcrumb { padding: 0; margin: 20px 0 60px; background: none; }
#layout-checkout-complete .checkout-steps li { font-family: "Nunito", sans-serif; font-size: 13px; letter-spacing: 2px; opacity: 0.6; }
#layout-checkout-complete .checkout-steps li[aria-current] { font-weight: 600; text-decoration: none; opacity: 1; }
#layout-checkout-complete .checkout-steps li + li::before { color: var(--aminta-blu); }

#layout-checkout-complete .checkout h2.h3 { font-family: "Nunito", sans-serif; font-weight: 700; text-transform: uppercase; margin-bottom: 0; }
#layout-checkout-complete .checkout hr { margin: 20px 0 30px; border-top: 1px solid var(--aminta-blu); opacity: 0.25; }
#layout-checkout-complete .checkout #payments { margin-top: 60px; }
#layout-checkout-complete .checkout #payments h2.h3 { margin-bottom: 30px; }

#layout-checkout-complete .checkout .control-label,
#layout-checkout-complete #checkout-notes label,
#layout-checkout-complete .cart-checkout .bg-lightgrey strong,
#layout-checkout-complete #order-summary .col-xs-6:first-child strong,
#layout-checkout-complete #discount-title { font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
#layout-checkout-complete .checkout .control-label,
#layout-checkout-complete #checkout-notes label { padding-top: 12px; }

#layout-checkout-complete .checkout .form-control { height: 44px; border: 1px solid var(--aminta-blu); border-radius: 0; background-color: transparent; box-shadow: none; font-family: "Nunito", sans-serif; font-size: 14px; color: var(--aminta-blu); }
#layout-checkout-complete .checkout textarea.form-control { height: auto; }
#layout-checkout-complete .checkout select.form-control { -webkit-appearance: none; appearance: none; border-radius: 0; padding-right: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231A1E25' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 15px center; }
#layout-checkout-complete .checkout .form-control:focus { border-color: var(--aminta-ceruleo); box-shadow: none; }
#layout-checkout-complete .checkout .form-control::placeholder { color: var(--aminta-blu); opacity: 0.5; }

#layout-checkout-complete .cart-checkout .bg-lightgrey > .row > .col-md-8 > .container-fluid { padding: 30px; }
#layout-checkout-complete .cart-checkout .bg-lightgrey strong { display: block; margin-bottom: 5px; }

#layout-checkout-complete .bg-lightgrey { background-color: rgba(0, 0, 0, 0.03); }

#layout-checkout-complete #payment_list { border-radius: 0; }
#layout-checkout-complete .payment { border: 1px solid var(--aminta-blu); }
#layout-checkout-complete #payments #payment_list .payment .header { border-bottom: 1px solid rgba(26, 30, 37, 0.25); font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; }
#layout-checkout-complete #payment_list .payment .content { background-color: transparent; }
#layout-checkout-complete .payment .content p { margin: 0; }

#layout-checkout-complete #order-summary { padding: 30px; }
#layout-checkout-complete #order-summary .wrap-discount p { margin: 5px 0 15px; }
#layout-checkout-complete #order-summary .discount .form-control { height: 46px; }
#layout-checkout-complete #order-summary #discount-apply { height: 46px; padding: 0 20px; }
#layout-checkout-complete #order-summary .order_privacy label,
#layout-checkout-complete #order-summary .order_terms label { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--aminta-blu); }
#layout-checkout-complete #order-summary .order_privacy a,
#layout-checkout-complete #order-summary .order_terms a { color: var(--aminta-blu); text-decoration: underline; text-underline-offset: 3px; }
#layout-checkout-complete .text-warning { color: var(--aminta-blu); }

#layout-checkout-complete #ctl00_cph_main_lb_complete { padding: 20px 40px; color: var(--aminta-lino); background-color: var(--aminta-blu); border-color: var(--aminta-blu); text-transform: uppercase; }
#layout-checkout-complete #ctl00_cph_main_lb_complete:hover,
#layout-checkout-complete #ctl00_cph_main_lb_complete:focus { color: var(--aminta-blu); background-color: transparent; }
#layout-checkout-complete #ctl00_cph_main_a_return_01 { display: inline-block; width: auto; margin-top: 10px; text-transform: none; }

@media (max-width: 991px) {
	#layout-checkout-complete #order-summary { margin-top: 60px; }
}

@media (max-width: 767px) {
	#layout-checkout-complete .checkout .form-group > [class*="col-xs-"] { width: 100%; }
	#layout-checkout-complete .checkout .control-label,
	#layout-checkout-complete #checkout-notes label { padding: 0 0 5px; }
}

@media (min-width: 1200px) {
	#layout-checkout-complete .complete_title { margin-top: 180px; }
	#layout-checkout-complete .container { width: 83.3333%; }
	#layout-checkout-complete .checkout > .row > .col-md-8 { padding-right: 50px; }
	#layout-checkout-complete #order-summary { padding: 40px; }
}

/* contatti: form del CMS in section-tertiary */
.contact-section { background-color: rgba(0, 0, 0, 0.03); }
.contact-row { margin: 0; }
@media (min-width: 1200px) {
	.contact-row { display: flex; }
	.contact-row .contact-section { order: -1; }
}
.contact-form .form-group { margin-bottom: 30px; }
.contact-form .control-label { margin: 0; font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--aminta-blu); }
.contact-form .form-control { height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--aminta-blu); border-radius: 0; background-color: transparent; box-shadow: none; font-family: "Nunito", sans-serif; font-size: 14px; color: var(--aminta-blu); }
.contact-form textarea.form-control { height: 110px; padding-top: 12px; resize: vertical; }
.contact-form .form-control:focus { border-color: var(--aminta-ceruleo); box-shadow: none; }
.contact-form .form-control::placeholder { color: var(--aminta-blu); opacity: 0.5; }
.contact-form .vertical-force label { font-family: "Nunito", sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--aminta-blu); }
.contact-form .vertical-force a { color: var(--aminta-blu); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .text-danger { color: var(--aminta-rosso-mosto); }
.contact-form #ctl00_cph_main_lb_submit { padding: 15px 20px; color: var(--aminta-lino); background-color: var(--aminta-blu); border: 1px solid var(--aminta-blu); }
.contact-form #ctl00_cph_main_lb_submit:hover,
.contact-form #ctl00_cph_main_lb_submit:focus { color: var(--aminta-blu); background-color: transparent; }

/* popup newsletter del CMS */
#newsletter .modal-content { background-color: var(--aminta-avorio); }
#newsletter .form-required-legend { font-family: "Nunito", sans-serif; font-size: 13px; opacity: 0.7; }
#newsletter .form-group > div { font-family: "Nunito", sans-serif; font-size: 13px; color: var(--aminta-blu); }
#newsletter .form-group label { margin: 0; font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--aminta-blu); }
#newsletter .form-control { height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--aminta-blu); border-radius: 0; background-color: transparent; box-shadow: none; font-family: "Nunito", sans-serif; font-size: 14px; color: var(--aminta-blu); }
#newsletter .form-control:focus { border-color: var(--aminta-ceruleo); box-shadow: none; }
#newsletter .newsletter_privacy input { accent-color: var(--aminta-blu); }
#newsletter .newsletter_privacy label { font-weight: 400; font-size: 14px; letter-spacing: 0; text-transform: none; }
#newsletter .newsletter_privacy a { color: var(--aminta-blu); text-decoration: underline; text-underline-offset: 3px; }
#newsletter .newsletter_privacy a:hover, #newsletter .newsletter_privacy a:focus { color: var(--aminta-ceruleo); }
#newsletter .newsletter_actions { margin-top: 10px; }
#newsletter .newsletter_actions .btn { padding: 15px 10px; font-size: 14px; letter-spacing: 2px; color: var(--aminta-lino); background-color: var(--aminta-blu); border: 1px solid var(--aminta-blu); transition: color 0.2s, background-color 0.2s; }
#newsletter .newsletter_actions .btn:hover, #newsletter .newsletter_actions .btn:focus { color: var(--aminta-blu); background-color: transparent; }
#newsletter .newsletter_actions .btn.transparent { color: var(--aminta-blu); background-color: transparent; }
#newsletter .newsletter_actions .btn.transparent:hover, #newsletter .newsletter_actions .btn.transparent:focus { color: var(--aminta-lino); background-color: var(--aminta-blu); }

.contact-address a, .contact-phone a, .contact-mail a { color: var(--aminta-blu); }
.contact-address a:hover, .contact-phone a:hover, .contact-mail a:hover { color: var(--aminta-ceruleo); }

.contact-address, .contact-phone, .contact-mail { padding-left: 30px; background: no-repeat left 3px / 18px 18px; }
.contact-address { background-image: url("/custom/img/content/ico-pin.svg"); }
.contact-phone { background-image: url("/custom/img/content/ico-phone.svg"); }
.contact-mail { background-image: url("/custom/img/content/ico-mail.svg"); }
.contact-info img { display: block; width: 100%; height: auto; margin-top: 40px; }
