/* WPBakery element presentation styles — migrated from theme custom.css */

/* Grid logos */
.grid-logos figure {
	position: relative;
	padding: 25px;
}
.grid-logos figure img {
	position: relative;
	max-width: 100%;
	width: 100%;
	height: auto;
}

/* Catalogo */
.catalogo {
	position: relative;
	padding: 90px 0;
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%, 0 0;
}
.catalogo h3 {
	color: #FFFFFF;
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 42px;
	letter-spacing: 2px;
}
.catalogo p {
	color: #FFFFFF;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	margin-bottom: 35px;
}

/* Contatti */
.contatti ul, .contatti ul li {
	position: relative;
	display: block;
	padding: 0;
	margin: 0;
	list-style: none,
}
.contatti .dedans-icon {
	position: relative;
	display: inline-block;
	width: 25px;
	height: 1em;
	text-align: center;
	margin-right: 15px;
	color: #ffffff;
	font-size: 20px;
	vertical-align: top;
	top: 5px;
}
.contatti a {
	color: #ffffff;
	font-size: 17px;
	text-decoration: none;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
	width: calc(100% - 40px);
}
.contatti a:hover, .contatti a:active, .contatti a:focus {
	text-decoration: underline;
	color: #ffffff;
}

/* Grid gallery */
.grid-gallery .wrap {
	position: relative;
	display: block;
	margin: 8px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	width: calc(100% - 16px);
}
.grid-gallery .wrap:before {
	content: "";
	position: relative;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: .2s opacity linear;
	padding-top: calc(100% / 1.5);
	display: block;
}
.grid-gallery .wrap span {
	position: absolute;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	left: 50%;
	opacity: 0;
	transition: .2s opacity linear;
	color: #ffffff;
	line-height: normal;
	min-height: 49px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.grid-gallery .wrap img {
	display: none;
}
.grid-gallery.squared .wrap:before {
	padding-top: 100%;
}
.grid-gallery .wrap:hover:before, .grid-gallery .wrap:active:before, .grid-gallery .wrap:focus:before, .grid-gallery .wrap:hover span, .grid-gallery .wrap:active span, .grid-gallery .wrap:focus span {
	opacity: 1;
}

/* Grid gallery slider (lightbox) */
.grid-gallery-slider {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	align-content: center;
	justify-content: center;
	align-items: center;
	z-index: 999;
	display: flex;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}
.grid-gallery-slider.open {
	opacity: 1;
	visibility: visible;
}
.grid-gallery-slider .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	z-index: 1;
	cursor: pointer;
	transition: .3s opacity linear;
}
.grid-gallery-slider.open .overlay {
	opacity: 1;
}
.grid-gallery-slider a.close {
	position: absolute;
	top: 50px;
	right: 50px;
	color: #ffffff;
	font-size: 20px;
	cursor: pointer;
	z-index: 3;
}
.grid-gallery-slider .wrap {
	position: relative;
	z-index: 2;
	width: 100vw;
	height: 100vh;
	opacity: 0;
	transition: .3s opacity linear;
	pointer-events: none;
}
.grid-gallery-slider .wrap img,
.grid-gallery-slider .wrap .dedans-slide {
	pointer-events: auto;
}
.grid-gallery-slider .wrap .dedans-slide {
	pointer-events: none;
}
.grid-gallery-slider .wrap .dedans-slide img {
	pointer-events: auto;
}
.grid-gallery-slider .wrap.dedans-slider--initialized {
	opacity: 1;
}
.grid-gallery-slider .wrap img {
	position: relative;
	max-width: 60vw;
	width: 100%;
	height: auto;
}
.grid-gallery-slider .dedans-slide {
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.grid-gallery-slider a.prev {
	color: #ffffff;
	position: absolute;
	left: 15px;
	font-size: 40px;
	z-index: 3;
	cursor: pointer;
}
.grid-gallery-slider a.next {
	color: #ffffff;
	position: absolute;
	right: 15px;
	font-size: 40px;
	z-index: 3;
	cursor: pointer;
}

/* Main visual title */
h1.main-visual-title {
	font-size: 60px;
	line-height: 66px;
	color: #ffffff;
}
h1.main-visual-title b {
	position: relative;
	display: block;
}

/* Corporate hero (titolo + immagine) */
.wrap.titolo-immagine-corporate-column-1, .wrap.titolo-immagine-corporate-column-2 {
	position: relative;
	padding: 0px 60px;
}
.wrap.titolo-immagine-corporate-column-1 {
	padding: 120px 60px;
}
.wrap.titolo-immagine-corporate-column-1 * {
	font-size: 29px;
	display: inline;
	position: relative;
}
.wrap.titolo-immagine-corporate-column-1 h1 {
	font-weight: 400;
	letter-spacing: 0;
}
.wrap.titolo-immagine-corporate-column-1 h1.comma:after {
	content: ",";
	position: relative;
	display: inline;
}
.wrap.titolo-immagine-corporate-column-2 img {
	position: relative;
	width: 100%;
	height: auto;
}
.titolo-immagine-corporate {
	display: flex;
	flex-direction: column;
}

/* Grid images + text / materiali */
.grid-images-text figure, .materiali figure {
	position: relative;
	margin-bottom: 0px;
}
.grid-images-text figcaption, .materiali figcaption {
	position: absolute;
	bottom: 15px;
	font-size: 15px;
	font-weight: 300;
	text-align: center;
	letter-spacing: 0px;
	display: block;
	width: 100%;
	text-transform: uppercase;
}
.grid-images-text figcaption, .materiali .codice-materiale {
	position: relative;
	font-size: 11px;
	font-weight: 300;
	text-align: center;
	letter-spacing: 0px;
	display: block;
	width: 100%;
}
.grid-images-text figure img {
	position: relative;
	max-width: 100%;
}
.materiali figure img {
	position: relative;
	border-radius: 50%;
	max-width: 240px;
	width: 100%;
	height: auto;
}
.materiali figcaption {
	position: relative;
	bottom: 0;
	margin-top: 15px;
	text-align: center;
}

/* Grid blog */
.grid-blog > .dedans-grid__row > div > .wrap {
	-webkit-box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
	box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
	border-radius: 3px;
	transition: .3s box-shadow linear;
	margin-bottom: 30px;
}
.grid-blog > .dedans-grid__row > div > .wrap:hover {
	-webkit-box-shadow: 0 0 30px 0 rgb(0 0 0 / 15%);
	box-shadow: 0 0 30px 0 rgb(0 0 0 / 15%);
}
.grid-blog a.post-thumbnail {
	position: relative;
	display: block;
	width: 100%;
	padding-top: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.grid-blog a.post-thumbnail:after {
	display: block;
	content: "";
	background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, .35) 0, transparent 75%);
	background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .35)), color-stop(75%, transparent));
	background-image: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 75%);
	background-repeat: no-repeat;
	height: 100%;
	width: 100%;
	position: absolute;
	bottom: 0;
	opacity: 1;
	-webkit-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
.grid-blog > .dedans-grid__row > div > .wrap:hover a.post-thumbnail:after {
	opacity: .5;
}
.grid-blog a.post-thumbnail img {
	position: relative;
	display: none;
	width: 100%;
}
.grid-blog .category-container {
	position: absolute;
	top: 15px;
	right: 15px;
}
.grid-blog .category-container span {
	background-color: #818a91;
	color: #ffffff;
	display: inline-block;
	line-height: 12px;
	font-size: 12px;
	padding: 7px 14px;
	margin-left: 10px;
	text-transform: uppercase;
	border-radius: 13px;
}
.grid-blog .post-excerpt {
	position: relative;
	padding: 45px 30px;
}
.grid-blog .post-excerpt h3 {
	position: relative;
	font-size: 21px;
	font-weight: 300;
	line-height: 25px;
	margin-bottom: 30px;
}
.grid-blog .post-excerpt p {
	position: relative;
	font-size: 14px;
	font-weight: 300;
	line-height: 21px;
	color: #777777;
	margin-bottom: 30px;
}
.grid-blog .post-excerpt a.read-more {
	position: relative;
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	text-transform: uppercase;
	margin-bottom: 30px;
}
.grid-blog .post-date {
	padding: 15px 30px;
	margin-bottom: 0;
	border-top: 1px solid #eaeaea;
	font-size: 12px;
	color: #adadad;
	font-weight: 300;
}

/* Blog archive page */
.archive.category .grid-blog {
	padding: 0 0 120px 0;
}

/* Slider */
.slider {
	padding: 60px !important;
	height: 800px;
}
.slider, .slider * {
	position: relative;
}
.slider .dedans-grid__row,
.slider .dedans-grid__row.dedans-slider,
.slider .dedans-list,
.slider .dedans-list * {
	height: 100%;
	padding: 0;
}
.slider .dedans-grid__row.dedans-slider {
	display: block;
	margin: 0;
	flex-wrap: nowrap;
}
.slider .dedans-slider--initialized .dedans-slide > .dedans-col {
	height: 100%;
	width: 100%;
	max-width: 100%;
	flex: none;
}
.slider .dedans-slider--initialized .dedans-slide .wrap {
	background-size: 100% auto;
	background-position: center center;
	background-repeat: no-repeat;
	height: 100%;
}
.slider .dedans-slider--initialized .dedans-slide--active .wrap {
	animation: zoom 10s infinite;
}
@keyframes zoom {
	100% {
		background-size: 120% auto;
	}
}
.slider ul.dedans-dots {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: block;
	padding: 20px 0;
	margin: 0;
	text-align: center;
}
.slider ul.dedans-dots li {
	position: relative;
	padding: 0;
	list-style: none;
	display: inline-block;
	margin: 0 5px;
}
.slider ul.dedans-dots li button {
	position: relative;
	margin: 0;
	background-color: rgba(255, 255, 255, 0.2);
	display: block;
	height: 10px;
	width: 10px;
	border-radius: 5px;
	border: 0;
	padding: 0;
	outline: 0;
	font-size: 0;
}
.slider ul.dedans-dots li.is-active button {
	background-color: #ffffff;
}

/* Blocchi in evidenza */
.blocchi-in-evidenza .wrap {
	position: relative;
	padding: 0 11px;
}
.blocchi-in-evidenza img {
	position: relative;
	max-width: 100%;
	height: auto;
}
.blocchi-in-evidenza .custom-button-container {
	position: absolute;
	width: 100%;
	bottom: 30px;
}

/* Video main visual */
.video-main-visual {
	position: relative;
	margin: 0 auto;
	max-width: 100%;
	padding: 0;
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	height: auto;
}
.video-main-visual:before {
	position: relative;
	content: "";
	display: block;
	width: 100%;
	padding-top: 56.25%;
	z-index: 1;
}
.video-main-visual .overlay-video {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	z-index: 3;
}
.video-main-visual .overlay-video img {
	position: relative;
	width: 30px;
	height: 30px;
	cursor: pointer;
}
.video-main-visual .video-embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.video-main-visual .video-embed video {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Video container / player icon */
.video-container {
	position: relative;
}
.video-container:not(.clicked) .wpb_video_wrapper {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}
.video-container:not(.clicked) .wpb_video_wrapper iframe {
	visibility: hidden;
}
.video-container .wpb_video_wrapper iframe {
	width: 100% !important;
	height: 100% !important;
}
.player-icon {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.player-icon img {
	position: relative;
	max-width: 200px;
	cursor: pointer;
}
.video-container.clicked .player-icon {
	display: none;
}

/* Responsive — corporate hero */
@media all and (max-width: 1080px) {
	.wrap.titolo-immagine-corporate-column-2 {
		padding: 0 30px;
	}
}

/* Responsive — 991px */
@media all and (max-width: 991px) {
	.catalogo {
		padding: 60px 0;
		background-position: bottom right;
		background-size: 0 0, auto 100%;
	}

	.grid-images-text div:not(:has(.codice-materiale)) figure,
	.materiali div:not(:has(.codice-materiale)) figure {
		margin-bottom: 30px;
	}

	.grid-images-text div:has(.codice-materiale) .codice-materiale,
	.materiali div:has(.codice-materiale) .codice-materiale {
		margin-bottom: 30px;
	}

	.archive.category h1 {
		padding: 60px 0;
		font-size: 30px !important;
		line-height: 42px !important;
	}

	.archive.category .grid-blog {
		padding: 0 0 60px 0;
	}

	.slider {
		height: 50vh;
		padding: 0 !important;
	}
	.slider .dedans-slider--initialized .dedans-slide .wrap {
		background-size: 150% auto;
	}
	@keyframes zoom {
		100% {
			background-size: 170% auto;
		}
	}

	.blocchi-in-evidenza .wrap {
		padding: 0;
		margin-bottom: 30px;
	}
}

/* Responsive — 767px */
@media all and (max-width: 767px) {
	.catalogo p {
		font-size: 14px;
		margin-bottom: 15px;
	}

	.contatti a {
		font-size: 16px;
		margin-bottom: 5px;
	}
	.contatti .dedans-icon {
		margin-right: 10px;
		font-size: 16px;
	}

	.wrap.titolo-immagine-corporate-column-2 {
		padding: 0px;
	}
	.wrap.titolo-immagine-corporate-column-1 {
		padding: 60px;
		max-width: 100%;
		text-align: center;
	}
	.wrap.titolo-immagine-corporate-column-1 * {
		display: block;
	}
	.wrap.titolo-immagine-corporate-column-1 h1 {
		font-size: 20px;
		text-transform: uppercase;
		margin-bottom: 20px;
		letter-spacing: 2px;
	}
	.wrap.titolo-immagine-corporate-column-1 p {
		font-size: 16px;
	}
	.wrap.titolo-immagine-corporate-column-1 h1.comma:after {
		display: none;
	}
	.wrap.titolo-immagine-corporate-column-2 {
		padding-left: 0px;
		padding-right: 0px;
	}

	.slider {
		height: auto;
	}
	.slider .dedans-slider--initialized .dedans-slide--active .wrap:before {
		position: relative;
		content: "";
		display: block;
		width: 100%;
		padding-top: 66%;
	}

	.grid-gallery.progetti .wrap:before {
		background-color: transparent;
	}
	.grid-gallery.progetti .wrap span {
		opacity: 1;
	}

	.blocchi-in-evidenza .wrap {
		margin-bottom: 25px;
	}

	.grid-gallery .wrap {
		margin: 12.5px 0;
		width: 100%;
	}

	.grid-blog, .grid-blog .dedans-col {
		padding: 0 !important;
	}
	.grid-blog .dedans-grid__row {
		margin: 0 !important;
	}

	.grid-images-text figcaption, .materiali figcaption {
		letter-spacing: 0;
		font-size: 14px;
	}
}

/* Responsive — 575px */
@media all and (max-width: 575px) {
	.grid-logos figure {
		padding: 15px 0;
	}
	.catalogo {
		position: relative;
		padding: 30px 0;
	}
}
