body {
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    width: 100%;
    height: 100%;
}
ul {
    list-style-type: none; 
    margin: 0;
    padding: 0;
}
::-moz-selection {
    background-color: #333;
    color: #FFF;
}
::selection {
    background-color: #333;
    color: #FFF;
}
.sponsorFormSection {
    background-color: #FFF;
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    font-size: 14px;
    padding: 30px;
}



/*Typography*/

h1 {
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    color: #FFF;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: .03em;
}
p {
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    color: #444;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.4em;
    margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:"Gotham SSm A", "Gotham SSm B", sans-serif;
    text-transform: uppercase;
}
.unavail {
    text-decoration: line-through;
}



/*Links*/

a:link {
    color: #00194A;
    text-decoration: none;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
a:visited {
    color: #00194A;
    text-decoration: none;
}
a:hover {
    color: #999;
    text-decoration: none;
}
a:active {
    color: #00194A;
    text-decoration: none;
}



/*Header*/

#header {
    height: 400px;
    /*background: url(../images/doylestown-5k-race.jpg);*/
    background-size: cover;
    background-position: 50% 30%;
    position: relative;
    border-bottom: 7px solid #00194A;
}
#header .container {
    height: 400px;
    position: relative;
}
#header-logo {
    background-color: #FFF;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: absolute;
    text-align: center;
    left: 25px;
    top: 48%;
    transform: translateY(-50%);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
#header-logo img {
    width: 90px;
}
#header-text {
    background-color: #00194A;
    position: absolute;
    right: 33px;
    bottom: 0;
    padding: 20px 35px;
    border-radius: 3px;
}
#header-text h1 {
    color: #FFF;
    font-size: 39px;
    font-weight: 700;
}
#header-text h2 {
    color: #C9011D;
    font-size: 30px;
    font-weight: 300;
    margin: 0;
    text-align: right;
}
#subheader {
    display: none;
}
#mobile-header-text {
    display: none;
}
#mobile-header-text h1 {
    color: #FFF;
    text-align: center;
}
#mobile-header-text h2 {
    color: #C9011D;
    font-size: 30px;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

.download-packet-button {
    background-color: #C9011D;
    border: 0;
    color: #FFF;
    display: inline-block;
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 30px auto 50px;
    padding: 12px 25px;
    text-align: center;
    border-radius: 3px;
    text-transform: uppercase;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
.download-packet-button:hover {
    background-color: #00194A;
}
/*----INTRO----*/
.intro h2 {
    color: #00194A;
    font-weight: 500;
}
.intro .btn {
    margin-top: 30px;
    margin-bottom: 0;
}
.intro {
    max-width: 70%;
    text-align: center;
    margin: 80px auto 0 auto;
}
@media (max-width: 991px) {
    .intro {
        max-width: 80%;
    }
}
@media (max-width: 768px) {
    .intro {
        max-width: 90%;
    }
}
@media (max-width: 480) {
    .intro {
        max-width: 100%;
        text-align: left;
    }
    h2 {
        text-align: left;
    }
}


/*Form*/
#sponsor-form {
    background-color: #FFF;
    padding: 20px 30px;
    color: #444;
    border: 1px solid #DDD;
    margin: 30px 0 0;
    position: relative;
    padding-bottom: 44px;
}
input {
    box-shadow: none !important; 
}
#sponsor-form p {
    color: #444;
}
#sponsor-form label {
    font-size: 20px;
    font-weight: 200;
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
}
h4.form-title {
    background-color: #FFF;
    color: #00194A;
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    padding: 10px 0;
    text-align: left;
}
h4.form-deadline {
    background-color: #FFF;
    color: #C9011D;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 15px 0 10px;
    text-align: right;
}
#sponsor-form hr {
    border-top: 1px solid #FFF;
    margin-top: 10px;
    margin-bottom: 10px;
}
.form-control {
    background-color: #F1F2F2;
    border-radius: 3px;
    border: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    color: #444;
    font-size: 17px;
    font-weight: 200;
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
}
.g-recaptcha {
    margin: 50px auto;
    position: relative;
}
.g-recaptcha div {
    display: block;
    margin: 0 auto;
}
#sponsor-form-button {
    background-color: #C9011D;
    border: none;
    color: #FFF;
    display: inline-block;
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
    border-radius: 3px;
    padding: 12px 35px;
    position: absolute;
    transform: translate(50%);
    right: 50%;
    bottom: -37px;
    text-transform: uppercase;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
#sponsor-form-button:hover {
    background-color: #00194A;
}

/*Checkboxes*/
.form-checkboxes {
    border-left: 3px solid #C9011D;
    padding-left: 25px;
    margin-top: 20px;
}
.checkbox {
    padding-left: 20px;
    margin: 0 0 5px;
}
.checkbox:last-child {
    margin: 0;
}
.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 20px;
    cursor: default;
}
.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 25px;
    height: 25px;
    left: 0;
    margin-left: -20px;
    border: 0;
    border-radius: 3px;
    background-color: #E6E7E8;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}
.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    display: none; 
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
}
.checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: 1;
}
.checkbox input[type="checkbox"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    display: none; 
}
.checkbox input[type="checkbox"]:checked + label::after {
    font-family: "FontAwesome";
    content: "\f00c";
}
/* If options are not available anymore, add class="disabled" */
.checkbox input[type="checkbox"]:disabled + label {
    opacity: 0.65;
}
.checkbox input[type="checkbox"]:disabled + label::before {
    background-color: #eeeeee;
    cursor: not-allowed;
}
.checkbox.checkbox-circle label::before {
    border-radius: 50%;
}
.checkbox-filled input[type="checkbox"]:checked + label::before,
.checkbox-filled input[type="radio"]:checked + label::before {
    background-color: #C9011D;
    border-color: #C9011D;
}
.checkbox-filled input[type="checkbox"]:checked + label::after,
.checkbox-filled input[type="radio"]:checked + label::after {
    color: #fff;
}
input[type="checkbox"].styled:checked + label:after,
.checkbox input[type=checkbox]:checked + label:after {
    font-family: 'Glyphicons Halflings';
    content: "\e006";
    ;
    color: #ffffff;
}
input[type="checkbox"] .styled:checked + label::before {
    color: #fff;
}
input[type="checkbox"] .styled:checked + label::after {
    color: #fff;
}
input[type="checkbox"].styled:checked label:after,
.checkbox label:after {
    padding-left: 6px;
    padding-top: 4px;
    font-size: 13px;
}
.checkbox-availability {
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    position: relative;
    top: -4px;
}

/* CHECKBOXES  */
.form-checkboxes .wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 40px;
    margin-top: 0px;
    padding-left: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 20px; 
    color: #000; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .5s ease-in-out;
}
.form-checkboxes .wrapper .input { 
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.form-checkboxes .checkmark { 
    position: absolute;
    top: 0;
    left: -20px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    transition: all .5s ease-in-out;
}
.form-checkboxes .wrapper input:checked ~ .checkmark {
    background-color: #C9011D;
}
.radio + .radio, .checkbox + .checkbox {
    margin-top: 0px;
}


/* ------- Validations -------- */
/* Form validation message styling  */
#validations #errorMessage  { 
    display: none;
    color: #FFF;
    font-size: 15px;  
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    top: 80%;
    right: 0;
    background-color: #C9011D;
    padding: 20px;
    position: fixed;
    z-index: 1000;
    border-radius: 3px 0 0 3px;  
}
#validations #thanks  { 
    display: none;
    color: #FFF;
    font-size: 15px;  
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    top: 80%;
    right: 0;
    background-color: #00194A;
    padding: 20px;
    position: fixed;
    z-index: 1000;
    border-radius: 3px 0 0 3px;  
}
/* Add red border around text inputs if parsley validation returns errors.  */
input.parsley-error,     
form .nice-select.parsley-error,
textarea.parsley-error {
    border-color: #C9011D !important; 
    border-style: solid !important;
    border-width: 1px;
} 
/* Add red border to radios. */
.form-checkboxes label.parsley-error .checkmark {
    border: 1px solid #C9011D !important; 
}
#sponsor-form #message {
    display: none; 
}


/*Sponsor Next Steps*/

.nextSteps {
    text-align: center;
}
.nextSteps h4 {
    background-color: #FFF;
    color: #00194A;
    font-size: 22px;
    font-weight: 500;
    margin: 50px 0 0;
    padding: 10px 0;
    text-align: center;
}
#sponsor-next-steps {
    text-align: center;
}
.red {
    color: #C9011D;
}
#sponsor-address {
    margin: 40px 0;
    text-align: center;
}



/*----FOOTER----*/
#footer {
    background: #00194A;
    color: #FFF;
    padding: 40px 0;
}
#footer-date {
    display: block;
    margin-bottom: 30px;
    text-align: center;
}
#footer h6 {
    /*font-family: 'Rock Salt', sans-serif;*/
    font-family: 'Permanent Marker', sans-serif;
    color: #C9011D;
    font-size: 24px;
    font-weight: 400;
    text-transform: capitalize;
}
#footer h5 {
    font-size: 45px;
    font-weight: 500;
    margin-top: -5px;
}
#footer p {
    color: #FFF;
    font-size: 20px;
    position: relative;
    top: 5px;
    display: block;
    transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
        -webkit-transition: all .4s ease-in-out;
}
#footer a {
    color: #FFF;
}
#footer p:hover {
    color: #C9011D;
}
#footer-social {
    text-align: center;
}
#footer-social img {
    margin: 0 5px;
    width: 37px;
    height: 37px;
}
#footer-email {
    text-align: right;
}
#copyright {
    background: #000F2C;
    padding: 15px 0 12px 0;
    text-align: center;
}
#copyright p {
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}
#copyright a {
    color: #FFF;
}
#copyright a:hover {
    color: #C9011D;
}
#copyright span {
    color: #C9011D;
}


/*Media Queries*/

@media (max-width: 1200px) {
    #footer-button {
        padding: 12px 0;
    }
    #sponsor-form label {
        font-size: 18px;
    }
}
@media (max-width: 991px) {
    #header-logo {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    #header-text {
        display: none;
    }
    #mobile-header-text h1 {
        font-size: 35px;
    }
    #mobile-header-text h2 {
        font-size: 26px;
    }
    #subheader {
        display: block;
    }
    #header h5 {
        display: none;
    }
    #header-text {
        position: relative;
        text-align: center;
        left: 0;
        margin-top: 12%;
        top: 0;
    }
    #mobile-header-text {
        background-color: #00194A;
        display: block;
        padding: 20px;
    }
    h4.form-deadline {
        margin-bottom: 30px;
        text-align: left;
    }
    #footer-date {
        margin-bottom: 0;
    }
    #footer h6 {
        font-size: 14px;
    }
    #footer h4 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    #footer p {
        text-align: center;
        top: 0;
    }
    #footer-social {
        margin: 10px 0 20px;
    }
    #footer a {
        text-align: center;
        top: 0;
        margin-top: 10px;
    }
    .checkbox:last-child {
        margin-bottom: 20px;
    }
    .g-recaptcha div {
        display: inline;
        margin: 30px 0;
    }
}

@media (max-width: 768px) {
    #header {
        height: 300px;
    }
    #header .container {
        height: 300px;
    }
    #header-text {
        margin-top: 5%;
    }
    #sponsor-description {
        max-width: 100%;
    }
    .nextSteps h4 {
        margin: 90px 0 0;
    }
    #footer-social {
        margin: 0 0 20px;
    }
}

@media (max-width: 480px) {
    #header-text {
        margin-top: 14%;
    }
    #header-text h1 {
        font-size: 40px;
    }
    #header-text h2 {
        font-size: 28px;
    }
    #sponsor-description {
        max-width: 100%;
    }
    #sponsor-form-button {
        bottom: -28px;
    }
    .nextSteps h4 {
        margin: 90px 0 0;
    }
    /*#maincontent {
        padding: 15px;
    }*/
    #rc-imageselect,
    .g-recaptcha {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    #sponsor-form-button {
        margin: 0;
    }
}