/*
Theme Name: MT
Theme URI:  https://www.rightbrain.it
Author:     Right Brain
Author URI: https://www.rightbrain.it
Template:   neve
Version:    1.0
License:    GNU General Public License v2 or later
*/


.header-top-inner .builder-item {
	margin: 0;
}
.nv-title-tagline-wrap {
	position: relative;
	top: 15px;
	color: #1d384a;
	font-size: 16px;
	letter-spacing: 3px;
	text-align: right;
	display: block;
	width: 100%;
	left: 3px;
}

.contattiheader{
	background:#222;
	padding:16px 0px;
	position:relative;
	color:#fff;
}
.contattiheader::after {
	position: absolute;
	left: 100%;
	width: 1000%;
	content: "";
	background: #222;
	display: block;
	top: 0;
	height: 100%;
}
.contattiheader::before {
	position: absolute;
	left: -40px;
	width: 1px;
	content: "";
	display: block;
	border-top: 60px solid transparent;
	border-left: 0px solid transparent;
	border-bottom: 0px solid transparent;
	border-right: 40px solid #222;
	top: 0;
}
.contattiheader a {
	color: #fff !important;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.4em;
	letter-spacing: 2px;
	border-right: 1px solid #fff5;
	padding: 0 20px 0 0;
	margin: 0 10px;
	display: inline-block;
	font-weight:400;
}

.contattiheader a span {
	display: inline-block;
	font-weight: 800;
	margin-right: 10px;
	font-size: 21px;
	position: relative;
	top: 2px;
}
.contattiheader a:hover{
	color:#1c9ba2!important;
}
.site-logo img {
	position: absolute;
	top: -73px;
}
.tophome {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;  
    min-height: 80vh; 
    max-height: 800px;    
    background: url(https://mtmeccatronicaofficina.it/wp-content/uploads/2026/05/bg-top.webp) no-repeat right bottom;
    background-size: cover; 
    overflow: hidden; 
    position: relative;
}
.tophomewrap {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; /* Importante per contenere l'immagine mentre si sposta */
}

.tophomesx {
    width: 40%;
}
.tophomedx {
    width: 55%;
}


.tophomedx img{
    width: auto;
    object-fit: cover;
    border-radius: 40px; 
}
.tophomesx h1 {
	font-size: 15px;
	line-height: 1.4em;
	margin: 0;
	color: #1c9ba2;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight:600;
}
.tophomesx h1 strong{
color:#1d384b;
	font-weight:900;
}

.tophomesx h2 {
	margin: 10px 0 40px;
	color: #1d384a;
	letter-spacing: 0px;
	font-size: 37px;
	line-height: 1.2em;
	font-weight: 600;
	
}
.tophomesx h2 strong {
	display: block;
	margin-bottom: 15px;
	font-size: 65px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9em;
}








.tophomesx a {
	display: block;
	width: 90%;
	max-width: 245px;
	margin: 40px 0;
	background: #1c9ba2;
	color: #fff;
	padding: 10px 20px;
	text-align: center;
	font-size: 18px;
	border-radius: 40px;
}
.tophomesx a:hover{
	background:#A2231C;
	color: #fff;
}


#chisiamo{
	width:90%;
	max-width:1600px;
	padding-top:50px;
	margin:80px auto 130px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
align-items:center;
}
.chisiamosx{
	width:46%;
}
.chisiamodx{
	width:48%;
}
.chisiamosx img{
	width:100%;
	line-height:0px;
}
.marche {
	background: #1c9ba2;
	padding: 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	position: relative;
	width: 75%;
	margin: -15% auto 0%;
}
.marche:before {
content: "";
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;  
    width: 40px;   
    background-color: #1c9ba2;
    display: block;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.marche::after {
	content: "";
	position: absolute;
	right: -40px;
	top: 0%;
	bottom: 0;
	width: 40px;
	background-color: #1c9ba2;
	transform: scaleY(-1);
	clip-path: polygon(0px 100%, 0% 0%, 100% 100%);
}

.marche img{
	max-width:31.333%;
	max-height:90px;
	width:auto;
}

.chisiamodx h2{
	display: block;
	margin: 10px 0 15px;
	font-size: 50px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9em;
}
.chisiamodx h5 {
	font-size: 15px;
	line-height: 1.4em;
	margin: 0;
	color: #1c9ba2;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight:600;
	position:relative;
}
.chisiamodx h5 strong{
color:#1d384b;
	font-weight:900;
}
.chisiamodx h5 em {
	color: #1d384a;
	letter-spacing: 0px;
	text-transform: none;
	font-style: normal;
}
.chisiamodx h3 {
	margin: 10px 0 40px;
	color: #1d384a;
	letter-spacing: 0px;
	font-size: 26px;
	line-height: 1.2em;
	font-weight: 600;
	
}
.chisiamodx p {
	margin-bottom: 15px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6em;
	color:#1d384a;
}
.chisiamodx p strong{
	font-weight: 700;
}


#servizi{
	width:90%;
	max-width:1400px;
	margin:80px auto 130px;
	padding-top:50px;
}

#servizi h2{
	margin: 10px auto 15px;
	font-size: 50px;
	text-align:center;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9em;
}
#servizi h5 {
	font-size: 15px;
	line-height: 1.4em;
	text-align:center;
	margin: 0 auto;
	color: #1c9ba2;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight:600;
	position:relative;
}
#servizi h5 strong{
color:#1d384b;
	font-weight:900;
}
#servizi h3 {
	margin: 10px 0 20px;
	color: #1d384a;
	letter-spacing: 0px;
	font-size: 26px;
	line-height: 1.2em;
	font-weight: 600;
	text-align:center;	
}

#servizi p {
	margin: 0 auto 15px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6em;
	color:#1d384a;
	text-align:center;
	max-width:600px;
}
#servizi p strong{
	font-weight: 700;
}


.serviziboxes{
	margin:30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.servizio {
	width: 29.333%;
	box-sizing: border-box;
	border-radius: 10px;
	text-align: left;
	margin: 1% 2% 40px;
	background:#f5f5f5;
}
#servizi .servizio img {
	line-height: 0px;
	margin: 0px auto;
	display: block;
	position: relative;
	border-radius: 8px;
clip-path: polygon(
    0% 0%, 100% 0%, 
    100% 95%, 75% 100%, 50% 95%, 25% 100%, 0% 95%
  );
}
#servizi .servizio h3 {
	font-size: 19px;
	line-height: 1.2em;
	margin: 20px auto 25px;
	color: #1d384b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	position: relative;
	text-align: center;
	width:90%;
	
}
#servizi .servizio p {
	margin: 0 auto 25px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4em;
	color: #1d384a;
	text-align: center;
	width:90%;
}
.servizio:hover{
background:#1d384b;
}
#servizi .servizio:hover h3,#servizi .servizio:hover p {
	color:#fff;
}


.contattimodulo {
	width: 90%;
	margin: 0 auto;
	max-width: 1400px;
	padding-top:50px;
}
.contattimodulo h2{
	margin: 10px auto 50px;
	font-size: 50px;
	text-align:left;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9em;
	position:relative;
}
.contattimodulo h2::before {
	content: "";
	display: block;
	position: absolute;
	width: 1000px;
	background: #1c9ba2;
	height: 75px;
	top: -20px;
	left: -1050px;
	clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
}
.contattimodulo p{
	width:100%;
	margin:0;
}
.formtop{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.formtop label{
	width:31.333%;
	margin:1%;
}
.contattimodulo label input{
	width:100%;
	margin:0;
	border:none!important;
	border-bottom:2px solid #1d384b!important;
	padding:10px 20px;
	font-size:16px;
	line-height:1.4em;
	letter-spacing:1px;
	color:#1d384b;
	box-shadow:none!important;
}
.wpcf7-not-valid-tip {
	font-size: 13px;
}
.formbottom{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.formbottom label{
	width:48%;
	margin:1%;
}
.formbottom label select, .formbottom label textarea{
	width:100%;
	margin:0;
	border:none!important;
	border-bottom:2px solid #1d384b!important;
	padding:10px 20px;
	font-size:16px;
	line-height:1.4em;
	letter-spacing:1px;
	color:#1d384b;
	box-shadow:none!important;
	height:50px;
}
.formbottom label select{
	height:48px;
}


.formbottom label textarea{
	top:14px;
	position:relative;
}

.contattimodulo p.privacyaccept label input{
	width:15px;
}
.contattimodulo p.privacyaccept input.wpcf7-submit {
	width: 200px;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 500;
	margin:40px 13px;
	background:#1c9ba2!important;
}

.contattimodulo p.privacyaccept input.wpcf7-submit:hover{
	background: #A2231C!important;
  color: #fff;
}

#mappa{
	margin:100px auto 0;
}


.newfooter{
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	width:90%;
	max-width:1400px;
	margin:75px auto;
	align-items:center;
}
.newfootersx{
width:40%;	
}
.newfooterdx{
width:50%;	
}
.newfootersx h3 {
	margin: 0px auto 30px;
	font-size:40px;
	text-align: left;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 0.9em;
	color: #fff;
	letter-spacing: 1px;
}
.newfootersx h3 img {
	height: 50px;
	position: relative;
	top: 10px;
}
.newfootersx h5 {
	font-size: 15px;
	line-height: 1.4em;
	text-align:left;
	margin: 0 auto;
	color: #1c9ba2;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight:600;
	position:relative;
}
.newfootersx p {
	margin-bottom: 15px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6em;
	color: #fff;
	letter-spacing: 0.5px;
}
.newfootersx p.nrtel {
	font-size: 30px;
	font-weight: 100;
	letter-spacing: 1px;
	color: #fff5;
	margin: 0 0 5px;
	border-bottom: 1px solid #fff2;
	padding-bottom: 50px;
}
.newfootersx p.nrtel a{
	color: #fff;
	font-weight: 500;
}

.newfooterdxtop{
		height:75px;
	width:100%;
	margin: 10px auto 20px;
	position:relative;

}
.newfooterdxtop::after {
	content: "";
	display: block;
	position: absolute;
	width: 150%;
	background: #1c9ba2;
	height: 75px;
	top: -20px;
	left: 0;
	clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.newfooterdxtop img{
	filter:brightness(500%);
	position:absolute;
	top:-20px;
	right:0px;
	left:auto;
	z-index:99;
}



.newfooterdxbottom{
	display:flex;
	flex-wrap:wrap;
	justify-content:flex-end;
	margin:0px auto 0;
}
.newfooterdxbottomsx{
	width:45%;
	margin-left:5%;
}
.newfooterdxbottomdx{
	width:45%;
	text-align:right;
}
.newfooterdxbottom p{
	margin-bottom: 15px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6em;
	color: #fff;
	letter-spacing: 0.5px;
}

.footer-bottom{
	display:none!important;
}

p.copyright{
	background:#111;
	padding:20px 20px;
	text-align:center;
	font-size:13px;
line-height:1.3em;
	color:#eee;	
	margin:0;
}
p.copyright a{
		font-size:14px;
line-height:1.3em;
	color:#eee;	
}







/*############################################*/
/*############################################*/
/*############################################*/

@media only screen and (max-width: 1200px){
	.tophomesx h2 strong, .chisiamodx h2, #servizi h2, .contattimodulo h2, .newfootersx h3 {
	font-size: 50px;
}
	.tophomesx h2,.chisiamodx h3, #servizi h3{
	font-size: 30px;
}
	.tophome {
	min-height: 70vh;
}
}

@media only screen and (max-width: 1024px){
.contattiheader {
	padding: 10px 0px;
}	
	.contattiheader a {
	letter-spacing: 1px;
}
.tophomesx h1, .chisiamodx h5, #servizi h5, .newfootersx h5{
	font-size: 13px;
	letter-spacing: 1px;
}	
	.tophomesx h2,.chisiamodx h3, #servizi h3{
	font-size: 20px;
}
	.tophomesx h2 strong, .chisiamodx h2, #servizi h2, .contattimodulo h2, .newfootersx h3{
	font-size: 40px;
}
	.tophome {
	min-height: 400px;
}
	.chisiamosx {
	width: 90%;
	margin: 0 auto;
}
	.chisiamodx {
	width: 90%;
	margin: 0 auto 30px;
}
	#chisiamo {
	width: 90%;
	margin: 40px auto 100px;
	flex-direction: column-reverse;
}
	.chisiamodx p, #servizi p {
	font-size: 16px;
}
}

@media only screen and (max-width: 960px){
	.site-logo img {
	top: 0;
	position:relative;
}	
	.nv-title-tagline-wrap {
	top: 2px;
	font-size: 14px;
	letter-spacing: 1.4px;
	left: -1px;
}
	.contattiheader {
	background: #fff;
	padding: 0px 0px;
	color: #222;
}
	.contattiheader a {
	color: #222 !important;
	font-size: 0px;
	line-height: 0em;
	letter-spacing: 0px;
	border-right: 0px solid #fff5;
	padding: 0;
	margin: 0;
	display: inline-block;
}
.contattiheader::before,.contattiheader::after {
	display: none;
}	
.contattiheader a span {
	font-size: 25px;
}	
	#servizi {
	margin: 40px auto 100px;
}
	.servizio {
	width: 46%;
}
}

@media only screen and (max-width: 768px){
	.tophomesx {
	width: 90%;
	margin: 40px auto 0;
}
	.tophome {
	min-height: 1px;
}
	.tophomesx h2 strong, .chisiamodx h2, #servizi h2, .contattimodulo h2, .newfootersx h3 {
	font-size: 30px;
}
	.tophomesx h2, .chisiamodx h3, #servizi h3 {
	font-size: 18px;
}
	.tophomesx a {
	max-width: 190px;
	padding: 7px 15px;
	font-size: 14px;
}
	.tophomedx {
	width: 100%;
}
	.chisiamodx p, #servizi p {
	font-size: 15px;
	line-height: 1.5em;
}
	.marche img {
	max-height: 50px;
}
	.servizio {
	width: 90%;
	margin: 0 auto 25px;
}
	#servizi .servizio h3 {
	font-size: 17px;
}
	#servizi .servizio p {
	font-size: 14px;
}
	.contattimodulo label input, .formbottom label select, .formbottom label textarea{
	border-bottom: 1px solid #1d384b !important;
	padding: 6px 10px !important;
	font-size: 14px !important;
}
	
.formtop label {
	width: 98%;
	margin: 1%;
}
	.formbottom label {
	width: 98%;
	margin: 1%;
}
	.privacyaccept .wpcf7-list-item-label, .privacyaccept .wpcf7-list-item-label a{
		font-size:12px!important;
		color:#888;
	}
	#mappa iframe{
	max-height:300px!important;
}
.newfootersx {
	width: 100%;
	text-align: center;
}
.newfootersx h3, .newfootersx h5 {
	text-align: center;
}
.newfootersx p.nrtel {
	font-size: 25px;
	padding-bottom: 30px;
}
	.newfooterdx {
	width: 100%;
	margin: 75px 0 0;
}
	.newfooterdxtop::after {
	height: 50px;
	top: 0px;

}
	.newfooterdxtop {
	height: 60px;
}
.newfooterdxbottomsx {
	width: 50%;
	margin-left: 0%;
}
.newfooterdxbottom p {
	margin-bottom: 15px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6em;
	color: #fff;
}	
		.newfootersx p {
	font-size: 15px;
}
p.copyright {
	font-size: 12px;
}	
	
}

@media only screen and (max-width: 480px){
	.tophomesx h2 strong,.chisiamodx h2, #servizi h2, .contattimodulo h2, .newfootersx h3 {
	font-size: 25px;
}
	.tophomesx h2, .chisiamodx h3, #servizi h3 {
	font-size: 17px;
}
	.tophomesx h1, .chisiamodx h5, #servizi h5, .newfootersx h5 {
	font-size: 12px;
	letter-spacing: 0px;
}
	.chisiamodx p, #servizi p {
	font-size: 14px;
}
	.marche {
	padding: 10px;
	width: 90%;
}
	.marche img {
	max-height: 45px;
}
		#servizi .servizio h3 {
	font-size: 17px;
}
		#servizi .servizio p {
	font-size: 13px;
}
	#servizi {
	margin: 0px auto 0px;
}
	.newfootersx p.nrtel {
	font-size: 20px;
	padding-bottom: 30px;
}
	.newfooter {
	margin: 40px auto;
}
.newfootersx h3 img {
	height: 40px;
}
	.newfootersx p {
	font-size: 14px;
}
	
.newfootersx p img {
	height: 25px;
	position: relative;
	top: 7px;
	margin: 0 3px 0 0;
}
.newfooterdxbottom {
	flex-direction: column-reverse;
}
	.newfooterdxbottomsx {
	width: 100%;
	margin-left: 0%;
		text-align: center;
	margin: 30px auto 0;
}
	.newfooterdxbottomdx {
	width: 100%;
	margin-left: 0%;
	text-align: center;
	margin: 0px auto 0;
}	
.newfooterdxtop img {
	filter: brightness(500%);
	position: relative;
	top: -20px;
	right: auto;
	left: auto;
	z-index: 99;
	display: block;
	margin: 0 auto;
}	
	.site-logo img {
	max-width: 100px;
}
	.nv-title-tagline-wrap {
	font-size: 11px;
	letter-spacing: 0.2px;
}
	.contattiheader a span {
	font-size: 21px;
}
}










