﻿* {
    margin: 0;
    padding: 0;
}

html, body {
    background-color: #ffffff;
    color: #000000;
    font-weight: normal;
    font-family: "Open Sans", sans-serif;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

body {
    font-size: 1rem;
}

#noScript {
    margin: 16px;
    color: Black;
}

:lang(en-GB) {
    quotes: '\2018' '\2019' '\201C' '\201D';
}

/* Theme layout styles */

#fullPage {
    position: absolute;
    bottom: 28px;
    top: 0;
    width: 100%;
}

#brandingWrapper {
    background-color: #ffffff;
    height: 100%;
    width: 100%;
}

#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. */
    background-color: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#brandingTint {
    /* This will define a tint to be overlaid on top of the illustration background image. */
    background-color: rgba(0,0,0,0.4);
    height: 100%;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#contentWrapper {
    background-color: transparent;
    height: 100%;
    width: 100%;
}

#content {
    /* Set content to center */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: #fff;

    /* Set size margins */
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    min-height: 338px;
    min-width: 320px;
    max-width: 452px;
    width: calc(100% - 40px);
    height: auto;
    padding: 36px;

    /* Add drop shadow */
    box-shadow: 0 2px 3px rgba(0,0,0,0.55);
    border: 1px solid rgba(0,0,0,0.4);

    /* Allow Scrolling */
    overflow-y: auto;
    max-height: 80%;
}

#header {
    font-size: 2em;
    font-weight: lighter;
    font-family: "Open Sans", sans-serif;
    padding: 0 0 0 0;
    margin: 0;
    background-color: transparent;
}

#header img {
    /* Logo image recommended dimension: 108x24  or 338x24 (elongated), 4 kB average, 10 kB maximum. Transparent PNG strongly recommended. */
    max-height: 100%;
    max-width: 73%;
    padding: 0;
    margin-bottom: 16px;
}

#loginMessage {
    box-sizing: border-box;
    color: rgb(38, 38, 38);
    direction: ltr;
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.166667;
    letter-spacing: -0.8px;
    text-transform: uppercase;
    height: auto;
    margin-bottom: 16px;
    margin-left: -2px;
    margin-right: -2px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    text-align: left;
    text-size-adjust: 100%;
    background-color: transparent;
}

#loginForm {
}

#workArea, #header {
    word-wrap: break-word;
}

#workArea {
    margin-bottom: 4%;
    margin-top: 0;
    background-color: transparent;
}

#footerPlaceholder {
    height: 0;
}

#footer {
    background-color: rgba(0, 0, 0, 0);
    bottom: 0;
    box-sizing: border-box;
    clear: both;
    color: rgb(38, 38, 38);
    direction: ltr;
    display: block;
    filter: none;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: normal;
    height: 28px;
    line-height: 20px;
    overflow-x: visible;
    overflow-y: visible;
    position: fixed;
    text-align: left;
    text-size-adjust: 100%;
    width: 100%;
}

#footerLinks {
    padding-left: 10px;
}

#copyright {
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    direction: ltr;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
    margin-left: 8px;
    margin-right: 8px;
    text-align: left;
    text-size-adjust: 100%;
}

#errorMessage{
    margin-top: 5px;
}

.pageLink {
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    direction: ltr;
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    text-size-adjust: 100%;
    text-decoration: underline;
}

/* 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 {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    color: #602220;
}

.actionLink {
    margin-top: 5px;
    margin-bottom: 8px;
    display: block;
}

a,
a:link
{
    color: #005a94;
    font-size: 1rem;
    text-decoration: underline;
    font-weight: 400;
}

a:hover
{
    color: #003152;
}

a:focus
{
    color: #003152;
}

a:focus:hover
{
    color: #003152;
}

a:active
{
    color: #001929;
}

ul {
    list-style-type: disc;
}

ul, ol, dd {
    padding: 0 0 0 16px;
}

h1, h2, h3, h4, h5, label {
    margin-bottom: 8px;
}

.submitMargin {
    margin-bottom: 16px;
}

.topFieldMargin {
    margin-top: 8px;
}

.fieldMargin {
    margin-bottom: 8px;
}

.groupMargin {
    margin-bottom: 16px;
}

.sectionMargin {
    margin-bottom: 64px;
}

.block {
    display: block;
}

.autoWidth {
    width: auto;
}

.fullWidth {
    width: 100%;
}

.fullWidthIndent {
    width: 480px;
}

.smallTopSpacing {
/*    margin-top: 15px; */
}

.mediumTopSpacing {
    margin-top: 12px;
}

.largeTopSpacing {
    margin-top: 16px;
}

.smallBottomSpacing {
    margin-bottom: 5px;
}

.mediumBottomSpacing {
    margin-bottom: 15px;
}

.largeBottomSpacing {
    margin-bottom: 25px;
}

#openingMessage {
    margin-bottom: 4px;
}

input {
    max-width: 100%;
    font-family: inherit;
    margin-top: 0;
    margin-bottom: 0;
    outline: none;
}


input[type="radio"], input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 0;
}

span.submit, input[type="submit"] {
    align-items: center;
    border-radius: 0;
    border-style: solid;
    display: flex;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    outline: 4px solid transparent;
    border-width: 4px;
    font-size: 18px;
    min-height: 44px;
    padding: 0.25rem 0.75rem;
    background-color: #005a94;
    border-color: transparent;
    color: #ffffff;
    box-sizing: border-box;
}
span.submit:focus, input[type="submit"]:focus{
  outline-offset: 2px;
  outline-width: 2px;
  box-shadow: 0 0 0 2px #ffffff;
  outline-color: #0c0c0c;
}

span.submit:hover, input[type="submit"]:hover {
    background-color: #003152;
}

#userNameArea, #passwordArea {
}

#userNameArea:focus, #passwordArea:focus {
  outline-width: 2px;
  outline-offset: 1px;
  outline-style: solid;
  outline-color: #000000;
}
#updatePasswordForm #submitButton, #cancelButton {
    width: 48%;
}

#oldPasswordArea, #newPasswordArea {
    margin-bottom: 7px;
}

label {
    font-size: 1rem;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: normal;
    padding: 8px 36px 0 0;
    zoom: 0;
}

label.hidden {
    display: block;
}

input.text {
    box-sizing: border-box;
    width: 100%;
    display: inline-flex;
    position: relative;
    align-items: center;
    border-width: 2px;
    border-style: solid;
    border-color: #808080;
    padding-inline: 0.75rem;
    padding: 8px 16px;
    line-height: 24px;
    font-size: 16px;
}

input.text::placeholder {
    font-size: 1rem;
    line-height: 24px;
    color: rgba(0,0,0,0.6);
    opacity: 1;
}


input.text:focus {
    outline-offset: 1px;
    outline: #000000 solid 2px;
}

select {
    height: 28px;
    min-width: 60px;
    max-width: 100%;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: none;
    padding: 2px;
    font-family: inherit;
}

h1, .giantText {
    font-size: 2.0em;
    font-weight: lighter;
}

h2, .bigText {
    font-size: 1.33em;
    font-weight: lighter;
}

h3, .normalText {
    font-size: 1.0em;
    font-weight: normal;
}

h4, .smallText {
    font-size: 0.9em;
    font-weight: normal;
}

h4 {
    font-size: 0.7em;
    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; /* needed when in float*/
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1.2em;
}

.idp {
    height: 48px;
    clear: both;
    padding: 8px;
    overflow: hidden;
    cursor: pointer;
}

.idp:hover {
    background-color: #cccccc;
    cursor: pointer;
}

.idpDescription {
    width: 80%;
    cursor: pointer;
}

.identityBanner {
    color: black;
    text-align: left;
    white-space: nowrap;
    line-height: 28px;
    height: 28px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 300;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.submit.backButton {
    color: black;
    width: 108px;
    float: left;
    background: #CCCCCC;
    border-color: #CCCCCC;
    margin-left: -2px;
    height: 32px;
    position: relative;
    left:110px;
    bottom:17px;
}

input[type="submit"].backButton:hover, span.submit.backButton:hover {
    background: #AAA;
    border: 1px solid #AAA;
}

.submit.nextButton{
    margin-left: -2px;
    left:229px;
    bottom:-40px;
    height: 32px;
    width: 108px;
}

.submit.modifiedSignIn{
    display: block;
    width: auto;
    position: relative;
    height: 32px;
    left:229px;
    bottom:-15px;
}

#submissionArea, #submitDiv{
    display: flex;
    margin-top: 16px;
}

@media (max-width: 600px), (max-height: 392px){
    #content {
        /* Set content to center */
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        background-color: #fff;
        /* Set size margins */
        margin-bottom: 28px;
        margin-left: auto;
        margin-right: auto;
        min-height: 290px;
        min-width: 320px;
        max-width: 412px;
        width: calc(100% - 40px);
        height: auto;
        padding: 23px 18px 0 18px;
        /* Add drop shadow */
        box-shadow: 0 0 0 rgba(0,0,0,0);
        border: 0 solid rgba(0,0,0,0);

        /* Allow Scrolling */
        overflow-y: initial;
        max-height: initial;
    }

    #footer {
        background-color: rgba(0, 0, 0, 0);
        bottom: 0;
        box-sizing: border-box;
        clear: both;
        color: rgb(38, 38, 38);
        direction: ltr;
        display: block;
        filter: none;
        font-family: "Open Sans", sans-serif;
        font-size: 15px;
        font-weight: normal;
        height: 28px;
        line-height: 20px;
        overflow-x: visible;
        overflow-y: visible;
        position: relative;
        text-align: left;
        text-size-adjust: 100%;
        width: 100%;
    }

    #brandingWrapper {
        display: none;
    }

    input.text {
        font-size: 16px;
    }

    .identityBanner {
        margin:16px 0;
        padding:0px 80px 0 40px;
    }

    .identityBannerImage {
        left: -50px;
    }
    #header img {
    /* Logo image recommended dimension: 108x24  or 338x24 (elongated), 4 kB average, 10 kB maximum. Transparent PNG strongly recommended. */
        max-width: 90%;
        padding: 8px;
    }
}

/* Targets displays using any of Windows’ High Contrast Mode themes: */
@media screen and (-ms-high-contrast: active) {
    textarea::-webkit-input-placeholder {
        color: #00FF00;
    }

    textarea:-moz-placeholder { /* Firefox 18- */
        color: #00FF00;
    }

    textarea::-moz-placeholder { /* Firefox 19+ */
        color: #00FF00;
    }

    textarea:-ms-input-placeholder {
        color: #00FF00;
    }
}

/* Targets displays using the Windows’ "High Contrast Black" theme: */
@media screen and (-ms-high-contrast: white-on-black) {
    #contentWrapper {
        background-color: #000000;
        color: #ffffff;
    }
    .idp:hover {
        background-color: #ffffff;
        color: #000000;
    }
    #brandingWrapper {
        background-color: #000000;
        color: #ffffff;
    }
    html, body {
        background-color: #000000;
        color: #ffffff;
    }

    textarea::-webkit-input-placeholder {
        color: #ffffff;
    }

    textarea:-moz-placeholder { /* Firefox 18- */
        color: #ffffff;
    }

    textarea::-moz-placeholder { /* Firefox 19+ */
        color: #ffffff;
    }

    textarea:-ms-input-placeholder {
        color: #ffffff;
    }
}

/* Targets displays using the Windows’ "High Contrast White" theme: */
@media screen and (-ms-high-contrast: black-on-white) {
    #contentWrapper {
        background-color: #ffffff;
        color: #000000;
    }

    .idp:hover {
        background-color: #000000;
        color: #ffffff;
    }

    #brandingWrapper {
        background-color: #ffffff;
        color: #000000;
    }

    html, body {
        background-color: #ffffff;
        color: #000000;
    }

    textarea::-webkit-input-placeholder {
        color: #000000;
    }

    textarea:-moz-placeholder { /* Firefox 18- */
        color: #000000;
    }

    textarea::-moz-placeholder { /* Firefox 19+ */
        color: #000000;
    }

    textarea:-ms-input-placeholder {
        color: #000000;
    }
}
