.regularPage {



	.com-content-article__body{
		position: relative;
		z-index: 100;
	}

	.maincontent {
		display: flex;
		justify-content: stretch;
		width: 100%;

		.component-container {
			padding: 0px;
			width: 100%;
		}

	}






.gallery-pagina{
	display: flex;
	flex-direction: column;
	position: relative;

	.inner-content {
		position: relative;
		background-color: #efefef;
		display: flex;
		flex-direction: column;
		text-align: center;
		justify-content: center;
		align-items: center;
		isolation: isolate;
		margin-bottom: 0px;
		padding: 8rem 2rem;
		background: rgba(0, 0, 0, 0.5);
		order: 1;

/* 		&:before {
			content: "";
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgb(255, 255, 255);
			background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
			opacity: 1;
			z-index: -1;
	}

	&:after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url(../../../../../images/template/waves_overlay.svg);
		transition: opacity 0.5s ease;
		background-position: center right;
		background-size: cover;
		opacity: 1;
		z-index: -2;
} */


& > h1{
                font-size: 3.4rem;
                line-height: 1.2;
                margin: 0;
                padding: 0 1rem;
                text-transform: uppercase;
                color: #fff;
                background-color: var(--secondary-color);

	
@media (max-width: 979px) {
	font-size: 2rem;
	letter-spacing: -1px;
}

@media (max-width: 550px) {
	font-size: 1.6rem;
	line-height: 1.2;
	letter-spacing: -1px;
}

}


& > h2 {
                font-size: 1.1rem;
                line-height: 1.2;
                order: -1;
                letter-spacing: 0;
                margin: 0 0 3rem;
                padding-bottom: 10px;
                color: #fff;
                border-bottom: 3px solid #fff;
                max-width: max-content;
                text-transform: uppercase;
                font-family: var(--body-font);
}

& p.riassunto-cf {
                font-size: 1.6rem;
                color: var(--lsecondary-color);
                line-height: 1.4;
                font-weight: 600;
                font-family: var(--body-font-family);
                margin: 16px 0 16px;
                max-width: 979px;
                text-wrap: balance;
                color: #fff;

	@media (max-width: 979px) {
		font-size: 1.1rem;
	}
}

}


figure.item-image{
	box-shadow: 0px 0px 30px -5px rgba(0, 0, 0, 0.5);
	position: relative;
	display: flex;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	& img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
	}


	.galleriapaginearticoli-cf{
		box-shadow: 0px 0px 30px -5px rgba(0, 0, 0, 0.5);
		position: relative;
		z-index: 10;
		.swiper{
			&.swiper:not(.swiper-initialized){
				display: none;
			}
			padding-bottom: 0;
			.swiper-wrapper{
				height: 500px;
				.swiper-slide{
					height: 500px;
					& img{
						width: 100%;
            height: 100%;
            object-fit: cover;
						object-position: center;
					}
				}
			}

			.swiper-button-prev{
				border-radius: 0px 5px 5px 0px;
			}
			.swiper-button-next{
				border-radius: 5px 0px 0px 5px;
			}

			.swiper-button-prev,
			.swiper-button-next{
				height: 100px;
				width: 100px;
				top: 50%!important;
				bottom: auto!important;
				transform: translateY(-50%);
				background-color: #fff;
				opacity: 1;
				box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);

				&:after{
					color: var(--primary-color);
				}

				&:hover{
					background-color: var(--secondary-color);
					transition: all 300ms linear !important;
					&:after{
						color: #fff;
					}
				}

				&.disabled{
					opacity: 0.5;
				}
			}


			.swiper-pagination{
				display: flex;
				align-items: center;
				background-color: #fff;
				padding: 0.5rem;
				bottom: 1rem;
				left: 50%;
				border-radius: 5px;
				max-width: max-content;
				transform: translateX(-50%);
				.swiper-pagination-bullet{
					background-color: var(--primary-color);
					opacity: 1;
				}

				.swiper-pagination-bullet.swiper-pagination-bullet-active{
					background-color: var(--secondary-color);
				}
			}


		}
	}
}


#convenzioni-assicurative{
	display: none!important;
}

.partnership-section {

	display: block;
	width: 100%;
	margin: 0 auto;
	position: relative;
	/* 		border-radius: 0px 0px 35px 35px; */
	background-color: #efefef;


	.inner{
		display: flex;
			max-width: 1279px;
		align-items: center;
		justify-content: center;
		gap: 4rem;
		padding: 6rem 2rem 6rem;
		margin: 0 auto;

	@media (max-width: 1279px) {
		flex-direction: column;
		max-height: none;
		align-items: center;
	}

	}


	@media (max-width: 1279px) {
		.top,
		.bottom {
			flex: 1 1 auto;
			text-align: center;
		}

		.top{
			padding-top: 4rem;
			.withLogoText{
				margin-bottom: 0;
			}
		}

		#fwgallery .fwmg-files #fwmg-grid .fwmg-grid-container{
			grid-template-columns: repeat(2, 1fr)!important;
		}

	}


	&.partnership-section-02{
		.inner{
		flex-direction: column!important;
		align-items: center!important;
		gap: 0;
		
		.withLogoText{
			align-items: center;
		}

		.top,
		.bottom {
			flex: 1 1 auto;
			text-align: center;
		}
	}

	}


	&>img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: top right;
		position: absolute;
		top: 0;
		right: 0;
		opacity: 0.5;

	}

	.secondary-imgbg{
		position: absolute;
		width: 60%;
		height: 100%;
		right: 0;
		top: 0;
		opacity: 0.2;
		object-fit: contain;
		object-position: top right;

		@media (max-width: 1279px) {
			display: none;
		}
	}


	.top {
		flex: 0 1 640px;
		display: flex;
		flex-direction: column;
		padding: 0px;
		background-color: transparent;
		z-index: 1;
		height: 100%;

		@media (max-width: 1279px) {
			flex: 1 1 auto;
			padding-inline: 15px;
		}


		.withLogoText {
			display: flex;
			flex-direction: column;
			gap: 1rem;
			margin: 0 0 30px;

			@media (max-width: 1279px) {
				margin-bottom: 0px;
				max-width: 767px;
			}


			& span.subtitle{
				order: -1;
				line-height: 1.1;
				font-weight: 700;
				letter-spacing: 0;
				margin: 0 0 10px;
				padding-bottom: 10px;
				color: var(--secondary-color);
				border-bottom: 3px solid var(--secondary-color);
				max-width: max-content;
	
				@media (max-width: 1279px) {
					margin: 0 auto 10px;
				}
			}


				& h1 {
					margin: 0;
					padding: 0;
					font-size: 2.7rem;
					line-height: 1;
					font-weight: 900;
					color: var(--primary-color);
					letter-spacing: -0.5px;

					@media (max-width: 1279px) {
						font-size: 1.9rem;
					}
				}

				& h2 {
					
			font-size: clamp(1.8rem, 3vw, 2.4rem);
					line-height: 1;
					font-weight: 900;
					letter-spacing: -1px;
					margin: 0;
					color: var(--secondary-color);
				}

				& h3{
					font-size: 1.2rem;
					color: var(--primary-color);
					line-height: 1.4;
					font-weight: 600;
					margin: 0;
					font-family: var(--body-font-family);
		
					@media (max-width: 1279px) {
					text-wrap: balance;
					}

					@media (max-width: 550px) {
	font-size: 1rem;
}
		
				}

				& p{
					font-size: 0.9rem;
					margin: 0;
					max-width: 767px;
					margin: 0 auto;
					text-wrap: balance;
		
					@media (max-width: 1279px) {
						text-wrap: balance;
					}
		
					& b{
						font-weight: 700;
					}
				}

				& a{
					margin-top: 10px;
				}
		

		}



	}


	.bottom{
		flex: 1 1 auto;
		width: 100%;
		padding: 2rem;


		#fwgallery .fwmg-grid-item-name{
			text-align: center;
			font-size: 0.9rem;
			font-weight: 500;
			padding: 5px 0px;

			& a{

			}
		}


		.no-name{
			.fwmg-grid-item-name{
				display: none!important;
			}
		}



		.no-button {

			.fwmg-grid-item-name{
				margin: 0!important;
			}

			.fwmg-grid-item-info{
				padding: 0!important;
				border: none!important;
			}

			.fwmg-grid-item-link{
				display: none!important;
			}
		}


		.no-intro{

			.fwmg-page-header,
			.fwmg-gallery-info,
			.fwmg-gallery-description
			{
				display: none;
			}

		}

		.autogrid-fwmg-grid-container{
			.fwmg-grid-container{

				grid-template-columns:  repeat(auto-fit, 150px)!important;
				grid-template-rows: auto!important;
				gap: 2rem!important;

				& > div{
				}
			}
		}





	}





}



















}





