input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.login-pf body {
	background: #0a0f38;
}

#kc-cancel {
    margin-right: 10px;
    text-transform: uppercase;
}

#btns-cont{
    display: flex;
    flex-direction: row-reverse;
}

#background {
	background: url("../img/login-background.png") no-repeat center center;
    background-size: cover;
	flex: 1;
}

.login-pf-page {
	height: auto;
    min-height: 100vh;
	padding-top: 0;
	display: flex;
	font-family: Roboto, sans-serif;
}


.logo {
	background: url("../img/login-logo.png") no-repeat center center;
	height: 90px;
	width: 215px;
}

#kc-topLine{
    display: flex;
    align-self: center;
}

.alert-warning {
    background-color: #fdf2e5;
    border-color: #ffe0b2;
    color: #757575;
}

.login-pf-page .form-control {
    height: 56px;
    font-size: 14px;
    border: 1px solid #e0e4e8;
    box-shadow: none;
    border-radius: 4px;
	padding: 0 14px;
}

#kc-totp-settings-form{
    display: flex;
    flex-direction: column;
    position: relative;
}

#password-container {
    margin-bottom: 0;
}

.password-label {
    margin-top: 10px !important;
}

.form-group label{
    font-size: 12px;
    font-weight: 100;
    color: #424242;
    position: relative;
    margin: 0;
    top: 10px;
    left: 10px;
    padding: 0 4px !important;
	box-shadow: inset 0 15px white;
	z-index: 1;
	letter-spacing: 0.4px;
}

.form-group label[for="userLabel"],
.form-group input[name="userLabel"] {
    display: none;
}
.form-group input{
    font-size: 16px !important;
}
.form-group input::placeholder {
    color: #8092a9;
}

.form-control:hover {
    border-color: #0b0000;
}

.form-control:focus {
    border-width: 2px;
    border-color: #4a38d6;
}

.form-control{
    background-color: white !important;
}

.error-login label {
    color: #ed5350;
}

.error-login input {
    border-color: #ed5350 !important;
}

#kc-page-title {
    display: flex;
    color: #424242;
    font-weight: 400;
    margin-top: 12px;
    margin-bottom: 4px;
    flex-direction: column;
    align-items: center;
	font-size: 14px;
}
#kc-page-sub-title {
    display: flex;
    color: #424242;
    font-size: 13px;
	align-self: inherit;
}

#kc-page-back-btn {
	position: fixed;
	top: 40px;
	left: 40px;
}

.login-pf-page .card-pf p {
    color: #757575;
    text-align: left;
	align-self: flex-start;
    font-size: 13px;
}

.login-pf-page .card-pf #kc-error-message p {
    align-self: auto;
}

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

.btn-default {
    right: 0;
    width: 140px;
    height: 40px;
    background: inherit;
    background-color: rgba(2, 136, 209, 1);
    border: 0 none;
    border-radius: 5px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 400;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
}

.btn.btn-primary.btn-block.btn-lg{
    border-width: 0;
    right: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
}

.btn-lg{
    left: 0;
    top: 0;
    width: 140px;
    height: 40px;
    background: inherit;
    background-color: rgba(2, 136, 209, 1);
    border: 0 none;
    border-radius: 5px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: white;
}

.alert-error {
    padding: 8px 0 0 18px;
    color: #ed5350;
}

#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 {
    color: #4a38d6;
    font-size: 16px;
    font-weight: 500;
}

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

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo.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-content {
    width: 100%;
}

/* #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 */

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 */

#icon-lock {
    margin: 0px 6px 0 0;
    width: 16px;
    height: 16px;
}

#line-or-line {
    display: flex;
    flex-direction: row;
    color: #8092A9;
}

#line-or-line::before {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #e0e4e8;
    margin: auto 16px auto auto;
}

#line-or-line::after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid #e0e4e8;
    margin: auto auto auto 16px;
}

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

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

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

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: white !important;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:focus {
    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; }

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

.login-pf-settings {
    margin-top: 48px;
}

.login-pf-settings-providers {
    flex-direction: column;
    margin-top: 26px;
}

#kc-passwd-requirements {
    font-size: 14px;
    display: flex;
    flex-direction: row;
    background-color: #fff4e5;
    padding-left: 16px;
    padding-top: 14px;
}

.pficon {
    font-size: 25px;
}

#kc-passwd-requirements-title {
    padding-left: 14px;
    color: #757575;
}

#kc-passwd-requirements-content {
    color: #757575;
}

#kc-form-forgot-password {
    display: flex;
    align-items: flex-end;
}

.forgot-password-providers {
    margin: 0 12px 12px;
}

#kc-form-buttons {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
}

#kc-form-buttons .btn {
	width: 96px;
	height: 36px;
	font-size: 17px;
	background: #4a38d6;
    border-radius: 20px;
	text-transform: none;
}

#kc-form-buttons-providers .btn {
    height: 32px;
	font-size: 14px;
	background: white;
    border-radius: 20px;
    color: #4a38d6;
    border: 1px solid #4a38d6;
}

#kc-social-providers a {
    display: flex;
    height: 32px;
    font-size: 14px ;
    background: #4a38d6 ;
    border-radius: 20px ;
    justify-content: center;
    align-items: center;
}

#kc-form-version {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 0;
}

#kc-form-version-text {
    display: flex;
    color: #424242;
    font-size: 13px;
    margin-bottom: 0;
}

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

.card-pf {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  height: 100%;
  padding: 0 96px !important;
  margin: 0;
  width: 690px;
  max-width: 690px;
  border-top: 0;
  box-shadow: 0 0 0;
  min-height: 100vh;
  overflow: hidden;
}

.card-pf-providers {
    padding: 0 170px !important;
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}
#kc-content-wrapper .row {
  margin-left: 0;
  margin-right: 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;
}
#kc-error-message .instruction {
    font-size: 14px;
    font-weight: bold;
    font-family: Roboto, sans-serif;
    color: #8092a9;
    margin-top: 40px;
}


@keyframes rotateAnimation {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes fadeAnimation {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    70% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#handSvg {
    align-self: center;
    flex: auto;
    animation: rotateAnimation 1.8s infinite;
}

#handSvg path:nth-child(2),#handSvg path:nth-child(3),#handSvg path:nth-child(4),#handSvg path:nth-child(5) {
    animation: fadeAnimation 1.8s infinite;
}

#circleBackground{
    width: 200px;
    height: 200px;
    background-color: #FAFAFC;
    display: flex;
    border-radius: 50%;
    margin-top: 40px;
    margin-bottom: 40px;
}
#kc-error-message{
    display: flex;
    flex-direction: column;
    place-items: center;
}
#button_signIn{
    display: block;
    text-transform: initial;
    border-radius: 16px;
    background-color: #4a38d6;
    color: white;
    text-align: center;
    width: 90px;
    height: 40px;
    padding: 8px;
    box-shadow: 0 5px 8px #00000021;
}

#button_signIn:hover{
    text-decoration: none;
    box-shadow: 0 3px 4px #00000021;
}
