body
{
    color: white;
    background-color: rgb(11, 24, 39);
}

@media only screen and (min-width: 500px)
{
    body > section > article > #contact-form-container > form > .submitbtn
    {
        width: 275px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1100px)
{
    body > section > article > #contact-form-container
    {
        margin-left: 15%;
        margin-right: 15%;
        margin-top: 10%;
        margin-bottom: 10%;
    }
}

@media only screen and (min-width: 1100px)
{
    body > section > article > #contact-form-container
    {
        margin-left: 20%;
        margin-right: 20%;
        margin-top: 10%;
        margin-bottom: 10%;
    }
}

@media only screen and (max-width: 1125px)
{
    body > section > article > #contact-form-container
    {
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media only screen and (min-width: 1125px)
{
    body > section > article > #contact-form-container
    {
        padding-left: 120px;
        padding-right: 120px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media only screen and (min-width: 600px)
{
    body > section
    {
        background-image: url("../../images/och_contact_bkgrnd.webp");
        background-size: 70%;
        background-position: top right;
        background-repeat: no-repeat;
    }

    body > section > article > #contact-form-container
    {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        background: white;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > label:not(#password-field):not(.submitbtn)
    {
        color: rgba(11, 24, 39, 0.8);
    }
    
    body > section > article > #contact-form-container > form textarea:focus,
    body > section > article > #contact-form-container > form input:not([type=button]):not([type=submit]):focus
    {
        border: 2px solid rgb(11, 24, 39);
    }

    #newsletter-checkbox
    {
        color: rgb(11, 24, 39);
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > input[type=radio]:checked ~ span
    {
        background: rgb(78, 183, 71);
    }

    body > section > article > #contact-form-container
    {
        margin-top: 120px;
    }
    
    body > section > #section-lines > img
    {
        position: absolute;
        display: block;
        width: 100%;
    }
}

@media only screen and (max-width: 600px)
{
    body > section > #section-lines > img
    {
        display: none;
    }

    body > section
    {
        position: relative;
        min-height: calc(100vh - 75px);
        min-height: -webkit-calc(100vh - 75px);
        min-height: -moz-calc(100vh - 75px);
        min-height: expression(100vh - 75px);
    }

    body > section:before
    {
        position: fixed;
        content: "";
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background-image: url("../../images/och_member_background_mobile.webp");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    body > section > #section-lines
    {
        position: relative;
    }

    body > section > #section-lines:before
    {
        position: fixed;
        content: "";
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: url("../../images/lines_background.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
    }

    body > section > article > #contact-form-container
    {
        padding-top: 0px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 40px;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > label:not(#password-field):not(.submitbtn)
    {
        color: white;
    }

    body > section > article > #contact-form-container > form textarea:focus,
    body > section > article > #contact-form-container > form input:not([type=button]):not([type=submit]):focus
    {
        border: 2px solid rgb(255, 132, 0);
    }

    body > section > article > #contact-form-container > form > #fieldset > #gender-col > #fieldset-column-content
    {
        background: white;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > input[type=radio]:checked ~ span
    {
        background: rgb(255, 132, 0);
    }

    body > section > article > #contact-top
    {
        padding-top: 60px !important;
    }
}

@media only screen and (min-width: 925px)
{
    body > section > article > #contact-form-container > form > #fieldset
    {
        -js-display: flex;
        display: flex;
        display: -webkit-flex;
        display: -ms-flexbox;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(#gender-col):not(#response-col)
    {
        min-width: 40%;
        flex-basis: 47.5%;
        -webkit-flex-basis: 47.5%;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(#gender-col):not(#response-col):first-of-type
    {
        margin-right: 2.5%;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(#response-col):last-of-type
    {
        margin-left: 2.5%;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > span
    {
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

@media only screen and (max-width: 925px)
{
    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(#response-col)
    {
        min-width: 100%;
        width: 100%;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn
    {
        width: 50%;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > span
    {
        width: 100%;
        text-align: center;
    }

    body > section > article > #contact-form-container > form > #fieldset > .fieldset-column.top:last-of-type > label
    {
        margin-top: 25px;
    }
}

body > section > article > #contact-top
{
    padding-top: 120px;
}

body > section > article > #contact-top > h1,
body > section > article > #contact-top > p
{
    position: relative;
    z-index: 1;
}

body > section > article > #contact-top > h1
{
    color: white;
    text-align: center;
    margin: 0;
}

body > section > article > #contact-top > p
{
    line-height: 1.45em;
    width: 60%;
    margin: 2em auto;
    color: white;
    text-align: center;
}

body > section > #section-lines
{
    position: absolute;
    left: 0;
    top: 100px;
}

/*
    Apply form CSS
*/
body > section > article > #contact-form-container
{
    display: block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(.top) > label:not(#password-field):not(.submitbtn)
{
    margin-top: 25px;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > label:not(#password-field):not(.submitbtn)
{
    display: block;
    font-family: "DIN Next LT Pro";
    font-size: 20px;
    margin-bottom: 6.5px;
}

/* Standard input field CSS */
body > section > article > #contact-form-container > form input:not([type=button]):not([type=submit])
{
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 2px solid rgba(11, 24, 39, 0.25);
    box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -webkit-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -moz-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    height: 60px;
    font-size: 20px;
    font-family: "DIN Next LT Pro";
    color: rgba(11, 24, 39, 0.8);
}

body > section > article > #contact-form-container > form input:not([type=button]):not([type=submit]):focus
{
    outline: none;
}

/* Forgot PW btn */
body > section > article > #contact-form-container > form input[type=button]
{
    display: block;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    font-family: "DIN Next LT Pro";
    text-align: center;
    font-size: inherit;
    margin-top: 7.5%;
    margin-bottom: 7.5%;
    padding: 0px;
    color: rgb(110, 200, 100);
    border-bottom: 0.075em solid rgb(185, 225, 180);
    background: transparent;
}

/* Comments field */
body > section > article > #contact-form-container > form textarea
{
    resize: none;
    -moz-resize: none;
    padding: 20px;
    width: 100%;
    max-height: 120px;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 2px solid rgba(11, 24, 39, 0.25);
    box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -webkit-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -moz-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 20px;
    font-family: "DIN Next LT Pro";
    color: rgba(11, 24, 39, 0.8);
}

body > section > article > #contact-form-container > form textarea:focus
{
    outline: none;
}

body > section > article > #contact-form-container > form textarea::placeholder
{
    color: rgba(11, 24, 39, 0.4);
}

body > section > article > #contact-form-container > form textarea::-ms-input-placeholder
{
    color: rgba(11, 24, 39, 0.4);
}

body > section > article > #contact-form-container > form textarea:-ms-input-placeholder
{
    color: rgba(11, 24, 39, 0.4);
}

/* Password field wrapper */
body > section > article > #contact-form-container > form > #password-field
{
    position: relative;
    display: block;
    height: 60px;
}

/* Password field visibility button */
body > section > article > #contact-form-container > form > #password-field > button
{
    display: inline-block;
    position: absolute;
    z-index: 1;
    background: transparent;
    color: rgb(205, 210, 210);
    border: none;
    padding: 0px;
    font-size: 1.25em;
    cursor: pointer;

    /* top/right values will be relative to the center of the element instead of its edge */
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    right: 17.5px; /* 1/4th of total height */
    top: 35px; /* 1/2th of total height */
}

body > section > article > #contact-form-container > form > #password-field > button:focus
{
    outline: none;
}

body > section > article > #contact-form-container > form > #fieldset
{
    border: none;
    margin: 0;
    padding: 0;
    letter-spacing: -1em;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column
{
    display: inline-block;
    vertical-align: top;
    letter-spacing: normal;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column:not(#gender-col):not(#response-col)
{
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    min-width: 47.5%;
}

body > section > article > #contact-form-container > form > #fieldset > #response-col
{
    width: 100%;
}

body > section > article > #contact-form-container > form > #fieldset > #gender-col
{
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}

body > section > article > #contact-form-container > form > #fieldset > #gender-col > #fieldset-column-content
{
    font-size: 0;
    height: 60px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border: 2px solid rgba(11, 24, 39, 0.25);
    box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -webkit-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    -moz-box-shadow: 3px 3px 4px rgba(11, 24, 39, 0.14) inset;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Radio buttons */
body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn
{
    display: inline-block;
    vertical-align: top;
    position: relative;
    color: rgb(11, 24, 39);
    font-family: "DIN Next LT Pro";
    cursor: pointer;
    margin: 0px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > input[type=radio]
{
    display: none;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > span
{
    display: block;
    overflow: hidden;
    opacity: 0.4;
    filter: alpha(opacity=40);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    line-height: 56px;
    height: 56px;
    font-size: 20px;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn:first-of-type > input[type=radio]:checked ~ span
{
    left: -2px;
    border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn:last-of-type > input[type=radio]:checked ~ span
{
    right: -2px;
    border-radius: 0 3px 3px 0;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
}

body > section > article > #contact-form-container > form > #fieldset > .fieldset-column > #fieldset-column-content > .radiobtn > input[type=radio]:checked ~ span
{
    position: relative;
    top: -2px;
    height: 60px;
    line-height: 60px;
    color: white;
    font-size: 20px;
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

/* Submit btn */

/* HACK: Abuse labels so events from the submit btn also apply to this label so we can animate the right-aligned arrow*/
body > section > article > #contact-form-container > form > .submitbtn
{
    display: block;
    position: relative;
    height: 70px;
    line-height: 70px;
    font-size: 24px;
    padding-left: 30px;
    padding-right: 30px;
    background: rgb(255, 132, 0);
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 40px;
    text-transform: uppercase;
    font-family: "DIN Next LT Pro";
    color: white;
    bottom: 0px;
}

body > section > article > #contact-form-container > form > .submitbtn:hover
{
    bottom: 5px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1)";
    box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
    -webkit-box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
    -moz-box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
}

body > section > article > #contact-form-container > form > .submitbtn:after
{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    opacity: 0.0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    transition: 0.375s opacity;
    -webkit-transition: 0.375s opacity;
    -moz-transition: 0.375s opacity;
    -ms-transition: 0.375s opacity;
    -o-transition: 0.375s opacity;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25));
    background: -webkit-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.25));
    background: -moz-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.25));
    background: -o-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.25));
}

body > section > article > #contact-form-container > form > .submitbtn:hover:after
{
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

body > section > article > #contact-form-container > form > .submitbtn > .chevron
{
    float: right;
    margin-top: 23px;
    margin-right: 2.5%;
}

body > section > article > #contact-form-container > form > .submitbtn:hover > .chevron
{
    margin-right: 0%;
}

body > section > article > #contact-form-container > form > .submitbtn > input[type=submit]
{
    display: none;
}

body > section > article > #contact-form-container > form > .submitbtn > .chevron > img
{
    display: block;
    height: 1em;
}