/* =============================================================
   seo-fix.css - Advanced Audiology
   Purpose: keep the original visual design intact after the
   heading hierarchy (H1 -> H2) corrections made for SEO.
   Loaded AFTER the theme stylesheets so the rules below win.
   ============================================================= */

.seo-h1-style {
  font-size: 30px;
  padding: 0 0 20px;
  color: #303337;
  font-family: 'Merriweather', serif;
  font-weight: 100;
  margin: 0;
}
.white .seo-h1-style, .white .seo-h1-style em { color: #fff !important; }
.seo-h1-style em {
  color: #41336e;
  font-family: 'Merriweather', serif;
  font-weight: 100;
}

/* logo heading in the site header */
#header-container .seo-h1-style { margin: 0; padding: 0; font-size: 30px; }
#header-container .seo-h1-style a { display: block; }

/* homepage / interior slider headings */
.slide-text .seo-h1-style { font-size: 37px; padding: 0; }

/* homepage text blocks */
.hp-second-heading .seo-h1-style { padding: 0; }

/* hidden page title on the homepage keeps its original behaviour */
.pagename-homepage .pagetitle { display: none; }

@media only screen and (min-width: 960px) and (max-width: 1199px) {
  #slider .slide-text .seo-h1-style { font-size: 30px; }
}
@media only screen and (max-width: 959px) {
  #slider .slide-text .seo-h1-style { font-size: 25px; }
}
@media only screen and (min-width: 767px) and (max-width: 959px) {
  .hp-second-heading .seo-h1-style { font-size: 27px; }
  .hp-fourth-text .seo-h1-style { font-size: 25px; }
  .pagename-homepage #main-content-container .subsurface_01 .subsurface > .seo-h1-style:first-child { width: 748px; }
}
@media only screen and (max-width: 767px) {
  #header-container .seo-h1-style a { margin: 0 auto; }
  .hp-second-heading .seo-h1-style { font-size: 27px; }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .pagename-homepage #main-content-container .subsurface_01 .subsurface > .seo-h1-style:first-child { width: 420px; }
}
@media only screen and (max-width: 479px) {
  .pagename-homepage #main-content-container .subsurface_01 .subsurface > .seo-h1-style:first-child { width: 300px; }
}

/* contact call-to-action that replaced the header phone number */
.right-box .phone a, .right-box .phone a:visited { color: #41336e; text-decoration: none; }
.right-box .phone a:hover { text-decoration: underline; }

/* supporting SEO content blocks added to thin pages */
.seo-extra-content { margin: 30px 0 10px; }
.seo-extra-content h2 { font-size: 26px; }
.seo-extra-content h3 { font-size: 20px; }
.seo-extra-content ul { margin: 10px 0 20px 20px; }
.seo-extra-content li { margin-bottom: 6px; }
