/* GENERALI */	
html, body, h1, h2, h3, h4, h5, h6, p, li, a{font-family: 'Barlow', sans-serif;}
html, body, p{font-size:19px;line-height:28px}
body{background-color:#F2F2F2!important;background:#F2F2F2!important;}
h1, h2, h3{margin: 0.83em 0; font-weight:700;color: #dd0a03;clear:both;line-height:35px}
h2{font-size: 40px;line-height: 45px;}
h3{font-size: 28px;line-height: 32px;}
p{margin:1.5em 0;}
hr{height: 2px;border: 1px solid #dd0a03;background-color: #dd0a03;width: 285px;margin-left: 0;margin-top: 20px;margin-bottom: 20px;max-width:100%;}
.lh0{line-height:0}
*{box-sizing:border-box;}
img{border:0}
.maxw600{max-width:600px;}
.mtopneg{margin-top:-184px;}
.zindex{z-index:2;}
.sfondo-grigio{background-color:#F2F2F2;}
.ptop{padding-top:80px;}
.pbot{padding-bottom:80px;}
.pleft{padding-left:80px;}
.pright{padding-right:80px;}
.sfondo-rosso-trasp{background-color: rgba(220, 5, 20, 0.86)}
.sfondo-rosso{background-color: #dd0a03}
.rosso{color: #dd0a03}

.page-template-default #main>div:not(:last-child){padding:0 20px;}
.page-template-default.home #main>.riga>div.boxed{padding:0 20px;}
.page-template-default.home #main>.riga>div:not(.boxed)>div:not(:last-child){padding:0 20px;}
.page-template-default.home #main>.riga>div:not(.boxed)>.riga>#custom_post_widget-19>.boxed{padding:0 20px;}
.page-template-default.home #main>.full{padding:0}

/* MENU */
#masthead{background-color: #676B74}
#masthead a.cent-no-flex{width:175px}
#masthead #primary-menu{display:flex;justify-content:center;flex-wrap:wrap;padding:20px 0;background-color: #dc0514}
#masthead #primary-menu li{padding:10px;}
#masthead #primary-menu li a{font-size: 13px;border-bottom: 1px solid;color:#fff}
#menu-button{display:none;position:absolute;right:20px;top:20px;max-width:35px;cursor:pointer;}

/* FOOTER */
footer{background-color: #676B74;}
footer p{font-size:16px;line-height:19px;text-align:center;margin:0.83em 0; padding:0 15px}
footer a:visited{color:#fff}

.leggi-di-piu{text-decoration:none;color:#dd0a03;font-weight:bold;}
a.leggi-di-piu:visited, a.leggi-di-piu:hover{color:#dd0a03}

/* LIGHTSLIDER MARCHE */
#lightSlider-marche{background-color: rgba(220, 5, 20, 0.86)}
#lightSlider-marche p{text-align:center; font-size:40px;line-height:40px; font-weight:700;color:#fff}
/*#lightSlider-marche li{width:8%!important}*/

/* SERZIVI (MODULO 1) */
.over{background-color: rgba(220, 5, 20, 0.4);    width: 100%;    height: 100%;    position: absolute;    top: 0;    left: 0;opacity:0;-webkit-transition: all 0.6s; transition: all 0.6s;}
.over img{position:absolute;top:50%;margin-top:-32px;left:50%;margin-left:-32px;}
.box-servizi-img:hover .over{opacity:1;}
.box-servizi a{text-decoration:none;}
.box-servizi{padding:0 2%;/*min-height:640px*/}
.box-servizi.tre {padding-right: 0;padding-left: 4%}
.box-servizi.uno {padding-left: 0;padding-right: 4%}
.box-servizi-img{overflow:hidden; max-height:311.64px}
.slide-testo{font-size: 20px;line-height: 24px;margin: 32px 0 0 0;}

/* FORM CONTATTI */
.contenitore-form-contatti{padding-left:20%;}
div.wpcf7-response-output{margin-left:20%;}
#pagina-contatti div.wpcf7-response-output{margin-left:0;margin-right:20%;}
#pagina-contatti .contenitore-form-contatti{padding-left:0;padding-right:20%;}
.contenitore-form-contatti p{width:100%;}
.contenitore-form-contatti input, .contenitore-form-contatti select{width:100%;border:0;height:40px;padding:5px 20px}
.contenitore-form-contatti textarea{width:100%;border:0;padding:5px 20px;height:210px}
.contenitore-form-contatti input[type='submit']{width:120px;padding:8px 30px;color:#ffffff;background-color:#dd0a03;cursor:pointer;}
.contenitore-form-contatti input[type='checkbox']{width:32px;height:auto;}
.wpcf7-acceptance .wpcf7-list-item{margin-left:0}
/* RETTIFICHE */
.rettifiche p{font-size:1.6rem;margin:0;line-height:2rem}
.rettifiche img{width:40px;align-self:center}

/* CONTATTI */
body.page-id-66{background-color:#F2F2F2;}
.contatti p{margin:0;}
.contatti p.titolo{padding: 15px 0 0 0;margin:0;font-weight:600;}
.contatti .titolo.rosso span{margin-top:-7px;display:block;float:left}

/* HOME */
#container-video-home{max-height:800px}

/* GALLERY PHOTO */
.gallery-3-photo{justify-content:space-between;}
.gallery-3-photo>a:nth-child(2){padding:0 7px;}
.prova-img-gallery{width:180px;height:180px;background-color:#c3c3c3;align-self:center}

/* BANNER */
.popmake-content>p{font-size:1.2em;line-height:1.2;}