/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.splash {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, #FFEEEE 10%, #DDEFBB 90%);
    /*opacity: 0.6;*/
    z-index: -1;
}
.splash img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    min-width: 50%;
    min-height: 50%;

}

.logo {
    margin: 70px auto 0 auto;
    width: 250px;

}

.logo img {
    width: 250px;
}

.slogan {
    display: none;
    margin-top: 80px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight:400;
    font-size:60px;
    letter-spacing:8px;
    color:#151515;
    text-align: center;
}

.highlight {
    color: #f81430 !important;
    display: block;
}

.hero {
    height: 200px;
    overflow: hidden;
}

.hero .hero-splash {
    background: linear-gradient(90deg, #FFEEEE 10%, #DDEFBB 90%);
    opacity: 0.6;
}
.hero-splash img {
    width: 100%;
}

.hero .logo {
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -125px;
}

.application {
    background: #F5F5F5;


    padding-bottom: 20px;
}

.thank-you {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-title {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    color: red;
    text-transform: uppercase;
    font-size: 70px;
    text-align: center;
}

.button:hover {
    color: #fff;
    text-decoration: none;
}

.button {
    display: inline-block;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 300ms;
    color: white;

}
.button.outline {
    border: red;
    background: rgba(255, 0, 0, 0.65);
    overflow: hidden;
    position: relative;

}
.button.outline:before, .button.outline:after, .button.outline .lines:before, .button.outline .lines:after {
    background-color: red;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 300ms;
    width: 100%;
}
.button.outline:before {
    bottom: 0;
    top: auto;
}
.button.outline .lines {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}
.button.outline .lines:before, .button.outline .lines:after {
    height: 100%;
    width: 2px;
}
.button.outline .lines:after {
    left: auto;
    right: 0;
}
.button:hover:before {
    transform: translateX(-100%);
}
.button:hover:after {
    transform: translateX(100%);
}
.button:hover .lines:before {
    transform: translateY(-100%);
}
.button:hover .lines:after {
    transform: translateY(100%);
}

.button-holder {
    padding-top: 420px;
    text-align: center;
}


.button {
    display: inline-block;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 300ms;
    color: white;

}
.blue_button.outline {
    border: #337ab7;
    background: rgba(51, 122, 183, 0.65);
    overflow: hidden;
    position: relative;

}
.blue_button.outline:before, .blue_button.outline:after, .blue_button.outline .lines:before, .blue_button.outline .lines:after {
    background-color: #337ab7;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 300ms;
    width: 100%;
}
