:root {
  --layout-gutter: 12px;
  --layout-margins: 12px;
  --layout-space: 1.75rem;
  --color-text: #222;
  --color-primary: #d32627;
  --color-secondary: #03045B;
  --color-hover: #03045B;
  --color-background: #f4f8fc;
  --color-button-text: #fff;
  --color-placeholder: #8a8a8a;
  --color-border: #bebebe;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font: inherit;
  text-decoration: none;
  vertical-align: baseline;
  border: 0;
}

body {
  font: 1rem / 1.75 'Source Sans 3', sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  height: auto;
  max-width: 100%;
}

p, h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
  margin-bottom: var(--layout-space);
  overflow-wrap: break-word;
}

p:last-child, h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, .h1:last-child, .h2:last-child, .h3:last-child, .h4:last-child, .h5:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color .2s ease-out;
}

a:hover {
  color: var(--color-hover);
}

b, strong, .bold, .h1, .h2, .h3, .h4, .h5 {
  font-weight: 700;
}

button {
  cursor: pointer;
}

ul {
  padding-left: 1.75rem;
}

.h1, .h2, .h3, .h4, .h5 {
  text-align: center;
}

.h1 {
  color: var(--color-primary);
  font-size: 2.25rem;
  line-height: 1.1429;
}

.h2 {
  color: var(--color-secondary);
  font-size: 1.5rem;
  line-height: 1.4;
}

.h3 {
  color: var(--color-secondary);
  font-size: 1.25rem;
  line-height: 1.25;
}

.h4 {
  line-height: 1.3333;
}

.h5 {
  line-height: 1.4;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.icon-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto var(--layout-space);
  color: var(--color-secondary);
}

.icon-wrapper:last-child {
  margin-bottom: 0;
}

.icon {
  margin: 0 auto;
  max-width: none;
  color: inherit;
}

.icon path:not([fill]) {
  fill: currentColor;
  color: inherit;
}

.button, .wForm #submit_button {
  --color-text: var(--color-button-text);
  display: block;
  padding: 8px 16px;
  width: 100%;
  color: var(--color-button-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-primary);
  border-radius: 8px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: background-color .2s ease-out, outline-color .2s ease-out;
}

.button:hover, .wForm #submit_button:hover {
  color: var(--color-button-text);
  background-color: var(--color-hover);
}

.button:focus, .wForm #submit_button:focus {
  outline-color: var(--color-primary);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 12px 12px;
  background-color: #fff;
}

.logo-wrapper {
  width: fit-content;
}

.logo {
  width: 195px;
}

.skiptocontent {
  position: absolute;
  top: 100%;
  left: 0;
  border-radius: 0;
}

.skiptocontent:focus {
  outline: 0;
}

.skiptocontent:not(:focus) {
  overflow: hidden;
  height: 1px;
  margin: -1;
  padding: 0;
  width: 1px;
  clip-path: inset(50%);
}

.section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section.image {
  padding-top: 160px;
  padding-bottom: 160px;
  background-color: var(--color-background);
}

.section-background, .section-background img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section-background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.section-background.bottom {
  top: auto;
  bottom: 0;
  height: auto;
  max-height: 100%;
  object-position: center bottom;
}

.container {
  padding-right: var(--layout-gutter);
  padding-left: var(--layout-gutter);
}

.section-container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.section-container:first-child, .section-background + .section-container {
  margin-top: 0;
}

.section-container:last-child {
  margin-bottom: 0;
}

.figure {
  overflow: hidden;
  background-color: var(--color-background);
}

.figure-image, .figure-image img {
  object-fit: cover;
  width: 100%;
}

.figure-caption {
  position: relative;
  z-index: 1;
  padding: 12px 24px;
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
  background-color: #f4f8fc;
}

.media-wrapper {
  position: relative;
  margin: 60px 0;
  padding-bottom: 56.25%;
}

.media-wrapper:first-child {
  margin-top: 0;
}

.media-wrapper:last-child {
  margin-bottom: 0;
}

.media {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.icon-block {
  display: grid;
  gap: 50px;
}

.block-item {
  --layout-space: 12px;
  align-items: center;
  display: flex;
  gap: 30px;
}

.block-image-wrapper {
  height: 96px;
  width: 96px;
}

.block-content {
  flex: 1;
}

.dropdown {
  display: none;
}

.dropdown.open {
  display: block;
}

.main-footer {
  padding: 32px 0;
  background-color: #222;
}

.footer-container {
  display: grid;
  gap: var(--layout-space);
}

.footer-logo {
  margin: auto;
  width: 260px;
}

.footer-nav {
  display: flex;
  gap: var(--layout-space);
  justify-content: center;
  line-height: 1;
}

.footer-link {
  display: block;
  color: var(--color-text);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-link:hover {
  color: var(--color-text);
}

.footer-link:hover .fade-in {
  opacity: 1;
}

.footer-link:hover .fade-out, .fade-in  {
  opacity: 0;
}

.footer-icon {
  height: 1.5em;
  margin-bottom: 1.25em;
  width: 1.5em;
}

.navy, .image, .main-footer {
  --color-text: #fff;
  --color-secondary: var(--color-text);
  --color-hover: #e6f9ff;
  --color-button-text: #222;
}

.navy {
  background-color: #03045B;
}

.text-navy {
  color: #03045B;
}

.text-default {
  color: #222;
  font-weight: 500;
}

.fade-in, .fade-out {
  transition: opacity .2s ease-out;
}

.wForm div.htmlSection,
.wForm div.oneField {
  padding: 0;
  border: 0;
}

.wForm div.htmlSection  h3:not(.wFormTitle) {
  margin: 0 0 40px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.wForm .group {
  display: grid;
  gap: 16px;
  margin-bottom: var(--layout-space);
}

.wForm .group:last-child,
.wForm .oneField:last-child {
  margin-bottom: 0;
}

.wForm div.oneField {
  flex: 1;
  margin-bottom: var(--layout-space);
  font-size: 1rem;
  border: 0;
}

.wForm form div > div.oneField {
  margin: 0;
}

.wForm .label {
  font-weight: 700;
}

.wForm div.inputWrapper {
  display: block;
}

.wForm form input:not([type="submit"]), .wForm form textarea {
  display: block;
  height: 44px;
  padding: 8px 16px;
  width: 100%;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.wForm form textarea {
  height: 154px;
}

[hidden], .hidden {
  display: none;
}

@media (min-width: 768px) {
  :root {
    --layout-gutter: 24px;
    --layout-margins: 24px;
  }
  
  .main-header {
    padding: 20px 35px 35px;
  }
  
  .h1 {
    --layout-space: 2rem;
    font-size: 3rem;
  }
  
  .h2 {
    font-size: 2.25rem;
  }
  
  .h3, .wForm h3 {
    font-size: 1.5rem;
  }
  
  .button, .wForm #submit_button {
    margin: auto;
    width: 460px;
  }

  .icon-block {
    display: grid;
    gap: 100px;
  }

  .block-item {
    display: flex;
    gap: 50px;
  }

  .block-image-wrapper {
    height: 191px;
    width: 191px;
  }

  .wForm div.htmlSection  h3:not(.wFormTitle) {
    margin-bottom: 60px;
  }

  .wForm .group {
    display: flex;
  }
}

@media (min-width: 992px) {
  :root {
    --layout-gutter: 60px;
    --layout-margins: 20px;
  }
  
  .h1 {
    --layout-space: 2.5rem;
    font-size: 3.5rem;
  }
  
  .h2 {
    font-size: 2.5rem;
  }
  
  .h3 {
    font-size: 2rem;
  }
  
  .h4 {
    font-size: 1.5rem;
  }
  
  .h5 {
    font-size: 1.25rem;
  }
  
  .footer-container {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
  
  .footer-nav {
    gap: 40px;
  }
}

@media (min-width: 1200px) {
  :root {
    --layout-gutter: 20px;
  }
}

@media (min-width: 1400px) {
  :root {
    --layout-gutter: 40px;
  }
  
  .container {
    margin-right: auto;
    margin-left: auto;
    max-width: 1040px;
  }
  
  .container-small {
    max-width: 800px;
  }
  
  .container-large {
    max-width: 1280px;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: 1.25rem;
    line-height: 1.4;
  }
}