main {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/static/common/img/login-hero.d71fa0a7b57d.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 80vh;
}

select {
    background: white !important;
}

#login-title {
    display: grid;
    justify-content: center;
    margin-top: 10px;
    /*margin-bottom: 35px;*/
}

#login-title h1 {
    font-size: 21px;
}

#login p {
    display: grid;
    justify-items: left;
    width: 221px;
}

#login label {
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 12pt;
}

#login input {
    width: 221px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid;
    padding-left: 5px;
    font-size: 15px;
}

form {
    margin-bottom: 10px;
    display: grid;
    justify-items: center;
    grid-row-gap: 10px;
}

/*main {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    background-position: center center;*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: fixed;*/
/*    background-size: cover;*/
/*    min-height: 80vh;*/
/*}*/

.forgot {
    color: #9D2235;
    font-size: 15px;
}

#login li {
    list-style-type: none;
    max-width: 220px;
    text-align: left;
}

#login {
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 280px;
    height: auto;
    color: black;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding-bottom: 25px;
}

.main-content {
    margin-left: 0;
    margin-right: 0;
}

label {
    color: black;
    font-size: 1.1em;
}

#loginButton {
    margin: 10px 0 0 0;
    padding: 10px 20px;
    background-color: #9D2235;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    color: white;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    width: 125px;
    outline: none;
}

/* reverse on hover */
#loginButton:hover {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

.sso-login-container {
    margin: 30px 0 10px 0;
}

.sso-login-container hr {
    max-width: 75%;
    margin: 0 auto 20px auto;
    border: 0;
    background: black;
    height: 2px;
}

.sso-login-container div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sso-login-button {
    margin: auto;
    background-color: #9D2235;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 18px;
    font-weight: bold;
    width: max-content;
    outline: none;
    padding: 10px 20px;
}

.sso-login-button:hover, .sso-login-button:focus {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
    text-decoration: none;
}

/* Login Error Fix */

form ul {
    font-size: 10pt;
}

.public-motd {
    justify-content: center;
    margin: 0;
    width: auto !important;
    padding-left: 25px;
    padding-right: 10px;
    text-align: left;
}

.public-motd-grid {
    display: grid;
    grid-row-gap: 10px;
    font-size: 15px;
    margin-bottom: 20px;
    justify-items: start;
}

.errorlist {
    font-size: 14px;
    color: #d30000;
}

#loginButton:focus {
    background: none;
    border: 2px solid #9D2235;
    color: #9D2235;
    outline: none;
}

.forgot:focus {
    background: none;
    border: 2px solid black;
    color: #9D2235;
    outline: none;
}

.forgot:focus:not(:focus-visible) {
    border: none;
}

#loginButton:focus:not(:focus-visible) {
    background: #9D2235;
    color: white;
}

/* ---- Media Queries Start ---- */

/* Mobile Medium */

@media screen and (min-width: 375px) {
    #login {
        width: 320px;
    }

    #login-title h1 {
        font-size: 22px;
    }

    .public-motd {
        padding-left: 40px;
        padding-right: 25px;
    }

}

/* End of Mobile Medium */

/* In between size */

@media screen and (min-width: 500px) {

    #login {
        width: 375px;
    }
}

/* End of In between size */

/* Tablet */

@media screen and (min-width: 768px) {
    main {
        min-height: 90vh;
    }
}

/* End of Tablet */

/* Laptop */

@media screen and (min-width: 1024px) {
    #login {
        width: 400px;
        /*height: 405px;*/
    }

    #login-title {
        margin-top: 20px;
    }

    #login-title h1 {
        font-size: 26px;
    }

    #login p {
        width: 258px;
    }

    #login li {
        max-width: 258px;
    }

    #login input {
        width: 258px;
    }

    .public-motd {
        padding-left: 45px;
    }
}

/* End of Laptop */

/* ---- Media Queries End ---- */