@charset "utf-8";
/* CSS Document */

/* css class per schermi superiori a 1920px */
#top {
    max-width: 1920px;
    margin: 0 auto !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.06); /* bordo fake per risoluzioni superiori a 1920px */
}

/* page loader */

.page-loader {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-loader img {
    display: block;
    max-width: 236px;
    height: auto;
}



.main-nav {
  width: 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1920px;
}


body {
	font-weight: 300;
	font-size: 16px;
	color: #555555;
}

h1, h2, h3, h4, h5, h6 {
	color: #111;
}

.blog-item-body h1 {
	margin: 1.3em 0 1.3em 0;
}
.blog-item-body h2 {
	margin: 1em 0 1em 0;
}

.blog-item-body h3, 
.blog-item-body h4, 
.blog-item-body h5, 
.blog-item-body h6 {
	margin: 0.5em 0 0.5em 0;
}

a {
	color: #555555;
	font-weight: 300;
}

.post-prev-title a {
	color: #555555;
}

p {
	font-weight: 300;
	font-size: 16px;
	margin: 0 0 1.4em 0;
	color: #555555;
}

ul li {
	color: #555555;
	font-weight: 300;
}

.blog-item-body {
	color: #555555;
}


.idvs-page-title-section {
	padding: 75px 0 !important; /* 75px = altezza main nav */
}

.pb-0 {
	padding-bottom: 0px !important;
}

.pt-0 {
	padding-top: 0px !important;
}

/* form */

.form input[type="text"], .form input[type="email"], .form input[type="number"], .form input[type="url"], .form input[type="search"], .form input[type="tel"], .form input[type="password"], .form input[type="date"], .form input[type="color"], .form select {
	 text-transform: none;
}

.form input.newsletter-field-error,
.form select.newsletter-field-error,
.form input.newsletter-field-error:focus,
.form select.newsletter-field-error:focus {
    border-color: #e41919;
}


/* header - menu */

.main-nav.semi-transparent {
	background-color: rgba(255,255,255, 0.6) !important;
}

.main-nav.semi-transparent.small-height	{
	background-color: rgba(255,255,255, 1) !important;
}

.inner-nav ul li.lang-switcher + li.lang-switcher {
	margin-left: 10px;
}

.lang-switcher-link img {
	margin-bottom: 3px;
}

.inner-nav ul li a {
	color: #474747;
	font-size: 15px;
	line-height: 1.5;
}

.inner-nav ul li a.active {
	text-decoration: underline;	
}


.mn-sub {
	width: 300px;
	background: rgba(255,255,255, .97);
	box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.1);
}

.inner-nav ul li .mn-sub li a {
	color: #474747 !important;
	font-size: 15px;
	line-height: 1.5 !important;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.inner-nav ul li .mn-sub li a:hover {
	color: #000 !important;
}

.mobile-on .inner-nav ul {
	text-align: left;
}

.mobile-on .desktop-nav ul li.lang-switcher {
	display: inline-block;
}

.mobile-on .desktop-nav ul li.lang-switcher a {
	border-bottom: 0px;
}

/* home top */

.home-text.vertical-align-bottom {
	vertical-align: bottom;	
}

.logo-slider.semi-transparent {
	background-color: rgba(255,255,255, 0.6) !important;
}

.no-padding {
	padding: 0px !important;
}


.text-shadow-black {
	text-shadow: rgb(0, 0, 0) 4px 3px 0px;
}

.text-shadow-black-light {
	text-shadow: rgb(48, 48, 48) 4px 3px 0px;
}

.section-title {
	font-size: 30px;
}

/* claim 

section#claim.it {
	background-image:url(../images/sito/Claim.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment:scroll; 
	background-size: cover;
}

section#claim.en {
	background-image:url(../images/sito/Claim_en.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment:scroll; 
	background-size: cover;
}

section#claim .scroll-down::before {
	background: #000;
}

section#claim .scroll-down-icon {
	color: #fff;
}
*/

/* consorzio */

#consorzio-footer {
	padding-top: 200px !important;
	padding-bottom: 200px !important;
	
	background-position: center top !important;
}

/* partner */

.entry a {
	font-size: 20px;
	text-decoration: none;
}

/* denominazioni */

/*
#denominazioni .works-grid.hide-titles .work-item .work-intro {
	bottom: -64px;
}
*/

/*
#denominazioni .work-intro {
	height: 150px;
}
*/

.works-grid.hide-titles .work-item .work-intro {
	opacity: 1;
	bottom: 0px;
}

.work-intro {
	margin: 0px !important;
	height: 90px;
	
	background-color: rgba(255,255,255, 0.6);

	text-align: left;
	overflow: hidden;
}

.work-title {
	font-size: 15px;
}

li.work-item:hover .work-intro {
	background-color: transparent !important;
}


.content.denominazione {
	background-color: #fff;
}


.denominazione-content .mfp-close {
	right: 40px;
	top: 40px;
	opacity: 1;
	color: #000;
	font-size: 36px;
}

.mfp-arrow-left::before, .mfp-arrow-left .mfp-b {
	border-right: 27px solid #000;
}

.mfp-arrow-right::before, .mfp-arrow-right .mfp-b {
	border-left: 27px solid #000;
}

.mfp-arrow-left {
	left: 25px;
}

.mfp-arrow-right {
	right: 25px;
}

/* parallasse */

.parallax-btw-section {
	padding-top: 200px !important;
	padding-bottom: 200px !important;
}


/* news */

.post-prev-title {
	font-size: 16px;
}

.post-prev-info {
	font-size: 13px;
}


/* pagination */

.pagination {
	justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 30px 0;
    padding: 0;
}

.pagination li {
    list-style: none;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

.pagination li a:hover,
.pagination li.active a {
    background: #fff;
    color: #000;
}



/* youtube video responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
    
    margin-bottom: 10px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* contatti */

#contatti p,
#contatti p a{
	color: #9a9bb1;
	font-size: 16px;
	letter-spacing: 1.5px;
	
	text-decoration: none;
}

#contatti .footer-social-links a {
	width: 40px;
	height: 40px;
	line-height: 40px !important;
	margin: 0 20px;
	color: #9a9bb1;

}

/* PROGETTO DI FILIERA */

/* progetto cms */

.mappa-italia {
	max-width: 450px;
}

.cta-comunicazione {
    display: block;
    padding: 25px 30px;
    background: #b82830;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
	margin-bottom: 40px;
}

.cta-comunicazione:hover {
    background: #c99a3e;
    color: #fff;
    text-decoration: none;
}

/* view custom */

.img-profondita {
  /* Ombra morbida: leggera, estesa e poco opaca per un effetto naturale */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 
              0 1px 3px rgba(0, 0, 0, 0.05);
  
  /* Bordo sottile grigio chiaro per definire bene i contorni dell'immagine */
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-beige {
  background-color: #f6f1e6; 
  padding: 5%;            
  border: 1px solid #000;    
  border-radius: 4px;        
  margin-bottom: 60px;
}

ul.aziende-list {
	list-style: square;
	padding-left: 15px;
}

ul.aziende-list li {
	font-size: 18px;
}

ul.aziende-list a {
	text-decoration: none;
	font-size: 18px;
	color: #b82830;
}

ul.aziende-list a:hover {
	text-decoration: underline;
}


.section-azzurro {
  background-color: #f0f4f9; 
  padding: 5%;            
  border: 1px solid #000;    
  border-radius: 4px;        
  margin-bottom: 60px;
}


.tpl-tabs {
	font-size: 16px;
}

.tab-content.tpl-minimal-tabs-cont {
	border: 1px solid #e5e5e5;
  	border-top: none;
  	padding: 5%;
}

.js-newsletter-popup p {
	margin-bottom: 10px;
}


/* IFRAME POPUP PER NEWSLETTER MAILCHIMP */

.mfp-iframe-holder .mfp-content {
    max-width: 1000px;
    height: 90vh;
}

.mfp-iframe-holder .mfp-iframe {
    height: 90vh;
}


/* footer */
	
footer a.link-to-top {
	color: #fff !important;
}

footer a:hover {
	color: #fff !important;
}

.banner-footer-link {
	display: inline-block;
    transition: transform .3s ease;
}

.banner-footer-link img {
	border: 1px solid #fff; 
	box-shadow: 0 0 0 4px #000, 0 0 0 5px #fff;
} 

.banner-footer-link:hover img {
	border: 1px solid #e0b800; 
	box-shadow: 0 0 0 4px #000, 0 0 0 5px #e0b800;
}



.my-footer-social-links{
    font-size: 14px;
}

.my-footer-social-links a{
    width: 25px;
    height: 25px;
    line-height: 25px !important;
    position: relative;
    margin: 0 12px;
    text-align: center;
    display: inline-block;
    color: #fff; /* icona bianca sempre visibile su fondo nero */

    -webkit-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);  
    -moz-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000); 
    -o-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000); 
    transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.my-footer-social-links a i,
.my-footer-social-links a span[class^=icon]{
    position: relative;
    top: 0;
    left: 0; 
}

.my-footer-social-links a:before{
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    /* SFONDO SEMPRE NERO */
    background: #111;
    border: 1px solid #fff;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

    -webkit-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);  
    -moz-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000); 
    -o-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000); 
    transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

/* HOVER: mantiene comunque nero */
.my-footer-social-links a:hover{
    color: #111 !important;
}

.my-footer-social-links a:hover:before{
    background: #fff;
    border-color: #fff;
}






/* RESPONSIVE CLASS */

.mobile-on .desktop-nav ul {
	background: rgba(255,255,255, 1);

}

.mobile-on .desktop-nav ul li a {
	border-bottom: 1px solid rgba(48,48,48, 1);
	color: #474747;

}

.mobile-on .desktop-nav ul li a:hover, 
.mobile-on .desktop-nav ul li a.active {
	background: rgba(255,255,255, 1);
	color: #000;
}

@media only screen and (max-width: 480px) {

	.tpl-tabs {
  		font-size: 14px;
	}	
	
	.tpl-tabs > li {
		display: inline-block;
		width: auto;
	}

	.tpl-tabs .nav-link {
		padding: .5rem 0.5rem;
	}

}

@media only screen and (max-width: 767px) {
	
	.logo-slider a img {
		width: 200px !important;
	}
	
	.label-contact p {
		text-align: left !important;
		font-weight: bold;
	}	

	.content.denominazione {
		padding: 30px 10px;
		margin: 10px;
	}
	
	.mfp-content {
		vertical-align: top !important; /* evita la centratura e l'effetto rimbalzo dato dall'altezza differente di ogni popup se si naviga con le frecce */
	}

	.denominazione-content .mfp-close {
		font-size: 24px !important;
		width: 24px;
		height: 24px;
		line-height: 24px;
	
		right: 10px !important;
		top: 13px !important;
	
	}	

	.mfp-arrow {
		background-color: #fff !important;
  		top: 20%;
	}


	/* progetto di filiera */

	.section-beige {     
		margin-bottom: 30px;
	}

	.section-azzurro {
		margin-bottom: 30px;
	}


}


/* md e lg */
@media only screen and (min-width: 768px) and (max-width: 1199px) {

	.work-item,
    .work-grid-3 .work-item,
    .container .work-grid-3 .work-item,
    .work-grid-5 .work-item{
        width: 50%;
    }

	.mfp-content {
		vertical-align: top !important; /* evita la centratura e l'effetto rimbalzo dato dall'altezza differente di ogni popup se si naviga con le frecce */
	}	

}

@media (max-width: 900px) {
	.mfp-arrow {
		-webkit-transform: none;
		transform: none;
	}
}

@media screen and (min-width: 768px) {

	.content.denominazione {
		padding: 50px;
		margin: 40px;
	}
	
	html #index .mfp-close {
		width: 44px;
		height: 44px;
		line-height: 44px;
	
		right: 40px !important;
		top: 40px !important;;
	
		color: #000;
	
		font-size: 36px !important;;
	
	}	

}

/* oltre questa larghezza si attiva il menu normale */
@media only screen and (max-width: 1024px) {

	.idvs-page-title-section {
		padding: 75px 0 50px 0 !important; /* 75px = altezza main nav */
	}

}


/* custom xxl */
@media only screen and (min-width: 1600px) and (max-width: 1919px) {
	
	.work-title {
		font-size: 18px;
	}

}


@media screen and (min-width: 1920px) {
	
	.work-title {
		font-size: 22px;
	}

}