/*
 * 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;
}

footer .footer {
  visibility: hidden;
}

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

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

ul {
  padding-left: var(--space-24);
  list-style-type: disc;
}

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;
}

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

a {
  color: var(--color-earth);
  text-decoration: none;
  text-underline-position: under;
}

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

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

/* Prevent phone number links from breaking across lines */
a[href^='tel:'] {
  white-space: nowrap;
  word-wrap: normal;
  overflow-wrap: normal;
}

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

/* Header styles to prevent layout shift */
header:not(data-block-status='loaded') {
  min-height: 141px;
}

@media (width >= 450px) {
  header:not(data-block-status='loaded') {
    min-height: 120px;
  }
}

@media (width >= 768px) {
  header:not(data-block-status='loaded') {
    min-height: 109px;
  }
}

@media (width >= 1100px) {
  .header:not(data-block-status='loaded') {
    min-height: 159px;
  }
}

.section.ocean a:not(.button, [class*='button']),
.section.forest a:not(.button, [class*='button']),
.section.coal a:not(.button, [class*='button']),
.section.board-blue a:not(.button, [class*='button']),
.section.neutral-600 a:not(.button, [class*='button']),
.section.neutral-700 a:not(.button, [class*='button']) {
  color: var(--color-air) !important;
  text-decoration: underline !important;
}

.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']),
.section.neutral-600 a:hover:not(.button, [class*='button']),
.section.neutral-600 a:focus:not(.button, [class*='button']),
.section.neutral-700 a:hover:not(.button, [class*='button']),
.section.neutral-700 a:focus:not(.button, [class*='button']) {
  color: var(--color-neutral-400) !important;
}

/* buttons */
.button,
.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;
  max-width: 100%;
}

.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;
  text-decoration: none;
}

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: 0;
  padding: 0.5em 0;
  line-height: 24px;
  text-align: center;
  text-decoration: underline;
  background-color: transparent;
  color: var(--color-coal);
  font-weight: bold;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.button-container {
  line-height: 0;
}

main picture {
  display: inline-block;
  line-height: 0;
}

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

[class*='icon-'] {
  display: inline-block;
  height: 24px;
  width: 24px;
}

[class*='icon-'] img {
  height: 100%;
  width: 100%;
}

[class*='icon-'] > .icon {
  display: block;
  height: 100%;
  width: 100%;
  background-color: currentcolor;
}

main .section.light,
main .section.highlight {
  background-color: var(--light-color);
}

main .button {
  overflow: hidden;
}

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

main .block {
  max-width: 2560px;
  margin: 0 auto;
}

main .section[data-style*='center'] > div {
  text-align: left;
}

main .section[data-style*='wide'] > div {
  max-width: 1616px;
}

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

main .section > .default-content-wrapper > *:first-child,
main .block > .default-content-wrapper > *:first-child {
  margin-top: 0;
}

main .section > .default-content-wrapper > *:last-child,
main .block > .default-content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* remove padding for for first and last children blocks in a section */
main .section > div:first-child {
  padding-top: 0;
}

main .section > div:last-child {
  padding-bottom: 0;
}

main .section[data-style*='disable-section-padding'],
main .section[data-section-padding~='disable-section-padding'] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

main .section .fragment-wrapper .section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* no-top - Removes all top padding from all blocks in the section, bottom padding remains */
main .section[data-section-padding~='no-top'] > div {
  padding-top: 0;
}

/* no-bottom - Removes all bottom padding from all blocks in the section, top padding remains */
main .section[data-section-padding~='no-bottom'] > div {
  padding-bottom: 0;
}

/* no-top-bottom - Removes both top and bottom padding from all blocks in the section */
main .section[data-section-padding~='no-top-bottom'] > div {
  padding-top: 0;
  padding-bottom: 0;
}

/* no-top-section - removes all padding from the section break */
main .section[data-section-padding~='no-top-section'] {
  padding-top: 0;
}

/* no-bottom-section - removes all padding from the section break */
main .section[data-section-padding~='no-bottom-section'] {
  padding-bottom: 0;
}

/* half-top-section - removes 48px of top padding from the section break */
main .section[data-section-padding~='half-top-section'] {
  padding-top: 48px;
}

/* half-bottom-section - removes 48px of bottom padding from the section break */
main .section[data-section-padding~='half-bottom-section'] {
  padding-bottom: 48px;
}

main .section {
  padding: 32px 0;
}

main .section > div {
  padding: 32px 20px;
  max-width: 1220px;
  margin: 0 auto;
}

@media (width >= 768px) {
  main .section {
    padding: 64px 0;
  }

  main .section > div {
    padding: 32px 20px;
  }
}

@media (width >= 1024px) {
  main .section {
    padding: 96px 0;
  }

  main .section > div {
    padding: 48px 20px;
  }

  body.blog main .section {
    padding: 48px 0;
  }
}

/* Remove first and last element margins for content inside of default-content-wrapper */
.default-content-wrapper > *:first-child {
  margin-top: 0;
}

.default-content-wrapper > *:last-child {
  margin-bottom: 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:not(
    .pebble,
    .ocean,
    .air,
    .forest,
    .coal,
    .board-blue,
    .neutral-600,
    .neutral-700,
    .disable-section-padding,
    .get-started-container
  )
  + .section:not(
    .pebble,
    .ocean,
    .air,
    .forest,
    .coal,
    .board-blue,
    .neutral-600,
    .neutral-700,
    .get-started-container
  ) {
  padding-top: 0;
}

main > .section.hero-container:first-child,
main > .section.centered-content-container:first-child {
  padding-top: 0;
}

.section > [class*='-wrapper'] + .default-content-wrapper {
  padding-top: 0;
}

.section > .default-content-wrapper + [class*='-wrapper'] {
  padding-top: 0;
}

[class*='-wrapper'] + [class*='-wrapper'] {
  padding-top: 0;
}

.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-700 {
  background-color: var(--color-neutral-700);
  color: var(--color-air);
}

.section.neutral-700 h1,
.section.neutral-700 h2,
.section.neutral-700 h3,
.section.neutral-700 h4,
.section.neutral-700 h5,
.section.neutral-700 h6,
.section.neutral-700 p,
.section.neutral-700 li,
.section.neutral-700 span,
.section.neutral-700 div {
  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,
.section.neutral-700 .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,
.section.neutral-700 .button:hover,
.section.neutral-700 .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,
.section.neutral-700 .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,
.section.neutral-700 .button.secondary:hover,
.section.neutral-700 .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,
.section.neutral-700 .button.tertiary {
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--color-air) !important;
  font-weight: bold !important;
}

.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,
.section.neutral-700 .button.tertiary:hover,
.section.neutral-700 .button.tertiary:focus {
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--color-neutral-400) !important;
}

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

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

.default-content-wrapper.open-text-centered {
  text-align: center;
}

/* stylelint-disable selector-id-pattern, length-zero-no-unit */
#five9OpenChatButton {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#five9OpenChatButton img[alt='Close chat'] {
  margin-left: 0px !important;
}
/* stylelint-enable selector-id-pattern, length-zero-no-unit */

.blog-category.h6,
body.blog .blog-category.h6 {
  margin: 0 0 20px;
  font-family: var(--heading-font-family);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.blog-title {
  margin-top: 0;
}

.blog-date {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-featured-image {
  width: 100%;
}

.blog-featured-image img {
  height: 31vw;
  object-fit: cover;
  width: 100%;
  max-height: 400px;
}
