/*.login-pf body {
    background: url("../img/keycloak-bg.png") no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}
*/

.login-pf body {
background: linear-gradient(to right, #b6b6b6, #6c6c6c);
    background-attachment: fixed;

    background: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a7a7a7' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"), -webkit-linear-gradient(bottom, #b6b6b6, #6c6c6c);
    background: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a7a7a7' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"), -moz-linear-gradient(bottom, #b6b6b6, #6c6c6c);
    background: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a7a7a7' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"), -o-linear-gradient(bottom, #b6b6b6, #6c6c6c);
    background: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a7a7a7' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"), -ms-linear-gradient(bottom, #b6b6b6, #6c6c6c);
    background: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23a7a7a7' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(to top, #b6b6b6, #6c6c6c);
    height: 100%;
}

.login {
        width: 33% !important;
}

a {
    color: #1f2851;
}
a:hover {
    color: #ffffff!important;
}
.btn-primary{
    background-color: #666c82 !important;
    background-image: linear-gradient(to bottom, #cacbd2 0%, #6d6e73 100%) !important;
    border-color: #a6a9b4 !important;
}

.btn-primary:hover{
    background-image: none;
    background-color: #666c82;
    border-color: #ffffff !important;
}


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

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

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

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

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

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

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

a#kc-current-locale-link {
    display: block;
    padding: 0 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;
}

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

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

#kc-logo {
    width: 100%;
}

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

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

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

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

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

#kc-header-wrapper img {
    width: 180px;
}

#kc-header-wrapper > div {
    color: #ededed !important;
}

#kc-content {
    width: 100%;
}

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

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

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

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

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

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

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

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

#kc-registration {
    margin-bottom: 15px;
}

/* TOTP */

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

.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-width:150px;
    max-height: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;
    padding: 0;
    margin: 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 {
    width: 100%;
    height: 8em;
}

/* 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{
    position:relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}

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

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

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !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: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

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

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

@media (max-width: 767px) {

    .login-pf body {
      background: white;
    }

    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
      font-size: 16px;
      font-weight: bold;
      padding: 20px 60px 0 0;
      color: #72767b;
      letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

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

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }

}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

#kc-form-buttons {
  margin-top: 40px;
}

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

.card-pf {
  background: #fff;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 500px;
  border-top: 0;
  box-shadow: 0 0 0;
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      padding: 20px 20px 30px 20px;
    }
}
@media (max-width: 767px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 0;
      margin-right: 0;
      padding-top: 0;
    }
    .card-pf.login-pf-accounts{
      max-width: none;
    }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .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;
}

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

.login-pf-page .btn-primary {
    margin-top: 0;
}

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

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

.login-pf-page .card-pf{
  margin-bottom: 10px;
}

#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-back {
    margin-top: 5px;
}

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


/* Custom */
@font-face {
    font-family: "Surt Demi Bold";
    src: url("../fonts/Surt/Surt Demi Bold/Surt-DemiBold.woff2") format("woff2"),
        url("../fonts/Surt/Surt Demi Bold/Surt-DemiBold.woff") format("woff");
}

@font-face {
    font-family: "Surt Light";
    src: url("../fonts/Surt/Surt Light/Surt-Light.woff2") format("woff2"),
        url("../fonts/Surt/Surt Light/Surt-Light.woff") format("woff");
}

html {
    background: rgb(41, 44, 44);
}

.login-pf body {
    background: url("../img/login-bg-dark.png") no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}

#kc-header {
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
}

#kc-header-wrapper {
    text-align: left;
    margin-top: 3vh;
    padding: 0 0 0 48px;
    font-size: 26px;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 0;
}

#kc-header-wrapper img {
    width: auto !important;
    height: 39px !important;
}

#notice-text {
    /*font-family: sans-serif;
    font-size: 15px;*/
    font-family: Verdana;
    font-size: 12px;
    padding: 0 48px 0 48px;
    margin-top: 3vh;
    text-align: right;
}

#kc-page-title {
    font-family: "Surt Demi Bold";
    font-size: 18px;
    color: #fff;
    text-align: left;
    margin: 0 !important;
}

#kc-page-content {
    margin-top: 20px;
}

#kc-form-wrapper .form-group {
    margin-bottom: 2vh;
}

#kc-form-wrapper.form-group label,
.form-group .control-label,
label.control-label {
    color: #efefed;
    font-weight: normal;
    font-family: Verdana;
    font-size: 12px;
    margin-bottom: 8px;
}

#kc-form-wrapper .form-group input,
.form-group .form-control,
input#totp {
    height: 3.7vh;
    min-height: 28px;
    padding-left: 16px;
    line-height: 3.7vh;
    background-color: #e1f6f9;
    border-bottom: 1px solid #A9AAAB;
}

#kc-form-wrapper .form-group input:focus,
.form-group .form-control:focus,
input#totp:focus {
    border-color: unset;
    border-bottom: 1px solid #2FD8EB;
    outline: 0;
    box-shadow: none;
    border-color: #bbb;
}

select option {
    background-color: #eff4f5;
}

#kc-username {
    align-items: center;
    display: flex;
    justify-content: center;
}

#kc-attempted-username {
    color: #efefed;
    font-weight: normal;
    font-family: Verdana;
    font-size: 18px;
    margin-bottom: 0;
}

a#reset-login {
    color: #e1f6f9;
}

a#reset-login:hover {
    color: #5aa7f7 !important;
}

#kc-info {
    margin: 6vh 0 0 0;
    padding: 0;
}

#kc-info-wrapper {
    color: #efefed;
}


/* forgot password label */
.form-group.login-pf-settings a,
#kc-content-wrapper .instruction a,
#kc-select-try-another-way-form a {
    color: #efefed;
    font-weight: normal;
    font-family: Verdana;
    font-size: 12px;
    margin-bottom: 8px;
}
.form-group.login-pf-settings a:hover,
#kc-content-wrapper .instruction a:hover,
#kc-select-try-another-way-form a:hover {
    text-decoration: none;
    color: #0099d3 !important;
}

#kc-select-credential-form .kc-select-credential-form .list-group-item {
    margin-bottom: 2vh;
}

.login-pf-page .card-pf {
    width: 25vw;
    min-width: 380px;
    max-width: none;
    margin: auto;
    padding: 0;
    background-color: transparent;
    margin-top: 12vh;
}

.login-pf-page .card-pf .alert {
    border-radius: 6px;
    margin-bottom: 2vh;
    padding: 11px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

.login-pf-page .card-pf .alert.alert-error {
    background-color: #ffffff;
}

.login-pf-page .card-pf .alert .kc-feedback-text {
    font-family: Verdana;
    color: #363636;
}

.alert .pficon {
    margin-right: 20px;
    position: unset;
}

.login-pf-settings a {
    font-size: 12px;
    font-family: Verdana;
}

#kc-content-wrapper .instruction,
.post-form-message {
    width: 600px;
    color: #c7c7c4;
    font-family: Verdana;
    font-size: 12px;
}

#kc-form-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5vh;
}

#kc-form-buttons-spacer {
    width: 100%;
    height: 4vh;
}

#kc-form-buttons input[type="submit"],
#kc-register-form .form-group button {
    width: 14vw;
    min-width: 140px;
    height: 5.2vh;
    min-height: 40px;
    background-color: #434545 !important;
    background-image: none !important;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 1.2px;
    font-family: "Surt Light";
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 5.2vh;
    outline: none;
}

#kc-form-buttons input[type="submit"]:hover,
#kc-register-form .form-group button:hover {
    background-color: #424141 !important;
}

#kc-form-buttons input[type="submit"]:focus,
#kc-register-form .form-group button:focus {
    border-bottom: none;
}

#kc-register-form .form-group button {
    width: 100%;
    margin-bottom: 2vh;
}




/* Custom done */