@font-face {
    font-family: 'Open Sans Light';
    font-display: 'fallback';
    src: url("/static/fonts/opensans-light.2120033991a4.woff2") format('woff2'),
         url("/static/fonts/opensans-light.c709d7bf4556.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Light';
    src: url("/static/fonts/opensans-regular.668362de763a.woff2") format('woff2'),
         url("/static/fonts/opensans-regular.fe6f746bb376.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Light';
    src: url("/static/fonts/opensans-lightitalic.580ce2d5ac1d.woff2") format('woff2'),
         url("/static/fonts/opensans-lightitalic.e3fb6f344bae.woff") format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/fonts/opensans-regular.668362de763a.woff2") format('woff2'),
         url("/static/fonts/opensans-regular.fe6f746bb376.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/fonts/opensans-semibold.ca624b3a4a97.woff2") format('woff2'),
         url("/static/fonts/opensans-semibold.3a18a24d16cb.woff") format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/fonts/opensans-italic.c86748d08341.woff2") format('woff2'),
         url("/static/fonts/opensans-italic.23d9589c3efb.woff") format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Zilla';
    src: url("/static/fonts/ZillaSlab-Regular.a6e5f0564721.woff2") format('woff2'),
         url("/static/fonts/ZillaSlab-Regular.73e34125ae80.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Zilla';
    src: url("/static/fonts/ZillaSlab-Bold.5660aeb3b595.woff2") format('woff2'),
         url("/static/fonts/ZillaSlab-Bold.b34a9fbd7855.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Zilla';
    src: url("/static/fonts/ZillaSlab-Italic.9ecd00812efd.woff2") format('woff2'),
         url("/static/fonts/ZillaSlab-Italic.f0eb309d388d.woff") format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Zilla';
    src: url("/static/fonts/ZillaSlab-BoldItalic.200c68f070d4.woff2") format('woff2'),
         url("/static/fonts/ZillaSlab-BoldItalic.9574b5964e5c.woff") format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'icomoon';
    src:url("/static/fonts/icomoon/icomoon.2e6d7ddbe768.eot");
    src:url("/static/fonts/icomoon/icomoon.2e6d7ddbe768.eot?#iefix") format('embedded-opentype'),
        url("/static/fonts/icomoon/icomoon.c51c98ec32dc.woff") format('woff'),
        url("/static/fonts/icomoon/icomoon.6fb8316f6bda.ttf") format('truetype'),
        url("/static/fonts/icomoon/icomoon.a2fc62ea7e37.svg#icomoon") format('svg');
    font-weight: normal;
    font-style: normal;
}

    /*  Elements using font icons */
    .carousel-button:before {
        font-family: 'icomoon';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
    }


/*  ===================================================================
    RESETS (based mostly on normalize.css)
    =================================================================== */

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary { display: block; } /* HTML5 */
audio,canvas,video { display: inline-block; } /* HTML5 */

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
}

body { margin: 0; }

h1,h2,h3,h4,h5,h6 {
    margin: 1em 0;
    font-size: 1em;
    font-weight: normal;
    line-height: 1.2;
}

img { border: 0; }

b,strong { font-weight: bold; }

a { background: transparent; }

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
    sup { top: -0.5em; }
    sub { bottom: -0.25em; }

button { background-image: none; }

/*  ===================================================================
    Base - modifications to elements that are not resets
    =================================================================== */

html {
    background: #fff;
    height: 100%;
}

body {
    background: #f5f1e8 url("/static/img/bg-sand.5f2ca98ac180.png") repeat;
    background: url("/static/img/bg-gradient-sand.26ec6264163e.png") repeat-x 0 0,
                url("/static/img/bg-sand.5f2ca98ac180.png") repeat 0 0, #f5f1e8;
    color: #4d4e53;
    font: 14px/1.5 'Open Sans', sans-serif;
    width: 100%;
    overflow-x: hidden;

}
    body.freeze { /* used by trayMenu js */
        overflow: hidden;
    }

a:link,
a:visited {
    color: #0096dd;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #0073aa;
    text-decoration: none;
}

figure {
    margin: 0;
}

@media (max-width: 680px) {
    .js-enabled #wrapper {
        padding-top: 60px; /* space for fixed menu */
    }
}

@media (min-width: 681px) {
     body {
         padding-top: 100px;
     }
}


/*  ===================================================================
    helper classes
    =================================================================== */

/* hide except from screen readers */
.ally {
    left: -9999px;
    position: absolute;
}

.highlight {
    box-decoration-break: clone;
    background-color: #000;
    color: #fff;
    line-height: 1.3;
    padding: 0 5px;
  }

/*  ===================================================================
    Modules
    =================================================================== */

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

 /* max width, centered with padding */
.contain {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

/*  -------------------------------------------------------------------
    Header
    ------------------------------------------------------------------- */

.masthead-wrapper {
    border-top: 2px solid #fff;
}

.masthead-logo {
    margin: 0;
}

.masthead-logo a:not(:hover) {
    color: #4d4e53;
}

@media (max-width: 680px) {
    /* if we have javascript then we get the tray menu at this size, make this menu a short fixie */
    .js-enabled .masthead {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        width: 100%;
        min-height: 60px;
        /* TODO: flat image for mobile header? */
        background: #f5f1e8 url("/static/img/bg-sand.5f2ca98ac180.png") repeat;
        background: url("/static/img/bg-gradient-sand.26ec6264163e.png") repeat-x 0 0,
                    url("/static/img/bg-sand.5f2ca98ac180.png") repeat 0 0, #f5f1e8;
        -webkit-transition: -webkit-transform 0.8s;
                transition: transform 0.8s;
    }

        .js-enabled .tray-open .masthead {
            left: 200px; /* moves over if tray is open to make space */
        }

    .js-enabled .masthead .contain {
        height: 60px; /* restrict menu to height of padding added to body */
        overflow: hidden;
    }

    .masthead-logo {
        float: right;
        margin-top: 8px;
    }

}


@media (min-width: 681px) {
    /* desktop gets a fixed menu */
    .masthead {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        width: 100%;
        max-height: 100px;
        min-height: 60px;
        background: #f5f1e8 url("/static/img/bg-sand.5f2ca98ac180.png") repeat;
        background: url("/static/img/bg-gradient-sand.26ec6264163e.png") repeat-x 0 0,
                    url("/static/img/bg-sand.5f2ca98ac180.png") repeat 0 0, #f5f1e8;
    }

    .masthead .contain {
         position: relative;
    }

    .js-enabled .masthead .contain {
       max-height: 100px;
       height: auto;
       overflow: hidden;
    }
}

@media (min-width: 940px) {
   .masthead-logo {
        display: block;
        float: none;
        padding-top: 5px;
        margin-top: 0;
    }

    .masthead-logo.expanded {
        padding-top: 25px;
    }
}

/*  -------------------------------------------------------------------
    Main Navigation
    - menu and links are floated right, on small screens they begin to stack
    - stacking behaviour is over-ridden by tray menu at 680px if they have javascript enabled
    ------------------------------------------------------------------- */

.nav-main {
    font: 16px 'Open Sans', sans-serif;
    float: right;
    margin-right: 16px;
    min-height: 60px;
}

.nav-main ul {
    margin: 0;
    padding: 0;
}

.nav-main li {
    display: inline-block;
    list-style-type: none;
    margin: 0;
}

.nav-main a {
    font-weight: bold;
    display: inline-block;
    padding: 12px;
    -webkit-transition: color 0.5s;
       -moz-transition: color 0.5s;
            transition: color 0.5s;
}

    .nav-main a,
    .nav-main a:link,
    .nav-main a:visited {
        color: #484848;
    }

    .nav-main .current a,
    .nav-main a:hover,
    .nav-main a:focus,
    .nav-main nav a:active {
        color: #0096dd;
    }


@media (max-width: 680px) {
    /* hide nav-main if they have javascript enabled, tray nav takes over */
    .js-enabled .nav-main ul {
        display: none;
    }
}

@media (min-width: 681px) {
    .nav-main {
        position: absolute;
        top: 0;
        right: 0;
     }

    .nav-main ul {
        text-align: right;
    }

    li.nav-main-home {display: none;}

}



/*  ------------------------------------
    Tray Navigation - side nav for mobile
    ------------------------------------ */

/* wrapper goes around content so it can be pushed over when menu opens */

#wrapper {
    position: relative;
    left: 0;
    width:100%;
    overflow:hidden;
    -webkit-transition: -webkit-transform 0.8s;
            transition: transform 0.8s;
}

    .tray-open #wrapper {
        left: 200px;
    }

#tray-toggle {
    position: absolute;
    bottom: 14px;
    left: 13px;
    height: 0;
    width: 44px;
    overflow: hidden;
    border: 0;
    padding: 44px 0 0 0;
    background: transparent url("/static/img/nav-icon.874c8ed98654.png") center center no-repeat;
}

#nav-tray-close {
    position: fixed;
    top: 2px;
    left: 0;
    bottom: 0;
    z-index: 101;
    display: none;
    width: 100%;
    margin: 0;
    border: 0;
    opacity: 0;
    background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

    .tray-open #nav-tray-close {
         display: block;
         left: 200px;
    }

#nav-tray {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: auto;
    right: auto;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    width: 200px;
    height: 100%;
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.5);
    background-color: #4d4e53;
}

    #nav-tray.open {
        display: block;
    }

#nav-tray > ul {
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#nav-tray > ul > li > a {
    display: block;
    border-top: 1px solid #5f6065;
    border-bottom: 1px solid #3b3a37;
    padding: 15px 20px 12px 20px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

    #nav-tray > ul > li.current a,
    #nav-tray > ul > li > a:hover,
    #nav-tray > ul > li > a:focus,
    #nav-tray > ul > li > a:active {
        color: #0096dd;
    }


@media (min-width: 681px) {
    #tray-toggle {
        display: none; /* hide toggle on desktop */
    }
}


/*  -------------------------------------------------------------------
    Footer
    - content floats left and stacks on narrower screens
    - nav menus are in a block together so they stack under logo and info
    - entire footer stacks vertically on small enough screen
    ------------------------------------------------------------------- */

.colophon {
    overflow: hidden; _overflow: visible; zoom: 1; /* clearfix */
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fff;
}

.fast-company-images {
    display: block;
    clear: both;
    width: 420px;
}

.fast-company-images img {
    padding: 8px 8px 0 0;
    width: 170px;
    height: 262px;
}

.colophon-logo {
    display: block;
    float: left;
    width: 160px; /* 2 columns */
    margin-bottom: 15px;
    opacity: 0.2;
}

.colophon-info {
    display: inline-block;
    float: left;
    max-width: 300px; /* 4 columns */
    margin: 0 20px 20px 0;
    color: #bbb;
    font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
    font-size: 12px;
}
    .colophon-info a:link {
        color: #bbb;
    }

.colophon-nav {
    display: inline-block;
    float: left;
    min-width: 300px; /* 4 columns */
    margin-top: -7px;
}

    .colophon-nav ul {
        float: left;
        width: 140px; /* 2 columns */
        margin: 0;
        padding: 0 20px 0 0;
        list-style-type: none;
        font-size: 14px;
    }

.colophon-nav a {
    display: inline-block;
    padding: 5px 0;
}

@media (max-width: 680px) {
    .colophon-nav ul + ul {
        display: none; /* hide social media links on small enough screens */
    }
}

@media (min-width: 681px) {
    .colophon {
        padding-top: 40px;
    }

    .colophon-info {
        margin-right: 100px; /* extra column of space between info and nav menus */
    }

    .colophon ul {
        font-size: 13px;
    }
}

/*  -------------------------------------------------------------------
    call to action links/buttons
    ------------------------------------------------------------------- */

.cta {
    display: block;
    margin: 0 auto;
    padding: 11px;
    font-size: 20px;
    text-align: center;
}

.cta,
.cta:link,
.cta:visited {
    background-color: #2374c6;
    color: #fff;
}

.cta:hover,
.cta:focus,
.cta:active {
    background-color: #00458b;
}

.contain .cta {
        min-width: 175px;
        display: inline-block;
        border-radius: 4px;
        padding: 6px 20px;
        font-size: 18px;
    }

    .contain a.cta:link,
    .contain a.cta:visited {
        background-color: #2374c6;
    }

    .contain a.cta:hover,
    .contain a.cta:focus,
    .contain a.cta:active {
        background-color: #00458b;
    }

#know .cta {
    clear:both;
    position:relative;
    top:-20px;
    margin-bottom:-20px;
}

#apply .cta {
    margin: 10px 0;
}

.teams-team .cta {
    min-width: 0;
    display: inline-block;
    border-radius: 4px;
    padding: 6px 20px;
    font-size: 18px;
}

.listings-done .cta {
    width: 100%;
    border-radius: 0;
    border: 0;
    padding: 11px;
    font-size: 13px;
}

@media (min-width: 681px) {
    .cta {
        min-width: 175px;
        display: inline-block;
        border-radius: 4px;
        padding: 6px 20px;
        font-size: 14px;
    }

    a.cta:link,
    a.cta:visited {
        background: #2374c6;
    }

    a.cta:hover,
    a.cta:focus,
    a.cta:active {
        background: #00458b;
    }

    .cta-strip {
        box-shadow: inset 0 2px 2px 0 rgba(255, 255, 255, 0.2), 0 -2px 2px -2px rgba(0, 0, 0, 1);
        background: #2374c6;
        background: -webkit-linear-gradient(#2f9ace, #01539f);
        background:         linear-gradient(#2f9ace, #01539f);
        font-family: 'Zilla', serif;
        font-size: 0;
        text-align: center;
    }
        .cta-strip:before,
        .cta-strip:after {
            content: '';
            display:inline-block;
            height: 79px;
            width: 1px;
            background:#014a8a;
            font-size: 10px;
        }

        .cta-strip:after {
            background: #4ea9d4;
        }

        .cta-strip a.cta {
            -moz-box-sizing: border-box;
                 box-sizing: border-box;
            height: 79px;
            width: 33%;
            max-width: 240px;
            border-radius: 0;
            padding: 15px 45px;
            font-size: 17px;
            line-height: 1.35;
            vertical-align: top;
        }

        .cta-strip a.cta:link,
        .cta-strip a.cta:visited {
            border-top: 0;
            border-right: 1px solid #014a8a;
            border-bottom: 0;
            border-left: 1px solid #4ea9d4;
            background: -webkit-linear-gradient(#2f9ace, #01539f);
            background:         linear-gradient(#2f9ace, #01539f);
        }

        .cta-strip a.cta:hover,
        .cta-strip a.cta:focus,
        .cta-strip a.cta:active {
            background: -webkit-linear-gradient(#0054a0, #147fb6);
            background:         linear-gradient(#0054a0, #147fb6);
        }
}

@media (min-width: 940px) {
    .cta {
        padding: 7px 20px;
        font-size: 18px;
    }

    .cta-strip:before,
    .cta-strip:after {
         height: 106px;
    }

    .cta-strip a.cta {
        height: 106px;
        max-width: 313px;
        padding: 20px 60px ;
        font-size: 23px;
        -webkit-font-smoothing: antialiased;
    }
}


/*  -------------------------------------------------------------------
    carousel
    ------------------------------------------------------------------- */

.carousel-button {
    position: absolute;
    top: 125px;
    left: 0;
    z-index: 1;
    height: 100px;
    width: 60px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0;
}

   .carousel-button-next {
        left: auto;
        right: 0;
    }


.carousel-button:before {
    content: '\e00e';
    position: absolute;
    top: 50%;
    left: 20px;
    display: block;
    height: 25px;
    width: 20px;
    margin-top: -13px;
    color: #696868;
    font-size: 27px;
}

    .carousel-button:hover:before {
        color: #fff;
        color: rgba(255, 255, 255, 0.8);
    }

    .carousel-button-next:before {
        content: '\e010';
        left: auto;
        right: 20px;
    }

        .carousel-button-next:hover:before {
            background-position: -114px -5px;
        }

#testimonials .carousel-button {
    top: 300px;
}

#life-perks .carousel-button {
    top: 75px;
}

#life-blocks .carousel-button {
    top: 0;
    z-index: 1;
    height: 100%;
    width: 20px;
    padding: 0;
    opacity: 1;
    background: rgba(255, 255, 255, 0);
    -webkit-transition: background-color 0.5s;
            transition: background-color 0.5s;
}

    #life-blocks .carousel-button-next {
        left: auto;
        right: 0;
    }

    #life-blocks .carousel-button:before,
    #life-blocks .carousel-button:after {
        content: '\e005';
        position: absolute;
        top: 50%;
        left: 20px;
        display: block;
        height: 65px;
        width: 65px;
        margin-top: -33px;
        color: #ffffff;
        font-size: 60px;
        line-height: 65px;
        text-align: center;
        -webkit-transition: color 0.5s, text-shadow 0.5s;
                transition: color 0.5s, text-shadow 0.5s;
    }

    #life-blocks .carousel-button:focus,
    #life-blocks .carousel-button:hover {
        background: rgba(255, 255, 255, 0.2);
        outline: none;
    }

    #life-blocks .carousel-button-next:before,
    #life-blocks .carousel-button-next:after {
        left: auto;
        right: 20px;
    }

    #life-blocks .carousel-button:before {
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    }

    #life-blocks .carousel-button:hover:before {
        color: rgba(255, 255, 255, 1);
        text-shadow: 0 0 10px rgba(0, 0, 0, 1);
    }

    #life-blocks .carousel-button:after {
        content: '\e012';
        color: #231f20;
        font-size: 26px;
    }

    #life-blocks .carousel-button:hover:after {
        color: #0095dd;
    }

    #life-blocks .carousel-button-next:after {
        content: '\e011';
    }

    @media (max-width:680px) {
        #life-blocks .carousel-button {
            left:-5px;
        }
        #life-blocks .carousel-button-next {
            left: auto;
            right:-5px;
        }
        #life-blocks .carousel-button:before,
        #life-blocks .carousel-button:after {
            display: none;
        }
    }

.carousel-pager {
    margin:15px 0 1px 0;
    width:100%;
    text-align:center;
}

    .carousel-pager > a {
        display: inline-block;
        height: 0;
        width: 8px;
        overflow: hidden;
        border-radius: 100%;
        margin:0 6px;
        padding-top: 8px;
        background-color: #9e9e9e;
    }

        .carousel-pager > a:hover,
        .carousel-pager > a:focus,
        .carousel-pager > a:active {
            background-color: #cccccc;
        }

        .carousel-pager > a.selected {
            background-color: #0095dd;
        }

#life-perks-pager {
    margin: -1px 0 0 0;
}
