/* ---------- MOBILE FIRST STYLING  ---------- */


/*html {
    height: 100%;
    width: 100%;
}*/
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/* clear */
.clear:before,
.clear:after{
    content:' ';
    display:table;
}
.clear:after{ clear: both; }
.clear{ *zoom: 1; }

img{
    vertical-align: middle;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering:   -o-crisp-edges;         /* Opera */
    image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

a{
    color:#444;
}
a:focus{ outline: 0; }
a:hover,
a:active{
    outline:0;
    cursor: pointer;
}

input{
    border: 1px solid #ccc;
}
input:focus{

}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
form, label, input{
    display: block;
    box-shadow: none;
    -webkit-box-shadow: none;
}

p{
    margin-bottom: 2rem;
}


/* ---------- UNIVERSAL STYLING  ---------- */

body{
    border: 15px solid #F2F2F2;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}
section{
    position: relative;
}
.wrapper{
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}
.center{
    text-align: center;
}
.hidden{
    display: none;
}
.banner {
    text-align: center;
    padding: 50px;
    width: 100%;
    margin-bottom: 50px;
    background: #66007d;
    color: #fff;
}
.banner h1 {
    color: #fff;
}

h1, h2, h3{
    font-family: 'Ubuntu', sans-serif;
}
h4, h5, h6{
    font-family: 'Open Sans', sans-serif;
}

h1{
    color: #1E00AA;
    font-size: 5.4rem;
}

.button{
    border-radius: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    border: none;
    margin: 20px auto;
    font-size: 1.3rem;
}
.button.primary{
    background: #F41637;
    background: linear-gradient(#F41637, #D2003C);
}
.button.secondary{
    background: #ffffff;
    color: #1E00AA;
}




/* HEADER */
#page-header{
    margin-bottom: 70px;
}
#header-logo{
    display: block;
    margin: 30px auto 5px auto;
    width: 85%;
    max-width: 250px;
}
.tagline{
    /*display: inline-block;*/
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
    font-style: italic;
    background: #D2003C;
    background: -moz-linear-gradient(left, #1E00AA 0%, #D2003C 100%);
    background: -webkit-linear-gradient(left, #1E00AA 0%,#D2003C 100%);
    background: linear-gradient(to right, #1E00AA 0%,#D2003C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(15,35,85,.2);
}
.tagline:before{
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #D9D9D9;
    margin: 20px auto;
}



/* BODY */

.intro-cta{
    text-align: center;
}
.intro-cta .subhead{
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
}
.intro-cta .supporting{
    display: block;
}



.seen-in{
    background: #E1E3E6;
    padding: 20px;
    text-align: center;
    margin-top: 80px;
}
.seen-in .all-logos{
    background: url('../img/all-logos-mobile.png') center center no-repeat;
    background-size: contain;
    padding-bottom: 25%;
    opacity: .9;
}



.getting-started{
    background: #3a108e; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #3a108e 0%, #c73c5a 100%);
    background: -webkit-linear-gradient(-45deg, #3a108e 0%,#c73c5a 100%);
    background: linear-gradient(135deg, #3a108e 0%,#c73c5a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a108e', endColorstr='#c73c5a',GradientType=1 );
    color: #ffffff;
    padding: 35px 0;
    text-align: center;
}
.getting-started h2{
    margin-bottom: 35px;
}
.getting-started-steps .step{
    text-align: left;
    margin: 15px 0;
    padding: 0 10px;
}
.getting-started-steps .step-num{
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #999999;
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 25px;
    vertical-align: top;
}
.getting-started-steps .step-content{
    display: inline-block;
    width: calc(100% - 60px);
    margin-left: 5px;
}
.getting-started-steps .step-content h3{
    font-weight: 600;
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: .2px;
    line-height: 1.05;
}
.getting-started-steps .step-content p{
    font-weight: 400;
    line-height: 1.3;
    font-size: 1.5rem;
    margin: 5px 0;
}



.bottom-image{
    background: url('../img/bottom-image.jpg') center bottom no-repeat;
    background-size: cover;
    padding-bottom: 65%;
}


/* FOOTER */
#page-footer{
    color: #DBDEDD;
    background: #000000;
    text-align: center;
    position: relative;
    top: -2px;
    padding: 0 10px 10px;
    font-size: 1.3rem;
    line-height: 1.4;
}
#page-footer p{
    margin-bottom: 10px;
}
#page-footer .footnote{
    font-style: italic;
}
#page-footer a{
    color: #DBDEDD;
    text-decoration: underline;
}

.secure-logos img{
    display: inline-block;
    margin: 5px auto;
    width: 90%;
    max-width: 380px;
}



.teaser{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    font-size: 1.3rem;
    line-height: 1.3;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
}
.teaser p{
    margin-bottom: 10px;
}
.teaser .location{
    display: inline-block;
    color: #1E00AA;
}
.teaser .button{
    margin: 10px auto;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    height: 3.4rem;
    line-height: 3.4rem;
}
.teaser .close-teaser{
    position: absolute;
    top: 5px;
    right: 8px;
    padding: 8px;
    display: inline-block;
}







/* ------------ FORM PAGE ------------ */
.form-section h1{
    max-width: 700px;
    margin: 0 auto 70px auto;
}
.apply-form{
    width: 90%;
    max-width: 640px;
    margin: 70px auto;
}
.apply-form .fieldwrap{
    margin-bottom: 30px;
    position: relative;
}
.apply-form label{
    text-transform: uppercase;
    color: #999999;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0px;
    letter-spacing: .1px;
}

.apply-form input[type='email'],
.apply-form input[type='number'],
.apply-form input[type='password'],
.apply-form input[type='tel'],
.apply-form input[type='text'],
.apply-form input[type='url']{
    border: none;
    border-bottom: 1px solid #999999;
    border-radius: 0px;
    font-weight: 300;
    font-size: 2rem;
    color: #1E00AA;
    padding: 5px 5px 0 0;
}

.apply-form input[type="checkbox"] {
    display: none;
}
.apply-form input[type="checkbox"] + label {
    cursor: pointer;
}
.apply-form input[type="checkbox"] + label {
    display: inline-block;
    position: relative;
    width: 47%;
    padding: 17px 30px;
    line-height: 1;
    background: #fff;
    color: #4D4D4D;
    text-align: center;
    border: 1px solid #4D4D4D;
    margin: 5px 5px 15px 0;
    transition: all .2s;
}
.apply-form input[type="checkbox"]:checked + label {
    color: #1E00AA;
    border-color: #1E00AA;
    transition: all .2s;
}
.apply-form input[type="checkbox"]:checked + label:after{
    content: '\2713';
    display: block;
    position: absolute;
    top: 3px;
    right: 5px;
}
.apply-form input[type="checkbox"]#terms{
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;
}
.apply-form .amount-needed span{
    display: inline-block;
    position: absolute;
    top: 27px;
    left: -3px;
}
.apply-form .amount-needed input[type="text"]{
    padding-left: 8px;
}

.apply-form .checkboxes,
.apply-form .amount-needed{
    margin-top: 15px;
    margin-bottom: 35px;
}

.apply-form .termswrap p{
    display: inline-block;
    width: calc(100% - 40px);
    padding-left: 8px;
    font-size: 1.3rem;
    color: #4d4d4d;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 0;
}
.apply-form .termswrap p a{
    text-decoration: underline;
}

.form-page .secure-logos{
    max-width: 400px;
    font-size: 1.4rem;
    margin: 20px auto;
}

.form-page #page-footer{
    background: #F2F2F2;
    color: #7B7D7D;
    top: auto;
    padding-top: 15px;
}
.form-page #page-footer a{
    color: #6A6B6D;
}








/*-------------------------------------------------------------------------------*\

                                RESPONSIVE

\*-------------------------------------------------------------------------------*/


@media screen and (min-width: 20em) { /* Mobile (20 x 16 = 320px) */

}

@media screen and (min-width: 30em) { /* Mobile (30 x 16 = 480px) */

}

@media screen and (min-width: 40em) { /* Mobile (40 x 16 = 640px) */
    .row{
        width: calc(100% + 1.0rem); /* fixed from milligram */
    }

    body{
        border: 20px solid #F2F2F2;
    }


    .getting-started-steps{
        flex-wrap: wrap;
    }


    .apply-form input[type="checkbox"] + label{
        width: auto;
    }

}


@media screen and (min-width: 48em) { /* Tablets (48 x 16 = 768px) */
    .wrapper{ width: 73rem; }


    .seen-in .all-logos{
        background: url('../img/all-logos-desktop.png') center center no-repeat;
        background-size: cover;
        padding-bottom: 7%;
    }

    .bottom-image{
        padding-bottom: 57%;
    }


    .teaser{
        width: 250px;
        padding-bottom: 10px;
        padding-left: 17px;
    }
    .teaser .close-teaser{
        padding: 5px;
        top: 4px;
        right: 6px;
    }

}


@media screen and (min-width: 62em) { /* Small Laptop (62 x 16 = 992px) */
    .wrapper{ width: 94rem; }

    .button{
        transition: all .4s;
    }
    .button:hover{
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0,0,0,.32);
        transition: all .4s;
        cursor: pointer;
    }


    .getting-started-steps{
        flex-wrap: inherit;
    }
    .getting-started-steps .step-content{
        padding-right: 5px;
    }

    .teaser .button:hover{
        transform: scale(1.02);
        box-shadow: 0 5px 8px rgba(0,0,0,.25);
    }



    .apply-form input[type="checkbox"] + label:hover{
        background-color: rgba(25,45,85,.1);
        transition: all .2s;
    }
    .apply-form input[type="checkbox"]:checked + label:hover{
        background-color: rgba(25,45,85,.05);
        transition: all .2s;
    }

}


@media screen and (min-width: 75em) { /* Large Desktop (75 x 16 = 1200px)  */
    .wrapper{ width: 117rem; }


    .getting-started{
        padding: 45px 0;
    }
    .getting-started h2{
        margin-bottom: 40px;
    }
    .getting-started-steps .step-content{
        padding-right: 20px;
        padding-left: 5px;
    }

    .bottom-image{
        padding-bottom: 52%;
    }

}









@media only screen and (-webkit-min-device-pixel-ratio:1.5),
       only screen and (min-resolution:144dpi) {

}





/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background:transparent !important;
        color:#000 !important;
        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) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content:"";
    }
    pre,blockquote {
        border:1px solid #999;
        page-break-inside:avoid;
    }
    thead {
        display:table-header-group;
    }
    tr,img {
        page-break-inside:avoid;
    }
    img {
        max-width:100% !important;
    }
    @page {
        margin:0.5cm;
    }
    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }
    h2,
    h3 {
        page-break-after:avoid;
    }
}