.row {
    display: flex;
    justify-content: center;
}

#error_1_id_password, #error_1_id_username {
    display: none;
}

.card {
    margin-top: 3em;
    padding-left: 2em;
    padding-bottom: 1em;
    border: 1;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 5px;
}

.password-field { 
    display: none;
}

.username_pencil {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 2.9975 18 18'%3E%3Cpath d='M 3 17.25 V 21 H 6.75 L 17.81 9.94 L 14.06 6.19 L 3 17.25 Z M 20.71 7.04 C 21.1 6.65 21.1 6.02 20.71 5.63 L 18.37 3.29 C 17.98 2.9 17.35 2.9 16.96 3.29 L 15.13 5.12 L 18.88 8.87 L 20.71 7.04 Z' fill='%2342526e'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 1.1em;
    background-position-x: 27.7em;
}

.username_submitted {
    cursor: pointer;
    border-color: white;
    color: gray;
}

.username_submitted:hover {
    border-color: #ced4da;
    color: unset;
    background-color: #fafbfc;
}

.login_alert {
    width: 32.5em;
}

#pass-status {
    display: none;
    cursor: pointer;
    margin-left: -1.50em;
}

.form-control {
    width: 95%;
    display: inline;
}

.controls {
    display: inline;
}

#div_id_password {
    display: inline;
    margin-right: 1.4em;
}

#sign_in {
    padding-top: 15px;
    width: 95%;
}

/* BS5 Fixes  */

label.control-label {
  font-weight: 700;
  margin-bottom: 5px;
  display: inline-block
}

div#sign_in a.close {
  text-decoration: none;
}

div.form-group {
  margin-bottom: 15px;
}

#sign_in_text {
    font-size: 30px;
}

#login-button {
    width: 100%;
}

#forgot-pass {
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-decoration: none;
    font-family: inherit;
    opacity: .2;
    float: left;
    padding: 20px 0px 50px 0px;
    font-size: 16px;
    font-weight: bold;
}

#forgot-pass:hover {
    opacity: unset;
}

@media only screen and (max-width: 1200px) {
    #sign_in_text {
        margin-top: 30px!important;
    }
    .username_pencil {
        background-position-x: 19em;
    }
}

@media only screen and (max-width: 322px) {
    #id_password {
        margin-right: 0;
    }
}