/* Static stand-ins for theme behaviour that needed JavaScript (scripts are stripped). */
/* The theme keeps body overflow hidden until its JS finishes loading; without JS the window never
   scrolls (no scrollbar, wheel does nothing). */
html { overflow-y: auto !important; }
body { overflow: visible !important; }
.q_tabs, .q_tabs .tabs-container, .q_tabs .tab-content { visibility: visible !important; }
.q_tabs .tab-content { display: block !important; }
.q_logo img { visibility: visible !important; }
.q_logo img.normal { opacity: 1 !important; }
.q_logo img.light, .q_logo img.dark, .q_logo img.sticky, .q_logo img.mobile { display: none !important; }
section.parallax > section { background-size: cover !important; background-position: center !important; }
/* Dropdown menus open on hover/focus (the theme did this in JS). */
.main_menu > ul > li:hover > .second, .main_menu > ul > li:focus-within > .second { visibility: visible !important; opacity: 1 !important; overflow: visible !important; z-index: 200; }
.main_menu > ul > li:hover > a, .main_menu > ul > li:hover > a span { color: #0b7fc4 !important; }
/* Content blocks inserted by this rebuild replace the 180px title area that normally clears the
   header (.content has a negative top margin), so give them their own offset. */
.content_inner > .container:first-child { padding-top: 130px; }
/* Old-theme markup inside those blocks: stack it instead of using the 2017 theme's rules for the same class names. */
.default_template_holder .container, .default_template_holder .post-container, .default_template_holder #sidebar,
.default_template_holder .sidebar-container { position: static !important; float: none !important; width: auto !important;
  margin: 0 !important; padding: 0 !important; background: none !important; }
.default_template_holder #sidebar { margin-top: 28px !important; padding-top: 18px !important; border-top: 1px solid #e5e5e5; list-style: none; }
.default_template_holder .post-title { margin-bottom: 18px; }
.default_template_holder #sidebar .widgettitle { font-size: 18px; margin-bottom: 8px; }
.default_template_holder ul li { list-style: disc; margin-left: 20px; }
/* Short pages: keep the footer below the fold instead of right under the header. */
.content_inner { min-height: 55vh; }
/* Phone: the hamburger needs JS, so show the top-level menu as a plain list. */
@media (max-width: 1000px) {
  .mobile_menu_button { display: none !important; }
  nav.mobile_menu { display: block !important; position: static !important; height: auto !important; }
  nav.mobile_menu > ul { display: block !important; }
  nav.mobile_menu .sub_menu, nav.mobile_menu .mobile_arrow { display: none !important; }
  /* the logo is absolutely positioned over the header; put it in the flow above the menu */
  header .header_inner_left { height: auto !important; }
  header .logo_wrapper { position: relative !important; height: auto !important; }
  header .q_logo { top: 0 !important; padding: 16px 0 8px; }
  .content_inner > .container:first-child { padding-top: 30px; }
}
.nojs-section { padding: 40px 0 10px; }
.nojs-section h3 { margin-bottom: 12px; }
.nojs-section li { list-style: disc; margin: 6px 0 6px 20px; }
