/*! HTML5 Boilerplate v5.3.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
   ========================================================================== */


@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
     -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/*
 * 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;
}

.ngp-form form {
    position: relative !important;
    width: 100% !important;
}

.at-title,
.at-markup.HeaderHtml,
.at-legend,
label.at-text.MobilePhone,
.at-text.PersonalUrl,
.at-row.at-row-solo.at-row-full.UpdateMyProfile {
    display: none !important;
}

.ngp-form {
    max-width: 100% !important;
    width: 80% !important;
}

.at .at-fieldset {
    padding: 0 !important;
}

.at-row input {
    font-size: 20px !important;
    text-indent: 10px !important;
    padding: 20px 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.at-form-submit .at-submit {
    margin: 0 auto !important;
    display: block !important;
    float: none !important;
    width: 50% !important;
    font-size: 1.2em !important;
    padding: 10px 0 !important;
    border: none !important;
    background: #36B8FF !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.at-row.at-row-solo.PostalCode,
.at-row.EmailAddress.MobilePhone {
    display: inline-flex !important;
    width: 50% !important;
}

.at-inner {
    background-color: transparent !important;
}

.at-row label {
    width: 30% !important;
    display: inline-block !important;
    font-size: 0 !important;
}

.newform .at {
    overflow: inherit !important;
    margin: 50px auto 0 !important;
}

.newform h3 {
    text-align: center;
}

.newform {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.at .error small.error {
    display: none !important;
}

/*
 * 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
   ========================================================================== */


body {
    -webkit-font-smoothing: antialiased !important;

}


h1, h2, h3, h4, h5, p, a, li, input {
      font-family: "proxima-nova",sans-serif;

}


.logo img {
    width: 300px;
}
header nav {
    float: right;
    margin-right: 10%;
    margin-top: 0px;
}

header .logo {
    margin-left: 10%;
    margin-top: 15px;
    display: inline-block;
    margin-bottom: 15px;
}


header .fb svg {
    width: 70px;
    height: 68px;
}

.hero {
/*    background-image: url(../img/hero.jpg);*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 600px;
    width: 100%;
    position: relative;
}

header .fb {
    vertical-align: top;
    margin-left: -5px;
    margin-right: 0;
}

.hero form {
    position: absolute;
    bottom: 30px;
    text-align: center;
    width: 80%;
    margin: 0 10%;
}


.donate-section {
    background: #004482;
    padding: 30px 0;
    border-bottom: 5px solid #36B8FF;
}

.donate1, .donate2 {
    display: inline-block;
/*    width: 40%;*/
    vertical-align: -webkit-baseline-middle;
}

.donate2 {
    width: 38%;
}

input.submit:disabled {
/*
    -webkit-appearance: none;
   -moz-appearance: none;
*/
    -webkit-opacity:1
/*   appearance: none;  */
/*    background-color: #36B8FF !important;*/
/*    color: white;*/
}

.donate1 {
    margin-left: 10%;
    margin-right: 2%;
    width: 40%;
}

.donate1 h2 {
    font-size: 2.5em;
    color: white;
    margin: 0;
}

form .email {
    width: 34%;
    text-indent: 10px;
    display: inline-block;
    font-size: 1.2em;
    margin-right: 1%;
    padding: 10px 0;
    border: none;
}

form .zip {
    width: 31%;
    text-indent: 10px;
    display: inline-block;
    font-size: 1.2em;
    padding: 10px 0;
    margin-right: 1%;
    border: none;
}

header .contribute {
    background: #FF9D00;
    color: white;
    margin: 0;
    padding: 23px
}

header nav a {
        text-decoration: none;
    margin: 0 20px;
    display: inline-block;
    color: #004482;
    font-weight: 900;
}

.footer-signup form {
        width: 80%;
    margin: 0 auto;
}
form .submit {
    width: 30%;
    display: inline-block;
    font-size: 1.2em;
    padding: 10px 0;
    border: none;
    background: #36B8FF;
    color: white;
    font-weight: 900;
}

.fight h2 {
    font-size: 3em;
    margin: 0;
    color: #FF9D00;
    font-weight: 100;
    font-style: italic;
}

.fight p {
        color: #004482;
    font-size: 1.3em;
    font-weight: 100;
    margin: 0 auto .5em;
    width: 80%;
}


.fight p a {
    font-weight: 900;
    color: #36B8FF;
}


.fight p a:hover {
    text-decoration: none;
}

.fight1 h2, .fight2 h2, .fight3 h2 {
    color: white;
    font-size: 2.5em;
    font-weight: 100;
    font-style: italic;
    margin: 0 auto .5em;
    width: 80%;
}

.fb svg:hover #Rectangle-7 {
    fill: #30a5e5 !important;
    transition: .2s ease;
}

.fb svg:hover #Rectangle-8 {
    fill: #3085e5 !important;
    transition: .2s ease;
}

.hero h3 {
    font-size: 1.8em;
    margin: .5em 0;
    color: white;
    font-weight: 100;
    font-style: italic;
}

.hero h3 span {
    color: #36B8FF;
    font-weight: 900;
}

.footer-signup {
    background: #004482;
    padding: 25px 0 50px;
    text-align: center;
    border-bottom: 5px solid #FF9D00;

}

.footer-signup h3 {
    font-size: 1.8em;
    margin: .5em 0;
    color: white;
    font-weight: 100;
    font-style: italic;
}

header {
    position: relative;
    z-index: 100;
    background: white;
}

video#herovideo {
    object-fit: cover;
    font-family: "object-fit: cover";
    position: absolute;
    top: 0;
    z-index: -100;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-signup h3 span {
    color: #36B8FF;
    font-weight: 900;
}

.fight1 p, .fight2 p, .fight3 p {
    color: white;
    font-size: 1.3em;
    font-weight: 100;
    margin: 0 auto .5em;
    width: 80%;
}

.donate1 h2 span {
    color: #36B8FF;
}

.donate1 p {
    color: white;
    margin: 0;
}

.donate2 a span {
        font-size: .6em;
    color: #bbb;
    vertical-align: text-top;
}

.donate2 a:nth-child(3) {
    margin-right: 0;
}

.donate2 a {
    border: 3px solid #36B8FF;
    color: white;
    font-weight: 900;
    display: inline-block;
    width: 30%;
    margin-right: 3%;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    padding: 12px 0;
    font-size: 1.8em;
}

.donate2 a:last-child {
    border: none;
    background: #FF9D00;
    width: 98%;
    margin-top: 20px;
}
.fight {
    text-align: center;
    padding: 50px 0;
    transform: translateY(50%);
    opacity: 0;
}

.in-view {
    opacity: 1 !important;
    transition: all 1s ease;
    transform: translateY(0%) !important;
}


.fight1 {
    background-image: url(../img/photo1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 100%;
    padding: 100px 0;
    text-align: center;
}

.fight2 {
    background-image: url(../img/photo2.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 100%;
    padding: 100px 0;
    text-align: center;
}

.fight3 {
    background-image: url(../img/photo3.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    width: 100%;
    padding: 100px 0;
    text-align: center;
}

footer {
    padding: 100px 0;
    text-align: center;
    background-image: url(../img/footer-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
}


footer .logo {
    margin-bottom: 100px;
    display: block;
}


footer nav a {
    display: inline-block;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 800;
}

footer nav {
    margin-bottom: 50px;
}

footer nav .contribute {
    border: 2px solid #FF9D00;
    padding: 10px 20px;
}


footer p {
    color: white;
    font-size: .8em;
}


.pp {
    margin-top: 50px;
}

.pp a {
    color: white;
    margin-right: 20px;
}


.disclaimer {
    border: 1px solid white;
    width: 250px;
    display: block;
    margin: 0 auto;
    font-size: .8em;
    padding: 10px;
}


#mobile {
    display: none;
    position: absolute;
    right: 3%;
    top: 18px;
    z-index: 10;
}

#nav-icon {
    width: 30px;
    height: 45px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #E33631;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
    top: 10px;
}

#nav-icon span:nth-child(2), #nav-icon span:nth-child(3) {
    top: 10px;
}

#nav-icon span:nth-child(4) {
    top: 20px;
}

#nav-icon.open span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}
#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.container {
    width: 80%;
    margin: 50px auto;
    display: block;
}

#nav-icon span {
    background: #36B8FF;
}

/*
.fight1:hover {
    background-size: 110%;
        -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.fight2:hover {
    background-size: 110%;
        -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.fight3:hover {
    background-size: 110%;
        -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
*/

header .contribute:hover {
    background: #e58d00;
    text-decoration: none;
    transition: .2s ease;

}

 nav a:hover {
    text-decoration: underline;
}

footer nav .contribute:hover {
    background: white;
    color: #004482;
    text-decoration: none;
    transition: .2s ease;
}

form .submit:hover {
    background: #30a5e5;
    transition: .2s ease;
}

.donate2 a:hover {
    background: white;
    border: 3px solid white;
    color: #004482;
    transition: .2s ease;
}

.donate2 a:hover span {
    color: #004482;
    transition: .2s ease;
}


.donate2 a:last-child:hover {
    background: #e58d00;
    border: none;
    color: white;
    transition: .2s ease;
}

/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}
