/* Enter Your Custom CSS Here */

p{line-height: 1.40em!important;}
.testo_footer p {font-size: 15px!important; }
.testo_footer_mini p {font-size:12px!important; }
.testo_footer_mini {margin-top:10px!important;}


h1{line-height:120px;}

#fullpage .section .inner span.subtitle{font-size:35px!important;}


/*MENU*/

.overlay.style-light-bg { background-color: rgba(238, 238, 238, 1)!important;}

.menu-button-overlay {
    width: 90px;
    height: 90px;
    padding: 0!important;
    text-align: center;
    line-height: 82px!important;
}
.menu-button-overlay:before {
    content: "";
    border: 1px solid #000;
    width: 60%;
    height: 60%;
    position: absolute;
    left: 20%;
    top: 20%;
    -webkit-transition: border-color 0.3s ease-in-out 0s;
       -moz-transition: border-color 0.3s ease-in-out 0s;
        -ms-transition: border-color 0.3s ease-in-out 0s;
         -o-transition: border-color 0.3s ease-in-out 0s;
            transition: border-color 0.3s ease-in-out 0s;
}
.home .menu-button-overlay:before  { border-color: #eee; }
.home .menu-button-overlay.overlay-close:before { border-color: #000; }
.menu-button-overlay .lines,
.menu-button-overlay .lines:before,
.menu-button-overlay .lines:after {
    height: 1px;
    width: 30px;
}
.home .menu-button-overlay .lines,
.home .menu-button-overlay .lines:before,
.home .menu-button-overlay .lines:after {
  background-color: #eee;
}
.home .menu-button-overlay.overlay-close .lines,
.home .menu-button-overlay.overlay-close .lines:before,
.home .menu-button-overlay.overlay-close .lines:after {
  background-color: #000;
}
 
.menu-button-overlay .lines:before {
    top: 12px;
}
.menu-button-overlay .lines:after {
    top: -12px;
}

.lines-button.x2.close .lines:before, .lines-button.x2.close .lines:after {
   width: 30px;
}

.desktop .overlay:before {
    content: "";
    display: block;
    height: 108px;
    width: 154px;
    position: absolute;
    background-image: url(https://www.ems-group.it/wp-content/uploads/2017/06/ems_logo_scuro-02.png);
    background-size: cover;
    top: 26px;
    left: 35px;
}

.menu-secondario-servizi a,
.menu-secondario-servizi-last a{font-size:24px!important;}

i.fa.fa-angle-right.fa-dropdown {display:none;}

.menu-overlay .vmenu-container .menu-smart a:not(.wc-forward) {line-height:2em!important;}
.menu-secondario-servizi {display: inline-block!important; margin-right: 40px!important;}
.menu-secondario-servizi-last {display: inline-block!important;}
.menu-overlay .vmenu-container .menu-sidebar-inner {max-width: 1300px;}
.menu-secondario-servizi:after {
    content: '';
    width: 20px;
    height: 1px;
    background-color: #cccccc;
    position: absolute!important;
    right: 0;
    margin-right: -32px;
    margin-top: -20px;
}


/* TITOLI PAGINE */

.main-container .row-container .double-bottom-padding{padding-top:10px!important; padding-bottom:10px!important;}



/* FORM */

input[type=checkbox]:checked:before{display:none;}
.with_frm_style .frm_checkbox input[type=checkbox]{vertical-align:middle;}
textarea#field_hr0yh {
    background: transparent;
    border: none;
    box-shadow: none!important;
    font-size: 18px;
}


/* ARTICOLI */

.category-info {display: none!important;}

.author-info{display: none!important;}

.pagination .page-next, .navigation .page-next{display:none!important;}
.row-navigation.row-navigation-light {background-color: #91d2bf;}
.pagination .page-prev, .navigation .page-prev{display:none!important;}


.isotope-filters ul.menu-smart.text-uppercase > li > span > a{font-size: 16px;}

.t-entry-excerpt p {font-size: 18px;}

.main-container .row-navigation .row-parent{margin-top:20px!important;}

.single-post span.btn-container a:hover {color: #fff!important;}

.single-post h1 {
    line-height: 54px!important;
}


.isotope-filters.menu-container.single-gutter{z-index:0!important;}


/* MEDIA QUERIES */

@media only screen and (max-width: 1440px){

  .clip-text {font-size: 93px!important; line-height: 98px!important;}

}


@media only screen and (min-width:960px) and (max-width: 1366px) {
  
  
  h1{font-size: 100px!important; line-height: 92px!important;}
   .single-post h1{font-size: 50px!important; line-height: 50px!important;}
  
 .clip-text {font-size: 78px!important; line-height: 80px!important;}
  #fullpage .section span.numero{font-size: 78px!important;}
  
  .heading-text.el-text.titolo_servizio {padding: 10%;}
}



@media only screen and (max-width: 959px) {
  	.menu-light .row-brand, .menu-light .row-menu .row-menu-inner {
    border-bottom: none; }
  	.mobile.menu-overlay .overlay-menu { position: fixed; top: 109px; z-index: 20; }
  
  	.tablet .menu-secondario-servizi {display: inherit!important; margin-right: inherit!important;}
	.tablet .menu-secondario-servizi-last {display: inherit!important;}
	.tablet .menu-secondario-servizi a {padding-left:55px!important;}
	.tablet .menu-secondario-servizi-last a {padding-left:55px!important;}
  
  .tablet .clip-text {font-size: 50px!important; line-height: 50px!important;}
}

@media only screen and (min-width: 960px) {
.tablet .overlay:before {
    content: "";
    display: block;
    height: 108px;
    width: 154px;
    position: absolute;
    background-image: url(https://www.ems-group.it/wp-content/uploads/2017/06/ems_logo_scuro-uai-258x181.png);
    background-size: cover;
    top: 12px;
    left: 52px;
}
}




.mobile h1{line-height:inherit!important;}
.mobile .heading-text.el-text.titolo_servizio {
    padding: 10%;
}


.smartphone .font-size-menu-mobile,
.smartphone .menu-container:not(.isotope-filters) ul.menu-smart a {font-size: 16px !important; text-transform: inherit;}

.smartphone.menu-overlay .vmenu-container .menu-smart a:not(.wc-forward) {line-height: 1.2em!important;}
.smartphone .menu-secondario-servizi a {padding-left:55px!important;}
.smartphone .menu-secondario-servizi-last a {padding-left:55px!important;}







.mobile .menu-wrapper { position: fixed; top: 0; z-index: 99; }
.mobile .menu-container .logo-container { padding: 15px!important; }

.mobile.menu-open .menu-wrapper .menu-container {
    background-color: #fff;
}
.mobile.menu-open .logo-image.logo-light { opacity: 1!important; }
.mobile.menu-open .logo-image.logo-dark { opacity: 0!important; }
.mobile.menu-open #masthead .menu-button-overlay:before { border-color: #000; }
.mobile.menu-open #masthead .menu-button-overlay .lines,
.mobile.menu-open #masthead .menu-button-overlay .lines:before,
.mobile.menu-open #masthead .menu-button-overlay .lines:after {
  background-color: #000;
}


.smartphone p{font-size:15px!important;}
.smartphone li{font-size:15px!important;}
.smartphone h1{font-size:25px!important;}
.smartphone h2{font-size:23px!important;}
.smartphone .h2{font-size:23px!important;}
.smartphone h3{font-size:20px!important;}
.smartphone:not(.home) .main-wrapper {padding-top: 109px;}


.smartphone .freccia_contatti {margin-top: 0px!important; width: 10%;}

.smartphone textarea#field_hr0yh{height:120px;}

.smartphone .with-bg.isotope-filters ul.menu-smart > li > span > a {padding: 18px 2px 18px 2px !important; font-size:12px!important;}





.tablet:not(.home) .main-wrapper {padding-top: 109px;}


.tablet .font-size-menu-mobile,
.tablet .menu-container:not(.isotope-filters) ul.menu-smart a {font-size: 20px !important; text-transform: inherit;}

.tablet #fullpage .section .inner span.subtitle{font-size:22px!important;}
.smartphone #fullpage .section .inner span.subtitle{font-size:16px!important;}



