body {
    background-image: url("img/birst7-login-wave.svg"), linear-gradient(to bottom, #F8F8F8, #BCBCBC);
    background-size:cover;
    color: #222222;
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.form-signin {
    background-color: #ffffff;
    background: rgba( 255, 255, 255, 0.9 );
    border-radius: 20px;
    font-size: 14px;
    width: 430px;
    height: 430px;
    min-height: 430px;
    position: absolute;
    padding: 20px;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0 40px 60px 0 rgba( 0, 0, 0, 0.3 );
}

.logo-img {
    margin: 20px 5px 40px 110px;
    width: 170px;
}

.username-section,
.password-section {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.password-section {
    margin-bottom: 30px;
}

input,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 0 rgba( 255,255,255,0 ) inset !important;
    background-color: rgba( 255,255,255,0 ) !important;
    /* This transition setting is the only way I can override the user agent autofill styling */
    transition: color 9999s ease-out, background-color 9999s ease-out;
    transition-delay: 9999s;
    margin-bottom: 5px;
    border: none;
    border-bottom: 2px solid #999999;
    outline: none;
    width: 290px;
    padding: 8px;
    padding-left: 25px;
}

/* Webkit selectors for Chrome above screw up firefox styles.  Listing them again without webkit fixes firefox */
input {
    -webkit-box-shadow: 0 0 0 0 rgba( 255,255,255,0 ) inset !important;
    background-color: rgba( 255,255,255,0 ) !important;
    /* This transition setting is the only way I can override the user agent autofill styling */
    transition: color 9999s ease-out, background-color 9999s ease-out;
    transition-delay: 9999s;
    margin-bottom: 5px;
    border: none;
    border-bottom: 2px solid #999999;
    outline: none;
    width: 290px;
    padding: 8px;
    padding-left: 25px;
}

/* Must list each separately https://css-tricks.com/almanac/selectors/p/placeholder/ */
input[type="text"]::-webkit-input-placeholder {
    font-style: normal;
}
input[type="text"]:-ms-input-placeholder {
    font-style: normal;
}
input[type="password"]::-webkit-input-placeholder {
    font-style: normal;
}
input[type="password"]:-ms-input-placeholder {
    font-style: normal;
}

input:focus {
    border-bottom: 2px solid #333333;
}

.input-icons {
    width: 35px;
    padding: 8px;
    margin-left: 7px;
    margin-right: 5px;
    position: absolute;
    left: 55px;
}

/* Hide accessibility label for inputs: https://www.w3.org/WAI/tutorials/forms/labels/#note-on-hiding-elements */
.visually-hidden {
    border: 0;
    clip: rect( 0 0 0 0 );
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.submit {
    background: rgba( 20, 20, 20, 1.0 );
    border-radius: 5px;
    font-size: 14px;
    height: 50px;
    width: 290px;
    padding: 10px 0;
    color: white;
    margin: 10px 5px 5px 5px;
}

.login-error,.login-openid-error {
    display: none;
    margin: -10px 50px 20px 50px;
    color: #CD2D18;
    line-height: 1.2;
    font-size: 14px;
}

.login-error img,.login-openid-error img {
    position: absolute;
    right: 70px;
    margin-top: -4px;
}

.submit:hover {
    color: white;
}

.submit:focus {
    outline: none !important;
    color: white;
}

.tooltip-inner {
    min-width: 350px;
    text-align: left;
    font-size: 14px;
}

/*https://stackoverflow.com/questions/32039846/can-i-use-css-to-add-a-bullet-point-to-any-element*/
.tooltip-inner li {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 30px;
}

.login-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    font-size: 11px;
    bottom: 0;
    right: 0;
    left: 0;
    height: 4.5rem;
    background: #FFFFFF;
    -moz-box-shadow:    inset 0 0 1px #000000;
    -webkit-box-shadow: inset 0 0 1px #000000;
    box-shadow:         inset 0 0 1px #000000;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.login-footer > form, 
.login-footer > a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.login-footer .google-text,
.login-footer a {
    color: #555555;
    text-decoration: underline;
}

.login-footer .google-text:hover,
.login-footer a:hover {
    color: #333333;
    font-weight: bold;
}

/* Avoids 'jumping' effect caused by bolding */
/*https://justmarkup.com/log/2015/11/quick-tip-using-text-shadow-instead-of-font-weight-bold-to-avoid-jumping/*/
@supports (text-shadow: 1px 0 0 #000) {
    .copyright a:hover,
    .doc-link:hover,
    .login-footer .google-text:hover,
    .login-footer a:hover {
        font-weight: normal;
        text-shadow: 0.7px 0 0 currentColor;
    }
}

.login-footer .google-button,
.login-footer a {
    width: 142px;
}

.login-footer input {
    display: none;
}

.login-footer button {
    border: none;
}

.login-footer img {
    width: 18px;
}

.copyright {
    position: absolute;
    bottom: 5px;
    left: 15px;
    font-size: 10px;
    cursor: default;
}
.copyright a {
    color: #222222;
    text-decoration: underline;
}

.doc-links {
    position: absolute;
    right: 5px;
    bottom: 0;
}
.doc-link {
    float: right;
    padding: 15px;
    color: #222222;
    text-decoration: underline;
    font-size: 10px;
}

.doc-link:hover {
    color: #222222;
}
