.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    background-color: #508549 !important;
    background-image: none;
    border: none !important;
    border-radius: 100px;
    box-shadow: none !important;
    color: #fff !important;
    height: 35px;
    padding: 0 15px;
    text-shadow: none !important;
    transition: background-color .08s ease-in-out;
}

.btn-default:hover, .btn-default:active, .btn-default:visited, .btn-default:focus,
.btn-primary:hover, .btn-primary:active, .btn-primary:visited, .btn-primary:focus,
.btn-success:hover, .btn-success:active, .btn-success:visited, .btn-success:focus,
.btn-info:hover, .btn-info:active, .btn-info:visited, .btn-info:focus,
.btn-warning:hover, .btn-warning:active, .btn-warning:visited, .btn-warning:focus,
.btn-danger:hover, .btn-danger:active, .btn-danger:visited, .btn-danger:focus, .btn:focus, .btn:active:focus {
    background-color: #417839 !important;
    color: #fff !important;
    transition: background-color .08s ease-in-out;
    outline: none;
}

.login-pf body {
    background-image: none !important;
    background: #ffffff;
    display: flex;
    height: 100vh;
    justify-content: center;
    min-height: 600px;
    position: relative;
}

body:before {
    background-size: cover;
    background-color: #c9c9c9;
    bottom: 0px;
    content: "";
    left: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#kc-locale ul {
    background-color: #fff;
    border: solid 1px #bbb;
    display: none;
    list-style: none;
    min-width: 100px;
    padding: 2px 0;
    position: absolute;
    right: 0;
    top: 20px;
}

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

#kc-locale ul li a {
    color: #000 !important;
    display: block;
    line-height: 20px;
    padding: 5px 14px;
    text-decoration: none;
}

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

#kc-locale-dropdown a {
    background: 0 0;
    color: #8E8E8E;
    padding: 0 15px 0 0;
}

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

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

a#kc-current-locale-link::after {
    bottom: 1px;
    color: #8E8E8E;
    content: "\25bc";
    font-size: 10px;
    margin-left: 3px;
    position: relative;
}

.login-pf .container {
    padding-top: 40px;
}

.login-pf a:hover {
    color: #111;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.png);
    background-repeat: no-repeat;
    height: 63px;
    margin: 62px auto 0;
    width: 300px;
}

div.kc-logo-text {
    background-image: url(../img/dream-ethiopia.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    height: 195px;
    background-size: contain;
}

div.kc-logo-text-bottom {
    background-image: url(../img/logo-odyssey-powered-by.svg);
    background-position: center center;
    background-repeat: no-repeat;
    height: 36px;
    background-size: contain;
    margin-bottom: -10px;
    margin-top: 15px;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    text-transform: uppercase;
    white-space: normal;
}

#kc-content {
    width: 100%;
}

#kc-attempted-username {
    font-family: inherit;
    font-size: 20px;
    font-weight: normal;
    padding-right: 10px;
}

#kc-username {
    text-align: center;
}

#kc-webauthn-settings-form {
    padding-top: 8px;
}

#kc-info-wrapper {
    font-size: 12px;
}

#kc-form-options span {
    display: block;
}

#kc-form-wrapper label {
    color: #8e8e8e;
    font-weight: 500;
}

#kc-form-wrapper .visibility {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0.54;
    border: none;
    right: 10px;
    top: 6px;
}

#kc-form-wrapper .visibility:hover {
    cursor: pointer;
    opacity: 0.4;
}

#kc-form-options .checkbox {
    color: #72767b;
    margin-top: 0;
}

#kc-terms-text {
    width: 800px;
    margin-bottom: 20px;
}

.subtitle {
    color: #909090;
    margin-top: 30px;
    text-align: right;
}

.required {
    color: #CB2915;
}

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

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-height: 150px;
    max-width: 150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

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

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

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

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

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

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

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.kc-login-tooltip {
    display: inline-block;
    position: relative;
}

.kc-login-tooltip .kc-tooltip-text {
    background-color: black;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    color: #fff;
    left: 160%;
    min-width: 130px;
    opacity: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    top: -3px;
    transition: opacity 0.5s;
    visibility: hidden;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    opacity: 0.7;
    visibility: visible;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    border-color: transparent black transparent transparent;
    border-style: solid;
    border-width: 5px;
    content: " ";
    margin-top: -5px;
    position: absolute;
    right: 100%;
    top: 15px;
}

.zocial,
a.zocial {
    background: #f5f5f5;
    border-radius: 0;
    border: 0;
    color: #72767b;
    font-size: 14px;
    font-weight: normal;
    text-shadow: none;
    white-space: normal;
    width: 100%;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    font-size: 14px;
    padding: 7px 10px;
}

.zocial:hover {
    background: #fff !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;
    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}


/*@media (min-width: 1px) {*/
#kc-container-wrapper {
    position: absolute;
    width: 100%;
}

.login-pf .container {
    padding-right: 80px;
}

#kc-locale {
    position: relative;
    text-align: right;
    z-index: 9999;
}

#kc-container-wrapper {
    bottom: 12%;
}

#kc-form-buttons {
    display: flex;
    justify-content: center;
}

.login-pf-page .login-pf-signup {
    margin: 10px 0 0 !important;
}

.login-pf-page {
    margin-top: 50px;
    padding-top: 0;
    position: relative;
}

.login-pf-page .login-pf-brand {
    margin-top: 20px;
    max-width: 360px;
    width: 40%;
}

.login-pf-page .login-pf-header {
    margin-bottom: 10px !important;
}

.card-pf {
    background-color: #fff;
    border-top: 0;
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.62);
    margin: 0 auto;
    padding: 0 20px;
    width: 350px;
}

.login-pf-page .card-pf {
    padding: 20px 20px 20px 20px;
    width: 100%;
}


.login-pf-page .login-pf-signup {
    color: #8e8e8e;
    font-size: 15px;
}

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.login-pf-page .login-pf-social-section:first-of-type {
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
    padding-right: 39px;
}

.login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
}

.login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
}

.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 0;
    background: #fff;
    transition: color .12s ease-in-out;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

.login-pf-page .btn-primary {
    margin-bottom: 10px;
    margin-top: 0;
    min-width: 100px;
}

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

#kc-form-login div.relative {
    position: relative;
}

#kc-back {
    margin-top: 5px;
}

form#kc-select-back-form div.login-pf-social-section {
    border-left: 0px;
    padding-left: 0px;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.66666667;
    color: #363636;
    background-color: #fff;
}

/* Keycloak 26: restore bottom margin  */
.form-group {
    margin-bottom: 15px
}

/* Keycloak 26: restore vertical form layout (label above input) */
.form-group label.control-label {
    display: block;
    float: none;
    padding-top: 0;
    text-align: left;
    width: 100%;
}

/* Keycloak 26: fix .row being rendered as flex, which shrinks #kc-form-wrapper to ~50% */
#kc-form.row {
    display: block;
}

#kc-form-wrapper {
    width: 100%;
}

/* Keycloak 26: ensure eye-icon wrapper is a proper positioning context */
#kc-form-login div.relative {
    display: block;
    position: relative !important;
    width: 100%;
}

/* Keycloak 26: remove unwanted link underlines */
#kc-locale-dropdown a,
#kc-form-wrapper a {
    text-decoration: none !important;
}

/* Keycloak 26: restore side-by-side layout for remember me / forgot password */
.login-pf-settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Keycloak 26: restore input box appearance (font-size, padding, width match KC11/patternfly spec) */
#kc-form-login .form-control {
    font-size: 12px;
    padding: 2px 6px;
    width: 100%;
    height: 36px;
    box-sizing: border-box;
}
