/* Form */

.form_limiter {
    max-width: 540px;
    margin: 0 auto;
}

.checkboxes_hidden {
    display: none;
}

#form_header h2 {
    margin-top: 0;
}

input {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

#entry-form {
    position: relative;
    width: 100%;
}

#entry-form form {
    width: 100%;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    position: relative;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    max-height: 999px;
}

#entry-form.submitted form{
    max-height: 300px;
    opacity: 0;
}
#entry-form.submitted #form_header,
#entry-form.submitted .prizeImage_wrapper,
#entry-form.submitted .prizeDisclaimer{
    display: none;
}
#entry-form .form_submission_success {
    text-align: center;
    padding: 30px;
    width: 100%;
    max-width: 35em;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s .3s ease;
    -o-transition: opacity .3s .3s ease;
    transition: opacity .3s .3s ease;
}

#entry-form .form_submission_success h1 {
    position: relative;
    padding-top: 3em;
    margin-top: 0;
}

#entry-form .form_submission_success h1:before {
    font-family: 'icons';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    margin: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    padding: 0;
    font-size: 1.5em;
    height: 1.5em;
    width: 1.5em;
    line-height: 1.5em;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    content: "\e901";
    border-radius: 100%;
    border: 3px solid #4EC24F;
    color: #4EC24F;
}
#entry-form .form_submission_success h2 {
    margin-top: 0;
    font-weight: 400;
    line-height: 1em;
}
#entry-form .form_submission_success p {
    font-weight: 400;
    text-transform: uppercase;
}
#entry-form .form_submission_success .button {
    margin-top: 0.5em;
}
#entry-form .form_submission_success h3 {
    margin: 1rem 0;
    font-size: 1em;
}

#entry-form.submitted .form_submission_success {
    visibility: visible;
    opacity: 1
}

#entry-form label {
    font-size: 13px;
    width: 100%;
    padding: 0;
    line-height: 1.5em;
    font-weight: normal;
    font-family: 'nexaheavy';
    text-transform: uppercase;
    color: #23262f;
    margin: 0 0 10px 0;
    display: block;
}

#entry-form input[type="text"],
#entry-form input[type="email"],
#entry-form input[type="number"],
#entry-form select,
#entry-form .selectwrap {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 16px;
    line-height: 1em;
    margin: 0 0 1.5em 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: transparent;
    border: 1px solid #ddd;
    background: #edeff0;
    border-radius: 50px;
    outline: 0;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

#entry-form .input_wrapper input[type="text"],
#entry-form .input_wrapper input[type="email"],
#entry-form .input_wrapper input[type="number"] {
    margin: 0 0 1.5em 0;
}

#entry-form .input_wrapper {
    display: block;
    border-radius: 4px;
    margin: 0;
    position: relative;
}

#entry-form span.input_required:before {
    content: "*";
    color: #F44336;
    position: absolute;
    top: 1.125rem;
    left: 0.75rem;
    z-index: 1;
    line-height: 1rem;
}

#entry-form input:focus {
    border: 1px solid #0072BC;
}

#entry-form .selectwrap {
    position: relative;
    margin: 0 0 1.5em 0;
    padding: 0;
    height: 3em;
    overflow: hidden;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    cursor: pointer;
}

#entry-form .selectwrap select {
    border: none;
    cursor: pointer;
}

#entry-form select {
    width: 120%;
    background: transparent;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    position: relative;
    z-index: 2;
    line-height: 2em;
    padding: 0.5rem 1.5rem;
}

#entry-form .selectwrap:after {
    font-family: 'icons';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    margin: 0;
    display: block;
    position: absolute;
    top: 0;
    right: 0.5rem;
    padding: 0;
    content: "\ea28";
    content: "\ea07";
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(-50%, 50%, 0) rotate(90deg);
            transform: translate3d(-50%, 50%, 0) rotate(90deg);
            color: #003b70;
            color: #346eba;
}

:-moz-placeholder {
    color: #ccc;
    font-weight: 300;
}

:-webkit-input-placeholder {
    color: #ccc;
    font-weight: 300;
}

.error:-moz-placeholder {
    font-weight: 300;
}

.error:-webkit-input-placeholder {
    font-weight: 300;
}

#entry-form label.error {
    color: #999;
    color: #b22727;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    font-family: 'nexaheavy', Arial, Helvetica, sans-serif;
    padding: 0 1rem 1em;
    margin: -1.5em 0 0 0;
    line-height: 1em;
    font-style: italic;
    font-size: 13px
}

#entry-form label.checkerror {
    width: 100%;
    position: absolute;
    bottom: 0.25em;
    left: -1em;
    margin: 0;
    padding: 0.25em 2em;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#chat_options {
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}

#chat_options.error {
    background: #faffbd;
}

#entry-form label.error:before,
#entry-form .checkboxes_required label.error:before {
    font-family: 'icons';
    font-style: normal;
    font-size: 1em;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\ea04";
    margin: 0;
    padding-right: 0.5em;
    float: left;
    color: #b22727;
}

#entry-form span.asterisk,
.asterisk {
    padding: 0 0.5em;
    color: #b22727;
}

#entry-form legend span.asterisk {
    color: #fff;
}

#entry-form input.error {
    background: #faffbd;
}

#entry-form .help {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.725em;
    line-height: 1em;
    margin: 2em 0.5em 1em 0;
    padding: 0;
    color: #999;
    float: none;
    text-align: right;
    display: block;
}

#entry-form input[type=submit],
#entry-form input[type=submit]:hover,
#entry-form input[type=submit]:active {
    padding: 0;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 0px;
}

#entry-form input.disabled,
#entry-form input.disabled:hover,
#entry-form input.disabled:active {
    background: #ccc;
    border-color: #bbb;
    cursor: progress;
}

.submit_button {
    padding: 0;
    margin: 2em auto 1em auto;
}

#entry-form #ss-submit {
    display: table;
    line-height: 1em;
    padding: 0.75rem 3rem;
    text-decoration: none;
    border-radius: 2px;
    background-color: #b21e27;
    border: 1px solid transparent;
    color: #fff;
    position: relative;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    text-align: center;
    margin: 2em auto 1em auto;
    cursor: pointer;
    font-family: "nexaheavy";
    font-size: calc(14.67052px + .23121vw);
    border-radius: calc(21.6763px + .57803vw);
}

#entry-form #ss-submit:hover {
    background-color: #e51e2a;
    border: 1px solid transparent;
    color: #fff;
}


/*
#entry-form #ss-submit:hover,
#entry-form #ss-submit:focus {
    background: #105ba6;
    cursor: pointer;
    outline: 0;
}

#entry-form #ss-submit:active {
    background: #1674b9;
}
*/

#entry-form legend {
    padding: 1em;
    line-height: 1.25em;
    font-size: 1em;
    text-align: center;
    border: none;
    background: #b21e27;
    color: #fff;
    width: 100%;
}

#entry-form fieldset {
    border: none;
    -webkit-box-shadow: inset 0 0 1px 0 #999;
            box-shadow: inset 0 0 1px 0 #999;
    width: 100%;
    position: relative;
    padding: 1em 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
}

#entry-form .fieldset_container {
    padding: 0 2em;
}

.clear {
    clear: both;
}

.cb {
    position: relative;
}

    #entry-form input[type="checkbox"],
    #entry-form input[type="radio"] {
        position: absolute;
        left: -99999px;
    }

    #entry-form input[type="checkbox"]+label,
    #entry-form input[type="radio"]+label {
        padding-left: 2em;
        position: relative;
        margin-bottom: 1em;
        background: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #entry-form input[type="checkbox"]+label:hover,
    #entry-form input[type="radio"]+label:hover {
        cursor: pointer;
    }

    #entry-form input[type="checkbox"]+label:before,
    #entry-form input[type="checkbox"]:checked+label:before,
    #entry-form input[type="radio"]+label:before,
    #entry-form input[type="radio"]:checked+label:before,
    #entry-form input[type="checkbox"]+label:after,
    #entry-form input[type="checkbox"]:checked+label:after,
    #entry-form input[type="radio"]+label:after,
    #entry-form input[type="radio"]:checked+label:after {
        display: block;
        padding: 0;
        margin: 0;
        text-decoration: none;
        position: absolute;
        text-align: center;
        top: 0;
        left: 0;
        height: 1em;
        width: 1em;
        -webkit-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    #entry-form input[type="checkbox"]+label:before,
    #entry-form input[type="checkbox"]:checked+label:before,
    #entry-form input[type="radio"]+label:before,
    #entry-form input[type="radio"]:checked+label:before {
        content: "";
        height: 0.75em;
        width: 0.75em;
        top: 0.15em;
        line-height: 0.5em;
        font-size: 1.5em;
        border: 1px solid #bbb;
        border-radius: 0;
    }

    #entry-form input[type="checkbox"]+label:after,
    #entry-form input[type="checkbox"]:checked+label:after,
    #entry-form input[type="radio"]+label:after,
    #entry-form input[type="radio"]:checked+label:after {
        content: "\e90b";
        color: #0072BC;
        font-size: 1.5em;
        line-height: 0.925em;
        font-family: 'icons';
        font-weight: normal;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0;
        visibility: hidden;
    }

    #entry-form input[type="checkbox"]:checked+label:after {
        visibility: visible;
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    #entry-form input[type="checkbox"]:checked+label:before {
        border-color: #0072BC;
    }

    #entry-form input[type="radio"]+label:before {
        content: "\e604";
        color: #ccc;
    }

    #entry-form input[type="radio"]:checked+label:before {
        content: "\e603";
        color: #326296;
    }


/* Don't use native buttons on iOS */

input[type=submit].button,
button.button {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
}


/* Correct FF button padding */

@-moz-document url-prefix() {
    button::-moz-focus-inner,
    input[type="reset"]::-moz-focus-inner,
    input[type="button"]::-moz-focus-inner,
    input[type="submit"]::-moz-focus-inner,
    input[type="file"]>input[type="button"]::-moz-focus-inner {
        border: none;
        padding: 0;
    }
    input[type="submit"].tiny.button {
        padding: 3px 10px 4px;
    }
    input[type="submit"].small.button {
        padding: 5px 14px 6px;
    }
    input[type="submit"].button,
    input[type=submit].medium.button {
        padding: 8px 20px 9px;
    }
    input[type="submit"].large.button {
        padding: 13px 30px 14px;
    }
}

.errorbox label.error {
    width: 100%;
    background: #faffbd;
    padding: 0.25em 1em;
    margin: 0;
    left: 0;
}

form input.error {
    background: #faffbd;
}

.help,
.label-help {
    font-size: 0.825em;
    color: #999;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
}
.prizeDisclaimer {
    font-size: 0.825em;
    line-height: 1em;
    margin: 0 0 3rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.prizeImage_wrapper {
    width: 100%;
    position: relative;
    margin: 0 auto;
    max-width: 480px;
}
.prizeImage {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}
.prizeImage div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.prizeLabel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: -1rem 0 1rem 0;
}
.prizeLabel span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    text-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 0.825em;
}
.form-submit {
    width: 100%;
    clear: both;
    padding: 2em 0 0;
}

.success {
    text-align: center;
    padding: 3em 3em 0;
}

.success h1 {
    font-size: 2.5em;
    line-height: 1.15em;
}

.success h3 {
    font-size: 1.25em;
    padding: 1em;
    line-height: 1.15em;
}

.success h2 {
    margin: 2em 0 1em 0;
}

.chattitle {
    width: 100%;
    line-height: 1em;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    color: #4a4a4a;
    text-transform: uppercase;
    font-weight: 700;
}

.chatdate,
.chattime {
    font-size: 0.825em;
    line-height: 1.15em;
}

.chatdate {
    display: inline;
    white-space: nowrap;
}

.chattime {
    display: inline;
    padding-left: 1em;
    margin-left: 0.5em;
    position: relative;
    white-space: nowrap;
}

.chattime:before {
    content: '';
    display: inline-block;
    position: absolute;
    width: 0.5em;
    height: 0;
    left: 0;
    top: 50%;
    margin: 0;
    border-top: 1px solid #333;
}

@media only screen and (max-width: 400px) {
    .chattime {
        display: block;
        margin-left: 0;
        padding-left: 0;
        width: 100%;
        margin-top: 0.25em;
    }
    .chattime:before {
        display: none;
    }
    .theForm p.intro {
        font-size: 1em;
    }
    #entry-form legend {
        font-size: 1em;
    }
}
