/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

/* fallback fonts */
@font-face {
  font-family: 'din-2014-fallback';
  size-adjust: 88.82%;
  src: local('Arial');
}

@font-face {
  font-family: brandon-grotesque-fallback;
  size-adjust: 99.529%;
  src: local('Arial');
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  display: none;
  margin: 0;
  background-color: var(--background-color);
  color: var(--color-coal);
  font-family: var(--body-font-family);
  line-height: 1.6;
}

body.appear {
  display: block;
}

header .header,
footer .footer {
  visibility: hidden;
}

header .header[data-block-status='loaded'],
footer .footer[data-block-status='loaded'] {
  visibility: visible;
}

@media (width >= 1100px) {
  :root {
    --nav-height: 72px;
    --cta-height: 73px;
    --header-height: calc(var(--nav-height) + var(--cta-height));
  }
}

@media (width >= 1230px) {
  :root {
    --nav-height: 87px;
  }
}

p,
dl,
ol,
ul,
pre,
blockquote {
  margin-top: 0.8em;
  margin-bottom: 0.25em;
}

code,
pre {
  font-size: var(--body-font-size-s);
}

pre {
  padding: 16px;
  border-radius: 8px;
  background-color: var(--light-color);
  overflow-x: auto;
  white-space: pre;
}

main > div {
  margin: 40px 16px;
}

input,
textarea,
select,
button {
  font: inherit;
}

a:any-link {
  color: var(--link-color);
  text-decoration: none;
  word-break: break-word;
  text-underline-position: under;
}

a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

main a:any-link:not(.button, [class*='button']) {
  text-decoration: underline;
  color: var(--color-black);
  transition: 0.3s color ease;
}

main a:hover:not(.button, [class*='button']),
main a:focus:not(.button, [class*='button']) {
  color: var(--color-earth) !important;
}

.section.ocean a:any-link:not(.button, [class*='button']),
.section.forest a:any-link:not(.button, [class*='button']),
.section.coal a:any-link:not(.button, [class*='button']),
.section.board-blue a:any-link:not(.button, [class*='button']) {
  color: var(--color-air);
}

.section.ocean a:hover:not(.button, [class*='button']),
.section.ocean a:focus:not(.button, [class*='button']),
.section.forest a:hover:not(.button, [class*='button']),
.section.forest a:focus:not(.button, [class*='button']),
.section.coal a:hover:not(.button, [class*='button']),
.section.coal a:focus:not(.button, [class*='button']),
.section.board-blue a:hover:not(.button, [class*='button']),
.section.board-blue a:focus:not(.button, [class*='button']) {
  color: var(--color-neutral-400) !important;
}

/* buttons */
.button:any-link {
  display: inline-block;
  border-radius: 30px;
  line-height: 1;
  padding: 12px 23px;
  text-align: center;
  text-decoration: none;
  background-color: var(--color-coal);
  border: 1px solid var(--color-coal);
  color: var(--color-air);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
  font-size: var(--body-font-size-s);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.button:hover,
.button:focus {
  background-color: var(--color-cta-primary-background-hover);
  border-color: var(--color-cta-primary-background-hover);
  color: var(--color-cta-primary-text);
  cursor: pointer;
}

button:disabled {
  background-color: var(--color-cta-primary-background-disabled);
  border-color: var(--color-cta-primary-background-disabled);
  cursor: unset;
}

.button.secondary {
  background-color: var(--color-cta-secondary-background);
  border: 1px solid var(--color-coal);
  color: var(--color-cta-secondary-text);
}

a.button.secondary:hover,
a.button.secondary:focus {
  background-color: var(--color-cta-secondary-background-hover);
  color: var(--color-cta-primary-text);
}

.button.tertiary {
  box-sizing: border-box;
  display: inline-block;
  max-width: 100%;
  border: none;
  border-radius: 2.4em;
  padding: 0.5em 0;
  line-height: 24px;
  text-align: center;
  text-decoration: underline;
  background-color: transparent;
  color: var(--color-cta-tertiary-text);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button.tertiary:hover,
.button.tertiary:focus {
  background-color: transparent;
  color: var(--color-cta-tertiary-text-hover);
}

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

.icon {
  display: inline-block;
  height: 24px;
  width: 24px;
}

.icon img {
  height: 100%;
  width: 100%;
}

main > .section {
  margin: 40px 0;
}

main > .section > div {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

main > .section:first-of-type {
  margin-top: 0;
}

@media (width >= 900px) {
  main > .section > div {
    padding: 0 32px;
  }
}

main .section.light,
main .section.highlight {
  background-color: var(--light-color);
  margin: 0;
  padding: 40px 0;
}

table th {
  background-color: var(--color-pebble);
}

.section {
  padding: 40px 0;
}

.section.air {
  background-color: var(--color-air);
  color: var(--color-black);
}

.section.pebble {
  background-color: var(--color-pebble);
  color: var(--color-black);
}

.section.ocean {
  background-color: var(--color-ocean);
  color: var(--color-air);
}

.section.ocean h1,
.section.ocean h2,
.section.ocean h3,
.section.ocean h4,
.section.ocean h5,
.section.ocean h6,
.section.ocean p,
.section.ocean li,
.section.ocean span,
.section.ocean div {
  color: var(--color-air);
}

.section.forest {
  background-color: var(--color-forest);
  color: var(--color-air);
}

.section.forest h1,
.section.forest h2,
.section.forest h3,
.section.forest h4,
.section.forest h5,
.section.forest h6,
.section.forest p,
.section.forest li,
.section.forest span,
.section.forest div {
  color: var(--color-air);
}

.section.coal {
  background-color: var(--color-coal);
  color: var(--color-air);
}

.section.coal h1,
.section.coal h2,
.section.coal h3,
.section.coal h4,
.section.coal h5,
.section.coal h6,
.section.coal p,
.section.coal li,
.section.coal span,
.section.coal div {
  color: var(--color-air);
}

.section.board-blue {
  background-color: var(--color-board-blue);
  color: var(--color-air);
}

.section.board-blue h1,
.section.board-blue h2,
.section.board-blue h3,
.section.board-blue h4,
.section.board-blue h5,
.section.board-blue h6,
.section.board-blue p,
.section.board-blue li,
.section.board-blue span,
.section.board-blue div {
  color: var(--color-air);
}

.section.neutral-600 {
  background-color: var(--color-neutral-600);
  color: var(--color-air);
}

.section.neutral-600 h1,
.section.neutral-600 h2,
.section.neutral-600 h3,
.section.neutral-600 h4,
.section.neutral-600 h5,
.section.neutral-600 h6,
.section.neutral-600 p,
.section.neutral-600 li,
.section.neutral-600 span,
.section.neutral-600 div {
  color: var(--color-air);
}

/* CTA Styling for Dark Background Sections */
.section.ocean .button,
.section.forest .button,
.section.coal .button,
.section.board-blue .button,
.section.neutral-600 .button {
  background-color: var(--color-air);
  border-color: var(--color-air);
  color: var(--color-coal);
}

.section.ocean .button:hover,
.section.ocean .button:focus,
.section.forest .button:hover,
.section.forest .button:focus,
.section.coal .button:hover,
.section.coal .button:focus,
.section.board-blue .button:hover,
.section.board-blue .button:focus,
.section.neutral-600 .button:hover,
.section.neutral-600 .button:focus {
  background-color: var(--color-pebble);
  border-color: var(--color-pebble);
  color: var(--color-coal);
}

.section.ocean .button.secondary,
.section.forest .button.secondary,
.section.coal .button.secondary,
.section.board-blue .button.secondary,
.section.neutral-600 .button.secondary {
  background-color: transparent;
  border-color: var(--color-air);
  color: var(--color-air);
}

.section.ocean .button.secondary:hover,
.section.ocean .button.secondary:focus,
.section.forest .button.secondary:hover,
.section.forest .button.secondary:focus,
.section.coal .button.secondary:hover,
.section.coal .button.secondary:focus,
.section.board-blue .button.secondary:hover,
.section.board-blue .button.secondary:focus,
.section.neutral-600 .button.secondary:hover,
.section.neutral-600 .button.secondary:focus {
  background-color: var(--color-air);
  border-color: var(--color-air);
  color: var(--color-coal);
}

.section.ocean .button.tertiary,
.section.forest .button.tertiary,
.section.coal .button.tertiary,
.section.board-blue .button.tertiary,
.section.neutral-600 .button.tertiary {
  background-color: transparent;
  border-color: var(--color-air);
  color: var(--color-air);
  font-weight: bold;
}

.section.ocean .button.tertiary:hover,
.section.ocean .button.tertiary:focus,
.section.forest .button.tertiary:hover,
.section.forest .button.tertiary:focus,
.section.coal .button.tertiary:hover,
.section.coal .button.tertiary:focus,
.section.board-blue .button.tertiary:hover,
.section.board-blue .button.tertiary:focus,
.section.neutral-600 .button.tertiary:hover,
.section.neutral-600 .button.tertiary:focus {
  background-color: transparent;
  border-color: var(--color-neutral-400);
  color: var(--color-neutral-400);
}

.section.ocean main a:any-link,
.section.forest main a:any-link,
.section.coal main a:any-link,
.section.board-blue main a:any-link,
.section.neutral-600 main a:any-link {
  color: var(--color-air);
  text-decoration: underline;
}

.section.ocean main a:hover,
.section.ocean main a:focus,
.section.forest main a:hover,
.section.forest main a:focus,
.section.coal main a:hover,
.section.coal main a:focus,
.section.board-blue main a:hover,
.section.board-blue main a:focus,
.section.neutral-600 main a:hover,
.section.neutral-600 main a:focus {
  color: var(--color-neutral-400);
}

/* Legacy support */
.section.sand {
  background-color: var(--color-sand);
}

.section[data-style*='center'] .default-content-wrapper {
  text-align: center;
}

.section[data-style*='container'] {
  max-width: 880px;
  margin: 0 auto;
}

.section[data-style*='center'] > div:not(.default-content-wrapper) {
  text-align: left;
}

.section[data-style*='full']:has(> div:not(.default-content-wrapper)) {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
}

.section[data-style*='full'] > div:not(.default-content-wrapper) {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
}

.section[data-style*='wide']:has(> div:not(.default-content-wrapper)) {
  max-width: 1660px;
  margin: 0 auto;
}

.section[data-style*='wide'] > div:not(.default-content-wrapper) {
  max-width: 1660px;
  margin: 0 auto;
}

@media (width >= 1180px) {
  .section[data-style*='full']:has(> div:not(.default-content-wrapper)) {
    max-width: 100%;
  }

  .section[data-style*='full'] > div:not(.default-content-wrapper) {
    max-width: 100%;
    margin: 0;
  }

  .section[data-text-layout='container'] .default-content-wrapper {
    max-width: 100%;
    margin: 0 20px;
  }
}
