:root {
  --brand-error-light: #fbe1d0;
  --brand-success: #005073;
  --brand-success-light: #99b9c7;
  --brand-success-dark: #003851;
  --brand-success-faded: rgba(0, 80, 115, 0.2);
  --body-background: white;
  --link-color: #3A778A;

  --notification-color: #b24748;
  --gray-light: #b4bcc2;

  --font-size-xlarge: 20px;
  --font-size-large: 16px;
  --font-size-base: 14px;
  --font-size-small: 12px;
  --font-size-tiny: 10px;
}

html {
  font-family: 'Open Sans';
  font-size: var(--font-size-base);
  height: 100%;
}

button {
  font-family: "Open Sans";
}

body {
  background-color: var(--body-background);
  display: flex;
  flex-flow: column nowrap;
  margin: 0;
  min-height: 100%;
  padding: 0;
  position: absolute;
  width: 100%;
}

h1 {
  font-weight: 300;
  font-size: 3em;
}

.button {
  border-radius: 3px;
  border: none;
  color: #fff;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-size-base);
  line-height: 16px;
  padding: 0.5em 0.75em;
  text-align: center;
  text-decoration: none;

  background-color: var(--brand-success);
}

.button:visited {
  background-color: var(--brand-success);
}

.button:hover {
  background-color: var(--brand-success-dark);
}

.button:active {
  background-color: var(--brand-success);
}

.button:disabled {
  background-color: var(--brand-success-faded);
}

.environment-banner {
  background: var(--brand-success-light);
  color: #fff;
  flex: 0 0 auto;
  font-weight: 600;
  left: 0;
  line-height: 2em;
  right: 0;
  text-align: center;
}

.header {
  background-color: var(--brand-success);
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.12), 0 6px 10px rgba(0, 0, 0, 0.14),
    0 3px 5px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
}

.header__image {
  margin: 10px;
  max-width: 65px;
}

.main-content {
  flex: 1 0 auto;
  padding: 2em;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

.footer {
  display: flex;
  border-top: 1px solid #DCDFDF;
  justify-content: space-between;
  margin: 18px;
  padding: 20px 6px 0 6px;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.footer-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
}

@media only screen and (max-width: 1200px) {
  .footer {
    flex-direction: column;
  }
  .footer-left {
    align-items: center;
    gap: 12px;
  }
  .footer-right {
    align-items: center;
    flex-direction: column-reverse;
    gap: 12px;
  }
}

.locale-switch {
  display: flex;
  flex-flow: row nowrap;
  gap: 16px;
  justify-content: center;
}

.locale-switch__item {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-large);
  font-weight: 400;
  min-height: 24px;
  padding: 0;
  text-transform: uppercase;
}

.locale-switch__item--active {
  color: var(--link-color);
  font-weight: 700;
}

.cookie-disclaimer,
.app-version {
  color: var(--gray-light);
  font-size: var(--font-size-small);
  min-height: 24px;
  text-align: center;
}

.privacy-policy {
  color: rgba(12, 35, 38, 0.99);
  font-size: var(--font-size-small);
  min-height: 24px;
}

.links-container {
  display: flex;
  flex-flow: column nowrap;
}

.links-container > * + * {
  margin-top: 1em;
}

.link-with-info-container {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.notification-text {
  color: var(--notification-color);
}

.alert {
  background: var(--brand-error-light);
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  padding: 0 0.75rem;
  text-align: center;
}
