.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;
				margin: 0;
				padding: 0;
				text-transform: uppercase;
				color: #fff;

				@media (max-width: 979px) {
					font-size: 1.6rem;
					letter-spacing: -1px;
				}
			}

			& > h2 {
				font-size: 1.1rem;
				line-height: 1.2;
				order: -1;
				letter-spacing: 0;
				margin: 0 0 20px;
				padding-bottom: 10px;
				color: #fff;
				border-bottom: 5px solid #fff;
				max-width: max-content;
				text-transform: uppercase;

				@media (max-width: 979px) {
					font-size: 0.9rem;
					text-wrap: balance;
				}
			}

			& p.riassunto-cf {
				font-size: 1.6rem;
				color: var(--lsecondary-color);
				line-height: 1.4;
				font-weight: 700;
				margin: 16px 0 16px;
				max-width: 979px;
				text-wrap: balance;
				font-family: var(--title-font);
				text-transform: uppercase;
				text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);

				@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);
					}
				}
			}
		}
	}

	.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) {
				padding: 4rem 0 0;
				gap: 2rem;
			}
		}

		@media (max-width: 1279px) {
			flex-direction: column;
			max-height: none;
			align-items: center;

			.top,
			.bottom {
				flex: 1 1 auto;
				text-align: center;
			}

			.top {
				padding-top: 4rem;
				.withLogoText {
					margin-bottom: 0;
				}
			}
		}

		&.partnership-section-02 {
			.inner {
				flex-direction: column !important;
				align-items: center !important;
				gap: 0;

				.withLogoText {
					align-items: center;
				}

				.top,
				.bottom {
					flex: 1 1 auto;
				}

				.top {
					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: 20px;
				margin: 0 0 2rem;

				@media (max-width: 1279px) {
					margin-bottom: 0px;
					max-width: 767px;
				}

				& span.subtitle {
					order: -1;
					font-weight: 700;
					letter-spacing: 0;
					margin: 0 0 10px;
					padding-bottom: 10px;
					color: var(--secondary-color);
					border-bottom: 5px 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: 2.4rem;
					line-height: 1;
					font-weight: 900;
					letter-spacing: -1px;
					margin: 0;
					color: var(--secondary-color);
				}

				& h3 {
					font-size: 1.1rem;
					color: var(--primary-color);
					line-height: 1.4;
					font-weight: 700;
					margin: 10px 0;

					@media (max-width: 1279px) {
						text-wrap: balance;
					}
				}

				& p {
					font-size: 1.1rem;
					margin: 0 auto 3rem;
					max-width: 520px;

					@media (max-width: 1279px) {
						text-wrap: balance;
					}

					& b {
						font-weight: 700;
					}
				}

				& a {
					margin-top: 10px;
				}
			}
		}

		.bottom {
			flex: 1 1 auto;
			width: 100%;
			padding: 2rem;
			background-color: var(--primary-color);

			#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,
						minmax(150px, 1fr)
					) !important;
					grid-template-rows: auto !important;
					gap: 2rem !important;

					& > div {
					}
				}
			}
		}
	}
}

.rsform #jobFormID.formResponsive {
	.formRed {
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: red;
		color: #fff;
		padding: 0.5rem;
		gap: 0.5rem;

		& i {
			font-size: 1.8rem;
		}
	}

	.formHorizontal {
		color: #fff;

		& input {
			margin: 0 !important ;
			padding: 15px;
		}

		.rsform-block > label {
			width: auto;
			position: relative;
			top: 0;
			left: 0;
			max-width: none;
			color: var(--body-color);
			padding: 5px 0px 5px 20px;
		}

		& p.align-center {
			color: #fff;
		}

		.formValidation {
			.formError {
				color: #fff !important;
				margin: 0px 5px 3px 0 !important;
				text-align: center;
				font-weight: 700;
				background: #000;
			}
		}

		.formSpan12 {
			flex-direction: row !important;
			flex-wrap: wrap;
			gap: 1rem !important;
			align-items: flex-start;
			.rsform-block {
				flex: 1 1 30%;
				margin: 0;
			}
		}

		.rsform-block.rsform-block-cvupload {
			flex: 1 1 100%;
			text-align: center;
			margin: 3rem auto;

			& > label {
				position: relative;
				top: 0;
				left: 0;
				color: #fff;
				margin-bottom: 0.6rem;
				cursor: pointer;
				background-color: var(--secondary-color);
				max-width: max-content;
				padding: 0.5rem 1rem;
				border-radius: 10px;
				margin: 0 auto 0.5rem;
				width: 100%;

				&:before {
					content: "\f574";
					font-family: "FontAwesome";
					margin-right: 0.5rem;
				}

				&:hover {
					background-color: var(--dsecondary-color);
					transition: all 300ms linear;
				}
			}

			.formControls {
				.formBody {
					display: flex;
					flex-direction: column;
					align-items: center;
					gap: 0 3rem;

					.formDescription {
						font-size: 0.7rem;
						display: block;
						text-align: center;
						margin-top: 0.5rem;
						font-style: italic;
					}

					.formValidation {
						font-size: 0.8rem;
					}

					& input[type="file"] {
						display: none;
					}
				}
			}
		}

		.rsform-block.rsform-block-faqform {
			order: -1;
			flex: 1 1 100%;
			color: #fff;

			margin: 1rem 0;

			& > label {
				color: var(--secondary-color);
				position: relative;
				top: 0;
				left: 0;
				margin-bottom: 2rem;
				text-align: center;
				max-width: none;
				width: 100%;
				font-size: 1.6rem;
				line-height: 1.2;
			}

			.formControls {
				.formBody {
					display: flex;
					flex-wrap: wrap;
					gap: 2rem;
					justify-content: center;
					align-items: flex-start;

					@media (max-width: 979px) {
						flex-direction: column;
						align-items: center;
						gap: 1rem;
					}

					& > label {
						margin: 0;
						padding: 0.2rem 0.5rem;
						background-color: var(--secondary-color);
					}

					.formDescription {
						font-size: 0.9rem;
						display: block;
						text-align: center;
						margin-top: 0.5rem;
						padding: 1rem 0;
					}
				}
			}
		}


		.rsform-block.rsform-block-submit {
			& button{
				max-width: max-content;
				margin: 0 auto;
				min-width: 200px;
			}
		}


		#venditaForm {
			.rsform-block-message {
				width: 100%;
				flex: 1 1 100%;
				margin: 0;
				& textarea {
					field-sizing: content;
					min-height: 200px;
					width: 100%;
				}
			}
		}

		.rsform-block-name,
		.rsform-block-surname {
			flex: 1 1 40% !important;
		}

		.rsform-block-informativa {
			& a {
				color: var(--secondary-color)!important;
				text-decoration: underline;
			}
		}

		.rsform-block-kmannuo,
		.rsform-block-anticipo {
			flex: 1 1 40% !important;
			& > label {
				position: relative;
				text-align: center;
				color: #fff;
				width: 100%;
				top: 0;
				left: 0;
				margin: 30px auto 10px;
			}

			.formControls {
				.formBody {
					display: flex;
					flex-wrap: wrap;
					justify-content: center;
					gap: 20px;
					& label {
						color: #fff;
						display: flex;
						justify-content: center;
						gap: 5px;
						margin: 0;
						padding: 0;
						& input {
							width: auto;
						}
					}

					& select {
						border-radius: 15px;
						border: none;
						width: 100%;
						padding: 10px;
					}

					& span {
						flex: 1 1 100%;
					}

					& p.formDescription {
						display: none;
					}
				}
			}
		}

		.rsform-block-customertype,
		.rsform-block-duratanoleggio {
			flex: 1 1 40%;
			& > label {
				position: relative;
				text-align: center;
				color: #fff;
				width: 100%;
				top: 0;
				left: 0;
				margin: 30px auto 10px;
			}

			.formControls {
				.formBody {
					display: flex;
					flex-wrap: wrap;
					justify-content: center;
					gap: 20px;
					& label {
						color: #fff;
						display: flex;
						justify-content: center;
						gap: 5px;
						margin: 0;
						padding: 0;
						& input {
							width: auto;
						}
					}

					& span {
						flex: 1 1 100%;
					}

					& p.formDescription {
						display: none;
					}
				}
			}
		}

		.rsform-block-duratanoleggio {
			flex: 0 1 50%;
		}

		.rsform-block-posizionelavorativa {
			display: none !important;
		}

		.rsform-block-posizionelavorativa,
		.rsform-block-address,
		.rsform-block-message,
		.rsform-block-informativa,
		.rsform-block-submit {
			flex: 1 1 100% !important;
		}

		.rsform-block-message {
			& > label {
				position: relative;
				max-width: none;
				width: 100%;
				text-align: center;
				text-wrap: balance;
				padding: 0px 0.5rem;
				left: 0;
				color: var(--secondary-color);
				margin-bottom: 1rem;
			}

			& textarea {
				padding-top: 10px;
			}
		}

		.rsform-block-birthday {
			& > label {
			}

			.formControls {
				background-color: #fff;
				border-radius: 15px;
				padding: 13px;

				display: flex;
				box-sizing: border-box;
				.formBody {
					color: var(--body-color);
					display: flex;
					align-items: center;
				}
			}

			.formValidation {
				position: absolute;
				bottom: 0;
				left: 0;
			}

			& select {
				color: var(--body-color);
				background-color: transparent;
				border: none;
				height: auto;
				padding: 0;
				margin: 0;

				&:focus {
					box-shadow: none;
				}

				& option {
					color: var(--body-color);
				}
			}
		}

		.rsform-block-informativa {
			margin: 2rem auto !important;
			& > label {
				position: relative;
				max-width: none;
				width: 100%;
				text-align: center;
				text-wrap: balance;
				padding: 0px 0.5rem;
				left: 0;

				text-align: center !important;
				margin-bottom: 0.5rem !important;
			}

			.formControls {
				.formBody {
					display: flex;
					flex-direction: column;
					& label {
						display: block;
						position: relative;
						margin: 0 auto;
						padding: 0;
						padding-left: 30px;
						max-width: 480px;
						text-align: left;
						color: var(--body-color);
						& input {
							position: absolute;
							top: 50%;
							left: 0;
							z-index: 10;
							margin: -10px 0 0 !important;
							width: 20px !important;
							height: 20px !important;
						}
					}
				}
			}
		}

		@media (max-width: 768px) {
			.rsform-block {
				flex: 1 1 100% !important;
			}
		}
	}
}
