/*
Theme Name: Care for APM Components
Description: A child theme of Care for APM Components
Author: CARE Srl
Author URI: https://www.carecom.it
Version:1.1
Template: care-boilerplate
Text Domain: apm
*/
/* roboto-100 - latin */

@font-face {
	font-family: "Lato";
	src: url("https://www.apmcomponents.it/wp/wp-content/themes/apm/fonts/Lato-Regular.ttf");
}
@font-face {
	font-family: "Lato";
	src: url("https://www.apmcomponents.it/wp/wp-content/themes/apm/fonts/Lato-Light.ttf");
	font-weight: 300;
}
@font-face {
	font-family: "Lato";
	src: url("https://www.apmcomponents.it/wp/wp-content/themes/apm/fonts/Lato-Bold.ttf");
	font-weight: bold;
}
@font-face {
	font-family: "Lato";
	src: url("https://www.apmcomponents.it/wp/wp-content/themes/apm/fonts/Lato-Black.ttf");
	font-weight: 900;
}

:root {
	--fontFamily: 'Lato', sans-serif;
	--mainColor: #9e3223;
	--secondaryColor: #173556;
	--textColor: #1c1c1c;
	--footerBgColor: #eeeeee;
	--footerTextColor: #414141;
	--f12px: 0.750rem;
	--f13px: 0.813rem;
	--f15px: 0.938rem;
	--f16px: 1.000rem;
	--f18px: 1.125rem;
	--f20px: 1.250rem;
	--f22px: 1.375rem;
	--f40px: 2.500rem;
	--f60px: 3.750rem;
	--lh12px: 0.750rem;
	--lh22px: 1.375rem;
	--lh24px: 1.500rem;
	--lh33px: 2.063rem;
	--lh45px: 2.813rem;
}

@media screen and (max-width: 768px) {
	:root {
		--f60px: 2.5rem;
		--f40px: 1.375rem;
		--lh45px: var(--lh33px);
	}
}

html {
	font-family: var(--fontFamily);
	font-size: 16px;
}

.section {
	max-width: none;
	padding: 0;
}

.btn {
	display: inline-block;
	text-transform: uppercase;
	font-size: var(--f13px);
	color: #fff;
	background: var(--mainColor);
	padding: 13px 56px 14px;
	margin-left: 11px;
	position: relative;
	text-decoration: none;
	overflow-y: clip;
	transition: .5s background;
}
.btn:visited {
	color: #fff;
}
.btn:before {
	content: '';
	background: var(--mainColor);
	width: 7px;
	height: 100%;
	position: absolute;
	top: 0;
	left: -11px;
	cursor: pointer;
	transition: .5s all;
}

.btn:hover,
.btn:hover::before {
	background: var(--secondaryColor);
}
.btn:hover::before {
	left: -4px;
}
.btn:hover svg {
	transform: translateY(-50%) scale(5);
}
.btn:not(.white):hover {
	color: #fff;
}

.btn svg {
	width: 8px;
	position: absolute;
	right: 11px;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s transform;
}

.btn.white {
	background: #fff;
	color: var(--mainColor);
}
.btn.white:before {
	background: #fff;
}
.btn.white svg path {
	fill: var(--mainColor);
}


.section-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

a {
	text-decoration: none;
}

h1, h2, h3 {
	font-size: var(--f40px);
	color: var(--secondaryColor);
	text-transform: uppercase;
	line-height: var(--lh45px);
	font-weight: 900;
}
h1 b,
h2 b,
h3 b {
	font-size: var(--f60px);
	color: var(--mainColor);
}

.box h2 {
	font-size: var(--f60px);
	color: #fff;
	text-transform: uppercase;
}

.section-secondary h3 {
	color: #fff;
}

span {
	font-weight: 300;
	font-size: var(--f22px);
	line-height: var(--lh33px);
	color: var(--textColor);
}

.section--content {
	place-self: center;
	max-width: 740px;
}
.section--content h1,
.section--content h2,
.section--content h3 {
	margin-bottom: 40px;
}
.section--content h1 i {
	color: var(--mainColor);
}
.section--content span {
	display: block;
	margin-bottom: 35px;
}

.section--content.right {
	text-align: right;
	margin: 0 0 0 auto;
}
.section-float .section--content.right {
	margin-top: -150px;
}

.section-group {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1px;
}

.hidden {
	display: none;
}

.box {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	padding: 300px 38px 120px 110px;
	position: relative;
	overflow: hidden;
	height: 100%;
	min-height: 680px;
}
#homeBox1 {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-qualita.jpg);
}
#homeBox2 {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-consulenza.jpg);
}
#homeBox3 {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-tecnologia.jpg);
}
#homeBox4 {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-flessibilita.jpg);
}
#homeBox5 {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-competitivita.jpg);
}
.box span {
	color: #fff;
	line-height: var(--lh22px);
}

.box:after {
	content: '';
	background: var(--mainColor);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	mix-blend-mode: multiply;
	transition: .5s background;
}
.box--content {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	left: 20%;
	opacity: 0;
}
.box--title {
	position: absolute;
	z-index: 1;
	left: -40%;
	width: 100%;
	transform: translateY(-50%);
	top: 90%;
	opacity: 0;
}
.box--title h2 {
	font-size: var(--f60px);
	color: #fff;
	transform: rotate(-90deg);
}
.box img {
	position: absolute;
	bottom: -27px;
	z-index: 1;
	right: 34px;
	opacity: 0;
}

.section-group a:hover .box:after {
	background: var(--secondaryColor);
}

.section--img {
	line-height: 0;
}
.section--img.right {
	text-align: right;
}

.section-main .section--img {
	display: grid;
	align-items: end;
	justify-self: end;
}

#rowCustomRequest {
	margin-top: -150px;
	overflow: hidden;
}
#rowCustomRequest .bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-row-bg-01.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: 1;
	width: 100%;
	height: 150%;
	position: absolute;
	top: -25%;
	left: 0;
}
#rowCustomRequest .bg:after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background: var(--mainColor);
	mix-blend-mode: multiply;
}
#rowCustomRequest h3 b {
	color: #fff;
}
#rowCustomRequest span {
	color: #fff;
}

.row.overflow {
	z-index: 2;
	overflow: visible;
}

.section-secondary {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	z-index: 1;
	gap: 30px;
	color: #fff;
}
.section-secondary .section--content {
	margin: 0 -80px 0 auto;
	padding: 100px 80px;
	background: var(--mainColor);
}




.form--fields {
	grid-template-areas:
	'name surname msg'
	'email tel msg'
	'company position msg';
	display: grid;
	gap: 10px 18px;
}
.form--fields input[type="text"],
.form--fields input[type="email"],
.form--fields input[type="tel"],
.form--fields textarea {width: 100%}

#formName {
	grid-area: name;
}

#formSurname {
	grid-area: surname;
}

#formEmail {
	grid-area: email;
}

#formTel {
	grid-area: tel;
}

#formCompany {
	grid-area: company;
}

#formPosition {
	grid-area: position;
}

#formMsg {
	grid-area: msg;
}
#formMsg p,
#formMsg span {
	height: 100%;
}

textarea {
	height: 100%;
}

.form--privacy {
	max-width: 400px;
	display: grid;
	margin: 25px auto;
	gap: 15px;
}

.form--send {
	text-align: center;
	position: relative;
}

.form--privacy label {
	display: grid;
	grid-template-columns: auto 1fr;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
}
.form--checkbox .wpcf7-list-item-label {
	font-size: var(--f13px);
	color: #1d1d1d;
	margin-bottom: 0;
	line-height: 16px;
}

#section-homeContactUs h2 span {
	color: var(--secondaryColor);
}

#section-homeContactUs input,
#section-homeContactUs textarea {
	padding: 14px 12px;
	border-radius: 0;
	border: 1px solid #b5b5b5;
}

#section-homeContactUs .wpcf7-spinner{
	position: absolute;
	left: 0;
	right: 0;
	margin: 10px auto;
}
#section-homeContactUs input::-webkit-input-placeholder
#section-homeContactUs textarea::-webkit-input-placeholder {
	font-family: var(--fontFamily);
	font-size: var(--f15px);
}
#section-homeContactUs input:-ms-input-placeholder
#section-homeContactUs textarea:-ms-input-placeholder {
	font-family: var(--fontFamily);
	font-size: var(--f15px);
}
#section-homeContactUs input::-ms-input-placeholder
#section-homeContactUs textarea::-ms-input-placeholder {
	font-family: var(--fontFamily);
	font-size: var(--f15px);
}
#section-homeContactUs input::placeholder
#section-homeContactUs textarea::placeholder {
	font-family: var(--fontFamily);
	font-size: var(--f15px);
}

#section-homeContactUs .btn {
	border: none;
	display: inline-block;
	position: relative;
	padding: 13px 37px;
	font-size: var(--f13px);
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	cursor: pointer;
	margin-left: 0;
	background: linear-gradient(to right, var(--secondaryColor) 5%, white 0 8%, var(--secondaryColor) 0 100% );
	transition: .5s background;
}
#section-homeContactUs .btn:hover {
	background: linear-gradient(to right, var(--mainColor) 0 0%, var(--mainColor) 0 100% );
}
#section-homeContactUs input.wpcf7-not-valid,
#section-homeContactUs textarea.wpcf7-not-valid {
	border-color: #dc3232;
}
#section-homeContactUs .form--row:not(.form--send) .wpcf7-not-valid-tip {
	display: none;
}
#section-homeContactUs span {
	margin-bottom: 0;
}
#section-homeContactUs .section--content {
	max-width: 1024px;
	margin: 0 auto;
}
#section-homeContactUs {
	padding: 90px 2em;
}
#section-homeContactUs h1,
#section-homeContactUs h2 {
	text-align: center;
	font-size: var(--f60px);
	margin-bottom: 65px;
}
#section-homeContactUs h1 span,
#section-homeContactUs h2 span {
	display: block;
	font-size: var(--f40px);
	font-weight: 900;
	color: var(--secondaryColor);
}

@media screen and (max-width: 992px) {
	.form--fields {
		grid-template-areas: 'name surname' 'email tel' 'company position' 'msg msg';
	}
}
@media screen and (max-width: 767px) {
	.form--fields {
		display: grid;
		grid-template-areas:
		'name'
		'surname'
		'email'
		'tel'
		'company'
		'position'
		'msg';
	}
}


/* Footer */
#footer {
	background: var(--footerBgColor);
	padding-top: 115px;
	padding-bottom: 155px;
	position: relative;
}
.footer--payoff {
	position: absolute;
	color: #fff;
	background: var(--mainColor);
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	text-align: center;
}
.footer--payoff span {
	color: #fff;
}
.info-mail {
	display: inline-grid;
	grid-template-columns: 1fr 32px;
	align-items: center;
	justify-items: end;
}
.info-mail svg {
	width: 20px;
}
.footer--header {
	text-align: center;
	margin-bottom: 70px;
}
.footer--header img {
	width: 190px;
}
.footer--grid {
	display: inline-grid;
	grid-template-columns: 1fr auto auto;
	gap: 20px;
	margin: 0 auto;
}
.col--title,
.col--title a {
	font-size: var(--f16px);
	font-weight: 900;
	color: var(--footerTextColor);
}
.col--content span,
.col--content a {
	color: var(--footerTextColor);
	text-decoration: none;
	font-size: var(--f13px);
	font-weight: normal;
}
.col--content a {
	transition: .5s color;
}
.col--content a:hover {
	color: var(--mainColor);
}
.col--content span {
	line-height: var(--lh24px);
	display: block;
}
.col--content ul li a {
	font-size: var(--f12px);
}
.footer--col {
	text-align: left;
}
.footer--col.right {
	text-align: right;
}
.col--content ul li {
	padding-bottom: 7px;
}
.col--content {
	height: 100%;
}
.footer--col:not(:first-child) {
	margin-left: 10px;
}
.footer--col:not(:first-child) .col--content {
	border-left: 1px solid #d2d2d2;
	padding-left: 30px;
}
.footer--col:not(:first-child) .col--title {
	padding-left: 30px;
}
.footer--payoff span {
	padding: 20px 0;
	display: block;
	font-size: var(--f12px);
	line-height: var(--lh12px);
}
.footer--payoff span a {
	color: #fff;
}
.footer--content {
	text-align: center;
}

.discover-more {
	align-self: center;
	padding: 2em;
	display: none;
}


/* reset for footer menu */
#footer .menu-menu-principale-it-container {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
}
#footer #primary-menu li {
	margin: 0;
}

@media screen and (max-width: 1480px) {
	.section-group {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.section-float {
		padding: 4em 0;
	}
	.discover-more {
		display: block;
	}
}
@media screen and (max-width: 1200px) {
	.section-main.section-float,
	.section-main.main-header {
		grid-template-columns: 1fr;
	}
	.section-float .section--content.right,
	.section-main.main-header .section--content.right {
		padding: 0 2em;
		margin-top: 0;
		text-align: left;
		margin: 0 auto;
	}
	.section-main.main-header .section--content.right {
		padding: 0em 2em;
	}
}
@media screen and (max-width: 968px) {
	.section-group {
		grid-template-columns: 1fr 1fr;
	}
	.discover-more {
		display: block;
	}
}
@media screen and (max-width: 716px) {
	.section-secondary {
		grid-template-columns: 1fr;
	}
	.section-secondary .section--content {
		margin: 0 auto;
		padding: 100px 2em;
	}

	.footer--grid {
		grid-template-columns: none;
		grid-template-areas: 'info info'
		'links links2';
	}
	.footer--col:nth-child(1) {
		grid-area: info;
		text-align: center;
	}
	.footer--col:nth-child(2) {
		grid-area: links;
	}
	.footer--col:nth-child(3) {
		grid-area: links2;
	}
	.footer--col:not(:first-child) .col--content {
		border-left: none;
	}
	.footer--col:nth-child(3) .col--content {
		border-left: 1px solid #d2d2d2;
	}
}
@media screen and (max-width: 600px) {
	.section-group {
		grid-template-columns: 1fr;
	}
	.discover-more {
		display: none;
	}
}




/* Header styles */
.site-header {
	text-align: center;
	padding: 37px 0;
}
.nav_button {
	display: none;
}
.site-header .site-logo img {
	max-width: calc(355px + 4em);
    padding: 0 2em;
}
.main-navigation {
	margin-top: 80px;
}
.main-navigation ul {
	display: block;
}
.main-navigation li {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 10px;
	margin-right: 10px;
}
.main-navigation li a {
	font-weight: 900;
	color: var(--secondaryColor);
	position: relative;
	font-size: var(--f18px);
	transition: .5s color;
}
.main-navigation li a:hover {
	color: var(--mainColor);
}
.main-navigation li a:before {
	content: '';
	position: absolute;
	left: -27px;
	top: 50%;
	transform: translateY(-50%);
	width: 11px;
	height: 11px;
	background: var(--mainColor);
}
.main-navigation li:first-child a:before {
	display: none;
}
.main-navigation li.current-menu-item a {
	color: var(--mainColor);
	text-decoration: underline;
}

@media screen and (max-width: 1024px) {
	.site-header {
		padding-bottom: 90px;
	}
}

@media screen and (max-width: 768px) {
	.site-header {
		text-align: left;
		position: relative;
	}
	.site-header .site-logo img {
	    max-width: 355px;
	    width: auto;
	    padding-right: 6em;
	}
	.nav_button {
		display: block;
	    right: 2em;
	    position: absolute;
	    top: calc(50% - 15px);
	    transform: translateY(-50%);
	}
	#site-navigation {
		display: none;
	}
	#site-navigation.open {
	    display: block;
	    position: absolute;
	    height: 100vh;
	    top: 0;
	    margin-top: 0;
	    background: #fff;
	    z-index: 10;
	}
	#primary-menu li {
	    display: block;
	    margin: 35px 0;
	}
	.menu-menu-principale-it-container {
	    position: absolute;
	    top: min(30vh, 250px);
	    left: 50%;
	    transform: translateX(-50%);
	}
	.site-logo {
	    position: relative;
    	z-index: 11;
	}
	.main-navigation li:first-child a:before {
		display: block;
	}
}


































/* Contact page */
#map {
	height: 600px;
}

.contact--info {
	display: grid;
	/*grid-template-columns: 1fr .75fr;*/
	max-width: 1024px;
	margin: 0 auto;
	place-items: center;
	margin-bottom: 85px;
	gap: 30px;
	grid-template-columns: 1fr;
	text-align: center;
}
.contact--info .col--title a {
	font-size: 21px;
}
.contact--info .col--content span, .contact--info .col--content span a {
	font-size: 16px;
	font-weight: 200;
	line-height: 35px;
}
.company--img {
	display: none;
}
.company--img img {
	filter: drop-shadow(-2px 6px 8px lightgray);
	-webkit-filter: drop-shadow(-2px 6px 8px lightgray);
}
.marker {
	display: inline-grid;
	grid-template-columns: 21px 1fr;
	align-items: center;
	gap: 5px;
}
.contact--info .info-mail {
	grid-template-columns: 21px 1fr;
	justify-items: start;
	gap: 5px;
}




/* Style reset */
.page-content, .entry-content, .entry-summary {
	margin: 0;
}




/* Chi siamo */
.section-floatingText {
	display: grid;
	grid-template-columns: 1fr auto;
	max-width: 1400px;
	padding: 0px 60px 120px;
	z-index: 2;
}
.section-floatingText:first-child {
	padding-top: 120px;
}
.ft--bg {
	overflow: hidden;
	width: 450px;
	height: 100%;
	position: relative;
	top: -60px;
	left: -60px;
	box-shadow: rgb(0 0 0 / 10%) 0px 10px 50px;
}
.ft--bg:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--mainColor);
	z-index: 999;
	mix-blend-mode: multiply;
	opacity: .25;
}
.ft--img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: 1;
	width: 100%;
	height: 140%;
	position: absolute;
	top: -25%;
	left: 0;
}
.ft--content {
	display: grid;
	place-items: center;
	padding: 90px 60px 90px 90px;
	background-color: var(--mainColor);
	box-shadow: rgb(50 50 93 / 25%) 0px 13px 27px -5px, rgb(0 0 0 / 30%) 0px 8px 16px -8px;
}
.ft--content span {
	color: #fff;
}
.ft--content.right {
	text-align: right;
	padding: 90px 90px 90px 60px;
}

#ft1 .ft--img {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-chi-shiamo-01.jpg);
}
#ft2 .ft--img {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-chi-shiamo-02.jpg);
}
#ft3 .ft--img {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-chi-shiamo-03.jpg);
}

.row-history:nth-child(odd) .section-floatingText {
	grid-template-columns: auto 1fr;
}

.row-history:nth-child(odd) .ft--bg {
	left: auto;
	right: -60px;
}

.row-history:nth-child(even) {
	background: var(--mainColor);
}
.row-history:nth-child(even) .ft--content {
	background: #fff;
}
.row-history:nth-child(even) .ft--content span {
	color: var(--textColor);
}
.row-history:nth-child(even)::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	height: 0px;
	width: 0px;
	border-right: solid 25px transparent;
	border-left: solid 25px transparent;
	border-top: solid 25px #fff;
	top: 0;
	background: transparent;
	z-index: 2;
	top: 12px;
}
.row-history::after {
	/*
    content: '';
    position: absolute;
    left: 50%;
    transform: translateY(-50%);
    height: 0px;
    width: 0px;
    border-right: solid 25px transparent;
    border-left: solid 25px transparent;
    border-top: solid 25px var(--mainColor);
    bottom: -36px;
    background: transparent;
    z-index: 2;
    */
	content: '';
	border-left: 25px solid #fff;
	border-right: 25px solid #fff;
	border-top: 25px solid transparent;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 0;
}
.row-history:nth-child(odd)::after {
	border-top-color: #fff;
}
.row-history:last-child::after {
	display: none;
}
#row-history3:after {
    display: none;
}
.section-main.section-header .section--img {
	justify-self: left;
}
.section-main.section-header .section--content {
	justify-self: left;
	padding: 4em 2em 4em 0;
}
.row-history--bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	mix-blend-mode: multiply;
}
#row-history1 {
	padding-bottom: 25px;
}
#row-history1 .row-history--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-chi-shiamo-01-bw.jpg);
}
#row-history3 .row-history--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-chi-shiamo-03-bw.jpg);
}
.helper {
	position: absolute;
	height: 25px;
	bottom: 0;
	left: 0;
	right: 0;
}

.helper:before, .helper:after {
	content: "";
	background: white;
	position: absolute;
	top: 0;
	bottom: 0;
	width: calc(50% - 25px);
}

.helper:before {left: 0;}
.helper:after {right: 0;}

@media screen and (max-width: 1024px) {
	.section-main.section-header {
		grid-template-columns: 1fr;
	}
	.section-main.section-header .section--img {
		order: 2;
	}
	.section-main.section-header .section--content {
		padding: 0 2em;
	}

	.section-floatingText,
	.row-history:nth-child(odd) .section-floatingText {
		grid-template-columns: 1fr;
	}
	.ft--content {
		order: -1;
	}
	.ft--bg {
		width: calc(100% + 4px);
		height: 450px;
		left: -2px;
		order: 0;
		margin-top: 25px;
	}
	.row-history:nth-child(odd) .ft--bg {
		left: -2px;
		right: 0;
		order: 0;
	}
	.ft--content.right {
		text-align: left;
	}
	.ft--content,
	.ft--content.right {
		padding: 90px 60px;
	}
	.entry-content > #row-history1::before {
		display: none;
	}
}
@media screen and (max-width: 590px) {
	.section-floatingText:first-child {
		padding: 60px 2em;
	}
	.ft--content,
	.ft--content.right {
		padding: 45px 2em;
	}
}




/* Pagina Prodotti */
body:not(.home) #rowCustomRequest {
	margin-top: 60px;
}
.grid--products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	gap: 30px;
	padding: 0 4em 2em;
	margin-top: 85px;
}
.section-products h2 {
	text-align: center;
	position: relative;
}
.section-products h2 b {
    display: block;
}
.product--card {
	max-width: 612px;
	position: relative;
	top: 50px;
	opacity: 0;
}
.product--content {
	padding: 1.25em 0.25em;
}
.product--card .product--content h3 {
	margin-bottom: 20px;
}
.product--content h3 b {
	font-size: inherit;
	display: block;
}
.lg-backdrop.in {
	opacity: .85;
}
.section-products h2 span {
	font-size: var(--f40px);
	color: var(--secondaryColor);
	text-transform: uppercase;
	line-height: var(--lh45px);
	font-weight: 900;
	position: relative;
	top: -20px;
	opacity: 0;
}
.section-products h2 b {
	position: relative;
	bottom: -20px;
	opacity: 0;
}

/* Perchè sceglierci page */
.section-title_only .section--content {
	max-width: none;
	padding: 0 2em;
    max-width: 740px;
    text-align: left;
    margin: 0 auto;
}
.section-title_only h1 {
	text-align: left;
}
.section-title_only h1 b {
	display: block;
}
#row-whyChooseUs .box img {
	transform: rotate(90deg);
	bottom: 0;
	right: -10px;
}
.row-content {
	margin: 2em;
}
.row-content:nth-child(even) .section-detail:after {
	background: rgba(0,0,0,0.65);
}
.section-title_only span {
	text-align: left;
	max-width: 750px;
	margin: 0 auto;
	margin-bottom: 35px;
}
.product--img {
    padding-bottom: 1em;
}

@media screen and (max-width: 1220px) {
	.grid--products {
		grid-template-columns: repeat(2, 1fr);
		padding: 0 2em 2em;
	}
}
@media screen and (max-width: 768px) {
	.grid--products {
		grid-template-columns: 1fr;
	}
	.row-content {
		margin: 3em .25em;
	}
}


/* Perchè sceglierci detail page  */
.section-detail {
	height: calc(90vh - 330px);
	min-height: 725px;
	background-size: cover;
	background-position: center 20%;
	position: relative;
	display: grid;
	place-items: center;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
	overflow: hidden;
}
.section-detail:after {
	content: '';
	background: var(--secondaryColor);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	mix-blend-mode: multiply;
	transition: .5s background;
}
.section-detail--bg {
	position: absolute;
	width: 100%;
	height: 155%;
	top: -25%;
	left: 0;
	background-repeat: no-repeat;
	background-position: center 20%;
	background-size: cover;
	will-change: transform;
}
#section-quality .section-detail--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-qualita-hq.jpg);
}
#section-competitiveness .section-detail--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-competitivita-hq.jpg);
}
#section-consulting .section-detail--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-consulenza-hq.jpg);
}
#section-technology .section-detail--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-tecnologia-hq.jpg);
}
#section-flexibility .section-detail--bg {
	background-image: url(/wp/wp-content/uploads/2023/01/apm_components-flessibilita-hq.jpg);
}
.section-detail .content {
	color: #fff;
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: 1400px;
	height: 100%;
	position: relative;
	z-index: 1;
}
.section-detail .content h1 {
	align-self: end;
	position: relative;
	transform: translateY(-40px);
	font-size: var(--f60px);
	opacity: 0;
	will-change: transform, opacity;
}
.section-detail .content h2 {
	align-self: start;
	position: relative;
	transform: translateY(40px);
	text-transform: none;
	max-width: 480px;
	opacity: 0;
	will-change: transform, opacity;
}
.section-detail .content .g1 {
	grid-template-rows: auto auto;
	display: grid;
	align-items: center;
	gap: 30px;
	justify-content: center;
	padding: 0 2em;
}
.section-detail .content .g2 {
	background: #fff;
	padding: 2em;
	display: grid;
	align-items: center;
	box-shadow: 2px solid black;
	margin-left: 20px;
	position: relative;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
	transform: translateY(100%);
	will-change: transform;
}
.section-detail .content .g2:before {
	content: '';
	position: absolute;
	width: 10px;
	height: 100%;
	top: 0;
	background: #fff;
	will-change: transform;
}
#section-quality .content .g2:before {
	left: 0;
}
#section-consulting .content .g2:before {
	right: 0;
}
#section-technology .content .g2:before {
	left: 0;
}
#section-flexibility .content .g2:before {
	right: 0;
}
#section-competitiveness .content .g2:before {
	left: 0;
}
.section-detail .content h1,
.section-detail .content h2 {
	color: #fff;
}
.section-detail .content span {
	color: var(--textColor);
}
.section-detail .content .g2 span {
	position: relative;
	transform: translateY(80px);
	opacity: 0;
	will-change: transform;
}

.row-content:nth-child(even) .section-detail .content .g1 {
	order: 2;
}
.row-content:nth-child(even) .section-detail .content .g2 {
	margin-left: 0;
	margin-right: 20px;
	text-align: right;
}

@media screen and (max-width: 1220px) {
	.section-detail {
		height: auto;
	}
}
@media screen and (max-width: 968px) {
	.section-detail .content {
		grid-template-columns: 1fr;
	}
	.section-detail .content .g2 {
		order: 2;
	}
	.section-detail .content .g1 {
		justify-content: left;
		padding: 4em 2em;
	}
	.row-content:nth-child(even) .section-detail .content .g2 {
		margin-left: 20px;
		margin-right: 0;
		text-align: left;
	}
}



/* News - listing and detail */
.blog h1 {
    text-align: center;
}
.blog h1 b {
    display: block;
}
.articles {
	display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    max-width: 1420px;
    margin: 40px auto 80px;
    gap: 30px;
    padding: 0 2em;
}
article.post {
    padding: 2em;
    box-shadow: rgb(50 50 93 / 25%) 0px 30px 60px -12px, rgb(0 0 0 / 30%) 0px 18px 36px -18px;
    background: #fff;
    border: 3px solid #fff;
    border-left: 3px solid var(--mainColor);
    display: grid;
    grid-auto-flow: row;
    gap: 18px;
    height: fit-content;
    width: 100%;
}
article.post .entry-title a {
	color: var(--secondaryColor);
	font-weight: bold;
}
article.post .entry-title {
	font-size: 30px;
	line-height: 35px;
}
.blog:not(.post-template-default) article.post .entry-title {
	min-height: 110px;
}
article.post .entry-content p {
    font-size: var(--f16px);
    line-height: var(--lh24px);
}
.blog article.post .entry-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
article.post .entry-content {
    display: grid;
    grid-auto-flow: row;
    gap: 32px;
}
article.post .entry-content .btn {
    display: inline-block;
    width: fit-content;
}
article.post .entry-content .btn:hover {
	color: #fff;
}


.single-post #primary {
	max-width: 1420px;
	margin: 0 auto;
	padding: 0 2em 80px;
}
.single-post article.post {
	grid-template-areas: 'img title'
						'img description';
	grid-template-rows: auto 1fr;
}
.single-post article.post .post-thumbnail {
	grid-area: img;
}
.single-post article.post .entry-header {
	grid-area: title;
}
.single-post article.post .entry-content {
	grid-area: description;
}
.single-post article.post .post-thumbnail img {
	width: 100%;
}
.entry-content p a {
	color: var(--mainColor);
	text-decoration: underline;
}
.entry-content p strong {
	font-weight: bold;
}
.entry-content p em {
	font-style: italic;
}
.back-link {
    margin-bottom: 1.25em;
    display: inline-block;
}
.back-link a {
    display: grid;
    grid-template-columns: 6px 1fr;
    gap: 5px;
    color: var(--mainColor);
    align-items: center;
    transition: .5s color;
}
.back-link a svg {
    transform: rotate(180deg);
}
.back-link a svg path {
	transition: .5s fill;
}
.back-link a:hover {
	color: var(--secondaryColor);
}
.back-link a:hover svg path {
	fill: var(--secondaryColor);
}
.blog article.post .entry-content p:not(:first-child) {
    display: none;
}

@media screen and (max-width: 768px) {
	.articles {
	    grid-template-columns: 1fr;
	}
	.single-post article.post {
		grid-template-areas: 'img'
							'title'
							'description';
	}
	.single-post #primary {
	    padding: 0 1em 80px;
	}
}



/* Privacy & Cookie policy */
.doc--page {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 2em 80px;
}
.doc--page h4 {
    font-weight: bold;
    font-size: 35px;
    margin-bottom: 25px;
}
.doc--page p, .doc--page li, .doc--page b {
    font-size: 17px;
    line-height: 32px;
}
.doc--page b {
	font-weight: bold;
}
.doc--page.privacy ol {
    list-style: disc;
    padding-left: 40px;
    margin: 1em 0;
}
.cookie_policy > h4 {
    margin-top: 35px;
}
.cookie_policy blockquote {
	margin-top: 2em;
}




.btn.video {
	cursor: pointer;
}
.btn.video svg {
    width: 30px;
}

.btn.video:hover svg {
    transform: translateY(-50%) scale(1.15);
}


.sec > b {
    font-size: 24px;
    font-weight: 800;
    margin-top: 1.5em;
    margin-bottom: .5em;
    display: block;
}
.c-info {
	line-height: 37px;
}
.c-info a {
	text-decoration: none !important;
	color: var(--textColor) !important;
}





.articles .cert-grid {
	display: none;
}















































