html
{
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body
{
    background-color: #fff;
    border-top: solid 10px #9933FF;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 1em;
    padding: 1em;
}

a
{
    color: #9933ff;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover
    {
        color: #9933ff;
    }

    a:hover
    {
        background-color: #c7d1d6;
    }

.clear-fix:after
{
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6
{
    color: #000;
    margin-bottom: 1em;
    padding-bottom: 0;
}

h1
{
    font-size: 2em;
}

h1 .subheading
{
    font-size: 0.66em;
    font-style: italic;
    font-weight: lighter;
    display: inline-block;
}

h2
{
    font-size: 1.75em;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active
    {
        padding: 0;
        text-decoration: none;
    }

:-moz-placeholder
{
    color: gray;
}

::-moz-placeholder
{
    color: gray;
}

::-webkit-input-placeholder
{
    color: gray;
}

/* forms */
fieldset
{
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend
    {
        display: none;
    }

    fieldset ol
    {
        padding: 0;
        list-style: none;
    }

        fieldset ol li
        {
            padding-bottom: 5px;
        }

fieldset span.req-mark
{
    color: red;
}

label
{
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

    label.checkbox
    {
        display: inline;
    }

    label.inline-label
    {
        display: inline-block;
        height: 1.2em;
        overflow: hidden;
        padding-right: 10px;
    }

    label.with-indent
    {
        margin-left: 20px;
    }

.display-label
{
    display: inline-block;
    font-weight: 600;
}

input, textarea, select
{
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

    input.half-width,
    textarea.half-width,
    select.half-width
    {
        width: 150px;
    }

    input.wider,
    textarea.wider,
    select.wider
    {
        width: 450px;
    }

textarea
{
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus, select:focus
    {
        border: 1px solid #7ac0da;
    }

input[type="checkbox"]
{
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button
{
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
}

td input[type="submit"],
td input[type="button"],
td button
{
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

input.form-reqd /*contrary to its name this class is used to hide elements from view so only non-real-people will fill it in*/
{
    position: absolute;
    top: -13194px;
}

/* info and errors */
.message-info
{
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error
{
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success
{
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error
{
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error
{
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid
{
    display: none;
}

input.input-validation-error
{
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error
{
    border: 0 none;
}

.validation-summary-errors
{
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid
{
    display: none;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px)
{
    body
    {
	padding-right: 10px;
	padding-left: 10px;
	margin: 0;
	width: 100%;
    }

    /* forms */
    input, textarea
    {
        width: 90%;
    }

    label.inline-label
    {
	display: inline;
    }

    label.with-indent
    {
	margin-left: 5%;
    }

    label.with-indent + input
    {
	margin-left: 5%;
	width: 85%;
    }
}
