.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;
	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;
	}
}

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

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

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

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

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

.text-primary {
    color:#D5A93E
}

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

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

.btn-primary {
    color: #D5A93E;
    background-color: transparent;
    border-color:#D5A93E
}

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

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

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

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

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

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

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

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

#footer a {
    color: #FFF;
}

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

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

/* 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: "Wix Madefor Display", sans-serif;
    font-size: 16px;
    color: #726151;
    background-image: url('/custom/img/content/home-bg.png');
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { 
    font-family: "Belleza", sans-serif;
    letter-spacing: 5%;
    font-weight: 400;
}

h1, .h1 { font-size:48px; line-height: 1em; }
h2, .h2 { font-size:40px; line-height: 1em; }
h2.text-ephesis, .h2.text-ephesis { font-size:46px; line-height: 1em; }
h3, .h3 { font-size:18px; }

h4, .h4 { font-family: "Wix Madefor Display", sans-serif; letter-spacing: 15%; }

.text-ephesis { font-family: "Ephesis", cursive; }
.text-body { font-family: "Wix Madefor Display", sans-serif; }

.ls1 { letter-spacing: 1px; }
.ls2 { letter-spacing: 2px; }

.btn {
    font-size: 16px;
    letter-spacing: 5%;
    font-weight: 400;
    border-radius: 30px;
}

.btn-link {
    padding: 0 0 0 80px;
    position: relative;
}

.btn-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 60px;
    height: 2px;
    background-color: #D5A93E;
}

#header .menu-top .btn, #header .menu-top a { font-size: 14px; text-transform: capitalize; }

#header .menu-middle .dx .btn {
    margin: 16px 0;
    padding: 10px 15px;
    line-height: 27px;
    display: block;
    border-radius: 30px;
    color: #FFF;
}

#header.menu-transparent-dark .menu-middle .dx .btn {
    color: #666;
}

#header .menu > ul > li > a { padding: 26px 15px 0 15px; }

#header .menu > ul > li > ul { top: 50px; }

#header .menu-middle .dx .btn i { color: #D5A93E; }

#header .menu-middle .dx .btn:hover { color: #FFF; }
#header .menu-middle .dx .btn:hover i { color: #FFF; }

#header .menu-top li { padding: 0 20px;	}
#header .menu-top ul li { border-left: 1px solid rgba(255,255,255,0.2); }
#header .menu-top ul li:last-child { border-right: 1px solid rgba(255,255,255,0.2); }
#header .menu-top a i { color: #D5A93E; }
#header .menu-top .dropdown-menu { padding: 0 0 0 20px; }
#header .menu-top .dropdown-menu li { border: none !important; }

 #header.menu-transparent-dark .menu-top ul li  { border-left: 1px solid rgba(165,165,165,0.2); }
 #header.menu-transparent-dark .menu-top ul li:last-child { border-right: 1px solid rgba(255,255,255,0.2); }

.primary-logo { max-width: 370px; }

#footer { color: #6F655D; background-color: #FFF; }
#footer a { color: #6F655D; }
#footer .text-white { color: #6F655D; }
#footer-bottom { color: #6F655D; }
#footer-bottom { background: #FFF; color: #6F655D; }
#footer-bottom .text-white { color: #6F655D; }
#footer-bottom hr { border-top: 1px solid #EEEDEC; }
#footer-bottom a { color: #6F655D; }
#footer-bottom a:hover, #footer-bottom a:focus { color: #D5A93E; }
#footer-bottom a.text-white { color: #FFF; }
#footer-bottom a.text-white:hover, #footer-bottom a.text-white:focus { color: #a67641; }

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

.bg-black-opacity { background-color: rgba(0,0,0,0.4); }

.mt-xs-n20 { margin-top: -20px; }

.sod_select { border: 0px solid #CCC; padding: 0; }
.sod_select:before { right: 0px; }
#block-product .sod_select .sod_prefix { font-weight: normal; }
.sod_select .sod_list_wrapper { border: 0; background-color: #fafafa; }
#block-product .addtocart { margin-top: 30px; }
#block-product #variants { border-top: 1px solid #CCC; padding-top: 20px; }

#content_related .list-related .wrap-item:last-of-type { margin-bottom: 0; }

#content_related_03 { margin-top: -30px; }

#content_related_03 { z-index: 1;}
#content_related_03  .list-related .item .bg-gradient { background: linear-gradient(90deg,rgba(28, 16, 5, 1) 0%, rgba(28, 16, 5, 1) 30%, rgba(28, 16, 5, 0.4) 100%); }

.ls-banner .wrap-description { max-width: 700px; margin:  0 auto; }

#template_wine_home { z-index: 2; }

#product-description { z-index: 2; }

#template_wine_home #product-list .wrap-product-image {
    background-image: url('/custom/img/content/product-bg.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.new-wrap-list { z-index: 2; }

/*
#template_wine_home #product-list .product-image {
    filter: drop-shadow(15px 15px 20px rgba(0,0,0,0.5));
}
*/

#layout-category #main { margin-top: -30px; }

#layout-category #product-list .wrap-product-image {
    background-image: url('/custom/img/content/product-bg.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
/*
#layout-category[data-id="8"] #product-list .product-image {
    filter: drop-shadow(15px 15px 20px rgba(0,0,0,0.5));
}
*/

#layout-product #block-product {
    padding: 30px 30px;
    max-width: 600px;
    margin: 0;
    text-align: left;
}

#layout-product #description-primary p {
    margin:0;
}

#layout-product #description-primary hr {
    margin-top: 18px;
    margin-bottom: 18px;
    border: 0;
    border-top: 1px solid #F0EAE0;
}

#layout-product[data-parent-id="37"] .ls-product .ls-item {
    background-image: url('/custom/img/content/product-bg.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

#layout-product[data-parent-id="37"] #rel-list .rel-item .relative {
    background-image: url('/custom/img/content/product-bg.png');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

#layout-page .description_primary_wrap { margin-top: -30px; }


#layout-page #main { z-index: 2; }
#layout-page #slider-02 { margin-top: -30px; }

section.lg ~ section.lg { padding-top: 0; }

#main ~ #section-sub { padding-top: 0; }

.form-control { border-radius: 30px; }

#block-product .sod_select .sod_label {
    padding-right: 48px;
}

#block-product .sod_select {
    margin-top: 0;
    border-radius: 30px;
    border: 1px solid #ccc;
    padding-left: 20px;
}

#block-product .sod_select:before {
    right: 20px;
}

#block-product .form-booking .form-group {
    margin-top: 5px;
}

#block-product #variants { border-top: 0px solid #CCC; padding-top: 20px; }

.btflex.lightgrey .col-lg-4, .btflex.lightgrey .col {
    background-color: #F5F4F1;
    padding: 30px;
    border-radius: 30px;
}

@media (min-width:992px) {

    h1, .h1 { font-size:74px; line-height: 1em; }
	h2, .h2 { font-size:60px; line-height: 1em; }
    h2.text-ephesis, .h2.text-ephesis { font-size:70px; line-height: 1em; }
    h3, .h3 { font-size:25px; }

}

@media (min-width:1200px) {

    .rowflex { display: flex; justify-content: space-between; }
    .rowflex > [class*="col-"] { align-self: center; }
    
    .list-related .wrap-item:nth-child(even) .container-half { margin-right: 0; }
    .list-related .wrap-item:nth-child(odd) .container-half { margin-left: 0; }
    
    .list-related .wrap-item:nth-child(odd) .sx { left:50% }
    .list-related .wrap-item:nth-child(odd) .dx { right:50% }
    .list-related .wrap-item:nth-child(odd) .description { margin-left:16.66666667% }

    .list-related .wrap-item:nth-child(odd) .sx { padding-left: 30px; padding-right: 90px; }
    .list-related .wrap-item:nth-child(even) .sx { padding-left: 90px; padding-right: 30px; }

    .list-related .wrap-item .absolute { top: 0; bottom: 0; left: 60px; right: 60px; height: auto; }

    #content_related_03 { margin-top: -80px; }

    #layout-page .description_primary_wrap { margin-top: -80px; }

    #layout-page #slider-02 { margin-top: -80px; }

    #layout-category[data-id="8"] #main { margin-top: -80px; }
    
}

@media (min-width:1400px) {

    #header .container-fluid { max-width: 1600px; margin: 0 auto; }

    .list-related .wrap-item:nth-child(odd) .sx { padding-left: 60px; padding-right: 120px; }
    .list-related .wrap-item:nth-child(even) .sx { padding-left: 120px; padding-right: 60px; }

    .list-related { max-width: 1800px; margin: 0 auto; }

    #layout-page #main { max-width: 1800px; margin: 0 auto; }
    #layout-page #section-secondary { max-width: 1800px; margin: 0 auto; }

    #template_wine_home { max-width: 1800px; margin: 0 auto; }

    
}
