.home h1,.page-child h1 {
    font-size: 4.6875vw;    /* 90px */
    line-height: 4.6875vw;  /* 90px */
}

h1 {
  font-size: 3.8vw;   /* 70px */
    line-height: 4vw;  /* 75px */
}

h2 {
    font-size: 3.8vw;   /* 70px */
    line-height: 4vw;  /* 75px */
}

h3 {
    font-size: 2.6042vw;    /* 50px */
    line-height: 2.8646vw;  /* 55px */
}

h4 {
    font-size: 2.0833vw;    /* 40px */
    line-height: 2.0833vw;  /* 40px */
}

h5,.slidernews h5 a {
    font-size: 1.5625vw;    /* 30px */
    line-height: 1.6667vw;  /* 32px */
}

p,ul li,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 20px;    /* 20px */
    line-height: 24px;    /* 24px */
}

h4.testosottoslidehover1 {
  font-size: 1.5vw;
  line-height: 1.7vw;
}


/**
*
Book 300
Regular 400
Medium 500
Bold 700
*
*/

.slide {
  font-size: 2.8vw !important; /* 65px */
  line-height: 3vw !important; /* 70px */
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 55px;
  letter-spacing: 5px;
}

.slider-valori h3 {
     font-size: 2vw;    /* 40px */
    line-height: 2vw;  /* 45px */

  }

.font16px,.font16px p {
  font-size:16px;
  line-height:18px;
}

.thegem-te-menu a {
    font-size:14px !important;
    line-height:17px !important;
    font-weight: 500;
    text-rendering: geometricprecision;
}

footer a {
  font-size:12px;
  line-height:24px;
  font-weight: 500;
}

 footer p {
  font-size:12px;
  line-height:24px;
  font-weight: 300;
}

.contattacimenu p, .contattacimenu a {
  font-size:12px !important;
  line-height: 16px;
  text-rendering: geometricprecision;
}

.pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:20px !important;
  line-height:24px !important;
}

@media screen and (min-width: 1921px) {
  .home h1, .page-child h1 {
    font-size: 90px;
    line-height: 90px;
  }

  h1 {
    font-size: 72.96px;
    line-height: 76.8px;
  }

  h2,body.single .block-content h2 {
    font-size: 72.96px;
    line-height: 76.8px;
  }

  h3, body #main h3 {
    font-size: 50px;
    line-height: 55px;
  }

  h4, body #main h4 {
    font-size: 40px;
    line-height: 40px;
  }

  h5, .slidernews h5 a {
    font-size: 30px;
    line-height: 32px;
  }

  .slide {
    font-size: 53.76px !important;
    line-height: 57.6px !important;
  }

  .slider-valori h3 {
    font-size: 38.4px;
    line-height: 38.4px;
  }
}



@media (max-width: 1500px) {

    .home h1,.page-child h1 {
      font-size: 4.5vw;    /* 90px */
      line-height: 4.5vw;  /* 90px */
    }

    h1 {
    font-size: 4vw;   /* 65px */
      line-height: 4vw;  /* 65px */
    }

    h2,body.single .block-content h2 {
      font-size: 4.5vw;   /* 65px */
      line-height: 4.5vw;  /* 65px */
    }

    h3, body #main h3 {
      font-size: 2.8vw;    /* 40px */
      line-height: 3vw;  /* 43px */
    }

    h4, body #main h4 {
      font-size: 2.1vw;    /* 30px */
      line-height: 2.2vw;  /* 32px */
    }

    h5,.slidernews h5 a {
      font-size: 1.8vw;    /* 26px */
      line-height: 2vw;  /* 29px */
    }

    p,ul li,body.single.post-template-default #main ul li,.vc_acf {
      font-size: 18px;    /* 18px */
      line-height: 22px;    /* 22px */
    }

    /**
    *
    Book 300
    Regular 400
    Medium 500
    Bold 700
    *
    */

    .slide {
    font-size: 2.8vw; /* 65px */
    line-height: 3vw; /* 70px */
    padding-top: 60px;
    padding-left: 40px;
    padding-right: 55px;
    letter-spacing: 5px;
    }

    .slider-valori h3 {
      font-size: 2vw;    /* 40px */
      line-height: 2vw;  /* 45px */

    }

    .font16px,.font16px p {
    font-size:16px;
    line-height:18px;
    }

    .thegem-te-menu a {
      font-size:14px !important;
      line-height:17px !important;
      font-weight: 500;
      text-rendering: geometricprecision;
    }

    footer a {
    font-size:12px;
    line-height:24px;
    font-weight: 500;
    }

    footer p {
    font-size:12px;
    line-height:24px;
    font-weight: 300;
    }

    .contattacimenu p, .contattacimenu a {
    font-size:12px !important;
    line-height: 16px;
    text-rendering: geometricprecision;
    }

    .pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
    font-size:20px !important;
    line-height:24px !important;
    }

}


@media (max-width: 1439px) {
  .thegem-te-menu a {
    font-size: 13px !important;
  }
}


@media (max-width: 1250px) {
  p,ul li,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 15px;    /* 20px */
    line-height: 19px;    /* 24px */
}

.pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:15px !important;
  line-height:19px !important;
}
}

@media (max-width: 1100px) {

  .home h1,.page-child h1 {
    font-size: 5vw;    /* 90px */
    line-height: 5vw;  /* 90px */
  }

  h1 {
  font-size: 4vw;   /* 65px */
    line-height: 4vw;  /* 65px */
  }

  h2,body.single .block-content h2 {
    font-size: 4.5vw;   /* 65px */
    line-height: 4.5vw;  /* 65px */
  }

  h3, body #main h3 {
    font-size: 2.8vw;    /* 40px */
    line-height: 3vw;  /* 43px */
  }

  h4, body #main h4 {
    font-size: 2.1vw;    /* 30px */
    line-height: 2.2vw;  /* 32px */
  }

  h5,.slidernews h5 a {
    font-size: 2.1vw;    /* 26px */
    line-height: 2.1vw;  /* 29px */
  }

  p,ul li,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 15px;    /* 18px */
    line-height: 19px;    /* 22px */
  }

  /**
  *
  Book 300
  Regular 400
  Medium 500
  Bold 700
  *
  */

  .slide {
  font-size: 2.8vw; /* 65px */
  line-height: 3vw; /* 70px */
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 55px;
  letter-spacing: 5px;
  }

  .slider-valori h3 {
    font-size: 2vw;    /* 40px */
    line-height: 2vw;  /* 45px */

  }

  .font16px,.font16px p {
  font-size:16px;
  line-height:18px;
  }

  .thegem-te-menu a {
    font-size:14px !important;
    line-height:17px !important;
    font-weight: 500;
    text-rendering: geometricprecision;
  }

  footer a {
  font-size:12px;
  line-height:24px;
  font-weight: 500;
  }

  footer p {
  font-size:12px;
  line-height:24px;
  font-weight: 300;
  }

  .contattacimenu p, .contattacimenu a {
  font-size:12px !important;
  line-height: 16px;
  text-rendering: geometricprecision;
  }

  .pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:15px !important;
  line-height:19px !important;
  }

}

@media (max-width: 1023px) {
  
  .home h1,.page-child h1 {
    font-size: 5.8vw;    /* 90px */
    line-height: 5.8vw;  /* 90px */
  }

  h1 {
  font-size: 4vw;   /* 65px */
    line-height: 4vw;  /* 65px */
  }

  h2,body.single .block-content h2 {
    font-size: 4.5vw;   /* 65px */
    line-height: 4.5vw;  /* 65px */
  }

  h3, body #main h3 {
    font-size: 3.2vw;    /* 40px */
    line-height: 3.2vw;  /* 43px */
  }

  h4, body #main h4 {
    font-size: 2.3vw;    /* 30px */
    line-height: 2.3vw;  /* 32px */
  }

  h5,.slidernews h5 a {
    font-size: 2.8vw;    /* 26px */
    line-height: 3vw;  /* 29px */
  }

  p,,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 15px;    /* 18px */
    line-height: 19px;    /* 22px */
  }

  /**
  *
  Book 300
  Regular 400
  Medium 500
  Bold 700
  *
  */

  .slide {
  font-size: 2.8vw; /* 65px */
  line-height: 3vw; /* 70px */
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 55px;
  letter-spacing: 5px;
  }

  .slider-valori h3 {
    font-size: 2vw;    /* 40px */
    line-height: 2vw;  /* 45px */

  }

  .font16px,.font16px p {
  font-size:16px;
  line-height:18px;
  }

  .thegem-te-menu a {
    font-size:14px !important;
    line-height:17px !important;
    font-weight: 500;
    text-rendering: geometricprecision;
  }

  footer a {
  font-size:12px;
  line-height:24px;
  font-weight: 500;
  }

  footer p {
  font-size:12px;
  line-height:24px;
  font-weight: 300;
  }

  .contattacimenu p, .contattacimenu a {
  font-size:12px !important;
  line-height: 16px;
  text-rendering: geometricprecision;
  }

  .pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:15px !important;
  line-height:19px !important;
  }

  

}

@media screen and (max-width:1023px) and (min-width: 768px) {

  .page-id-196 .bordoflessibile1 h5,.page-id-196 .bordoflessibile2 h5 {
    font-size: 2.1vw;
    line-height: 2.5vw;
  }

  .page-id-196 .bordoflessibile1 p {
    margin-right: 20px;
  }

  .componentipayflowmobile h4 {
    font-size: 2.0vw;
    line-height: 2.0vw;
  }

  .page-id-177 h4 {
    font-size: 2.1vw;
    line-height: 2.1vw;
  }

  .page-id-178 h5 {
    font-size: 2.4vw;
    line-height: 2.8vw;
  }

  .menu-item a {
    font-size:20px !important
    }

    

}

@media (max-width: 768px) {

  .home h1,.page-child h1 {
    font-size: 7.5vw;    /* 90px */
    line-height: 7.5vw;  /* 90px */
  }

  h1 {
  font-size: 4.5vw;   /* 65px */
    line-height: 4.5vw;  /* 65px */
  }

  h2,body.single .block-content h2 {
    font-size: 5vw;   /* 65px */
    line-height: 5vw;  /* 65px */
  }

  h3, body #main h3 {
    font-size: 4vw;    /* 40px */
    line-height: 4vw;  /* 43px */
  }

  h4, body #main h4 {
    font-size: 2.5vw;    /* 30px */
    line-height: 2.5vw;  /* 32px */
  }

  h5,.slidernews h5 a {
    font-size: 20px;    /* 26px */
    line-height: 20px;  /* 29px */
  }


  p,ul li,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 15px;    /* 18px */
    line-height: 19px;    /* 22px */
  }

  /**
  *
  Book 300
  Regular 400
  Medium 500
  Bold 700
  *
  */

  .slide {
  font-size: 2.8vw; /* 65px */
  line-height: 3vw; /* 70px */
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 55px;
  letter-spacing: 5px;
  }

  .slider-valori h3 {
    font-size: 4vw;    /* 40px */
    line-height: 4vw;  /* 45px */

  }

  .font16px,.font16px p {
  font-size:16px;
  line-height:18px;
  }

  .thegem-te-menu a {
    font-size:14px !important;
    line-height:17px !important;
    font-weight: 500;
    text-rendering: geometricprecision;
  }

  footer a {
  font-size:12px;
  line-height:24px;
  font-weight: 500;
  }

  footer p {
  font-size:12px;
  line-height:24px;
  font-weight: 300;
  }

  .contattacimenu p, .contattacimenu a {
  font-size:12px !important;
  line-height: 16px;
  text-rendering: geometricprecision;
  }

  .pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:15px !important;
  line-height:19px !important;
  }

  .musye-slider-pagine-wrapper .swiper-slide.slide span {
    font-size:30px;
    line-height:30px;
  }

  body .pulsantevideo, body .pulsantevideo a {
    font-size: 15px !important; 
  }

  .video-title {
    font-size: 20px !important;
    line-height: 22px !important;
  }

  .video-item .video-cat {
    font-size: 17px !important;
    line-height: 17px !important;
  }

  #rmp-container-2043 .rmp-submenu a,#rmp-container-2043 .rmp-submenu li {
    font-size:15px !important;
  }
}


@media (max-width: 500px) {

  .home h1,.page-child h1 {
    font-size: 40px;
    line-height: 40px;
  }

  h1 {
  font-size: 32px; 
    line-height: 32px;
  }

  h2,body.single .block-content h2 {
    font-size: 29px;
    line-height: 29px;
  }

  h3, body #main h3 {
    font-size: 25px;
    line-height: 25px;
  }

  h4, body #main h4 {
    font-size: 16px;
    line-height: 16px;
  }

  h5,.slidernews h5 a {
    font-size: 20px;
    line-height: 20px;
  }

  p,ul li,body.single.post-template-default #main ul li,.vc_acf {
    font-size: 15px;
    line-height: 18px;
  }

  /**
  *
  Book 300
  Regular 400
  Medium 500
  Bold 700
  *
  */

  .slide {
  font-size: 25px; /* 65px */
  line-height: 25px; /* 70px */
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 55px;
  letter-spacing: 5px;
  }

  .pulsantearancione1 button,.vc_btn3.vc_btn3-size-md {
  font-size:15px !important;
  line-height:18px !important;
  }

  


}