﻿@charset "utf-8";
@-ms-viewport {
    width: device-width;
    height: device-height;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background: #fff no-repeat top left fixed;
    -webkit-background-size: cover;
    -mox-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    margin: 0;
    padding: 0;
    z-index: -999;
    text-align: left;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

input, select { 
    font-size: 100%; 
}

hr {
    border-width: .5px;
    border-color: #fff;
    opacity: 0.5;
}

html,
body {
    height: 100%;
}

#noScript {
    margin: 16px;
    color: Black;
}

:lang(en-GB) {
    quotes: '\2018' '\2019' '\201C' '\201D';
}

:lang(zh) {
    font-family: 微软雅黑;
}

@-ms-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@-webkit-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* Theme layout styles */

#fullPage,
#brandingWrapper {
    width: 100%;
    height: 100%;
    background-color: inherit;
}

#brandingWrapper {
    background-color: #28445A;
}

#branding {
    /* A background image will be added to the #branding element at run-time once the illustration image is configured in the theme. 
       Recommended image dimensions: 1420x1200 pixels, JPG or PNG, 200 kB average, 500 kB maximum. */
    height: 100%;
    margin-right: 500px;
    margin-left: 0px;
    background-color: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#contentWrapper {
    background: #ffffff;
    border-top: 50px solid #28445A;
    position: fixed;
    right: 0;
    height: 100%;
    width: 500px;
    display: flex;
    flex-flow: column nowrap;
    min-height: 341px;
    overflow: auto;
}

@media only screen and (max-width: 768px) {
    #contentWrapper {
        width: 100%;
    }
}

@media only screen and (max-width: 520px) {
    #contentWrapper {
        border-top: 40px solid #28445A;
    }
}

#content {
    min-height: 450px;
    text-align: left;
    display: flex;
    flex-flow: column nowrap;
    height: 100vh;
    /*height: calc(100vh - 8rem);*/
}

#header {
    color: #fff;
    font-size: 35pt;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    #header {
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 400px) {
    #header {
        margin-top: 1rem;
    }
}

@media only screen and (min-height: 600px) {
    #header {
        margin-top: 3rem;
    }
}

@media only screen and (min-height: 300px) {
    #header {
        margin-top: 3rem;
    }
}

#header>img {
    /* Logo image recommended dimension: 60x60 (square) or 350X35 (elongated), 4 kB average, 10 kB maximum. Transparent PNG strongly recommended. */
    width: 60%;
}

@media only screen and (max-width: 768px) {
    #header>img {
        width: 45%;
    }
}

@media only screen and (max-width: 600px) {
    #header>img {
        width: 60%;
    }
}

@media only screen and (max-width: 430px) {
    #header>img {
        width: 70%;
    }
}

#loginArea {
    margin-left: 2rem;
    margin-right: 2rem;
}

#loginMessage {
    color: #4D4D4D;
    font-size: .75rem;
    text-align: left;
    font-weight: 400;
}

#workArea {
    flex: 1 1 auto;
    margin-bottom: 50px;
}

@media only screen and (max-width: 768px) {
    #workArea {
        width: 75%;
        margin: auto;
    }
}

@media only screen and (max-width: 600px) {
    #workArea {
        width: 90%;
        margin: auto;
    }
}


@media only screen and (min-height: 600px) {
    #workArea {
        margin-top: 3rem;
    }
}

#instruction {
    color: #4D4D4D;
    line-height: 1.6;
    font-size: .75rem;
    text-align: left;
    margin-top: 3rem;
}

#signoutLink {
    font-weight: bold;
}

#footer-parent {
    position: relative;
}

#footer {
    margin: auto;
    color: #fff;
    font-size: 0.78rem;
    padding: 3rem;
    text-align: center;
    width: 100%;
}

@media only screen and (min-height: 500px) {
    #footer {
        padding: 1rem;
    }
}

#footerLinks {
    float: none;
}

#drhLogoDiv {
    border: 0px;
    margin: auto;
    margin-bottom: 2em;
}

@media only screen and (min-height: 500px) {
    #drhLogoDiv {
        margin-bottom: 1sem;
    }
}

#drhLogo {
    border: 0px;
    height: 3em;
}

@media only screen and (max-width: 430px) {
    #drhLogo {
        height: 2em;
    }
}

#copyrightContainer {
    text-align: center;
    margin-left: 12px;
    margin-right: 12px;
    vertical-align: baseline;
	margin-bottom: 2em;
}

#copyrightContainer img {
    width: 18px;
    height: 20px;
    margin: auto;
}

#copyright {
    font-size: .75rem;
    color: #4D4D4D;
    font-weight: 400;
}

@media only screen and (max-width: 430px) {
    #copyright {
        font-size: .5rem;
    }
}

#equalHousingLogo {
    margin-left: 10px;
}

#userNameInput {
    box-sizing: border-box;
    resize: none;
    font-size: .75rem;
    border: solid .08rem #e7e7e7;
    width: 100%;
    padding: .5rem;
}

#passwordInput {
    box-sizing: border-box;
    resize: none;
    font-size: .75rem;
    border: solid .08rem #e7e7e7;
    width: 100%;
    padding: .5rem;
}

#introduction {
    z-index: 3;
}

#options {
    float: right;
}

#equalHousingLogo {
    float: right;
}

#submissionArea {
    margin-bottom: 2.5em;
    text-align: center;
}

.pageLink {
    color: #000000;
    padding-left: 16px;
}


/* Common content styles */

.clear {
    clear: both;
}

.float {
    float: left;
}

.floatReverse {
    float: right;
}

.indent {
    margin-left: 16px;
}

.indentNonCollapsible {
    padding-left: 16px;
}

.hidden {
    display: none;
}

.notHidden {
    display: inherit;
}

.error {
    background-color: #B01815;
    color: #fff;
    padding: 10px;
    font-weight: 600 !important;
    height: 100%;
}

.actionLink {
    margin-bottom: 8px;
    display: block;
}

a {
    color: #28445A;
    text-decoration: underline;
    background-color: transparent;
    font-weight: 600;
    font-size: .75rem;
}

ul {
    list-style-type: disc;
}

h1,
h2,
h3,
h4,
h5,
label {
    font-size: .75rem;
    margin-bottom: 10px;
}

.submitMargin {
    margin-top: 1em;
}

.topFieldMargin {
    margin-top: 8px;
}

.fieldMargin {
    margin-bottom: 25px;
}

.groupMargin {
    margin-bottom: 1.5em;
    margin-top: 6.5em;
    text-align: center;
}

@media only screen and (max-width: 500px) {
    .groupMargin {
        margin-top: 2.5em;
    }
}

@media only screen and (max-height: 768px) {
    .groupMargin {
        margin-top: 2.5em;
    }
}

.sectionMargin {
    margin-bottom: 64px;
}

.block {
    display: block;
}

.autoWidth {
    width: auto;
}

.fullWidth,
.error {
    width: 400px;
}

.fullWidthIndent {
    width: 326px;
}

input {
    max-width: 100%;
    font-family: inherit;
    margin-bottom: 22px;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 0px;
}

span.submit,
input[type="submit"] {
    border: none;
    background-color: #28445A;
    font-size: .75rem;
    min-width: 120px;
    width: auto;
    padding: 14px 20px;
    border-style: none;
    border-width: 1px;
    transition: background 0s;
    color: #ffffff;
    cursor: pointer;
	text-transform: uppercase;

    -ms-user-select: none;
    -moz-transition: background 0s;
    -webkit-transition: background 0s;
    -o-transition: background 0s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

input.text {
    height: 40px;
    padding: 0px 5px 0px 5px;
}

input.text:focus {
    border: 1px solid #6B6B6B;
}

select {
    height: 28px;
    min-width: 60px;
    max-width: 100%;
    margin-bottom: 8px;

    white-space: nowrap;
    overflow: hidden;
    box-shadow: none;
    padding: 2px;
    font-family: 'Montserrat', sans-serif;
}

h1,
.giantText {
    font-size: 2.0em;
    font-weight: lighter;
}

h2,
.bigText {
    font-size: 1em;
    font-weight: 500;
    color: #4D4D4D;
    text-transform: uppercase;
    text-align: left;
    margin-top: 6.5rem;
    letter-spacing: 3px;
}

h3,
.normalText {
    font-size: 1.0em;
    font-weight: normal;
}

h4,
.smallText {
    font-size: 0.9em;
    font-weight: normal;
}

h5,
.tinyText {
    font-size: 0.8em;
    font-weight: normal;
}

.hint {
    color: #999999;
}

.emphasis {
    font-weight: 700;
    color: #2F2F2F;
}

.smallIcon {
    height: 20px;
    padding-right: 12px;
    vertical-align: middle;
}

.largeIcon {
    height: 48px;
    vertical-align: middle;
}

.largeTextNoWrap {
    height: 48px;
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1.2em;
}

.idp {
    height: 48px;
    clear: both;
    padding: 8px;
    overflow: hidden;
}

.idp:hover {
    background-color: #cccccc;
}

.idpDescription {
    width: 80%;
}