
.carrozzeria-li{
	order: -60;
}

.meccatronica-li{
	order: -55;
}

.officinameccanica-li{
	order: -50;
}

.elettrauto-li{
	order: -40;
}

.pneumatici-li{
	order: -30;
}

.centrocristalli-li{
	order: -25;
}



.assistenzaflotte-li{
	order: -10;
}

.curadelveicolo-li{
	order: 0;
}

.serviziextra-li{
	order: 0;
}







	.mod-servizi-overview {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		flex-wrap: wrap;
		gap: 30px;
		margin: 0 auto;
		padding: 0;
		max-width: 1279px;

		@media screen and (max-width: 1279px) {
			grid-template-columns: repeat(2, 1fr);
		}

		@media screen and (max-width: 767px) {
			grid-template-columns: repeat(1, 1fr);
		}

		& > div {
			display: flex;
			flex-direction: column;
			position: relative;

			& img {
				width: 100%;
				aspect-ratio: 2 / 1;
				object-fit: cover;
				object-position: center;
			}

			& a.categoryNameLink {

				@media (max-width: 979px) {
					position: absolute;
					top: 15px;
					left: 15px;
				}


				& h4 {
					font-size: 1.1rem;
					margin: 0px 0 5px;
					color: #fff;
					text-transform: uppercase;
					position: relative;
					z-index: 10;
					left: 15px;
					top: -50%;
					background-color: var(--secondary-color);
					padding: 5px 10px;
					border-radius: 5px;
					max-width: max-content;
					box-shadow: 3px 7px 10px -7px #000;


				@media (max-width: 979px) {
					top: 0;
					left: 0;
				}

				}
			}

			.elencoServizi {
				display: none;
				margin: -13px 15px 10px auto;


				&:after{
					font-weight: 100;
				}

				&.visible{
					&:after{
						content: '\f107';
					}
				}

				@media (max-width: 979px) {
					display: block;
				}
			}

			& ul.mod-simple-list {
				margin: 0;
				padding: 0;

				@media (max-width: 979px) {
					display: none;
				}

				& li {
					border-bottom: 1px solid var(--grey-300);
					padding-bottom: 7px;
					margin-bottom: 7px;

					& a {
						text-transform: uppercase;
						font-size: 0.8rem;
						font-weight: 600;
						letter-spacing: -0.3px;
						text-wrap: balance;

						& span {
							position: relative;
							padding-left: 20px;
							display: block;

							& i {
								color: var(--secondary-color);
								position: absolute;
								left: 0;
								top: 50%;
								transform: translateY(-50%);
							}
						}
					}
				}
			}
		}
	}






section.noleggiousato{
	padding: 10rem 2rem;

				@media (max-width: 550px) {
					padding: 4rem 2rem;
				}

	.inner{

		display: flex;
		width: 100%;
		overflow: hidden;
		padding: 0 20px 0 20px;

				@media screen and (max-width: 979px){
				padding: 0;
			/* 	max-width: 500px; */
				margin: 0 auto;
    }


		.top{
		display: flex;
		justify-content: space-between;
		align-items: center;
		max-width: 1279px;
		margin: 0 auto;
		gap: 8rem;
		padding: 0px 2rem;

		@media screen and (max-width: 979px){
      flex-direction: column;
				padding: 0;
				align-items: normal;
			gap: 8rem;
    }

						@media (max-width: 550px) {
					gap: 4rem;
				}

		.left{
			flex: 1 1 50%;
			padding: 0;
			display: flex;
			gap: 30px;
			align-items: center;

			@media screen and (max-width: 979px){
				flex-direction: column;
				gap: 60px;
				order: -1;
			}


			& > picture{
				height: 100%;
				flex: 0 1 400px;
				
			display: none;

				@media screen and (max-width: 979px){
					flex: 1 1 auto;
					height: 200px;
					width: 100%;
					order: 1;
				}

				& img{
          height: 100%;
          object-fit: cover;
          object-position: 10% 100%;
          width: 100%;
				}
			}


.content{

	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
				text-align: center;


	@media screen and (max-width: 979px){
		flex: 1 1 auto;
		text-align: center;
	}


				& picture{
				height: 100%;
				flex: 0 1 200px;
				max-height: 150px;

				@media screen and (max-width: 979px){
					flex: 0 0 300px;
					max-height: 300px;

				}

								@media screen and (max-width: 500px){
					flex: 0 0 150px;
					max-height: 150px;

				}

				& img{
          height: 100%;
          object-fit: cover;
          object-position: 100% 70%;
          width: 100%;
				}
			}


		& h2{
			font-size: clamp(1.8rem, 3vw, 2.4rem);
			line-height: 1;
			letter-spacing: -1px;
			margin: 0;
			color: var(--secondary-color);
			text-wrap: balance;
			text-transform: uppercase;
		}

		& h3{
			font-size: 1.1rem;
			color: var(--primary-color);
			line-height: 1.2;
			font-weight: 700;
			margin: 0;
			text-wrap: balance;
			text-transform: uppercase;
						font-family: var(--body-font-family);
						font-weight: 600;

		}

		& p{
			font-size: 0.9rem;
			margin: 0;
			text-wrap: balance;
		}

		& ul{
			margin: 10px 0 0;
			display: flex;
			flex-wrap: wrap;
			gap: 15px;
			justify-content: center;

			& li:last-of-type{
				display: none;
			}

			@media screen and (max-width: 979px){
				justify-content: center;
			}

			@media (max-width: 500px) {
				flex-direction: column;

				& li{

					& a{
						width: 100%;
						max-width: none;
					}
				}
			}

		}

	}


	}

	.right{
		flex: 0 1 40%;
		padding: 0;
		background-color: var(--secondary-color);
		color: #fff;
		padding: 30px;
		display: flex;
		flex-direction: column;
		gap: 10px;
		text-align: center;

		@media (max-width: 979px) {
			flex: 1 1 100%;
			text-align: center;
		}

		& h2{
			font-size: clamp(1.8rem, 3vw, 2.4rem);
			line-height: 1;
			letter-spacing: -1px;
			margin: 0;
			text-wrap: balance;
			text-transform: uppercase;
		}

		& h3{
			font-size: 1.1rem;
			color: var(--primary-color);
			line-height: 1.2;
			margin: 0;
			text-transform: uppercase;
		}

		& p{
			font-size: 0.9rem;
			margin: 0;
		}

		& img{
			max-width: none;
			width: 150%;
			transform: translateX(-16%);

			@media screen and (max-width: 979px){
				max-width: 360px;
				width: 100%;
				transform: translateX(0%);
				margin: 0 auto;
			}

		}

		& a{
			margin: 0 auto;

			@media (max-width: 500px) {
			width: 100%;
			max-width: none;
			}
		}

	}

	}
	}
}



section.numeri{
	padding: 10rem 2rem;
	background-color: var(--secondary-color);
	position: relative;
	isolation: isolate;

		background: linear-gradient(45deg,
				rgb(0, 0, 0, 1) 0%,
				rgb(0, 0, 0, 0.8) 20%,
				rgb(0, 0, 0, 0.85) 40%,
				rgb(0, 0, 0, 0.9) 60%,
				rgb(0, 0, 0, 0.8) 80%,
				rgb(0, 0, 0, 1) 100%);



				@media (max-width:500px){
			padding: 4rem 2rem;
			}


		&:after {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			opacity: 0.02;
			background-size: 10px 10px;
			background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, var(--primary-color) 0, var(--primary-color) 50%);
			z-index: -1;
		}


	.logo{
		margin: 0 auto 6rem;
		max-width: 360px;
		display: block;


				@media (max-width:500px){
			
		max-width: 160px;
		margin-bottom: 3rem;
			}

	}






	.inner{
		display: flex;
		justify-content: space-between;
		max-width: 1279px;
		margin: 0 auto;
		gap: 3rem;
		padding: 0;
		color: #fff;
		position: relative;
		z-index: 1;

		@media (max-width: 1279px) {
			flex-direction: column;
			padding: 0;
			gap: 6rem;
		}

		.left{
			flex: 0 0 440px;
			padding: 0;
			display: flex;
			flex-direction: column;
			gap: 10px;

		@media (max-width: 1279px) {
			flex-direction: column;
			align-items: center;
			text-align: center;
			padding: 0;
			flex: 1 1 auto;
		}

			& img.logo{
				margin: 0;
				max-width: 300px;
				display: none;
			}

				& img.certificato{
					margin: 1rem 0;
					max-width: 360px;
				}



		& h2{
			font-size: clamp(1.6rem, 5vw, 2.4rem);
			line-height: 1.1;
			letter-spacing: -1px;
			margin: 0;
			text-wrap: balance;
			text-transform: uppercase;
			font-weight: 500;

			& span{
				color: var(--secondary-color);
			}

			@media (max-width: 767px) {
				text-align: center;
			}
		}

		& h3{
			font-size: clamp(1rem, 5vw, 1.4rem);
			line-height: 1.2;
			margin: 5px 0;
			text-wrap: balance;
			text-transform: uppercase;
		}

		& p{
			font-size: 0.9rem;
			line-height: 1.4;
			margin: 0;
			text-wrap: balance;
		}

		& a{
			margin: 10px 0 0;

			@media (max-width: 500px) {
				width: 100%;
				max-width: none;
				align-items: flex-start;
				}
		}




	}

	.right{
		flex: 0 1 800px;
		padding: 0;
		color: hsl(0, 0%, 100%);
		padding: 0 2rem;
		display: flex;
		flex-direction: column;
		gap: 30px;
		border-radius: 20px;

		@media (max-width: 1279px) {
			flex: 1 1 auto;
			align-items: center;
			text-align: center;
			padding: 0;
		}


		@media (max-width:500px){
			display: none;
			}


		& h2{
			font-size: clamp(1.6rem, 5vw, 2.4rem);
			line-height: 1.1;
			letter-spacing: -1px;
			margin: 0;
			text-transform: uppercase;
			text-wrap: balance;
			display: flex;
			flex-direction: column;
			color: #fff;
			font-weight: 500;

			& span{
				color: var(--secondary-color);
			}
		}

		& ul{
			display: grid;
			/* grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); */
			grid-template-columns: repeat(3, minmax(min(150px, 100%), 1fr));
			gap: 2rem;
			text-align: left;

			@media (max-width:767px){
		grid-template-columns: repeat(2, 1fr);
			}





			& li{
				display: flex;
				flex-direction: column;
				gap: 5px;
				flex: 0 1 160px;


				& span:nth-child(1){
					color: #fff;
					font-size: 2.6rem;
					font-weight: 700;
					line-height: 1;
					font-family: var(--title-font);

			@media (max-width:767px){
					/* font-size: 1.2rem; */
			}

				}
				& span:nth-child(2){
					font-size: 0.8rem;
					text-wrap: balance;
					color: var(--grey-500);
					font-weight: 700;
					text-transform: uppercase;
				}
			}

		}

	}

	}
}




section.convenzioni{
	padding: 10rem 2rem;

				@media (max-width: 550px) {
					padding: 4rem 2rem;
				}


	.mainBtn{
		margin: 2rem auto 0;
	}

	.moduletable.no-title{
		.fwmg-grid-item-name{
			display: none !important;
		}
	}

	.moduletable.no-imageinfo{
		.image-info{
			display: none !important;
		}
	}

	.moduletable{
		max-width: 1279px;
		margin: 0 auto;
		gap: 0px;

		.fwcss{
			.fwmg-design-classic{
				.fwmg-page-header{
					margin: 0!important;
					& h2{
						font-size: clamp(1.6rem, 5vw, 2.4rem);
						line-height: 1;
						margin: 0 auto 1rem!important;
						text-wrap: balance;
						text-transform: uppercase!important;
						text-transform: none;
						color: var(--secondary-color);
			
						& span{
							color: var(--primary-color);
						}

					}
				}

				.fwmg-gallery-description{
					& h3{
						margin: 0 auto 1rem;
						text-align: center;
						font-size: 1.1rem;
						color: var(--primary-color);
						line-height: 1.2;
						text-wrap: balance;
						text-transform: uppercase;
						font-family: var(--body-font-family);
						font-weight: 600;
						max-width: 767px;
					}
					& p{
						margin: 0 auto;
						text-align: center;
						text-wrap: balance;
						color: var(--primary-color);
						line-height: 1.2;
						text-wrap: balance;
						/* max-width: 767px; */
					}
					& a{
						margin: 10px 0 0;
					}
				}

				.fwmg-gallery-info{
					display: none;
				}


				.fwmg-files{
					.fwmg-grid-wrapper{
						.swiper{
							padding: 0px 0px 47px;
							.swiper-wrapper{
								.swiper-slide{
                  text-align: center;
									padding: 20px;

									.image-info{
										display: flex;
										flex-direction: column;
										justify-content: center;

										.fwmg-grid-item-name{
											margin: 0!important;
											& a{
												pointer-events: none !important;
												font-size: 0.9rem;
												font-weight: 500;
												margin: 0px!important;
												color: var(--secondary-color);
												text-transform: uppercase;
											}
										}

										.fwmg-grid-item-description{
											font-size: 0.9rem;
											margin: 5px 0 0;
										}
										.fwmg-grid-item-link{
											.mainBtn{
												margin: 5px auto 0;
											}
										}
									}
                }
							}
						}
					}
				}
			}
		}
	}
}