.login > #navbar, .registration > #navbar {
    /* We want to remove the navbar from login and registration pages */
    /*display: none;*/
}

.login > .body-content, .registration > .body-content {
    /* Move the container back to compensate for the removed menu */
    left: 0;
    width: 100%;
}

@media screen and (min-height: 600px) {
    .login--container, .registration--container {
        margin: 0;
        position: absolute;
        top: 40%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-height: 599px) {
    .login--container, .registration--container {
        margin: 15px auto;
    }
}

.account--container {
    padding: 5px;
    margin: 15px auto;
}

.login--container {
    max-width: 330px;
}

.registration--container, .account--container {
    max-width: 528px;
}

.login--container, .registration--container, .account--container {
    width: 100%;
    position: relative;
}

.login-form-error {
    font-weight: 400!important;
    font-size: 1.05rem;
    margin: .25rem 0;
}

.form-error--container {
    margin: 1rem 0;
}

/* Make labels readable for screen readers but not visible on the webpage */
/* We have placeholders for the normal usecases */
.login--form > label, 
.registration--form > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;
}

#back-button {
    display: none;
    margin: 10px;
    cursor: pointer;
    color: #4cabc1;
    font-weight: bold;
}

.login--form > input,
.registration--form > input,
.account--form > input,
.register-form > input:not([type="submit"]) {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
    display: block;
    width: 100%;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.register-form > input[type="submit"] {
    width: 100%;
}

.registration--form {
    margin-top: 1.8rem;
}

.registration--form > input {
    margin-bottom: 0.4rem;
}

.registration--form > br {
    display: none;
}

.errorlist {
    text-decoration: underline #ed1c24;
}

.helptext > ul, .errorlist {
    margin: 0 0 1rem;
    text-align: left;
}

.helptext > ul > li, .errorlist > li {
    font-size: 0.85rem;
}

#id_password, #id_password2 {
    margin-bottom: 1rem;
}

.btn--container {
    margin-bottom: .6rem;
    text-align: center;
    max-width: 755px;
    width: 100%;
}

.btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
    width: 100%;
}

.btn-primary {
    color: #f7f7f2;
    background-color: #4CABC1;
    border-color: #4CABC1;
}

.btn-primary:hover {
    color: #4CABC1;
    background-color: #f7f7f2;
    border-color: #4CABC1;
    cursor: pointer;
}

.btn-warning {
    color: #f7f7f2;
    background-color: #eb1e26;
    border-color: #eb1e26;
}

.btn-warning:hover {
    color: #eb1e26;
    background-color: #f7f7f2;
    border-color: #eb1e26;
    cursor: pointer;
}

a.btn {
    margin-bottom: 0.6rem;
}

.btn {
    display: block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1.05rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-decoration: none;
}

.email-extra-pad {
    margin: 10px 0;
}

.info--container {
    margin: 20px;
}

.info--title {
    font-weight: bold;
    font-size: 20pt;
}

.auth--text-content > p {
    margin: 20px
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 5px;
    padding: 10px;
}

#search-for-users-input {
    width: calc(100% - 100px);
    float: left;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.account--roles-list--user-search--bar {
    display: block;
    padding: 5px;
    margin: 5px 0;
    height: 25px;
}

.account--roles-list--user-search--bar > .btn--container {
    display: inline-block;
    float: right;
    width: 80px;
}

.user--checkboxes--container {
    margin-bottom: 20px;
}

.user--checkbox-label {
    display: inline-block;
    width: 90%;
    padding: .75rem 0;
}

.user--checkbox--container, .account--roles-list--item {
    border: solid 1px rgba(0,0,0,.125);
    border-bottom-width: 0;
    padding: 0 1.25rem;
}

.first-user--checkbox--container, .first-account--roles-list--item {
    border-top-left-radius: .125rem;
    border-top-right-radius: .125rem;
}

.last-user--checkbox--container, .last-account--roles-list--item {
    border-bottom-left-radius: .125rem;
    border-bottom-right-radius: .125rem;
    border-bottom-width: 1px;
}

.account--roles-list--item > label {
    width: 90%;
    display: inline-block;
    padding: .75rem 0;
}

.user--checkbox--container > input {
    transform: translateY(-20px);
}
.bad-pw {
    color: #ff0505;
}

.form-popup {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
    display: none;
    width: 100%;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


