.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
}

a {
    color: black !important; /* stylelint-disable-line declaration-no-important */

    &:hover {
        color: black !important; /* stylelint-disable-line declaration-no-important */
        text-decoration: none;
    }
}

.dropdown-item {
    background-color: white !important; /* stylelint-disable-line declaration-no-important */

    &:hover {
        color: white !important; /* stylelint-disable-line declaration-no-important */
        background-color: black !important; /* stylelint-disable-line declaration-no-important */
    }
}

a.btn.login-identityprovider-btn {
    padding: 15px;
    display: block;
    color: black;
    background-color: white;
    margin-bottom: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    width: 100%;
    font-size: 1rem;
}

.overlay.light {
    background: rgba(255, 255, 255, 0.5);
}

.overlay .cancel {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
}

.cancel {
    background: none;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.loginpopup {
    z-index: 100;
    margin: 75px auto;
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 600px;
    max-width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .5rem;
    outline: 0;
}

.light .loginpopup {
    border-color: #aaa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.loginpopup h2 {
    margin-top: 0;
    color: #666;
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

.loginpopup .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    opacity: 0.8;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #666;
}

.loginpopup .close:hover {
    opacity: 1;
}

.loginpopup .content {
    max-height: 400px;
    overflow: auto;
}

.loginpopup p {
    margin: 0 0 1em;
}

.loginpopup p:last-child {
    margin: 0;
}


div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 {
    max-width: 100%;
    flex: 0 0 100%;
}

div#unigraz.loginpopup div div.row.justify-content-center
div.col-xl-6.col-sm-8 div.card div.card-block h1.h2.card-header.text-center {
    margin: 0 0 1rem 0;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 {
    max-width: 100%;
    flex: 0 0 100%;
    width: 100%;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 {
    max-width: 100%;
    flex: 0 0 100%;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 {
    max-width: 50%;
    flex: 0 0 50%;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

#login > div {
    margin-bottom: 0.8rem;
}

#username {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
}

#password {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 div.mt-2 p {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: .5rem;
    margin-top: 2rem;
    padding: 1rem 0 .5rem 0;
    border-top: 1px solid #dee2e6;
}

#login button {
    cursor: pointer;
}

#guestlogin button {
    cursor: pointer;
}

#loginbtn {
    padding: 15px;
    display: block;
    color: white;
    background-color: black;
    margin-bottom: 15px;
    border-style: none;
    width: 100%;
    font-size: 1rem;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 div.forgetpass.mt-3 p a {
    background-image: none;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 div.mt-3 {
    margin-top: 0.5rem;
}

div#unigraz.loginpopup div div.row.justify-content-center div.col-xl-6.col-sm-8 div.card
div.card-block div.card-body div.row.justify-content-md-center div.col-md-5 div:nth-child(2) {
    display: none;
}

#guestlogin button {
    padding: 15px;
    display: block;
    color: black;
    background-color: white;
    margin-bottom: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    width: 100%;
    font-size: 1rem;
}