.dib-alt-link {
  display: block;
  margin-top: 1rem;
}

.dib-message p {
  line-height: 1.3333;
  margin: 0 0 15px 0;
}

/* Keycloak
 * ------------------------------ */

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 20px;
    top: 30px;
    width: 200px;
    padding: 2px;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 1px 11px;
    color: #000 !important;
    border: 1px solid #fff;
    text-decoration: none;
    display:block;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
    border-color: #b3d3e7;
}

#kc-locale-dropdown a {
    color: #fff;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 5px;
}

a#kc-current-locale-link:hover {
    background-color: rgba(0,0,0,0.2);
}

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

/* TOTP */

ol#kc-totp-settings {
    margin: 0;
    padding: 0;
}

ol#kc-totp-settings li {
    margin-top: 1em;
}

ol#kc-totp-settings li:first-of-type {
    margin-top: 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 30px;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

@media (min-width: 768px) {
    #kc-locale {
        position: relative;
        width: 200px;
        left: -230px;
        text-align: right;
        z-index: 9999;
    }
}

@media (max-width: 767px) {
    #kc-locale {
        position: absolute;
        width: 200px;
        top: 10px;
        right: 0px;
        text-align: right;
        z-index: 9999;
    }
}

/* Defender?
 * ------------------------------ */

.defender-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #0085c3;
    cursor: pointer;
    font-size: 18px;
    padding: 3px 6px;
    z-index: 41000;
}

.defender-modal-close:hover {
    background:#cae8fe;
}

@media (max-width: 768px) {
    .username {
        width: 100% !important;
    }

    .modal-left {
        display: none !important;
    }

    .modal-right {
        width: 100% !important;
    }

    .modal-wrapper h1 {
        margin-top:0 !important;
        font-size: 2em !important;
    }

    .modal-wrapper h2 {
        font-size: 1.3em !important;
    }

    .platform-links img {
        height: 40px !important;
    }
}

@media (min-width: 768px) and (max-width: 1028px) {
    .modal-left img {
        height: 230px !important;
    }
}

@media (max-width: 1028px) {
    .platform-links {
        width: 100% !important;
        text-align: center;
    }
}

.username {
    width: 70%;
    margin: 0 auto;
}

.modal-wrapper {
    margin: 50px 30px;
    color: #777;
    float: left;
}

.modal-wrapper h1 {
    color: #007db8;
    margin-bottom: 30px;
    font-size: 2.4em;
}

.modal-wrapper h2 {
    color: #888;
    font-size:1.6em;
}

.modal-wrapper ul {
    margin-top: 30px;
    padding-left: 30px;
}

.modal-wrapper li {
    padding-bottom: 15px;
    list-style-type: none;
}

.modal-left img {
    height: 315px;
}

.modal-left {
    float: left;
    width:205px;
    margin-right: 30px;
    vertical-align: top;
    text-align:center;
    padding-top: 15px;
}

.modal-right {
    float: left;
    width: calc(100% - 250px);
    vertical-align: top;
}

.platform-links {
    width: calc(100% - 250px);
    float:left;
}

.platform-links img {
    display: inline-block;
    margin-right: 20px;
    margin-top: 20px;
    height: 50px;
}

#tokenresponse .cui-textbox {
    height: 32px;
    width: calc(100% - 95px);
}

#tokenresponse .cui-button.cui-button-medium {
    vertical-align: top;
}

#tokenresponse a {
    border-bottom: 1px dotted #fff;
}

#tokenresponse a:hover {
    cursor: pointer;
    border-bottom: 1px solid #fff;
    text-decoration: none;
}
