/*
 * RVFS base sizes
 */
.rvfs-1  { font-size: 70% !important; }
.rvfs-2  { font-size: 75% !important; }
.rvfs-3  { font-size: 80% !important; }
.rvfs-4  { font-size: 90% !important; }
.rvfs-5  { font-size: 100% !important; } /* default */
.rvfs-6  { font-size: 105% !important; }
.rvfs-7  { font-size: 110% !important; }
.rvfs-8  { font-size: 115% !important; }
.rvfs-9  { font-size: 120% !important; }
.rvfs-10 { font-size: 130% !important; }
.rvfs-11 { font-size: 140% !important; }
.rvfs-12 { font-size: 145% !important; }
.rvfs-13 { font-size: 150% !important; }
.rvfs-14 { font-size: 160% !important; }

/* keep accessibility controls unchanged */
.boxCtrl,
.boxCtrl *,
#rvfs-controllers,
#rvfs-controllers * {
  font-size: initial !important;
  line-height:42px !important;
}

/* normal content */
[class*="rvfs-"] p,
[class*="rvfs-"] li,
[class*="rvfs-"] td,
[class*="rvfs-"] th,
[class*="rvfs-"] blockquote,
[class*="rvfs-"] figcaption,
[class*="rvfs-"] label,
[class*="rvfs-"] input,
[class*="rvfs-"] textarea,
[class*="rvfs-"] select,
[class*="rvfs-"] .copyright,
[class*="rvfs-"] .testimonial-writeup,
[class*="rvfs-"] .testimonial-writters-name {
  font-size: 1em !important;
  line-height: 1.5 !important;
}

/* keep original heading styling */
[class*="rvfs-"] .section-main-heading,
[class*="rvfs-"] .Lead-magnet-form-heading,
[class*="rvfs-"] .banner-main-heading,
[class*="rvfs-"] h2.blog-sidebar-h2,
[class*="rvfs-"] h1.article-title,
[class*="rvfs-"] h1.article-title a {
  font-family: "Playfair Display", sans-serif !important;
}

/* =========================
   +2px PER RVFS LEVEL
   base = 32px
========================= */

.rvfs-6 .section-main-heading,
.rvfs-6 .Lead-magnet-form-heading,
.rvfs-6 .banner-main-heading,
.rvfs-6 h2.blog-sidebar-h2,
.rvfs-6 h1.article-title,
.rvfs-6 h1.article-title a { font-size: 34px !important; line-height:44px !important; }

.rvfs-7 .section-main-heading,
.rvfs-7 .Lead-magnet-form-heading,
.rvfs-7 .banner-main-heading,
.rvfs-7 h2.blog-sidebar-h2,
.rvfs-7 h1.article-title,
.rvfs-7 h1.article-title a { font-size: 36px !important; line-height:46px !important;}

.rvfs-8 .section-main-heading,
.rvfs-8 .Lead-magnet-form-heading,
.rvfs-8 .banner-main-heading,
.rvfs-8 h2.blog-sidebar-h2,
.rvfs-8 h1.article-title,
.rvfs-8 h1.article-title a { font-size: 38px !important; line-height:48px !important;}

.rvfs-9 .section-main-heading,
.rvfs-9 .Lead-magnet-form-heading,
.rvfs-9 .banner-main-heading,
.rvfs-9 h2.blog-sidebar-h2,
.rvfs-9 h1.article-title,
.rvfs-9 h1.article-title a { font-size: 40px !important; line-height:50px !important;}

.rvfs-10 .section-main-heading,
.rvfs-10 .Lead-magnet-form-heading,
.rvfs-10 .banner-main-heading,
.rvfs-10 h2.blog-sidebar-h2,
.rvfs-10 h1.article-title,
.rvfs-10 h1.article-title a { font-size: 42px !important;line-height:52px !important; }

.rvfs-11 .section-main-heading,
.rvfs-11 .Lead-magnet-form-heading,
.rvfs-11 .banner-main-heading,
.rvfs-11 h2.blog-sidebar-h2,
.rvfs-11 h1.article-title,
.rvfs-11 h1.article-title a { font-size: 44px !important; line-height:54px !important; }

.rvfs-12 .section-main-heading,
.rvfs-12 .Lead-magnet-form-heading,
.rvfs-12 .banner-main-heading,
.rvfs-12 h2.blog-sidebar-h2,
.rvfs-12 h1.article-title,
.rvfs-12 h1.article-title a { font-size: 46px !important; line-height:56px !important; }

.rvfs-13 .section-main-heading,
.rvfs-13 .Lead-magnet-form-heading,
.rvfs-13 .banner-main-heading,
.rvfs-13 h2.blog-sidebar-h2,
.rvfs-13 h1.article-title,
.rvfs-13 h1.article-title a { font-size: 48px !important; line-height:58px !important; }

.rvfs-14 .section-main-heading,
.rvfs-14 .Lead-magnet-form-heading,
.rvfs-14 .banner-main-heading,
.rvfs-14 h2.blog-sidebar-h2,
.rvfs-14 h1.article-title,
.rvfs-14 h1.article-title a { font-size: 50px !important; line-height:60px !important;}

/* menu */
[class*="rvfs-"] .nav-main a,
[class*="rvfs-"] #mainNav a,
[class*="rvfs-"] .dropdown.menu a {
  font-size: 1em !important;
}

/* submenu fix */
.rvfs-11 .nav-main li:hover > ul,
.rvfs-12 .nav-main li:hover > ul,
.rvfs-13 .nav-main li:hover > ul,
.rvfs-14 .nav-main li:hover > ul {
  left: 0;
  right: auto;
  opacity: 0.99;
}
/* =========================
   FORCE RVFS ON MISSING ELEMENTS
========================= */

/* banner sub heading */
[class*="rvfs-"] .banner-sub-heading {
  font-size: 1em !important;
  line-height: 1.4 !important;
}

/* buttons */
[class*="rvfs-"] a.button,
[class*="rvfs-"] span.button,
[class*="rvfs-"] input.button,
[class*="rvfs-"] input#Submit,
[class*="rvfs-"] .gen-form #Submit,
[class*="rvfs-"] #newsletter-form #Submit,
[class*="rvfs-"] .button {
  font-size: 1em !important;
  line-height: 1.3 !important;
}

/* FORCE RVFS on ALL form inputs */
[class*="rvfs-"] .newsletter-form-main input,
[class*="rvfs-"] .newsletter-form-main input#first_name,
[class*="rvfs-"] .newsletter-form-main input#email {
  
  font-size: 1em !important;
  line-height: 1.4 !important;

 
}
[class*="rvfs-"] input::placeholder,
[class*="rvfs-"] textarea::placeholder {
  font-size: 1em !important;
}

/* gallery sub heading */
[class*="rvfs-"] .gallery-fig .section-sub-heading ,
[class*="rvfs-"]  .article-body.rte h3,
[class*="rvfs-"]  .article-body.rte h2{
  font-size: 1em !important;
  line-height: 1.3 !important;
}

/* general section sub heading */
[class*="rvfs-"] .section-sub-heading,
[class*="rvfs-"] ul.accordion .accordion-title{
  font-size: 1em !important;
  line-height: 1.3 !important;
}
@media (max-width: 1024px) {

  .rvfs-6  .section-main-heading,
  .rvfs-6  .banner-main-heading { font-size: 33.5px !important; line-height:40px !important; }

  .rvfs-7  .section-main-heading,
  .rvfs-7  .banner-main-heading { font-size: 35px !important; line-height:42px !important;}

  .rvfs-8  .section-main-heading,
  .rvfs-8  .banner-main-heading { font-size: 36.5px !important; line-height:44px !important; }

  .rvfs-9  .section-main-heading,
  .rvfs-9  .banner-main-heading { font-size: 38px !important;  line-height:46px !important;}

  .rvfs-10 .section-main-heading,
  .rvfs-10 .banner-main-heading { font-size: 39.5px !important;  line-height:48px !important;}

  .rvfs-11 .section-main-heading,
  .rvfs-11 .banner-main-heading { font-size: 41px !important;  line-height:50px !important;}

  .rvfs-12 .section-main-heading,
  .rvfs-12 .banner-main-heading { font-size: 42.5px !important; line-height:52px !important; }

  .rvfs-13 .section-main-heading,
  .rvfs-13 .banner-main-heading { font-size: 44px !important; line-height:54px !important; }

  .rvfs-14 .section-main-heading,
  .rvfs-14 .banner-main-heading { font-size: 45.5px !important;  line-height:56px !important;}
}