/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.fullwidth-box {
	padding-left: 4vw !important;
	padding-right: 4vw !important;
}

.link-underline a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

/* -------------------------------------------------------------------------------- */
/* ! header
/* -------------------------------------------------------------------------------- */

@media (min-width : 992px) {
	.fusion-tb-header .fusion-fullwidth.fusion-sticky-transition {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! footer
/* -------------------------------------------------------------------------------- */

#main {
	margin-bottom: 623px;
}

.fusion-footer {
	width: 100%;
	color: #e4e4e3;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -1;
}

.fusion-footer label.elementi {
	display: flex;
	margin-bottom: 5px;
}

.fusion-footer input.wpcf7-form-control {
	background-color: transparent;
	padding: 0px;
	font-size: 22px;
	color: #e4e4e3;
	border: none;
	border-bottom: 2px solid #e4e4e3;
	border-radius: 0px;
}

.fusion-footer .wpcf7-submit {
	background-color: transparent !important;
	color: #e4e4e3 !important;
	padding-right: 0px !important;
	border-bottom: 2px solid #e4e4e3 !important;
	font-size: 22px !important;
	padding-top: 11px !important;
	padding-bottom: 11px !important;
}

.fusion-footer ::placeholder {
	color: #e4e4e3;
	opacity: 1;
	/* Firefox */
}

.fusion-footer ::-ms-input-placeholder {
	/* Edge 12 -18 */
	color: #e4e4e3;
}

.wpcf7-list-item {
	margin-left: 0px;
	font-size: 14px !important;
}

.wpcf7-list-item input {
	margin-top: -2px !important;
	margin-left: 0px !important;
	border: none !important;
	border-radius: 0px !important;
}

.fusion-footer #social a:last-child {
	margin-left: 30px;
}

#footer-b2 .testo-2 {
	display: none !important;
}

@media (max-width: 1314px) {
	.fusion-footer .wpcf7-submit {
		padding-bottom: 10px !important;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	#main {
		margin-bottom: 693px;
	}

	#footer-b1 {
		width: 40% !important;
	}

	#footer-b2 .testo-2 {
		display: block !important;
	}

	#footer-b3 {
		display: none !important;
	}

	#footer-b2 {
		width: 35% !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {

	.fusion-footer input.wpcf7-form-control,
	.fusion-footer .wpcf7-submit,
	.fusion-footer .fusion-text {
		font-size: 18px !important;
	}

	#main {
		margin-bottom: 669.3px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#footer-b2 {
		padding-top: 79.188px;
	}

	#main {
		margin-bottom: 664.859px;
	}
}

@media (max-width : 767px) {
	#main {
		margin-bottom: 500px;
	}

	.fusion-footer input.wpcf7-form-control,
	.fusion-footer .wpcf7-submit,
	.fusion-footer .fusion-text {
		font-size: 18px !important;
	}

	.fusion-footer {
		overflow-y: scroll;
		height: auto !important;
		max-height: 500px;
	}

	.fusion-footer p {
		margin-top: 0px !important;
	}

	.fusion-footer .fusion-layout-column {
		margin-bottom: 0px !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! HP
/* -------------------------------------------------------------------------------- */

#hp-testo-intro {
	max-width: 1600px;
}

.testo-intro-home p {
	margin-bottom: 0 !important;
}

#hp-progetti-testo .colonna,
#hp-inside .colonna {
	max-width: 1400px;
}

#hp-progetti-carousel.fullwidth-box {
	padding-right: 0px !important;
}

#post-hp.fullwidth-box {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#post-hp .colonna>.fusion-column-wrapper {
	height: 100vh;
	padding-left: 4vw !important;
	padding-right: 4vw !important;
	position: relative;
}

#post-hp .colonna>.fusion-column-wrapper>.fusion-builder-row {
	position: sticky;
	position: -webkit-sticky;
	top: 180px;
}

#post-hp .hp-servizi-titolo {
	max-width: 500px;
}

.hp-servizi-titolo p {
	margin-bottom: 0 !important;
}

#hp-bruni .fusion-button,
#hp-spazio .fusion-button,
#post-hp .fusion-button,
#hp-catalogo .fusion-button,
#hp-progetti-testo .fusion-button,
#hp-inside .fusion-button,
#hp-intro  .fusion-button {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

@media (min-width : 768px) {
	#hp-intro .fusion-text br {
		display: none !important;
	}
}

@media (min-width: 2000px) {
	.carousel-slider-outer-5387 .carousel-slider {
		margin-left: -25px;
	}

	#hp-intro .fusion-text br.visible-desktop-big {
		display: block !important;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	#hp-intro,
	#hp-progetti-testo,
	#hp-inside {
		padding-top: 100px !important;
		padding-bottom: 50px !important;
	}

	#hp-intro .fusion-text,
	#hp-progetti-testo .fusion-text,
	#hp-inside .fusion-text {
		font-size: 55px !important;
	}

	#hp-intro .fusion-text {
		margin-bottom: 100px !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#hp-intro,
	#hp-progetti-testo,
	#hp-inside {
		padding-top: 100px !important;
		padding-bottom: 50px !important;
	}

	#hp-intro .fusion-text,
	#hp-progetti-testo .fusion-text,
	#hp-inside .fusion-text {
		font-size: 50px !important;
	}

	#hp-intro .fusion-text {
		margin-bottom: 100px !important;
	}
}

@media (max-width : 767px) {
	#hp-header .fusion-title {
		font-size: 70px;
		line-height: 1.5;
	}

	#hp-header .fusion-builder-row {
		align-items: flex-end;
	}

	#hp-intro,
	#hp-inside {
		padding-top: 80px !important;
		padding-bottom: 40px !important;
	}

	#hp-intro .fusion-text,
	#hp-progetti-testo .fusion-text,
	#hp-inside .fusion-text {
		font-size: 22px !important;
		line-height: 1.2;
	}

	#hp-intro .fusion-text {
		margin-bottom: 80px !important;
	}

	#hp-intro .fusion-text p {
		margin-bottom: 0px !important;
	}

	#hp-intro .fusion-button {
		font-size: 18px !important;
	}

	.hp-servizi-titoletto {
		font-size: 20px !important;
	}

	.hp-servizi-titolo {
		font-size: 28px !important;
	}

	.hp-servizi-titolo p {
		margin-bottom: 0px !important;
	}

	.hp-servizi-bottone {
		font-size: 16px !important;
	}

	#hp-bruni,
	#hp-spazio {
		background-position: 35% 0;
	}

	#hp-progetti-testo {
		padding-top: 3em !important;
		padding-bottom: 0px !important;
	}

	#hp-progetti-testo .fusion-text,
	#hp-inside .fusion-text {
		margin-top: 20px !important;
		margin-bottom: 40px !important;
	}

	#hp-progetti-carousel {
		padding-bottom: 2.5em !important;
	}

	#hp-catalogo {
		background-position: 20% 0;
	}

	#hp-inside {
		padding-bottom: 20px !important;
	}

	#hp-intro .fusion-text br.visible-desktop-big {
		display: none !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Bruni / Spazio 
/* -------------------------------------------------------------------------------- */

@media (min-width : 768px) {
	.titolo-spazio br,
	.titolo-bruni br {
		display: none !important;
	}
}

@media (max-width : 767px) {
	.page-id-5562 .prodotto-elenco .immagine {
		height: 400px !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Progetti 
/* -------------------------------------------------------------------------------- */

.fullwidth-box.prodotto-elenco {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#progetti-intro, .testo-intro, .max-1600 {
	max-width: 1600px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (min-width: 992px) and (max-width: 1399px) {
	#progetti-intro .fusion-text {
		font-size: 25px !important;
	}

	.prodotto-elenco .testo .fusion-column-wrapper {
		padding: 15% 8%;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	#header-interna .title {
		font-size: 70px !important;
	}
}

@media (max-width: 991px) {
	#header-interna .title {
		font-size: 70px !important;
	}

	#progetti-intro {
		padding-top: 100px !important;
		padding-bottom: 50px !important;
	}

	#progetti-intro .fusion-title {
		font-size: 30px !important;
	}

	#progetti-intro .fusion-text {
		font-size: 22px !important;
	}
}

@media (max-width : 767px) {
	#header-interna .title,
	#header-interna .title p {
		font-size: 30px !important;
		line-height: 1.4 !important;
	}

	#progetti-intro .fusion-text {
		font-size: 18px !important;
	}

	#progetti-intro h2 {
		font-size: 28px !important;
	}

	.prodotto-elenco .fusion-text {
		font-size: 18px !important;
	}

	.prodotto-elenco .fusion-title {
		font-size: 32px !important;
	}
}

.page-id-5447 .carousel-slider .carousel-slider__item img {
    height: 770px;
    max-width: none;
    /* width: auto; */
    object-fit: cover;
    min-width: 100%;
    place-content: center;
    object-position: center center;
}

@media (max-width : 767px) {
	.page-id-5447 .carousel-slider .carousel-slider__item img {
		height: 400px;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Inside Bruni 
/* -------------------------------------------------------------------------------- */

#timeline-verticale .fusion-builder-row {
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

#timeline-verticale .icon {
	opacity: 0 !important;
	max-width: 50px;
}

#timeline-verticale .fusion-content-boxes .fusion-column {
	padding-left: 0px;
	padding-right: 0px;
}

#timeline-verticale .content-box-shortcode-timeline-vertical {
	border-color: #000 !important;
	left: 0 !important;
}

#timeline-verticale .content-box-column-1 .heading {
	margin-top: 61px !important;
}

#timeline-verticale .content-box-column-1 .content-box-shortcode-timeline-vertical {
	top: 0px !important;
	height: calc(100% + 70px);
}

#timeline-verticale .content-box-column-last .content-box-shortcode-timeline-vertical {
	display: block;
}

#timeline-verticale .heading {
	font-weight: 700;
}

#timeline-verticale .content-container {
	border-top: 1px solid #000;
	padding-top: 15px;
	padding-left: 50px;
}

#timeline-verticale h3 {
	font-size: 28px !important;
	margin-bottom: 25px;
}

@media (max-width: 991px) {
	.testo-intro {
		padding-top: 100px !important;
		padding-bottom: 50px !important;
	}

	.testo-intro .fusion-text {
		font-size: 30px !important;
	}
}

@media (max-width : 800px) {
	#timeline-verticale .content-box-column-1 .content-box-shortcode-timeline-vertical {
		top: -61px !important;
		height: calc(100% + 140px);
	}

	#timeline-verticale .icon {
		max-width: 30px;
	}

	#timeline-verticale .content-container {
		padding-left: 30px;
	}
}

@media (max-width : 767px) {
	.testo-intro .fusion-text {
		font-size: 22px !important;
	}

	#fine-timeline-mobile {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! News
/* -------------------------------------------------------------------------------- */

.single-post h1 br {
	display: none;
}

@media (min-width: 1600px) {
	#elenco-news .fusion-post-card-image img {
		width: 100%;
		height: 800px;
		object-fit: cover;
	}
}

@media (min-width: 992px) and (max-width: 1599px) {
	#elenco-news .fusion-post-card-image img {
		width: 100%;
		height: 550px;
		object-fit: cover;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#elenco-news .fusion-post-card-image img {
		width: 100%;
		height: 450px;
		object-fit: cover;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Dettaglio Articolo
/* -------------------------------------------------------------------------------- */

#titolo-post .fusion-builder-row,
#contenuto-post .fusion-builder-row {
	max-width: 1920px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width : 767px) {
	.single-post .fusion-title {
		font-size: 35px !important;
	}

	.single-post .fusion-column-wrapper {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.single-post .fusion-column-wrapper .fusion-fullwidth {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}