/*
Level 12 Defaults

Mobile first. This means **use media breakpoints for non-mobile viewpoints.**

White: rgb(255, 255, 255)
Black-ish: rgb(8, 26, 57)
Blue: rgb(8, 28, 52)
Dark blue: rgb(3, 6, 13)
Alt Blue: rgb(9, 166, 184)
Orange: rgb(242, 71, 9)
Darker Contrast Orange: rgb(206, 53, 6)
Gray BG: rgb(238, 238, 238)
Gray BG Accent: rgb(205, 205, 205)

Breakpoints:
- 576px
- 768px
- 992px
- 1200px

These are the lower boundaries, e.g. 768px and up

The theme uses http://classless.de/ for base CSS styling. It also gives a rudimentary grid.

.row
    .col
    .col-3
    .col

 */

@font-face {
    font-family: ProximaNova;
    src: url("/static/fonts/proxima-nova/Proxima Nova Reg.otf");
}

:root {
    font-family: ProximaNova, sans-serif;
}

body {
    max-width: none;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(8, 26, 57);
    font-weight: 600;
    margin-top: 1em;
    position: relative;
}

h1.orange, h2.orange, h3.orange, h4.orange, h5.orange, h6.orange {
    color: #f14808;
}

.underscore {
    position: relative;
    margin-bottom: 16px;
}

.content h2::after,
.content h3::after,
.underscore::after,
.underscore-left.underscore::after {
    content: '';
    width: 60px;
    height: 4px;
    background: rgb(242, 71, 9);
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.content h2.center::after,
.content.center h2::after,
.content h3.center::after,
.content.center h3::after,
.underscore-center.underscore::after {
    left: calc(50% - 30px);
}

a {
    color: rgb(9, 166, 184);
    text-decoration: underline;
}

a.button {
    display: inline-block;
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.1rem;
    background-color: rgb(242, 71, 9);
    color: rgb(255, 255, 255);
    border: .1rem solid rgb(242, 71, 9);
    text-decoration: none;
}

a.button.button-alt {
    background-color: rgb(9, 166, 184);
    border: .1rem solid rgb(9, 166, 184);
}

a.button:hover, a.button:active {
    color: rgb(255, 255, 255);
    border: .1rem solid rgba(242, 71, 9, 0.6);
}

a.button.button-alt:hover, a.button.button-alt:active {
    border: .1rem solid rgba(9, 166, 184, 0.6);
}

.meta {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.7)
}

.social-icons img {
    max-width: 64px;
}

.wild-honey {
    /* Hides form honeypot fields */
    display: none;
}

iframe {
    max-width: 100%;
}

p, p > a, p > *, li {
    font-family: sans-serif;
}

p, li, a {
    line-height: 26px;
    font-size: 16px;
    color: rgb(8, 26, 57);
}

small > a {
    /* Without this, anchors in <small> show up at 16px due to above rule */
    font-size: 100%;
}

p strong {
    color: rgb(0, 0, 0);
}

li, dd {
    margin-bottom: 0.8rem;
}

/************************************************************
 BEGIN LAYOUT ELEMENTS
 See also http://classless.de/
 Especially the basic grid system
************************************************************/

@media (min-width: 40em) {
    [class*="col"] > * {
        margin-bottom: 1rem !important;
    }
}

.container {
    display: flex;
    max-width: 70rem;
    margin: 0 auto;
}

.wide-section {
    display: flex;
    max-width: 80rem;
    margin: 0 auto;
}

.full-section {
    display: flex;
    max-width: 100%;
    padding: 20px;
}

@media (min-width: 992px) {
    .full-section {
        padding: 20px 10%;
    }
}

@media (min-width: 1400px) {
    .full-section {
        padding: 20px 20%;
    }
}

.dark-section {
    background: rgb(8, 28, 52) url(/images/graphics/blue-fade.png) no-repeat;
    background-size: cover;
}

.orange-section {
    background-image: linear-gradient(to right,#e1471c, #f5a601);
}

.white-section {
    background-image: linear-gradient(to right,#ffffff, #d7d7d7);
}

.blue-section {
    background-image: linear-gradient(to right,#173158, #0ea2b5);
}

.orange-section *, .blue-section * {
    color: white;
}

.orange-section .button, .blue-section .button, .white-section .button {
    background-color: #08a6b7;
    border: none;
}

.orange-section .button:hover, .blue-section .button:hover, .white-section .button:hover {
    background: black;
    border: none;
}

@media (max-width: 639px) {
    .two-col-image .button {
        margin-bottom: 40px;
    }
}

.gray-section {
    background-color: rgb(238, 238, 238);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6,
.dark-section p,
.dark-section span,
.dark-section strong,
.dark-section em,
.dark-section a,
.dark-section {
    color: rgb(255, 255, 255);
}

.flex {
    /* Generic flex box that tries to be smart and responsive */
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.content {
    /* Provides a nice buffer on mobile */
    width: 100%;
    padding: 0 8px;
}

.center {
    text-align: center;
}

.centered {
    margin: 0 auto;
}

.v-center {
    /* Warning: this can screw up your layout if used unwisely :) */
    display: flex;
    align-items: center;
}

.reverse {
    flex-direction: row-reverse;
}

.tile-layer {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    width: 100%;
    margin-top: 16px;
}

.tile-layer .tile {
    flex-basis: 24%;
    margin-bottom: 36px;
}

.tile-layer .tile > * {
    height: 100%;
}

.tile .tile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: .5rem 6px;
    padding: .5rem 1rem 0.5rem;
    box-shadow: 0 0 0.6rem 0 rgb(205, 205, 205);
}

.tile .tile-card.blog-card {
    padding: 0;
    margin: 0;
    text-align: left;
}

.tile-card .tile-image {
    flex-grow: 2;
    display: flex;
    align-items: center;
}

.blog-card .tile-image {
    padding-top: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    max-height: 0;
}

.blog-card .tile-desc {
    padding: 0.5rem 1rem;
    border-left: 4px solid rgb(242, 71, 9);
    flex-grow: 2;
}

.blog-card .tile-desc p,
.tile-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.1rem;
    margin: 0;
}

.blog-card .tile-desc .meta {
    font-size: 0.6rem;
    font-weight: 400;
}

a.blog-card, a.tile-card {
    text-decoration: none;
    color: rgb(8, 26, 57);
}

.tile-image img {
    max-height: 150px;
}

.blog-card .tile-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.snippet-block a.button {
    font-size: 0.8rem;
}

.split-block {
    background: rgb(3, 6, 13) url(/images/graphics/split-background.png) no-repeat;
    background-size: 100% 100%;
    color: rgb(255, 255, 255);
}

.split-block p, .split-block p strong,
.split-block h1,
.split-block h2,
.split-block h3 {
    color: rgb(255, 255, 255);
}

.gray-block {
    background-color: rgb(238, 238, 238);
}

@media (min-width: 768px) {
    .tile-layer, .flex {
        flex-direction: row;
    }

    .tile-layer {
        flex-wrap: wrap;
    }

    .is-half {
        /* Simple helper function that is half width on non-mobile only */
        width: calc(48% - 8px);
        margin-left: 4px;
        margin-right: 4px;
    }

    .snippet-block {
        padding: 0 80px;
    }

    .content {
        width: 66%;
        margin: 0 auto;
    }
}

/************************************************************
 END LAYOUT ELEMENTS
************************************************************/

/************************************************************
 BEGIN HEADER
************************************************************/

header {
    margin-top: 0;
    position: relative;
    color: rgb(8, 28, 52);
}

.topbar {
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0;
    background-color: transparent;
    flex-direction: column;
    align-items: stretch;
}

.topbar .logo {
    padding: 12px 4px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-container {
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.nav-container.active {
    display: flex;
}

.nav-toggle img {
    width: 64px;
    height: 64px;
}

.nav-item {
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
}

.topbar nav .controller {
    padding-left: 6px;
    font-weight: 400;
    cursor: pointer;
}

.sub-nav {
    flex-direction: column;
    justify-content: space-evenly;
    background-color: rgb(238, 238, 238);
    border-top: 1px solid rgb(205, 205, 205);
    border-bottom: 1px solid rgb(205, 205, 205);
    width: 100%;
    position: relative;
    left: 0;
    /* Top, display, position are set separately for desktop mode */
    display: flex;
    opacity: 100%;
    visibility: visible;
    transition: visibility 0s, opacity 0.2s linear;

    --arrow-pos: 50%; /* Hey! A variable! */
}

.sub-nav:after, .sub-nav:before {
    bottom: 100%;
    left: 50%;
    left: var(--arrow-pos);
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    display: none;
}

.sub-nav:after {
    border-bottom-color: rgb(238, 238, 238);
    /* The diff between these and the subnav:before values ends up being the border width */
    border-width: 17px;
    margin-left: -17px;
}

.sub-nav:before {
    border-color: rgba(194, 225, 245, 0);
    border-bottom-color: rgb(205, 205, 205);
    border-width: 18px;
    margin-left: -18px;
}

.sub-nav.inactive {
    visibility: hidden;
    opacity: 0;
}

.sub-nav.inactive {
    display: none; /* Mobile only */
}

.sub-nav > div {
    margin: 0;
    padding: 0.8rem 1.0rem;
    flex-basis: 50%;
}

.sub-nav > div:first-child {
    position: relative;
}

.sub-nav > div:first-child::after {
    content: '';
    width: 1px;
    height: 80%;
    background: rgb(205, 205, 205);
    position: absolute;
    right: 0;
    top: 10%;
    display: none;
}

.sub-nav h3 {
    color: rgb(8, 26, 57);
    font-weight: 800;
}

.sub-nav a {
    white-space: nowrap;
    text-decoration: none;
}

.fancy-schmancy {
    display: flex;
    flex-basis: 50%;
    margin-bottom: 28px;
}

.fancy-schmancy div:first-child {
    flex-basis: 44px;
    padding-top: 0.3em; /* to match the h4 beside it */
}

.fancy-schmancy div:last-child {
    flex-basis: calc(100% - 44px);
}

.fancy-schmancy h4,
.fancy-schmancy p,
.fancy-schmancy img {
    /*only show links on mobile*/
    display: none;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.fancy-schmancy img {
    max-height: 40%;
    margin-right: 12px;
    width: 32px;
}

.fancy-schmancy p {
    font-size: 0.8rem;
}

.fancy-schmancy a, .fancy-schmancy a:hover {
    font-size: 0.8rem;
    color: rgb(242, 71, 9);
}

header .header-simple > h1 {
    color: #f14808;
    text-transform: uppercase;
}
header .header-simple > h2 {
    color: black;
}

header .header-background {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
}

header .header-background-arrow {
    background: url('/images/graphics/header-background-arrow.png') no-repeat;
    background-size: 100% 100%;
    min-height: 500px;
}

header .header-background-short {
    background: url('/images/graphics/header-background-short.png') no-repeat;
    background-size: 100% 100%;
    min-height: 200px;
}

.header-cta {
    display: flex;
    justify-content: center;
}

body nav {
    background-color: transparent;
    border: 0;
    width: 100%;
    min-height: auto;
}

body nav ul:first-child {
    max-width: none;
}

body nav a, body nav a:hover, body nav a:active {
    color: rgb(8, 26, 57);
    font-weight: 600;
    font-size: 0.9rem;
}

header h1, header h2 {
    max-width: 50%;
    margin: 0 auto;
}

header h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: rgb(255, 255, 255);
}

header h2 {
    text-align: center;
    font-size: 1.8rem;
    color: rgb(242, 71, 9);
    font-style: italic;
    font-weight: 600;
}

.cat-nav {
    width: 100%;
    padding: 12px;
    margin-top: -0.7rem; /* Bump closer to the header */
    border-bottom: 1px solid rgb(205, 205, 205);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}

.cat-nav > a {
    text-decoration: none;
    color: rgb(8, 26, 57);
    font-size: 0.8rem;
    line-height: 0.8rem;
    font-weight: 600;
    padding: 2px 12px;
    border-right: 1px solid rgb(8, 26, 57);
}

.cat-nav > a.active {
    color: rgb(242, 71, 9);
}

.cat-nav > a:last-child {
    border-right: none;
}

@media (min-width: 768px) {
    header {
        overflow: visible;
    }

    .topbar .logo {
        max-width: 260px;
    }

    .topbar, .topbar nav > div {
        flex-direction: row;
    }

    .topbar nav > div {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: none;
    }

    .nav-container {
        display: flex;
    }

    .nav-container > div::after {
        display: none;
    }

    .nav-container > div:last-child {
        background: transparent url(/images/graphics/nav-callout-arrow.png) no-repeat;
        background-size: cover;
        padding: 0.8rem 36px;
    }

    .nav-container > div:last-child > a, .nav-container > div:last-child > span {
        color: rgb(255, 255, 255);
    }

    .sub-nav {
        order: 5;
        position: absolute;
        top: 75px;
        flex-direction: row;
        padding-left: 40px;
        padding-right: 40px;
    }

    .sub-nav, .sub-nav.active, .sub-nav.inactive {
        display: flex;
    }

    .sub-nav:after, .sub-nav:before {
        display: initial;
    }

    .sub-nav > div:first-child::after {
        display: initial;
    }

    .fancy-container {
        display: flex;
        flex-wrap: wrap;
    }

    .fancy-schmancy h4,
    .fancy-schmancy p,
    .fancy-schmancy img {
        display: block;
    }
}

/************************************************************
 END HEADER
************************************************************/

/************************************************************
 BEGIN FOOTER
************************************************************/

footer {
    margin-top: 0;
}

footer .dark-section {
    background: rgb(8, 28, 52) url(/images/graphics/blue-fade-alt.png) no-repeat;
    background-size: cover;
}

footer > div {
    padding: 28px 96px;
}

footer > p {
    text-align: center;
}

footer .dark-section h4 {
    font-size: 0.9rem;
    color: rgb(9, 166, 184);
}

footer .footer-top {
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(3, 6, 13, 0.3);
}

footer .footer-top > div {
    flex-basis: 20%;
}

.footer-connect {
    display: flex;
    justify-content: space-between;
}

.footer-connect img {
    width: 32px;
}

.footer-connect a {
    display: flex;
}

footer a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

footer ul {
    list-style-type: none;
    list-style-position: outside;
    padding-left: 0;
}

footer li {
    margin-bottom: 0;
}

.footer-end p {
    font-size: 0.7rem;
}

/************************************************************
 END FOOTER
************************************************************/

/************************************************************
 BEGIN FLEX ELEMENTS
************************************************************/
.adventure {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    position: relative;
}

.adventure::before {
    content: "\2022";
    position: absolute;
    font-size: 2rem;
    line-height: 0;
    top: 0;
    width: 14px;
    left: calc(50% - 7px);
}

.adventure::after {
    content: "";
    border-right: 1px dashed rgb(8, 26, 57);
    position: absolute;
    height: 100%;
    left: calc(50% - 1px);
}

.adventure .adventure-item {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-basis: 100%;
    margin-top: 64px;
    height: 64px;
}

.adventure .adventure-item > div {
    width: 45%;
    max-width: 45%;
    background-color: rgb(242, 71, 9);
    background-image: linear-gradient(to bottom, rgb(242, 71, 9, 0.8), rgb(242, 71, 9));
    z-index: 10;
    display: flex;
}

.adventure .adventure-item a {
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
}

.adventure-image, .adventure-label {
    margin: 0;
}

.adventure-image {
    width: 64px;
    height: 100%;
    background-color: rgb(206, 53, 6);
}

.adventure-image img {
    width: 100%;
    height: 100%;
}

.adventure-label {
    width: calc(100% - 64px);
    padding: 4px;
    line-height: 0;
}

.adventure .adventure-item::before {
    content: "";
    width: calc(50% - 96px);
    height: 100%;
    position: absolute;
    top: -28px;
    left: 96px;
    border-top: 1px dashed rgb(8, 26, 57);
    border-left: 1px dashed rgb(8, 26, 57);
    z-index: 5;
}

.adventure .adventure-item:nth-child(2n) {
    justify-content: flex-end;
}

.adventure .adventure-item:nth-child(2n)::before {
    border-right: 1px dashed rgb(8, 26, 57);
    border-left: none;
    right: 96px;
    left: auto;
}

.adventure .adventure-item:last-child {
    justify-content: center;
}

.adventure .adventure-item:last-child::before {
    display: none;
    border: none;
}

div.collapsed {
    overflow: hidden;
    max-height: 150px;
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

div.expanded {
    overflow: unset;
    max-height: none;
    mask-image: none;
}

button.expand{
    float: right;
    opacity: 0.65;
    font-weight: normal;
}

.color-block {
    padding-top: 30px;
    padding-bottom: 30px;
}

.color-block p, .color-block em, .color-block strong {
    color: inherit;
}

a.cta-container {
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: rgb(242, 71, 9);
    background-image: linear-gradient(to bottom, rgb(242, 71, 9, 0.8), rgb(242, 71, 9));
    height: 140px;
    max-width: 520px;
    margin: 24px auto;
}

.cta-container > * {
    flex-basis: 50%;
}

.cta-container .cta-image {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.cta-container .cta-content {
    position: relative;
    padding: 16px 48px 16px 16px;
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
}

.cta-container .cta-content::after {
    content: '›';
    position: absolute;
    right: 0;
    top: calc(50% - 12px);
    line-height: 0;
    font-size: 128px;
    font-weight: 400;
    font-style: normal;
}

.info-bar {
    width: 100%;
    background-color: rgb(8, 28, 52);
    overflow: auto;
    margin-top: 50px;
}

.info-bar div {
    text-align: center;
    color: white;
    padding: 20px 0;
}

.info-bar div p:nth-of-type(2) {
    font-weight: bold;
}

@media (min-width: 576px) {
    .info-bar div {
        float: left;
        width: 25%;
        text-align: center;
        color: white;
        padding: 60px 0;
    }
}

.gallery {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery .controls {
    cursor: pointer;
    text-decoration: underline;
}

.gallery .galleria {
}

.galleria > div.inactive {
    display: none;
}

.gallery-image-container {
    position: relative;
}

.gallery-image-caption {
    background: rgba(50, 50, 50, 0.5);
    color: #ffffff;
    position: absolute;
    bottom: -10px;
    width: 100%;
    padding: 8px;
}

.stat-bar {
    width: 66%;
    margin: 24px auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.stat-bar > div {
    flex-basis: 33%;
}

.stat-bar .stat {
    text-align: center;
    padding: 24px;
    margin: 0 auto;
    width: 192px;
    height: 192px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 6px 4px rgba(28, 28, 28, 0.4);
}

.stat-bar .stat-label {
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(8, 26, 57);
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.stat-bar .stat-stat {
    font-size: 0.8rem;
    color: rgb(8, 26, 57);
}

@media (min-width: 992px) {
    .stat-bar {
        flex-direction: row;
    }
}

.testimonial {
    font-weight: 600;
    max-width: 80%;
    margin: 40px auto 20px;
}

.testimonial p {
    font-size: 0.9rem;
}

.testimonial-image {
    max-width: 128px;
    max-height: 128px;
    border-radius: 50%;
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
}

.testimonial-quote::before {
    content: url(/images/graphics/quotes.png);
    position: absolute;
    left: -64px;
    top: -64px;
}

.tile-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.toc-container {
    display: flex;
}

.toc-block {
    padding: 0 24px;
}

.toc-toc {
    flex-basis: 25%;
    margin-left: 96px;
    padding-right: 24px;
}

.toc-toc ul {
    margin-top: 3em;
}

.toc-toc li {
    list-style-type: none;
}

.toc-toc li a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
}

.toc-toc + div {
    border-left: 1px solid rgb(238, 238, 238);
    flex-shrink: 10;
}

.two-col-image.with-background {
    background: no-repeat top right;
    background-size: 50% 100%;
}

@media (min-width: 768px) {
    .tile-list {
        flex-direction: row;
    }
}

.two-col-text-heading, .two-col-image, .two-col-content {
    align-items: center;
}

.two-col-text-heading a.button,
.two-col-image a.button,
.two-col-content a.button {
    margin-top: 22px;
    margin-right: 12px;
    text-align: center;
}

.contact-section {
    display: flex;
    flex-direction: column;
}

.contact-section form {
    align-self: center;
    margin: 2em 0;
    max-width: 500px;
    width: 100%;
    text-align: left;
}

.contact-section input[type='text'],  
.contact-section textarea {
    font-family: ProximaNova;
    background: #f7f7f7;
    border: 0;
    border-radius: 0;
    width: 100%;
    padding: 16px;
}

.contact-section input[type='text']:hover,
.contact-section textarea:hover {
    border: 0;
}

.contact-section textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-section button {
    padding: 0.7rem 1rem;
    background: #08a6b7;
    color: white;
    border: 0;
    border-radius: 0;
}
.contact-section button:hover {
    background: black;
    color: white;
    border: 0;
}

@media (max-width: 40em) {
    .contact-section form .col > * {
        margin: 0.5em 0;
    }
}


.contact-section > .row {
    justify-content: center;
}

/************************************************************
 END FLEX ELEMENTS
************************************************************/

/************************************************************
 BEGIN STYLE ELEMENTS
************************************************************/

/************************************************************
 END STYLE ELEMENTS
************************************************************/
