.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: #73706B;
    background-color: #FCFBF7;
    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: #615749;
    margin-top: 0;
}

h1, .h1 { font-size: 35px; }
h2, .h2 { font-size: 26px; }
h3, .h3 { font-size: 19px; }

.text-nunito { font-family: "Nunito", sans-serif; }
.text-grey { color: #73706B; }


.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: #615749;
    text-decoration:none;
}

small, .small { font-size: 87.5%; line-height: 1.5em; }

 #header .menu > ul > li > a {
    padding: 65px 15px;
    line-height: 30px;
    display: block;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

#header .menu > ul > li > a:after {
    display: none;
}

#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: 90px;
}

#header .primary-nav { background-color: #615749; }

#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: #73706B; }
#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 { background-color: #615749; color: #FAF5EB; font-family: "Nunito", sans-serif; }
#footer a { color: #FAF5EB; }
#footer a:hover, #footer a:focus { color: #b4a796; }


#footer h1, #footer .h1, #footer h2, #footer .h2, #footer h3, #footer .h3, #footer h4, #footer .h4, #footer h5, #footer .h5, #footer h6, #footer .h6 { color: #AEA9A0; }

#footer-bottom { background-color: #615749; color: #FAF5EB; font-family: "Nunito", sans-serif; }
#footer-bottom a { color: #FAF5EB; }
#footer-bottom hr { border-top: 1px solid #FAF5EB; }

#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 #FAF5EB; margin: 0; padding: 0; margin-left: 15px; padding-left: 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: #b4a796; }

#footer-bottom a { color: #FAF5EB; }
#footer-bottom a:hover, #footer-bottom a:focus { color: #b4a796; }
#footer-bottom a.text-white { color: #FAF5EB; }
#footer-bottom a.text-white:hover, #footer-bottom a.text-white:focus { color: #b4a796; }

#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: #E4E0D8;}

.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: #73706B; 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"); }

.btgrid { padding: 40px 0; }
.btgrid + .btgrid { padding: 0 0 40px 0; }

.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;
}



.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: 55px; width: 100%; text-align: center; 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 { 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% }

}

@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; }

    .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);
    }
}