/* Form */

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

.checkboxes_hidden {
    display: none;
}

#form_header h2 {
    margin-top: 0;
}

input:not([type='checkbox']) {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.gform {
    position: relative;
    padding: 0;
}

.gform 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;
}

.gform.submitted form,
.gform.submitted #form_header {
    max-height: 400px;
    opacity: 0;
}

.form_submission_success {
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 35em;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s .3s ease;
    -o-transition: opacity .3s .3s ease;
    transition: opacity .3s .3s ease;
}
.form_submission_success h3 {
    position: relative;
    padding: 0;
    margin: 0;
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    line-height: 1.2em;
    font-family: "Arbutus Slab", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
.form_submission_success p {
    font-size: 1.25rem;
}
@media screen and (max-width: 479px) {
    .form_submission_success {
        padding: 2rem 1rem;
    }
    .form_submission_success p {
        font-size: 1rem;
    }
}
.form_submission_success .success_icon {
    position: relative;
    width: 100%;
}
.form_submission_success .success_icon:before {
    font-family: 'icons';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    margin: 0;
    display: block;
    padding: 0;
    font-size: 8rem;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e90e";
    color: #00A9CE;
}

#entry_form_wrapper.submitted .form_submission_success {
    visibility: visible;
    opacity: 1
}

.gform label {
    font-size: 1em;
    width: 100%;
    float: left;
    clear: left;
    padding: 0;
    line-height: 1.5em;
    font-weight: normal;
}

.gform input[type="text"],
.gform input[type="email"],
.gform input[type="number"],
.gform select,
.gform .selectwrap {
    width: 100%;
    padding: 1rem;
    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;
    border: 1px solid #bbb;
    border-radius: 0;
    outline: 0;
}

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


.gform .input_wrapper {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.gform span.input_required:before {
    content: "*";
    color: #F44336;
    position: absolute;
    top: 1.25em;
    left: 0.35em;
    z-index: 1;
    line-height: 1em;
}

.gform input:focus {
    border: 1px solid #003da5;
}

.gform .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;
}

.gform .selectwrap select {
    border: none;
    cursor: pointer;
}

.gform select {
    width: 125%;
    background: transparent;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    height: 3em;
    position: relative;
    z-index: 2;
}

.gform .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;
    padding: 0;
    content: "\e90b";
    font-size: 1.5em;
    line-height: 1em;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 50%, 0);
}

:-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;
}

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

.gform 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;
}

.gform label.error:before,
.gform .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: "\f071";
    margin: 0;
    padding-right: 0.5em;
    float: left;
    color: #b22727;
}

.gform span.asterisk,
.asterisk {
    padding: 0 0.5em;
    color: #b22727;
}
.gform .form_disclaimer span.asterisk {
    padding-left: 0;
    padding-right: 0.25rem;
}
.gform input.error {
    background: #faffbd;
}
.form_disclaimer {
    font-size: 0.825em;
    margin: 1.5rem 0 0 0;
    color: #707070;
}
.gform .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;
}

.gform input[type=submit],
.gform input[type=submit]:hover,
.gform 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;
}

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

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

.gform #ss-submit {
    border-radius: 0;
    padding: .75rem 1rem;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    cursor: pointer;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    outline: none;
    background: #510000;
    border: 1px solid #510000;
    color: #fff;
    margin: 1em auto;
    display: table;
    min-width: 200px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.gform #ss-submit:hover {
    cursor: pointer;
    background: #fff;
    color: #510000;
    border: 1px solid #510000;
}


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

.gform #ss-submit:active {
    background: #1674b9;
}
*/

.gform legend {
    padding: 1em;
    line-height: 1.25em;
    font-size: 1em;
    text-align: center;
    border: none;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 90%;
}

.gform fieldset {
    border: 1px solid #bbb;
    width: 100%;
    position: relative;
    padding: 1em 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    border-radius: 0;
    overflow: hidden;
    margin: -1em 0 1em 0;
}

.gform .fieldset_container {
    padding: 0 2em;
}

.clear {
    clear: both;
}

.cb {
    position: relative;
}

.gform input[type="checkbox"],
.gform input[type="radio"] {
    position: absolute;
    left: -99999px;
}

.gform input[type="checkbox"]+label,
.gform 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;
}

.gform input[type="checkbox"]+label:hover,
.gform input[type="radio"]+label:hover {
    cursor: pointer;
}

.gform input[type="checkbox"]+label:before,
.gform input[type="checkbox"]:checked+label:before,
.gform input[type="radio"]+label:before,
.gform input[type="radio"]:checked+label:before,
.gform input[type="checkbox"]+label:after,
.gform input[type="checkbox"]:checked+label:after,
.gform input[type="radio"]+label:after,
.gform 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;
}

.gform input[type="checkbox"]+label:before,
.gform input[type="checkbox"]:checked+label:before,
.gform input[type="radio"]+label:before,
.gform input[type="radio"]:checked+label:before {
    content: "";
    height: 1rem;
    width: 1rem;
    top: 0.35rem;
    line-height: 0.5em;
    border: 1px solid #bbb;
    border-radius: 0;
}

.gform input[type="checkbox"]+label:after,
.gform input[type="checkbox"]:checked+label:after,
.gform input[type="radio"]+label:after,
.gform input[type="radio"]:checked+label:after {
    content: "\e90b";
    color: #003da5;
    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;
}

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

.gform input[type="checkbox"]:checked+label:before {
    border-color: #003da5;
}

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

.gform 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;
}

.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%;
    font-family: 'HelveticaNeue';
    font-weight: normal;
    line-height: 1.2em;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    color: #003da5;
}

.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: 639px) {
    .gform fieldset {
        margin: 0;
    }
}

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


.prize_labels {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}
.prize_labels span {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.825rem;
    color: #707070;
}
.prize_label_disclaimer {
    margin: 0;
    font-size: 0.825rem;
    text-align: center;
    color: #707070;
}
@media screen and (max-width:639px){
    #studententryform {
        margin-top: 2rem;
    }
}
