/* Modeled on the original Avada theme; values from ../wayback/design-notes.md */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 20px; color: #333; background: #fff; }
a { color: #1a80b6; text-decoration: none; }
a:hover, a:focus { color: #136bb7; }
img { max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sidebar */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 250px; background: #fff; border-right: 1px solid #e5e5e5; z-index: 10; }
.logo { display: block; padding: 10px 0 10px 40px; }
.logo img { display: block; width: 150px; height: 75px; }
.menu-toggle { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { border-top: 1px solid #e5e5e5; }
.main-nav > ul > li { position: relative; border-bottom: 1px solid #e5e5e5; }
.main-nav > ul > li > a,
.main-nav .nav-parent { display: block; width: 100%; min-height: 40px; padding: 0 40px; font: inherit; line-height: 40px; color: #333; text-align: left; background: none; border: 0; border-right: 3px solid transparent; cursor: pointer; }
.main-nav > ul > li > a:hover, .main-nav .nav-parent:hover, .main-nav > ul > li:focus-within > .nav-parent { color: #1a80b6; }
.main-nav > ul > li.current > a, .main-nav > ul > li.current > .nav-parent { color: #1a80b6; border-right-color: #1a80b6; }
.main-nav .submenu { display: none; position: absolute; top: -1px; left: 249px; min-width: 270px; background: #f2efef; border: 1px solid #dcdadb; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { display: block; }
.main-nav .submenu a { display: block; padding: 8px 20px; font-size: 13px; line-height: 18px; color: #333; border-bottom: 1px solid #dcdadb; }
.main-nav .submenu li:last-child a { border-bottom: 0; }
.main-nav .submenu a:hover, .main-nav .submenu a:focus, .main-nav .submenu a[aria-current] { color: #1a80b6; background: #f8f8f8; }

/* Page area */
.page { margin-left: 250px; min-height: 100vh; display: flex; flex-direction: column; }
.hero { height: 100vh; background: #fff url(../img/2015/05/collage_1.jpg) center / cover no-repeat; }
.title-bar { display: flex; align-items: center; min-height: 87px; padding: 0 30px; background: #f6f6f6; border-bottom: 1px solid #d2d3d4; }
.title-bar h1 { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.3; color: #333; }
.content { flex: 1; padding: 55px 30px 40px; overflow-wrap: anywhere; }
.content-inner { max-width: 1160px; margin: 0 auto; }
.site-footer { padding: 30px 30px 28px; border-top: 1px solid #e9eaee; font-size: 12px; line-height: 20px; color: #8c8989; text-align: center; }

/* Content typography */
.content p { margin: 0 0 20px; }
.content h2 { margin: 0 0 20px; font-size: 18px; font-weight: 400; line-height: 27px; }
.content h3 { margin: 0 0 16px; font-size: 16px; font-weight: 400; line-height: 24px; }
.content h4 { margin: 0 0 14px; font-size: 13px; font-weight: 700; line-height: 20px; }
.content ul, .content ol { margin: 0 0 20px; padding-left: 40px; }
.content hr { margin: 30px 0; border: 0; border-top: 1px solid #e0dede; }
.content table { margin: 0 0 20px; border-collapse: collapse; }
.content th, .content td { padding: 4px 8px; vertical-align: top; }

/* Toggles (Avada accordions) */
.accordion { margin: 0 0 20px; }
.toggle { border-bottom: 1px solid #e0dede; }
.toggle > summary { position: relative; display: block; padding: 11px 0 11px 34px; font-size: 13px; line-height: 20px; color: #333; cursor: pointer; list-style: none; }
.toggle > summary::-webkit-details-marker { display: none; }
.toggle > summary::before { content: "+"; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; background: #333; color: #fff; font-weight: 700; line-height: 20px; text-align: center; }
.toggle[open] > summary::before { content: "-"; }
.toggle > summary:hover { color: #1a80b6; }
.toggle > summary:hover::before { background: #1a80b6; }
.toggle > :not(summary) { margin-left: 34px; }
.toggle[open] > summary + * { margin-top: 6px; }

/* Forms */
.submission { margin-top: 30px; }
.submission fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.submission legend { margin-bottom: 12px; padding: 0; font-weight: 700; }
.submission .hint { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #747474; }
.field { display: grid; grid-template-columns: minmax(180px, 320px) minmax(0, 712px); gap: 6px 20px; align-items: center; margin-bottom: 14px; }
.field label { font-weight: 700; }
.req { color: #e0322b; }
.submission input[type="text"], .submission input[type="email"], .submission input[type="number"] { width: 100%; height: 29px; padding: 0 8px; font: 13px Verdana, Geneva, sans-serif; color: #333; background: #fafafa; border: 1px solid #ddd; border-radius: 0; }
.submission input[type="file"] { font: 13px Verdana, Geneva, sans-serif; }
.submission input:user-invalid { border-color: #e0322b; }
.choices label { display: block; margin: 0 0 6px; }
.field-check { margin: 0 0 20px; }
.field-check label { margin-left: 4px; }
.button { padding: 7px 18px; font: 16px Arial, Helvetica, sans-serif; color: #fff; background: #1a80b6; border: 1px solid #136bb7; border-radius: 2px; cursor: pointer; }
.button:hover, .button:focus { background: #136bb7; }
.form-error, .form-errors { color: #e0322b; }
.form-error { font-weight: 700; }

/* Phones and small tablets */
@media (max-width: 800px) {
  .sidebar { position: static; width: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid #e5e5e5; }
  .logo { padding: 10px 16px; }
  .js .menu-toggle { display: block; margin-right: 16px; padding: 6px 12px; font: inherit; color: #333; background: #fff; border: 1px solid #e5e5e5; cursor: pointer; }
  .main-nav { flex-basis: 100%; }
  .js .main-nav { display: none; }
  .js .main-nav.open { display: block; }
  .main-nav > ul > li > a, .main-nav .nav-parent { padding: 0 16px; border-right: 0; }
  .main-nav .nav-parent { cursor: default; }
  .main-nav .submenu { display: block; position: static; min-width: 0; background: none; border: 0; }
  .main-nav .submenu a { padding: 6px 16px 6px 32px; border-bottom: 0; }
  .page { margin-left: 0; min-height: 0; }
  .hero { height: auto; aspect-ratio: 1300 / 813; }
  .title-bar { min-height: 60px; padding: 0 16px; }
  .content { padding: 30px 16px; }
  .content [style*="justify"] { text-align: left !important; }
  .field { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
