html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  color: #222d3c;
  background: #f8f9f9;
  font-size: 18px;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
  line-height: 2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-top: 5rem;
}

a {
  color: #204081;
  text-decoration: none;
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}

h1.heading {
  font-size: 3rem;
}

p {
  margin: 0;
}
p + p {
  margin-top: 1rem;
}
p + h1 {
  margin-top: 3rem;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

hr {
  margin-top: 2rem;
}

button,
a.button {
  color: #222d3c;
  background-color: transparent;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  border: 1px solid #333;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}
button:disabled,
a.button:disabled {
  color: #bbb;
  border-color: #bbb;
  cursor: default;
}
button:not(:disabled):hover, button:not(:disabled).active,
a.button:not(:disabled):hover,
a.button:not(:disabled).active {
  background-color: #fff;
  text-decoration: none;
}
button:not(:disabled).primary,
a.button:not(:disabled).primary {
  background-color: #204081;
  border-color: #204081;
  color: #fff;
  text-decoration: none;
}
button:not(:disabled).primary:hover,
a.button:not(:disabled).primary:hover {
  background-color: #2a54aa;
}
button:not(:disabled).success,
a.button:not(:disabled).success {
  background-color: green;
  border-color: green;
  color: #fff;
}
button:not(:disabled).success:hover,
a.button:not(:disabled).success:hover {
  background-color: #00b300;
}
button:not(:disabled).info,
a.button:not(:disabled).info {
  background-color: lightgrey;
  border-color: lightgrey;
  color: #fff;
}
button:not(:disabled).info:hover,
a.button:not(:disabled).info:hover {
  background-color: #ededed;
}
button:not(:disabled).warning,
a.button:not(:disabled).warning {
  background-color: orange;
  border-color: orange;
  color: #fff;
}
button:not(:disabled).warning:hover,
a.button:not(:disabled).warning:hover {
  background-color: #ffb733;
}
button:not(:disabled).danger,
a.button:not(:disabled).danger {
  background-color: red;
  border-color: red;
  color: #fff;
}
button:not(:disabled).danger:hover,
a.button:not(:disabled).danger:hover {
  background-color: #ff3333;
}
button.small,
a.button.small {
  height: 1.9rem;
  font-size: 0.75rem;
}
button.large,
a.button.large {
  height: 2.7rem;
  font-size: 1.2rem;
}
button.expanded,
a.button.expanded {
  width: 100%;
}
button > i.fa-fw,
a.button > i.fa-fw {
  margin-right: 0.25rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 768px) {
  .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.col {
  padding: 1rem 1rem 0;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.col:first-child {
  padding-left: 0;
}
.col:last-child {
  padding-right: 0;
}
.col.center {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.col.right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
@media (max-width: 768px) {
  .col {
    padding-left: 0;
    padding-right: 0;
  }
}
.box-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

input[type=text],
input[type=password],
input[type=number],
input[type=email],
input[type=date],
input[type=time],
input[type=tel],
input[type=search],
textarea,
select {
  border: 1px solid #bbb;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=date]:focus,
input[type=time]:focus,
input[type=tel]:focus,
input[type=search]:focus,
textarea:focus,
select:focus {
  border: 1px solid #204081;
}

input[type=number] {
  width: 4rem;
}

input[type=checkbox],
input[type=radio] {
  cursor: pointer;
}

textarea,
input {
  padding: 0.5rem;
}

select {
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  border-radius: 0;
}

.form {
  max-width: 33rem;
}
.form.wide {
  max-width: none;
}
.form > .content.hidden {
  display: none;
}
.form > .success {
  display: none;
}
.form > .success.reveal {
  display: block;
}
.form div.checkbox-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}
.form div.checkbox-wrap label {
  margin-left: 0.6rem;
  line-height: 1.5rem;
  font-weight: 400;
}
.form label {
  display: block;
  font-weight: 600;
}
.form label + input,
.form label + select,
.form label + textarea {
  margin-top: 0.25rem;
}
.form .col {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.form .col:first-child {
  padding-left: 0;
}
.form .col:last-child {
  padding-right: 0;
}
.form .hint {
  font-size: 80%;
  color: #777;
  line-height: 1.25rem;
  margin-top: 0.5rem;
}
.form input[type=text],
.form input[type=password],
.form input[type=number],
.form input[type=email],
.form input[type=date],
.form input[type=time],
.form input[type=tel],
.form input[type=search],
.form textarea,
.form select {
  width: 100%;
}

.element-with-icon {
  position: relative;
}
.element-with-icon > i {
  position: absolute;
  bottom: 0.65rem;
  left: 0.5rem;
}
.element-with-icon.icon-right > input {
  padding-left: 0.5rem;
  padding-right: 2rem;
}
.element-with-icon.icon-right > i {
  left: auto;
  right: 0.5rem;
}
.element-with-icon > input {
  padding-left: 2.25rem;
}

.datetime {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.datetime > input[type=date] + input[type=time] {
  border-left-color: transparent;
}
.datetime > input[type=date] + input[type=time]:focus {
  border-left-color: #204081;
}
.select-buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  position: relative;
  padding-top: 0.25rem;
}
.select-buttons > button {
  margin: 0 0.5rem 0.5rem 0;
  border-color: #bbb;
  outline: none;
}
.select-buttons > button:focus {
  border: 1px solid #204081;
}
.select-buttons > span {
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 0.5rem;
}
body.session-inactive .logged-in {
  display: none;
}
body.session-active .logged-out {
  display: none;
}
.menu.right > ul {
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.menu.center > ul {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.menu ul {
  list-style: none;
  margin: 0;
}
.menu.horizontal {
  position: relative;
}
.menu.horizontal.collapsible > ul:not([hidden]) {
  position: fixed;
  background: #fff;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  padding: 4.5rem 2rem 0;
  z-index: 1;
}
.menu.horizontal.collapsible > ul:not([hidden]) li {
  padding: 0.5rem 0;
  display: block;
}
.menu.horizontal > button {
  position: fixed;
  top: 1.25rem;
  left: 1rem;
  background: #f8f9f9;
  border: none;
  padding: 0;
  font-size: 1.35rem;
}
.menu.horizontal > button:hover, .menu.horizontal > button:focus {
  background: inherit;
  color: #222d3c;
}
.menu.horizontal > button[aria-expanded=true] {
  z-index: 2;
}
.menu.horizontal > button[aria-expanded=true] + ul {
  display: block;
}
.menu.horizontal > ul {
  padding: 0;
  font-size: 1.3rem;
}
.menu.horizontal > ul:not([hidden]) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.menu.horizontal > ul > li {
  position: relative;
}
.menu.horizontal > ul > li:hover .submenu, .menu.horizontal > ul > li:focus-within .submenu {
  -webkit-transform: scaleY(1);
      -ms-transform: scaleY(1);
          transform: scaleY(1);
}
.menu.horizontal > ul li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 0.5rem;
}
.menu.horizontal > ul li:first-child {
  padding-left: 0;
}
.menu.horizontal > ul li:last-child {
  padding-right: 0;
}
.menu.horizontal > ul li i + span {
  margin-left: 0.5rem;
}
.menu.horizontal > ul li a > i {
  margin: 0.5rem 0.5rem 0;
}
.menu.horizontal > ul li span:hover {
  text-decoration: underline;
}
.menu.horizontal > ul .active a {
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.menu.horizontal > ul .active a > span + i {
  border-bottom: none;
}
.menu.horizontal > ul .active a i {
  border-bottom: 2px solid #333;
  padding-bottom: 0.5rem;
}
.menu.horizontal > ul a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
}
.menu.horizontal > ul .submenu {
  position: absolute;
  width: 12rem;
  padding: 0.9rem 0;
  top: 2rem;
  -webkit-transform: scaleY(0);
      -ms-transform: scaleY(0);
          transform: scaleY(0);
}
.menu.horizontal > ul .submenu li {
  background: whitesmoke;
}
.menu.horizontal > ul .fa-chevron-down {
  font-size: 0.7rem;
  margin-left: 0.2rem;
}
.menu.vertical > ul {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.menu.vertical ul {
  padding-left: 1rem;
}

@media (min-width: 50rem) {
  #members--menu > ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: wrap;
        -ms-flex-flow: wrap;
            flex-flow: wrap;
  }
  #members--menu > button {
    display: none;
  }
}
.dropdown {
  position: relative;
  color: #222d3c;
}
.dropdown.open .items, .dropdown.hoverable:hover .items {
  display: block;
}
.dropdown.hoverable .items {
  margin-top: 0;
}
.dropdown.right > .items {
  right: 0;
}
.dropdown > .items {
  display: none;
  position: absolute;
  z-index: 1;
  list-style-type: none;
  width: 15rem;
  padding: 1rem;
  margin: 1rem 0 0;
  background: #fff;
  box-shadow: 10px 10px 10px -10px rgba(0, 0, 0, 0.4);
}
.dropdown > .items > li > a {
  display: block;
}
.dropdown > .items > li > hr {
  margin: 0.5rem -1rem;
  border: none;
  border-bottom: 1px solid #bbb;
}
section {
  padding: 0 2rem;
}
section.full-width {
  padding: 0;
}
section.fixed-top, section.fixed-bottom {
  position: fixed;
  background: rgba(248, 249, 249, 0.95);
}
section.fixed-top.full-width, section.fixed-bottom.full-width {
  width: 100%;
  z-index: 100;
}
section.fixed-top {
  top: 0;
}
section.fixed-bottom {
  bottom: 0;
}
section > section {
  padding: 0;
}

#header {
  background: #204081;
}
#header .menu > button {
  background: transparent;
  color: #fff;
}
#header .menu > button[aria-expanded=true] {
  color: #222d3c;
}
#header .menu > button[aria-expanded=true] + ul > li > a > span {
  color: #222d3c;
}
#header .menu > ul > li > a {
  color: #6289d8;
}
#header .menu > ul > li > a > span:hover {
  color: #fff;
  text-decoration: none;
}
#header .menu > ul > li.active > a {
  color: #fff;
}
#header .dropdown > button {
  color: #fff;
  border-color: #fff;
}
#header .dropdown > button:hover {
  color: #204081;
  border-color: #204081;
}

#public-nav,
#members-nav {
  padding: 1rem;
  height: 4rem;
}
#public-nav > a,
#members-nav > a {
  margin-left: 1rem;
}
#public-nav > a.button,
#members-nav > a.button {
  position: absolute;
  top: 1rem;
  right: 7rem;
}
#public-nav > a.button.primary,
#members-nav > a.button.primary {
  right: 1rem;
}
@media (max-width: 768px) {
  #public-nav > a.button,
#members-nav > a.button {
    display: none;
  }
}
#public-nav > a + a:not(.button),
#members-nav > a + a:not(.button) {
  color: #fff;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
@media (min-width: 768px) {
  #public-nav > a + a:not(.button),
#members-nav > a + a:not(.button) {
    display: none;
  }
}
@media (max-width: 768px) {
  #public-nav > a,
#members-nav > a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: 0;
  }
}
#public-nav > nav,
#members-nav > nav {
  position: absolute;
  left: 15rem;
  top: 1rem;
}
#public-nav > .dropdown,
#members-nav > .dropdown {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
#public-nav > .dropdown:hover > button,
#members-nav > .dropdown:hover > button {
  background: #fff;
  color: #204081;
}
#public-nav > .dropdown > button,
#members-nav > .dropdown > button {
  border: 0;
}
#public-nav > .dropdown > button i.fa-user,
#members-nav > .dropdown > button i.fa-user {
  margin-right: 0;
}

#content {
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}

#footer {
  margin-top: 6rem;
  margin-bottom: 2rem;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}
.modal {
  position: fixed;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  overflow: hidden;
}
.modal.active {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.modal .inner {
  position: relative;
  background: #fff;
  border-radius: 3px;
  max-width: calc(100% - 1rem);
  margin: auto 1rem;
}
.modal .inner > .content {
  padding: 0 1rem 1rem;
  overflow: auto;
  max-height: calc(100vh - 12rem);
}
.modal .inner > .content form {
  max-width: none;
}
@media (min-width: 32rem) {
  .modal .inner {
    max-width: 30rem;
  }
}
@media (max-width: 32rem) {
  .modal .inner {
    width: 100%;
  }
}
@media (min-width: 22rem) {
  .modal .inner.narrow {
    max-width: 20rem;
  }
}
@media (max-width: 22rem) {
  .modal .inner.narrow {
    width: 100%;
  }
}
@media (min-width: 52rem) {
  .modal .inner.wide {
    max-width: 50rem;
  }
}
@media (max-width: 52rem) {
  .modal .inner.wide {
    width: 100%;
  }
}
.modal header {
  padding: 1rem 2.5rem 1rem 1rem;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: left;
  background: whitesmoke;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.modal footer {
  padding: 1rem;
  background: whitesmoke;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}
.modal .mask {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}
.modal .close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.2rem;
}
.table > header {
  padding-bottom: 1rem;
}
.table > .table-wrap {
  overflow: auto;
}
.table > .table-wrap > table {
  border-collapse: collapse;
  border-top: none;
  border-left: none;
  width: 100%;
}
.table > .table-wrap > table > thead tr th {
  border-right: none;
  border-bottom: 2px solid #f8f9f9;
  padding: 0.5rem 1rem;
  background: #fff;
  text-align: left;
  font-weight: 600;
}
.table > .table-wrap > table > thead tr th.right {
  text-align: right;
}
.table > .table-wrap > table > thead tr th.center {
  text-align: center;
}
.table > .table-wrap > table > tbody > tr.selected > td {
  background: #204081;
  color: #fff;
}
.table > .table-wrap > table > tbody > tr > td {
  padding: 0.5rem 1rem;
  border-right: none;
  border-bottom: 1px solid #f8f9f9;
  background: #fff;
}
.table > .table-wrap > table > tbody > tr > td.right {
  text-align: right;
}
.table > .table-wrap > table > tbody > tr > td.center {
  text-align: center;
}
.table > .table-wrap > table > tbody > tr > td.error {
  color: red;
  font-style: italic;
}
