* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: "Quicksand";
    src: url("fonts/Quicksand-Light.ttf");
}
@font-face {
    font-family: "Quicksand";
    src: url("fonts/Quicksand-Bold.ttf");
    font-weight: bold;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}



/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type] {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #34495e;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu {
    background: #2d3e50;
}
.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background-image: url(../images/bg_plane.jpg);
    background-position: center;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    height: calc(80vh);
    width: 100%;
}

.splash-grid, .splash-cell {
    height: 100%;
}

.splash-cell:last-of-type {
    padding: 0 7% 0 1.5%;
}

.splash-cell:first-of-type {
    padding: 0 1.5% 0 5%;
}

.splash {
    /* absolute center .splash within .splash-container */

    margin: auto;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
    margin-top: 0;
    font-family: 'Quicksand', sans-serif;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
    line-height: 1.3;
    display: inline-block;
    /*text-shadow: 2px 2px 5px #000000a8;*/
    font-weight: bold;
}

.hero-image {
    line-height: 80vh;
}

.hero-image img {
    max-width:100%;
    vertical-align: middle;
}

.hero-content {
    line-height: 80vh;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* We want to give the content area some more padding */
.content {
    padding: 1em 1em 3em;
}

.content img {
    max-width: 100%;
}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 2em 0 2em;
    line-height: 1.4;
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    color: #34495e;
    font-family: 'Quicksand', sans-serif;
}
.content-subhead i {
    margin-right: 7px;
}

.icon-heading {
    text-align: center;
    font-size: 80px;
    margin: 39px 0 0 0;
    color: #34495e;
    padding-bottom: 82px;
    border-bottom: 1px solid #adc6c8;
}

.content-dark {
    background-color: #2d3e50;
    color: #adc6c8 !important;
}

.content-dark,
.content-dark h2.content-head,
.content-dark h3.content-subhead,
.content-dark .icon-heading {
    color: #adc6c8 !important;
}

/* This is the class used for the dark-background areas. */
.ribbon {
    color: #2d3e50;
    background: #d3d3d3;
}
.ribbon h2 {
    color: #2d3e50;
}

/* This is the class used for the footer */
.footer {
    background: #111;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.content-light {
    background-color: #EEE9DA;
}

.content-head-no-spacing {
    margin-top: 8px !important;
    text-align: center;
}

a.pure-menu-link,
a.pure-menu-link-selected,
a.pure-menu-link:visited {
    color: white !important;
}



/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        position: unset;
        background-color: #577F91;
        box-shadow: none;
        text-align: left;

        margin-bottom: 0px;
        padding-bottom: 0px;
    }
    .home-menu ul {
        float: right;
    }

    .home-menu a {
        color: white;
    }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */

    .splash-head {
        font-size: 250%;
        padding: 0.7em 1.6em;
        line-height: 1.3em;
        background-color: rgba(0,0,0, 0.20);
    }

    .splash-subhead {
        font-size: 1.2em;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

.email-address {
    text-align: center;
    font-size: 34px;
}

.email-address a {
    text-align: center;
    font-size: 23px;
    text-decoration: none;
    color: #AECFE5;
    background-color: #6B9BB1;
    padding: 16px;
    border-radius: 7px;
    display: inline-block;
    margin-bottom: 88px;
}

.email-address a .lni {
    vertical-align: middle;
}

.special-spacing {
    padding: 1em 1em 0em 1em;
}

.footer-links {
    background: #577F91;
    color: #AECFE5;
    text-align: center;
    padding: 13px;
}

.footer-links a {
    color: #AECFE5;
    text-decoration: none;
    font-family: sans-serif;

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 250%;
    }
}

@media screen and (max-width: 64em) {
    .splash-container {
        height: unset;
    }

    .splash {
        width: 62%;
    }

    .hero-content {
        line-height: unset;
    }

    .hero-image {
        line-height: 70vh;
    }

    .splash-cell:last-of-type {
        padding: unset;
        text-align: center;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .pure-menu-list {
        float: right;
        margin-top: 6px;
    }
}

@media screen and (max-width: 48em) {
    .splash-head {
        font-size: 40px;
        padding: unset;
        line-height: 1.2em;
    }

    .splash-subhead {
        font-size: 18px;
    }

    .splash {
        width: 85%;
    }

    .home-menu {
        text-align: left;
        padding: 0.5em 0.5em 0.3em 0.5em;
    }

    .hero-image {
        line-height: 76vw;
        margin-top: 11vw;
    }

    .pure-menu-heading {
        padding-left: 10px;
    }
}