.login-pf body {
	display: grid;
	grid-template-rows: 1fr auto;
	grid-template-columns: 1fr;
	background: var(--IdemiaBodyBackground);
	color: var(--IdemiaBodyColor);
}

#password-icon {
	cursor: pointer;
}
.idemia-login {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%; 
	height: 100%;
	position: relative;
	background-repeat: no-repeat;
	background-position: 50% 40%;
	background-size: auto;
	background-image: var(--IdemiaLoginBackground);
}

.idemia-card {
	position: relative;
	background: var(--IdemiaCardBackground);
  color: black;
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);
	transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 400px;
	border: var(--IdemiaCardBorder);
	border-radius: 10px;
	padding: 50px 40px 40px;
	min-height: 375px;
	margin-bottom: auto;
}

.idemia-header {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.idemia-header h1 {
	position: relative;
	font-size: 36px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--IdemiaLoginTitle);
	align-self: center;
	margin: 60px 0 10px;
	font-weight: 800;
	display: none;
}

.idemia-header h1:before,
.idemia-header h1:after {
	color: var(--IdemiaHeaderBarPillars);
	font-weight: 300;
	font-size: 110px;
	position: absolute;
	top: 0;
	line-height: 34px;
	transform: scale(0.6,1);
	height: 64px;
}

.idemia-header h1:before {
	content: '\2039';
	left: -40px;
}

.idemia-header h1:after {
	content: '\203A';
	right: -40px;
}

.idemia-header #kc-locale {
	position: absolute;
	right: 40px;
	top: 50px;
}

.idemia-links {
	display: flex;
  justify-content: center;
	margin-top: 10px;
	align-items: baseline;
}
.idemia-links a {
	font-size: 12px;
  color: var(--IdemiaLoginLinksColor);
	text-decoration: none;
}
.idemia-links a:hover {
	color: var(--IdemiaLoginLinksColor)!important;
}
/*.idemia-links span:not(:last-child)::after {
	content: "";
	width: 1px;
	height: 14px;
	position: relative;
	background: var(--IdemiaLoginLinksColor);
	top: 2px;
	right: 0;
	display: inline-block;
	margin-left: 12px;
	margin-right: 10px;
}*/

.verticalBarLogin {
    color: var(--IdemiaLoginLinksColor);
}

.spanPolicyLogin {
    display: table-cell; text-align: center; width: 50%;
}

.identity p {
	color: var(--IdemiaDarkGrey100);
	font-size: 10px;
	margin: 20px auto 50px auto;
    text-align: center;
}

.identity__logo {
	width: 178px;
	height: 46px;
	margin: 0 auto;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-image: var(--IdemiaLoginLogo);
}

.law-violations {
	max-width: 70%;
	margin: 0 auto;
}
.law-violations p {
	font-size: 12px;
	line-height: 1.4;
	color: red;
}
	
.alert {
	position: absolute;
	top: 10px;
	right: 10px;
}

@media screen and (max-width: 768px) {
	#kc-header {
		display: none;
	}
}
#kc-header {
  display: flex;
  align-items: center;
  justify-content: center;
	margin-bottom: 30px;
	margin-top: auto;
}
#kc-header div {
	color: var(--IdemiaBrandColor);
	position: relative;
	font-size: 24px;
	line-height: 1;
	margin: 0 15px;
	font-weight: 500;
}
#kc-header div sup {
	position: relative;
	font-size: 40%;
	line-height: 0;
	vertical-align: baseline;
	top: -1.2em;
}

#kc-header div:before,
#kc-header div:after {
	color: var(--IdemiaHeaderBarPillars);
	font-weight: 300;
	font-size: 55px;
	height: 30px;
	position: absolute;
	line-height: 24px;
	transform: scale(0.6, 1);
}

#kc-header div:before {
	content: '\2039';
	left: -20px;
}

#kc-header div:after {
	content: '\203A';
	right: -20px;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 0;
    border: var(--IdemiaCardBorder);
		border-radius: 5px;
}

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

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

#kc-locale ul li a:hover {
    color: #fff;
    background-color: var(--IdemiaButtonHover);
}

#kc-locale ul li:first-child a:hover {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

#kc-locale ul li:last-child a:hover {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

#kc-locale-dropdown a {
    color: var(--IdemiaLoginLinksColor);
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
		text-decoration: none;
		font-size: 14px;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px 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-content {
    width: 100%;
}

#kc-error-message {
	border: 1px solid var(--IdemiaError);
	border-radius: 5px;
	padding: 10px;
}

#kc-error-message p {
	font-size: 14px;
	color: var(--IdemiaError);
	margin: 0;
	text-align: center;
}

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

#kc-info {
	border: 1px solid var(--IdemiaDefaultPurple);
	margin-top: 15px;
	padding: 5px;
	border-radius: 5px;
}

#kc-info-wrapper {
	font-size: 13px;
	text-align: center;
	font-weight: 300;
	color: var(--IdemiaDefaultPurple);
}

#kc-info-wrapper-msg {
	font-size: 13px;
	text-align: center;
	font-weight: 300;
	color: var(--IdemiaDefaultPurple);
}


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

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

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

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

.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-info-wrapper-msg {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        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: 20px;
}

#kc-form-buttons input {
	text-transform: uppercase;
  font-weight: 600;
}

.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;
}

::-ms-reveal {
    display: none;
}

.custom-login-field-class {
    margin-top: -20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: unset;
    width: 295px;
    padding: 2px 15px 0 0;
}

.idemia-field-focused ~ .custom-login-field-class.idemia-field-label {
    line-height: 14px;
    margin: -45px 0;
}

.tooltip {
    position: relative;
    display: inline-block;
}
  
.tooltip .tooltiptext {
    visibility: hidden;
    text-align: center;
    width: auto;
    padding: 5px 10px 2px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 10000;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    background: var(--IdemiaBodyBackground) !important;
    border: var(--IdemiaCardBorder);
    font-size: 14px !important;
    color: var(--IdemiaBodyColor) !important;
    word-break: break-word;
}
  
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}