/* =========================================================
   Alba Gaskets - Critical CSS
   Homepage / initial viewport
   ========================================================= */

/* ---------- Base / reset ---------- */

html {
    box-sizing: border-box;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    position: relative;
    line-height: 1.5;
    font-size: 100%;
    color: #2d2d2d;
    letter-spacing: 0.3px;
    overflow: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

body,
input,
button,
select,
textarea {
    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

img,
video {
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 300;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

p {
    margin: 0 0 1rem;
}


/* ---------- Layout ---------- */

.container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.container::after {
    clear: both;
    content: "";
    display: block;
}


/* =========================================================
   HEADER
   ========================================================= */

.global-header {
    position: relative;
}

.global-header .container {
    position: relative;
    z-index: 3;
    padding: calc(2vw + 1em) calc(3vw + 1em) 0;
}

.global-header--logo {
    display: block;
    float: none;
    min-width: 56%;
    margin-right: 0;
}

.global-header--logo img {
    display: block;
    width: 100%;
    max-width: 200px;
    max-height: 80px;
    height: auto;
}

.global-header--search {
    padding: 1em 0 0;
    margin: 0 auto -20px auto;
    max-width: 340px;
}

.global-header--search input[type="text"],
.global-header--search input[type="email"] {
    width: 100%;
    border: 1px solid #ccc;
    padding: 0.7em 1em 0.6em;
    font-size: 1em;
    color: #222;
    background: #fcfcfc;
    border-radius: 20px;
    padding-left: 2em;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.05);
    outline: none;
    -webkit-appearance: none;
}

.global-header--search input[type="submit"] {
    display: none;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

#open-menu {
    position: absolute;
    right: 0;
    top: calc(2vw + 1em);
    padding: 0.5em 1em 0.5em 2em;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    background: #222;
    z-index: 3;

    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 600;
    font-style: normal;
}

#open-menu:before {
    position: absolute;
    left: 0.8em;
    top: 0.85em;
    content: '';
    width: 15px;
    height: 15px;
    background-position: -268px -18px;
    background-size: 500px 250px;
}

.global-nav {
    position: fixed;
    background: #444;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    z-index: 11;

    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: transform .3s;
}

.global-nav .global-nav--wrap {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.global-nav a {
    color: #fff;
}

.global-nav ul {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.global-nav ul li.level-1 {
    padding: 0 1.2em;
}

.global-nav ul li.level-1 a {
    display: block;
    padding: 0.7em 0;
}

.global-nav ul li.level-1 a.primary-link {
    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7em 0;
    border-bottom: 1px solid #373737;
}

.global-nav .global-nav--header {
    padding: 15% 1.2em 5%;
}

.global-nav .global-nav--header a {
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 0 0 1.5em;

    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 700;
}

.global-nav .global-nav--header a:before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 20px;
    height: 20px;
}


/* Menu-open state */

.menu-open {
    overflow-y: hidden;
}

.menu-open .global-nav {
    position: fixed;
    box-shadow: -10px -10px 30px rgba(0,0,0,0.2);
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    z-index: 11;

    transform: translateX(0%);
    -webkit-transform: translateX(0%);
}

.overlay {
    transition: background .8s;
    height: 0;
    background: rgba(0,0,0,0);
}

.menu-open .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 10;
    background: rgba(0,0,0,0.4);
}


/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.global-hero {
    position: relative;
    background: #467292;
    color: #fff;
}

.global-hero .container {
    position: relative;
    z-index: 3;
    padding:
        calc(1vw + 4em)
        calc(2vw + 1em)
        calc(1vw + 2em);
    text-align: center;
}

.global-hero--heading {
    font-size: 1.8020324707em;
    text-transform: uppercase;
    line-height: 1em;
    margin: 0 0 0.2em 0;
}

.home-banner .global-hero--heading {
    font-size: 2.0272865295em;
}

.global-hero--tagline {
    text-indent: -1px;
}

.global-hero--tagline p {
    font-size: 1.125em;
}

.global-hero--left {
    text-indent: -3px;
}

.global-hero--overlay {
    background: rgba(34,34,34,0.55);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    box-shadow: inset 0 10px 10px rgba(0,0,0,0.06);
}

.global-hero--image,
.global-hero--video {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.global-hero--image img,
.global-hero--image video,
.global-hero--video img,
.global-hero--video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

[class*="-btn"] {
    padding: 0.5em 1em;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;

    font-family: 'myriad-pro', 'helvetica', 'arial', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.primary-btn,
input[type=submit] {
    display: inline-block;
    position: relative;
    border: 0;
    line-height: 1;

    background: linear-gradient(
        to bottom,
        #5eaae3 0%,
        #5eaae3 26%,
        #489fdf 75%,
        #489fdf 100%
    );

    color: #222;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    border-radius: 3px;
}

.global-hero .primary-btn {
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (min-width: 25em) and (max-width: 50em) {

    .home-banner .global-hero--heading {
        font-size:
            calc(
                2.0272865295em +
                .9586974705 *
                ((100vw - 25em) / 25)
            );
    }

    .global-hero--tagline p {
        font-size:
            calc(
                1.125em +
                .075 *
                ((100vw - 25em) / 25)
            );
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media screen and (min-width: 992px) {

    #open-menu {
        display: none;
    }

    .global-header .container {
        padding:
            calc(1vw + 1em)
            calc(2vw + 0.6em)
            calc(0vw + 1em);
    }

    .global-header--logo {
        float: left;
        display: block;
        width: 23.0176103506%;
        margin-right: 0;
        min-width: 0;
    }

    .global-header--search {
        margin: 0;
        padding: 0 2.5% 0;
        float: right;
        width: 31.5712092005%;
        max-width: none;
        text-align: right;
    }

    .global-header--search input[type="text"],
    .global-header--search input[type="email"] {
        width: auto;
        min-width: 280px;
    }

    .global-nav {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: auto;
        background: transparent;
        transform: none;
        -webkit-transform: none;
    }

    .global-nav .global-nav--header {
        display: none;
    }

    .global-nav a {
        color: inherit;
    }

    .global-nav div > ul {
        display: flex;
        justify-content: space-between;
        gap: 1em;
    }

    .global-nav ul.top-level {
        padding: 0 2.5%;
        border-left: 1px solid #f2f2f2;
        text-align: center;
    }

    .global-nav ul li.level-1 {
        padding: 0;
    }

    .global-nav ul li.level-1 a.primary-link {
        position: relative;
        padding: 0.7em 0;
        color: #222;
        border: 0;
    }

    .global-hero .container {
        padding:
            calc(2vw + 2em)
            calc(2vw + 0.6em)
            calc(1vw + 2em);
        text-align: left;
    }

    .home-banner .global-hero--heading {
        font-size:
            calc(
                2.985984em +
                .8287132656 *
                ((100vw - 50em) / 25)
            );
    }

    .global-hero--left {
        float: left;
        width: 61.5088051753%;
        margin-right: 2.6431861992%;
    }

    .global-hero--right {
        float: left;
        width: 35.8480086255%;
        margin-right: 0;
        text-align: right;
    }

    .global-hero--heading {
        font-size:
            calc(
                2.48832em +
                .5634378125 *
                ((100vw - 50em) / 25)
            );
    }
}

@media screen and (min-width: 75em) {

    .home-banner .global-hero--heading {
        font-size: 3.8146972656em;
    }

    .global-hero--heading {
        font-size: 3.0517578125em;
    }

    .global-hero--tagline p {
        font-size: 1.25em;
    }
}