/* PurePoint — rules the clone lost along with the theme's tab stylesheet.
 * Everything here is scoped to components the export left unstyled or inert. */

/* FAQ tabs. Without these all four panes stacked on top of one another. If the
   JavaScript fails, .tab-1 is still marked active in the markup, so the page
   shows one pane rather than nothing. */
.tabs .tab { display: none; }
.tabs .tab.active { display: block; }

.tabs-menu-item {
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 44, 58, 0.12);
  transition: color 0.2s ease;
}
.tabs-menu-item:hover { color: #0E7490; }
.tabs-menu-item.active { color: #0E7490; font-weight: 700; }

/* Accordion arrow, which the theme rotated from JavaScript */
button.accordion .faq-arrow,
button.question .faq-arrow { transition: transform 0.3s ease; }
button.accordion.active .faq-arrow,
button.question.active .faq-arrow { transform: rotate(45deg); }

/* The mobile nav panel. The header markup has no separate mobile menu, so on a
   phone the burger has to drop the desktop list down as a sheet. */
@media (max-width: 991px) {
  .top-header .menu-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0B1F4B;
    padding: 96px 28px 40px;
    overflow-y: auto;
    z-index: 40;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: block;
  }
  body.nav-open .top-header .menu-container { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  .top-header .menu-container .menu {
    display: block;
    margin: 0;
    padding: 0;
    position: static;
    height: auto;
    transform: none;
  }
  /* The theme faded each item in from opacity:0 with the script the export
     lost, so without this the panel slides in completely empty. */
  .top-header .menu-container .menu > li,
  .top-header .menu-container .sub-menu > li {
    display: block;
    margin: 0 0 6px;
    opacity: 1 !important;
    transform: none !important;
  }
  .top-header .menu-container .menu a { color: #fff; font-size: 1.6rem; display: block; padding: 10px 0; }
  .top-header .menu-container .sub-menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    padding-left: 18px;
    background: none;
    box-shadow: none;
  }
  .top-header .menu-container .sub-menu a { font-size: 1.3rem; opacity: 0.85; }
  .top-header .burger { z-index: 50; }
}

/* The form confirmation line we append when a submit composes an email */
.pp-sent { color: #0E7490; font-weight: 500; }
