* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

a {
    text-decoration: none;
    color: #132c73;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color:#132c73;
}

#fullPage, #brandingWrapper
{
    width: 100%;
    height: 100%;
    background-color: inherit;
}

#fullPage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

#companyLogo {
    width: 100px;
    justify-self: end;
}

#brandingWrapper
{
    height: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -100;
    background-color:#4488dd;
}

#authArea h1 {
    margin-bottom: 5px;
}

#passwordArea,
#userNameArea,
#yubikeyArea,
#oldPasswordArea,
#newPasswordArea,
#confirmNewPasswordArea,
.idpWrapper {
    display: grid;
    grid-template-columns: 200px 240px;
    column-gap: 20px;
    align-items: center;
}

#header {
    display: grid;
    grid-template-columns: 200px 240px;
    column-gap: 20px;
    align-items: auto;
    margin-bottom: 20px;
}

#passwordArea label,
#userNameArea label,
#oldPasswordArea label,
#yubikeyArea label
{
    text-align: right;
}

#newPasswordArea label,
#confirmNewPasswordArea label {
    text-align: right;
}

#userNameArea, #oldPasswordArea, #newPasswordArea {
    margin-bottom: 20px;
}

#loginMessage, #openingMessage {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    font-size: 24px;
}

#openingMessage {
    width: 300px;
}

#hostname {
    font-size: small;
    margin-top: 6px;
}

#error {
    color: red;
    width: 100%;
    margin-bottom: 20px;
    font-size: small;
}

#errorText {
    padding: 0;
}

#mfaGreeting {
    display: none;
}

#submissionArea {
    margin-top: 20px;
    margin-left: 140px;
}

#idp_SignInButton {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#IsAuthenticated {
    display: none;
}

.submit {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    align-items: center;
    background-color: #002878;
    color: #fff;
    height: 44px;
    border-radius: 44px;
    border-style: solid;
    border-width: 2px;
    border-color: #132c73;
    cursor: pointer;
    display: flex;
    font-family: var(--typography-font-family-primary-main);
    font-size: var(--typography-font-size-m-rem);
    font-weight: 500;
    justify-content: center;
    padding: 0 var(--dimension-spacing-s-rem);
    -webkit-text-decoration: none;
    text-decoration: none;
    transition: background-color .2s,color .2s,border-width .2s,border-color .2s;
    cursor: pointer;
}

.submit:hover {
    background-color: #E5E9F1;
    border-color: #E5E9F1;
    color: #002878;
}

#submissionArea input {
    margin-bottom: 5px;
    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. */
    height: 100%;
    width: 100%;
    background-color: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
}

#contentWrapper {
    border-radius: 20px;
    box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.3);
    padding: 60px;
    padding-bottom: 30px;
    background-color: white;
    margin: 100px 40px auto;
    z-index: 100;
    width: 600px;
}

#copyright {
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
}

#footerLinks {
    margin-top: 20px;
    text-align: right;
}

#helpDesk {
    margin-left: 10px;
}

.idpWrapper {
    margin-bottom: 10px;
}

.idp {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 200px;
    border-radius: 50px;
    border: 2px solid #132c73;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.idpDescription {
    padding-left: 10px;
}

.idp img {
    width: 22px;
}

input {
    height: 38px;
    font-size: medium;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px;
    outline: none;
    transition: box-shadow 0.2s linear 0s;
}

label {
    padding: 5px;
}

#idp_SignInThisSiteStatusLabel {
    margin-bottom: 5px;
}

#idp_ThisRpPanel, #idp_OtherRpPanel {
    display: grid;
    grid-template-columns: 20px auto;
    column-gap: 5px;
    align-items: center;
}

.idp:hover {
    background-color: #c7d1f0;
    transition: background-color .2s;
}

input:focus {
    outline: none;
    box-shadow: 0 2px 2px rgba(19, 44, 115, 0.5), 
                0 -2px 2px rgba(19, 44, 115, 0.5), 
                2px 0 2px rgba(19, 44, 115, 0.5), 
                -2px 0 2px rgba(19, 44, 115, 0.5);
}

input[type="radio"]:focus {
    box-shadow: none;
}

ul {
    margin: 5px 0 5px;
}

ul li {
    margin-left: 20px;
    margin-bottom: 2px;
}


.fieldMargin {
    margin-bottom: 5px;
}

.groupMargin {
    margin-bottom: 5px;
}

#authOptions {
    width: 70%;
    margin-left: auto;
}


#authOptionLinks a,
#linksDiv a {
    display: flex;
    border-radius: 50px;
    border: 2px solid #132c73;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
    padding-left: 20px;
}

#authOptionLinks a:hover,
#linksDiv a:hover
{
    background-color: #c7d1f0;
    transition: background-color .2s;
}

@media all and (max-width: 480px) {
    body {
        height: 101%;
    }

    #contentWrapper {
        width: 80%;
        margin-top: auto;
        margin-bottom: auto;
    }

    #fullPage {
        height: 100%;
    }

    #authOptions {
        margin-left: auto;
        width: 100%;
    }

    #header,
    #userNameArea,
    #passwordArea,
    #yubikeyArea,
    #oldPasswordArea,
    #newPasswordArea,
    #confirmNewPasswordArea
    {
        width: 100%;
        display: block;
    }

    #header {
        text-align: center;
    }

    #userNameArea,
    #passwordArea,
    #yubikeyArea,
    #oldPasswordArea,
    #newPasswordArea,
    #confirmNewPasswordArea
    {
        text-align: left;
    }

    #userNameArea input,
    #passwordArea input,
    #yubikeyArea input,
    #oldPasswordArea input,
    #newPasswordArea input,
    #confirmNewPasswordArea input
    {
        width: 100%;
        text-align: left;
    }
    #submissionArea {
        margin-left: 0;
        width: 100%;
    }
    label {
        font-size: small;
    }

    #openingMessage {
        width: auto;
        padding-top: 0;
    }

    .idpWrapper {
        display: flex;
        flex-direction: column;
    }

    .idp {
        margin-bottom: 10px;
    }


    .idpDescrptionText {
        font-size: small;
    }

    #header {
        margin-bottom: 20px;
    }
}