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

.max1725 {
	max-width: 1725px !important;
	margin: 0px auto !important;
}

.strongExtraBold strong {
	font-weight: 800;
}


/* -------------------------------------------------------------------------------- */
/* ! MENU
/* -------------------------------------------------------------------------------- */

#headerMenuDesktop {
	max-width: 1725px;
	left: 50%;
	transform: translateX(-50%);
}

#headerMenuDesktop .awb-menu__sub-a:hover,
#headerMenuDesktop .awb-menu__sub-a:focus {
	text-decoration: underline;
}

#socialPushMenu {
	margin: 45px 15px;
	text-align: center;
}

#socialPushMenu img {
	margin: 0px 15px;
}

#headerMenuMobile .menu-text,
#offCanvasMenu .menulinkedin {
	display: none;
}

#headerMenuMobile .fusion-megamenu-image {
	width: 45px;
	height: 45px;
	line-height: 39px;
	text-align: center;
	border-radius: 50%;
	border: 1px solid #fff;
}

@media (min-width : 1200px) and (max-width: 1609px) {
	#headerMenuDesktop .headerCenter {
		max-width: 64%;
		width: 64%;
	}

	#headerMenuDesktop .headerRight {
		max-width: 15%;
	}
}

@media (min-width : 1610px) {
	#headerMenuDesktop .headerCenter {
		max-width: 69%;
		width: 69%;
		padding-left: 5%;
		padding-right: 5%;
	}

	#headerMenuDesktop .headerRight {
		max-width: 10%;
	}
}

@media (min-width : 1800px) {
	#headerMenuDesktop {
		padding-left: 0px;
		padding-right: 0px;
	}
}

@media (max-width: 1199px) {
	#headerMenuDesktop {
		display: none;
	}
}

@media (min-width: 1200px) {
	#headerMenuMobile {
		display: none;
	}

	.awb-menu__sub-ul .current-menu-item a {
		text-decoration: underline;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! FOOTER
/* -------------------------------------------------------------------------------- */

#wrapper {
	display: flex; 
	min-height: 100vh;
	flex-direction: column;
}
#wrapper #main {
	flex: 1;
}

/* -------------------------------------------------------------------------------- */
/* ! LINEE VERTICALI
/* -------------------------------------------------------------------------------- */

.line-grid-wrap {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

span.line-grid-1 {
	position: absolute;
	left: 10%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgb(255 255 255 / 12%);
}

span.line-grid-2 {
	position: absolute;
	left: 30%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgb(255 255 255 / 12%);
}

span.line-grid-3 {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgb(255 255 255 / 12%);
}

span.line-grid-4 {
	position: absolute;
	left: 70%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgb(255 255 255 / 12%);
}

span.line-grid-5 {
	position: absolute;
	left: 90%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgb(255 255 255 / 12%);
}

/* -------------------------------------------------------------------------------- */
/* ! HOME PAGE
/* -------------------------------------------------------------------------------- */

#headerHomeAbsolute2 {
	overflow: hidden;
}

#headerHomeAbsolute2 #struttura {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

#headerHomeAbsolute2 #omino {
	position: absolute;
	left: 50%;
	bottom: -40px;
}

#headerHomeTestoInterno {
	max-width: 1460px;
	margin: 0px auto;
}

#headerHomeTestoInterno h1 {
	font-size: 100px !important;
	line-height: 100px;
	font-weight: 300;
	text-transform: uppercase;
	margin-left: -5px !important;
}

#headerHomeTestoInterno h1 strong {
	display: block;
	font-size: 150px !important;
	line-height: 150px;
	font-weight: 800;
}

.preTitolo .title-heading-tag {
	padding-left: 40px !important;
	position: relative;
}

.preTitolo .title-heading-tag::before {
	content: '';
	display: block;
	width: 30px;
	height: 2px;
	background-color: #85aecf;
	position: absolute;
	left: 0px;
	top: 10px;
}

.fusion-button {
	font-weight: 400 !important;
}

.fusion-button {
	background-image: url(img/frecciaButton.svg) !important;
	background-repeat: no-repeat !important;
	background-size: 25px 5px !important;
	background-position: 93% center !important;
}

.boxRealizzazioni {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 43px 30px 0;
	margin-bottom: 73px !important;
	filter: drop-shadow(5.448px 10.692px 25px rgba(0, 32, 92, 0.08));
	max-width: 350px;
	cursor: pointer;
}

@media (min-width: 700px) and (max-width : 767px) {
	.fusion-layout-column.boxRealizzazioni {
		width: 50% !important;
		margin-left: 25% !important;
		margin-right: 25% !important;
		max-width: 50% !important;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.boxRealizzazioni {
		width: 30% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.boxRealizzazioni.centro {
		margin-left: 15px !important;
		margin-right: 15px !important;
	}

	.boxRealizzazioni .titolo {
		height: 84px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.boxRealizzazioni {
		width: 31% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.boxRealizzazioni.centro {
		margin-left: 10px;
		margin-right: 10px;
	}
}

@media (min-width: 1200px) and (max-width: 1599px) {
	.boxRealizzazioni.centro {
		margin-left: 40px;
		margin-right: 40px;
	}
}

@media (min-width : 1600px) {
	.boxRealizzazioni.centro {
		margin-left: 80px;
		margin-right: 80px;
	}
}

.boxRealizzazioni .titolo {
	margin-bottom: -15px;
	transition: .5s;
	position: relative;
}

.boxRealizzazioni .titolo p {
	margin-bottom: 0px;
}

.boxRealizzazioni:before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #171c30;
	border-radius: 8px;
	transform-origin: top;
	transform: scaleY(0);
	transition: .8s ease-in-out;
	opacity: 1;
}

.boxRealizzazioni>.fusion-column-wrapper>div:nth-child(3) {
	position: relative;
	margin: 0 -20px;
	overflow: hidden;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	transform: translateY(43px);
}

.boxRealizzazioni>.fusion-column-wrapper>div:nth-child(3) img {
	width: 100%;
}

.boxRealizzazioni .read-more {
	position: absolute;
	left: 0px;
	bottom: -50px;
	opacity: 0;
	transform: translateX(-10px);
	transition: .8s;
	transition-delay: .3s;
}

.boxRealizzazioni>.fusion-column-wrapper>div:nth-child(3):before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #85aecf;
	opacity: .9;
	transform: scaleY(0);
	transition: .7s;
	z-index: 10;
}

.boxRealizzazioni:hover>.fusion-column-wrapper>div:nth-child(3):before {
	transform: scale(1);
}

.boxRealizzazioni:hover .read-more {
	opacity: 1;
	transform: translateX(10px);
}

.boxRealizzazioni:hover .titolo {
	color: #fff;
}

.boxRealizzazioni:hover:before {
	opacity: 1;
	transform: scaleY(1);
}

.fusion-progressbar-text-above-bar .progress-title {
	display: flex !important;
	justify-content: space-between !important;
	font-weight: 700 !important;
	width: 100% !important;
}

@media (min-width : 1600px) {
	#percheSceglierci .fusion-layout-column {
		width: 47% !important;
	}
}

#caroselloLoghiHome .fusion-carousel-item-wrapper {
	padding-left: 40px !important;
	padding-right: 40px !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
	border: 1px solid #85aecf !important;
}

@media (min-width : 768px) {

	.home .wpcf7-form input,
	.home .wpcf7-form textarea {
		max-width: 90%;
	}
}

::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #172b56 !important;
	opacity: 1 !important;
	/* Firefox */
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #172b56 !important;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #172b56 !important;
}

.wpcf7-list-item {
	margin: 0px;
	font-size: 15px;
}

.wpcf7-list-item a {
	text-decoration: underline;
}

.wpcf7-list-item a:hover,
.wpcf7-list-item a:focus {
	text-decoration: none;
	color: #172b56 !important;
}

input.wpcf7-submit {
	padding: 13px 70px;
	background-color: #23678e !important;
	border-color: #23678e !important;
	background-image: url(img/frecciaButton.svg) !important;
	background-repeat: no-repeat !important;
	background-size: 25px 5px !important;
	background-position: 93% center !important;
	text-transform: uppercase !important;
	font-weight: 300 !important;
}

input.wpcf7-submit:hover,
input.wpcf7-submit:focus {
	background-color: #172b56 !important;
}

@media (min-width: 768px) and (max-width: 991px) {
	#headerHomeTestoInterno h1 {
		font-size: 80px !important;
		line-height: 80px;
	}

	#headerHomeTestoInterno h1 strong {
		font-size: 120px !important;
		line-height: 120px;
	}

	#headerHomeAbsolute2 #struttura {
		bottom: -170px;
		right: -70px;
	}
}

@media (max-width : 767px) {
	#headerHomeTestoInterno h1 {
		font-size: 50px !important;
		line-height: 50px;
	}

	#headerHomeTestoInterno h1 strong {
		font-size: 80px !important;
		line-height: 80px;
	}

	#headerHomeAbsolute2 #struttura {
		bottom: -170px;
		right: -170px;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! CHI SIAMO
/* -------------------------------------------------------------------------------- */

@media (min-width : 1750px) {
	#chisiamoImgTesto .fusion-builder-row {
		align-items: center;
	}

	#chisiamoImgTesto .right {
		padding-right: 10%;
	}
}

#chisiamoBoxColorati .fusion-builder-row {
	display: grid !important;
}

#boxMission {
	justify-self: flex-end !important;
}

@media (min-width : 1600px) {
	#boxMission {
		margin-right: -11.5%;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! COSA FACCIAMO
/* -------------------------------------------------------------------------------- */

.boxCosaFacciamo .bgBiancoAbsolute {
	width: 350px;
	height: 400px;
	background-color: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
}

.boxCosaFacciamo .titolo {
	position: relative;
}

.boxCosaFacciamo .testo {
	max-width: 317px;
	margin: 0px auto;
}

@media (min-width: 992px) and (max-width: 1199px) {
	.boxCosaFacciamo .bgBiancoAbsolute {
		width: 310px;
	}

	.boxCosaFacciamo .titolo {
		font-size: 28px;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! REALIZZAZIONI
/* -------------------------------------------------------------------------------- */

.caroselloImmaginiRealizzazioni .fusion-image-wrapper {
	width: 100%;
}

.caroselloImmaginiRealizzazioni img {
	width: 100%;
	height: 425px;
	object-fit: cover;
	object-position: center bottom;
}

.caroselloImmaginiRealizzazioni .flex-control-nav {
	display: none !important;
}

.caroselloImmaginiRealizzazioni .flex-prev,
.caroselloImmaginiRealizzazioni .flex-next {
	opacity: 1 !important;
}