.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: 60px;
	position: relative;
	top: 10px;
	background-size: contain;
	background-image: url(/custom/img/logo.png);
	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.png);
}

@media (min-width:1200px) {
	.primary-logo {
		background-position: left center;
	}
}

/* nascondi punti 
#fidelitybox { display: none; }
*/


#age-popup {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
    background-color: rgba(0,0,0,0.8);
    display: none;
}

/* 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: #201843;
    color: #FFF;
}

#header .menu > ul > li > a:after {
	border-bottom: 1px solid #201843;
}

#header .menu a:hover, #header .menu a:focus {
	color: #201843;
	text-decoration: none;
}

#header.menu-transparent-dark .menu a:hover, #header.menu-transparent-dark .menu a:focus {
        color: #201843;
    }

.text-primary {
    color:#201843
}

a {
    color: #333333;
    text-decoration:none
}

a:hover, a:focus {
    color: #201843;
}

.btn-primary {
    color: #201843;
    background-color: #FFF;
    border-color:#201843
}

.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #201843;
    border-color:#201843;
}

.btn-primary:hover {
    color: #fff;
    background-color: #201843;
    border-color:#201843;
}

.btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #201843;
    border-color:#201843;
}

.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
    color: #fff;
    background-color: #201843;
    border-color:#201843;
}

.btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus {
    background-color: #CCC;
    border-color:#CCC;
}

.btn-link {
    color: #201843;
}
.btn-link:hover, .btn-link:focus {
    color: #201843;
}

.menu-top .btn-small:hover, .menu-top .text-btn-small:hover {
		color: #201843;
	}

 .menu-top .dropdown-menu > li > a:hover, .menu-top .dropdown-menu > li > a:focus {
        text-decoration: none;
        color: #201843;
        background-color: transparent;
    }

.primary-nav a {
    color: #FFF;
}

    .primary-nav a:hover, .primary-nav a:focus {
        color: #201843;
        text-decoration: none;
    }

#footer .btn-dark:hover, #footer .btn-dark:focus, #footer .btn-dark:active, #footer .btn-dark.active {
	color: #FFF;
	background-color: #201843;
	border-color: #201843;
}

#footer a {
    color: #FFF;
}

#footer a:hover, #footer a:focus {
    color: #201843;
}

.product-view-tabs .nav-pills > li > a:after {
    border-bottom: 1px solid #201843;
}

 /* 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;
}
*/

body { font-family: "EB Garamond", serif; font-size: 18px; color: #201843; line-height: 1.5em; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-family: "EB Garamond", serif; color: #201843; font-weight: 500; font-variant: small-caps; }

hr { border-top:1px solid #201843; }

.text-big { font-size: 1.1em; line-height: 1.4em; }

#header { background-color:#201843; }
#header .text-primary { color: #FFF; }

#header.menu-transparent-dark .menu-top, .menu-transparent-dark .menu-top a { color: #FFF; }
#header.menu-transparent-dark .menu a { color: #FFF; }

#header .menu a:hover, #header .menu a:focus { color: #666; text-decoration: none; }
#header.menu-transparent-dark .menu a:hover, #header.menu-transparent-dark .menu a:focus { color: #666; }

.menu-top .btn-small:hover, .menu-top .text-btn-small:hover { color: #999; }
.menu-top .dropdown-menu > li > a:hover, .menu-top .dropdown-menu > li > a:focus { text-decoration: none; color: #FFF; background-color: transparent; }

.primary-logo { background-position: center center; }

body.navigation-is-open .primary-nav { display: block; }
body.navigation-is-open .menu-wrap { background-color: rgba(32, 24, 67, 1); }

.primary-nav-trigger .menu-icon { width: 40px; }
.primary-nav-trigger .menu-icon::before { top: -8px; }
.primary-nav-trigger .menu-icon::after { top: 8px; }

#header.menu-transparent-dark .primary-nav-trigger .menu-icon { background-color: #FFF; }
#header.menu-transparent-dark .primary-nav-trigger .menu-icon::before, #header.menu-transparent-dark .primary-nav-trigger .menu-icon:after { background-color: #FFF; }

.primary-nav { background: rgba(32, 24, 67, 1); }
.primary-nav a:hover, .primary-nav a:focus { color: #666; text-decoration: none; }

.primary-nav .menu-nav ul > li > a {
    font-size: 24px;
    line-height: 1.9em;
    letter-spacing: 0;
    font-family: "EB Garamond", serif;
    text-transform: uppercase;
}


#logo-footer img { max-width: 200px; }

#footer { color: #FFF; background-color: rgb(32, 24, 67); }
#footer-bottom { color: #FFF; background-color: rgb(32, 24, 67); }

.form-dark .form-control { color: #FFF; background-color: #171036; background-image: none; border: 1px solid #171036; }

#footer .btn-dark, #footer .btn-dark:visited { color: #FFF; background-color: #120D26; border-color: #120D26; }
#footer .btn-dark:hover, #footer .btn-dark:focus, #footer .btn-dark:active, #footer .btn-dark.active { color: #FFF; background-color: #090714; border-color: #090714; }

#footer-bottom hr { border-top: 1px solid rgba(255, 255, 255, 0.2); }
#footer-bottom a { color: #FFF; }
#footer-bottom a:hover, #footer-bottom a:focus { color: #999; }

.scroll-down { bottom: 80px; }

.bg-lightgrey { background-color: #D8D8D8; }

#content_related { z-index: 1; }

.btn {
    font-size: 18px;
    letter-spacing: 0;
}

.btn-dark, .btn-dark:visited {
    color: #FFF;
    background-color: #201843;
    border-color: #201843;
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active, .btn-dark.active {
    color: #FFF;
    background-color: #150F2B;
    border-color: #150F2B;
}

.text-big { font-size: 1.3em; line-height: 1.5em; }
.text-bold { font-weight: 700; }

#layout-category[data-id="11"] .wrap-product-list, #layout-category[data-id="29"] .wrap-product-list { max-width: 1280px; margin: 0 auto; }

#layout-category .product-item .visible-block { max-width: 350px; margin: 0 auto; }

#layout-category[data-id="29"] .product-item .visible-block { max-width: 100%; margin: 0 auto; }

#header .menu-wrap { padding-top: 0px; }

#layout-home #header { background-color: transparent; }
#layout-home:not(.navigation-is-open) #header .primary-logo { background-image: url('/custom/img/logo-email.png'); height: 97px; max-width: 400px; top:80px; }
#layout-home:not(.navigation-is-open) #header .primary-nav-trigger .menu-icon { background-color: #150F2B; }
#layout-home:not(.navigation-is-open) #header .primary-nav-trigger .menu-icon::before, #layout-home:not(.navigation-is-open) #header .primary-nav-trigger .menu-icon:after { background-color: #150F2B; }

#layout-home:not(.navigation-is-open) #header hr { display: none; }

.wine-img-01 { height: 400px; }

.bg-primary { background-color: #150F2B; }

.primary-nav .menu-nav ul > li > a {
    text-transform:none;
    font-variant: small-caps;
}

#layout-home .ls-banner-wrap { height: 600px; overflow: hidden; position: relative; top: -100px; margin-bottom: -100px; }


@media (min-width:768px) { 

    
}

@media (min-width:992px) {
    
    #layout-home .ls-banner-wrap { height: 1080px; overflow: hidden; position: relative; top: -100px; margin-bottom: -100px; }
    
    h1, .h1 { font-size: 38px; }
    h2, .h2 { font-size: 30px; }
    h3, .h3 { font-size: 26px; }
    
    .wine-img-01 { height: auto; }
    
    /*.box-square { margin-top: -30px; margin-bottom: -30px; }*/
    .box-square .img-home { margin-top: -30px; margin-bottom: -30px; }
    
    .box-square:nth-child(odd) .col-md-6:nth-child(1) { width: 48%; }
    .box-square:nth-child(odd) .col-md-6:nth-child(2) { width: 52%; }
    
    .box-square:nth-child(even) .col-md-6:nth-child(1) { width: 48%; left: 52%; }
    .box-square:nth-child(even) .col-md-6:nth-child(2) { width: 52%; right: 48%; }
    
    .breadcrumb { padding: 8px 0px; }
    #layout-product #block-product { padding: 30px 30px 30px 30px; max-width: 100%; text-align: left; }
    #block-product-ecommerce { max-width: 400px; margin: 0; }
    
    #layout-product[data-parent-id="11"] #block-product, #layout-product[data-parent-id="29"] #block-product { padding: 160px 30px 30px 30px; }
    #layout-product[data-parent-id="11"] .bc-image .ls-fullheight, #layout-product[data-parent-id="29"] .bc-image .ls-fullheight { height: auto; position: absolute; top: 160px; bottom: 30px; }
    .product-subtitle { font-size: 20px; }
    
    #layout-category[data-id="29"] #product-list .product-item .row { display: flex; }
    #layout-category[data-id="29"] #product-list .product-item .row .col-md-4 { display: flex; align-items: center; justify-content: center; }
    
    .row.equal-height {
        display: flex;
        flex-wrap: wrap;
    }

    .col.equal-height {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
}

@media (min-width:1200px) {
    
    /*.box-square { margin-top: -60px; margin-bottom: -60px; }*/
    .box-square .img-home { margin-top: -30px; margin-bottom: -30px; }

}

@media (min-width:1400px) {

 
}




