:root {
	--bs-body-font-family: "Catamaran", sans-serif;
	--bs-body-font-size: 17px;
	--bs-body-line-height: normal;
	--bs-body-color: #222F69;
	
	--grigio: #EAEDF2;
	--color1: #222F69;
	--bianco: #FFFFFF
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
	--bs-gutter-x: calc(36px * 2);
}
.row {
	--bs-gutter-x: 30px;
}
@media (min-width: 1700px) {
	.container { max-width: 1640px; }
}

html, body {
	overflow-x: hidden;
}

img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.h100 {
	height: 100%;
}

.c1 {
	color: var(--color1);
}

.f-bold9{
	font-weight: 900;
}

.f-bold {
	font-weight: 700;
}

.f-64 { font-size: 30px; }
.f-35 { font-size: 25px; }
.f-30 { font-size: 22px; }
.f-26 { font-size: 22px; }
.f-20 { font-size: 18px; }
@media (min-width: 1200px) {
	.f-64 { font-size: 64px; }
	.f-35 { font-size: 35px; }
	.f-30 { font-size: 30px; }
	.f-26 { font-size: 26px; }
	.f-20 { font-size: 20px; }
}

.bg1 {
	background-color: var(--color1);
	color: #fff;
}

.cta {
	display: inline-flex;
	align-items: center;
	font-weight: 800;
	color: var(--color1);
	text-decoration: none;
	text-transform: uppercase;
}
.cta.cta-w {
	color: #fff;
}
.cta:hover {
	text-decoration: underline;
}

.cta svg,
.cta img {
	max-height: 23px;
	margin-right: 10px;
}
.cta svg circle { fill: var(--color1); }
.cta.cta-w svg circle { fill: #fff; }
.cta.cta-w svg path { stroke: var(--color1); }


.img-shadow {
	--img-shadow-offset: 16px;
	box-shadow: calc(var(--img-shadow-offset)*-1) var(--img-shadow-offset) 0 var(--color1);
	margin-left: var(--img-shadow-offset);
	max-width: calc( 100% - var(--img-shadow-offset) );
}
@media (min-width: 1200px) {
	.img-shadow { --img-shadow-offset: 35px; }
}



#sezione1 {
	position: relative;
	background: url("../img/sfondo-header-f&f.png");
	background-size: cover;
	background-repeat: no-repeat;
	/*overflow: hidden;*/
}

.logo {
	max-height: 195px;
	position: relative;
	@media(max-width: 576px){
		margin-left: 20%;
	}
}

#sezione1 .content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	max-width: 500px;
	position: relative;
	z-index: 10;
}

#section-2 {
	position: relative;
	background: linear-gradient(90deg, rgba(34, 47, 105, 0.70) 0%, rgba(34, 47, 105, 0.4) 100%);
	z-index: 1;
	width: 100%;
	color: var(--bianco);
}

@media (min-width: 992px) {
	#section-2 {
		position: absolute;
		bottom: 0;
		left: 0;
		background: linear-gradient(90deg, rgba(34, 47, 105, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%);
		z-index: 1;
		width: 100%;
		color: var(--bianco);
	}
}

#section-2 h1 {
	margin-bottom: 20px;
}

#section-2 p:not(.occhiello) {
	font-size: 17px;
	margin-bottom: 0;
}

@media (min-width: 992px) {
	#sezione1 .sfondo {
		position: absolute;
		top: 100px;
		left: 0;
		max-height: calc(100% - 100px);
		width: auto;
	}
}



#form {
	position: relative;
	z-index: 10;
	background-color: var(--bianco);
	box-shadow: 0px 6px 23.1px -1px rgba(0, 0, 0, 0.25);
}
#form > .row { position: relative; z-index: 0; }

@media (max-width: 991px) {
	#form {
		margin: 0 30px;
		width: calc(100% - 60px);
	}
}

#form label {
	display: block;
	width: 100%;
	color: #000;
	font-weight: 400;
}

#form label .required {
	color: #242424;
}

#form input:not([type="checkbox"], [type="radio"]),
#form select,
#form textarea {
	display: block;
	width: 100% !important;
	border: 0.5px solid #242424;;
	height: 45px;
	margin-top: 5px;
	padding: 10px 20px;
	margin-bottom: 29px;
	border-radius: 20px;
}

#form select {
	-webkit-appearance: none;
	appearance: none;
}

#form textarea {
	height: unset;
}

#form .p-relative {
	position: relative;
}

#form .p-relative:after {
	content: '\f078';
	font-weight: 900;
	font-family: "Font Awesome 6 Free";
	position: absolute;
	transform: translate(-50%, -50%);
	right: 12px;
	bottom: 10%;
	pointer-events: none;
}

#form input::placeholder {
	opacity: .6;
}

#form input[type="checkbox"] {
	margin: 7px 0 0 0;
}

#form a {
	color: inherit;
}

#form .errore {
	background: #FF0046;
	color: #fff;
	padding: 5px 15px;
}

.btn, input[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: fit-content;
	height: 48px;
	background: var(--bs-body-color);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border-radius: 40px;
	padding: 10px 25px;
}

.btn-2 {
	background: #E30616;
}

.btn:hover, input[type="submit"]:hover {
	background: #000;
}



#sezione2 {
	padding: 3rem 0;
	background-image: url("../img/bg-iniziamo-a-costruire.png");
	background-repeat: no-repeat;
	object-fit: cover;
	background-size: cover;
	height: 1050px;
	background-position: bottom;
	@media(max-width: 576px){
		height: unset;
		background-position: bottom;
	}
}

#sezione2 h2 {
	text-align: center;
}

#sezione2 .card-soluzione {
	border-radius: 47px;
	border: 1px solid #222F69;
	background: #FFF;
	box-shadow: 0px 4px 12.6px 7px rgba(0, 0, 0, 0.25);
	display: flex;
	padding: 44px 37px;
	flex-direction: column;
	align-items: flex-start;
	gap: 13px;
	flex-shrink: 0;
	height: 100%;
}

#sezione2 .card-soluzione .card-description {
	color: #242424;
}

#sezione2 .owl-carousel .owl-item .card-soluzione {
	box-shadow: none;
	margin-left: 3px;
}

#sezione2 .owl-carousel .owl-item .card-soluzione img {
	width: unset;
}

#sezione3 {
	text-align: center;
}

.owl-carousel .owl-item .card-progetti img {
	display: block;
	height: 300px;
	object-fit: cover;
}

#sezione3 .owl-item {
	width: 100%;
}

.card-vantaggi hr {
	display: block;
	width: 70px;
	border: 0;
	border-top: 10px solid var(--color1);
	margin: 25px auto;
	opacity: 1;
}


#sezione4 {
	color: #242424;
}


#sezione5 {
	background: rgb(229,225,230);
	background: linear-gradient(90deg, rgba(229,225,230,1) 0%, rgba(255,255,255,1) 100%);
	position: relative;
}
#sezione5 .container {
	position: relative;
	z-index: 10;
}
#sezione5 ul {
	padding: 0;
	list-style: none;
	--bs-gutter-x: 30px;
}
#sezione5 ul li {
	position: relative;
	padding: 0 25px;
}
#sezione5 ul li:before {
	content: '';
	display: block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--color1);
}
@media (min-width: 1200px) {
	#sezione5 .sfondo {
		position: absolute;
		bottom: 0;
		right: 0;
	}
}
@media (min-width: 1700px) {
	#sezione5 .sfondo { max-height: 130%; }
}


#sezione6 {
	/*background: url('../img/sfondo-progetti.png');
	background-repeat: no-repeat;
	background-size: cover;*/
	background-color: #E7E6E6;
}

#sezione6 .card-chi-siamo {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#sezione6 .card-chi-siamo img {
	margin-bottom: 20px;

}

#sezione6 .card-chi-siamo p {
	margin-bottom: 35px;
	color: #242424;
}

@media (min-width: 992px) {
	#sezione6 .card-chi-siamo p {
		margin-bottom: 15px;
	}
}


#footer {
	color: #242424;
	--bs-link-color-rgb: #242424;
	--bs-link-hover-color-rgb: #242424;
}

#footer .logo {
	margin-bottom: 35px;
}

#footer a:not(:hover) { text-decoration: none; }

#footer .social {
	display: flex;
	flex-wrap: wrap;
	--social-bg: #242424;
	--social-color: #fff;
}
#footer .social a {
	width: 37px;
	height: 37px;
	background: var(--social-bg);
	border-radius: 50%;
	margin-right: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#footer .social svg { width: 19px; height: 19px; }
#footer .social path { fill: var(--social-color); }
#footer .social a:hover { background: #E30616; }
#footer .social a:hover path { fill: var(--bianco); }

.inputs-list {
	list-style: none;
	padding: 0;
}

.inputs-list p, .hs-richtext p {
	font-size: 14px;
	line-height: 18px;
}


.btn.download {
	display: inline-flex;
	padding: 0 30px;
	align-items: center;
	text-decoration: none;
	text-transform: uppercase;
}


.owl-carousel {}
.owl-carousel.owl-overflow-visible .owl-stage-outer {
	overflow: visible;
}

.owl-carousel .owl-stage-outer .owl-stage {
	display: flex;
}

.owl-carousel .owl-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 35px;
}
.owl-carousel .owl-dots .owl-dot {
	display: block;
	width: 12px;
	height: 12px;
	border: 1px solid var(--color1);
	background: #fff;
	border-radius: 50%;
	margin: 0 7px;
	flex-shrink: 0;
}
.owl-carousel .owl-dots .owl-dot.active {
	background: var(--color1);
}

.d-lg-none > .owl-carousel > .owl-dots > .owl-dot.active{
	background-color: white;
}

.d-lg-none > .owl-carousel > .owl-dots > .owl-dot{
	display: block;
	width: 12px;
	height: 12px;
	border: 1px solid white;
	background: transparent;
	border-radius: 50%;
	margin: 0 7px;
	flex-shrink: 0;
}

/*CSS Aggiunto da Gio */
.ms_card-title{
	line-height: 26px;
}

.ms_btn{
	border: 1px solid white;
	background-color: transparent;
	color: white;
}

.text-white{
	color: white;
	font-size: 50px;
	font-weight: 800;
	@media(max-width: 576px){
		font-size: 35px;
	}
}

.ms_mt{
	margin-top: 200px;
	@media(max-width: 992px){
		margin-top: 140px;
	}
	@media(max-width: 576px){
		margin-top: unset;
	}
}

.f_6{
	font-weight: 600;
}


#sezione3 .owl-carousel .owl-stage-outer {
	overflow: visible; /* visibilità fuori bordo */
}

#sezione3 .owl-carousel .owl-stage {
	display: flex;
}

#sezione3 > .owl-carousel > .owl-dots {
	max-width: 1200px;
	margin: 20px auto 0 auto;
	display: flex;
	justify-content: center;
}

.mt-costruzioni-generali{
	margin-top: 50px;
}

#sezione3 .owl-carousel .owl-item .card-progetti img{
	display: block;
	height: 400px;
	object-fit: cover;
	object-position: center;
}

.ms_btn-over:hover{
	background-color: transparent;
	border: 1px solid #30347A;
	color: #30347A;
}

.ms_line-height{
	line-height: 32px;
}

.wrapper{
	display: flex;
	flex-direction: column;
}

#sezione1{
	order: 1;
}

#sezione-2{
	order: 2;
}

@media(max-width: 576px){
	#sezione1{
		order: 2;
	}

	#sezione-2{
		order: 1;
	}
}

.text-center-sm{
	@media(max-width: 576px){
		text-align: center;
	}
}