/*
 * Whitepaper landing page. Loaded by inc/whitepaper-landing.php on pages that use
 * [dbwp_whitepaper_card]. Layout, spacing and type use Bootstrap 4 utilities in the
 * page markup; this file only covers brand colors and what Bootstrap has no utility for.
 */
:root {
  --dbwp-navy: #0e1c29;
  --dbwp-cyan: #29abe2;
  --dbwp-cyan-ink: #0b5f86;
  --dbwp-admin-bar-height: 32px;
  --dbwp-sticky-top: 94px;
  /* theme header becomes a 70px fixed bar on scroll */
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.wpb-content-wrapper [id] {
  scroll-margin-top: calc(var(--dbwp-sticky-top) + 8px);
}

/* brand colors as Bootstrap-style utilities */
.text-dbwp-cyan {
  color: var(--dbwp-cyan) !important;
}

.text-dbwp-cyan-ink {
  color: var(--dbwp-cyan-ink) !important;
}

.border-dbwp-cyan {
  border-color: var(--dbwp-cyan) !important;
}

.btn.btn-dbwp-cyan, .btn.btn-dbwp-cyan:hover, .btn.btn-dbwp-cyan:focus {
  color: var(--dbwp-navy);
  background-color: var(--dbwp-cyan);
  border-color: var(--dbwp-cyan);
}

.btn.btn-dbwp-cyan:hover {
  background-color: #4fc0ee;
  border-color: #4fc0ee;
}

.dbwp-eyebrow {
  letter-spacing: .16em;
}

/* The theme row template wraps columns in .vc_column_wrapper and drops WPBakery's flex classes. */
@media (min-width: 768px) {
  .vc_row-o-equal-height>.vc_column_wrapper, .dbwp-steps>.vc_column_wrapper {
    display: flex;
    flex-wrap: wrap;
  }

  .dbwp-align-middle>.vc_column_wrapper {
    align-items: center;
  }
}

.vc_section[data-vc-full-width]>.vc_row {
  margin: 0 auto !important;
  max-width: 1140px;
}

.vc_section[data-vc-full-width]>.vc_row.top-bc {
  max-width: 1140px;
  width: 100%;
}

/* navy bands: contour texture canvas added by whitepaper-landing.js */
.dbwp-topo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dbwp-topo__canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}

.vc_row[data-vc-full-width-init="true"].vc_hidden, .vc_section[data-vc-full-width-init="true"].vc_hidden {
  opacity: 1;
}

/* hero */
.dbwp-hero .breadcrumb-item, .dbwp-hero .breadcrumb-item a, .dbwp-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .65);
}

.dbwp-hero .breadcrumb-item+.breadcrumb-item::before {
  content: "›";
}

.dbwp-hero-title {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.05;
}

.dbwp-book .vc_single_image-wrapper {
  perspective: 1400px;
  padding: 12px;
}

.dbwp-book img {
  width: 340px;
  transform: rotateY(-16deg) rotateX(3deg);
  transform-origin: left center;
  box-shadow: 24px 30px 60px rgba(0, 0, 0, .55);
}

/* reading column */
.dbwp-letters>div {
  border-right: 2px solid rgba(255, 255, 255, .12);
}

.dbwp-letters>div:last-child {
  border-right: 0
}

.dbwp-pull {
  border-left-width: 4px !important;
}

/* availability factors (#r2): 2px-line grid with line icons. Icons live in CSS because the
   WPBakery text editor strips inline <svg>. Cells are matched by order. */
#r2 .row.no-gutters.mx-0 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  background: #d6e0e6;
  border: 1px solid #d6e0e6;
  margin-top: 10px;
}

#r2 .row.no-gutters.mx-0>div {
  max-width: none;
  width: auto;
  background: #fff;
  border: 0 !important;
  padding: 18px 18px 20px !important;
}

#r2 .row.no-gutters.mx-0>div::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  background-color: var(--dbwp-cyan-ink);
  -webkit-mask: var(--dbwp-icon) center / contain no-repeat;
  mask: var(--dbwp-icon) center / contain no-repeat;
}

#r2 .row.no-gutters.mx-0 b {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #002231;
  margin-bottom: 6px !important;
}

#r2 .row.no-gutters.mx-0 span {
  font-size: 16px;
  line-height: 1.5;
  color: #33444f;
}

#r2 .row.no-gutters.mx-0>div:nth-child(1) {
  --dbwp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='16' height='10' rx='2'/%3E%3Cpath d='M18.5 10.5h2v3h-2'/%3E%3Cpath d='M11.5 9.5 9 12.3h3.5L10 15'/%3E%3C/svg%3E");
}

#r2 .row.no-gutters.mx-0>div:nth-child(2) {
  --dbwp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.2'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.2'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.2'/%3E%3Cpath d='M17.25 14v6.5M14 17.25h6.5'/%3E%3C/svg%3E");
}

#r2 .row.no-gutters.mx-0>div:nth-child(3) {
  --dbwp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 15.5V7.5h11v8'/%3E%3Cpath d='M13.5 10h4l3.5 3.5v2'/%3E%3Cpath d='M2.5 15.5h1.6M9.4 15.5h5.2M19.9 15.5H21'/%3E%3Ccircle cx='6.75' cy='16.25' r='2'/%3E%3Ccircle cx='17.25' cy='16.25' r='2'/%3E%3C/svg%3E");
}

#r2 .row.no-gutters.mx-0>div:nth-child(4) {
  --dbwp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.35-5.65'/%3E%3Cpath d='M20 4.5v4h-4'/%3E%3Cpath d='M12 8v4l2.5 2'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  #r2 .row.no-gutters.mx-0 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pdf-preview .vc_single_image-wrapper {
    width: 630px;
    max-width: max-content !important;
  }
}

/* floating download card: sticky on desktop, fixed bar below lg */
.dbwp-side>.vc_column-inner {
  height: 100%;
}

.dbwp-side>.vc_column-inner>.wpb_wrapper {
  position: sticky;
  top: var(--dbwp-sticky-top);
}

.admin-bar .dbwp-side>.vc_column-inner>.wpb_wrapper {
  position: sticky;
  top: calc(var(--dbwp-sticky-top) + var(--dbwp-admin-bar-height));
}

.dbwp-mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--dbwp-navy);
  padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: 70px;
  }

  /* keep the site's floating buttons above the download bar */
  body .btn.contact-cta-button {
    bottom: 115px;
  }

  body #back_to_top.on {
    bottom: 120px !important;
  }

  body .mwai-chat.mwai-window .mwai-trigger.mwai-trigger.mwai-trigger {
    bottom: 90px !important;
  }
}

/* platform flow */
.dbwp-step-pic .vc_figure, .dbwp-step-pic .vc_single_image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 170px;
}

.dbwp-step-pic img {
  width: auto;
  max-height: 160px;
}

.dbwp-steps p, .dbwp-card p, .dbwp-card a {
  font-size: 16px;
}

@media (min-width: 992px) {
  .dbwp-steps .vc_column_container {
    position: relative;
  }

  .dbwp-steps .vc_column_container+.vc_column_container {
    border-left: 1px solid #dee2e6;
  }

  .dbwp-steps .vc_column_container:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 104px;
    width: 16px;
    height: 16px;
    background: #eef3f6;
    border-top: 2px solid var(--dbwp-cyan);
    border-right: 2px solid var(--dbwp-cyan);
    transform: rotate(45deg);
    z-index: 1;
  }
}



/* what's in the PDF: diamond bullets (theme adds disc bullets and hides li::before after an h2) */
.dbwp-check {
  list-style: none;
}

.dbwp-check::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--dbwp-cyan);
  transform: rotate(45deg);
}

.dbwp-formband .frm_forms label, .dbwp-formband .frm_forms .frm_primary_label {
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dbwp-formband a, .dbwp-formband a:hover {
  color: var(--dbwp-cyan);
}

/* Formidable wraps the confirmation HTML in its own success message. */
.dbwp-formband .frm_forms .frm_message {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dbwp-confirmation {
  background: #14283a;
  border-left: 4px solid var(--dbwp-cyan);
  color: #fff;
}

.dbwp-formband .frm_forms .frm_message .dbwp-confirmation p {
  color: #fff !important;
}

.dbwp-confirmation__actions>div {
  max-width: 100%;
}

.dbwp-formband .dbwp-confirmation .btn {
  max-width: 100%;
  padding: 16px 26px;
  line-height: 1.3;
  white-space: normal;
}

.dbwp-formband .dbwp-confirmation .btn-dbwp-cyan {
  color: var(--dbwp-navy);
  background: var(--dbwp-cyan);
  border-color: var(--dbwp-cyan);
}

.dbwp-formband .dbwp-confirmation .btn-dbwp-cyan:hover, .dbwp-formband .dbwp-confirmation .btn-dbwp-cyan:focus {
  background: #4fc0ee;
  border-color: #4fc0ee;
}

.dbwp-formband .dbwp-confirmation .btn-dbwp-outline {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

.dbwp-formband .dbwp-confirmation .btn-dbwp-outline:hover, .dbwp-formband .dbwp-confirmation .btn-dbwp-outline:focus {
  color: var(--dbwp-navy);
  background: #fff;
  border-color: #fff;
}

.dbwp-confirmation__links {
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
}

.dbwp-confirmation__label {
  color: #b4c6d3;
}

.dbwp-formband .dbwp-confirmation__links a:hover, .dbwp-formband .dbwp-confirmation__links a:focus {
  color: #8cdbfa;
}


/* focus outlines: dark ink on light bands, cyan on navy */
.wpb-content-wrapper a:focus-visible {
  outline: 3px solid var(--dbwp-cyan-ink);
  outline-offset: 2px;
}

.dbwp-hero a:focus-visible, .dbwp-formband :is(a, button, input, select, textarea):focus-visible, .dbwp-mbar a:focus-visible {
  outline: 3px solid var(--dbwp-cyan);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .dbwp-book .vc_single_image-wrapper {
    padding: 0;
  }

  .dbwp-book img {
    width: 150px;
    transform: none;
  }

  .dbwp-req-num {
    font-size: 2.25rem;
  }

  .dbwp-letters>div:nth-child(2) {
    border-right: 0;
  }

  .dbwp-letters>div:nth-child(1), .dbwp-letters>div:nth-child(2) {
    border-bottom: 2px solid rgba(255, 255, 255, .12);
  }
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 32px;
}

.wpb_single_image .vc_figure-caption {
  font-size: 16px !important;
}