:root {
    --keycloak-logo-url: url('../img/keycloak-logo-text.png');
    --keycloak-bg-logo-url: url("../img/keycloak-bg.png");
    --keycloak-logo-height: 63px;
    --keycloak-logo-width: 300px;
}

.pf-v5-c-login__container {
    grid-template-columns: 52rem;
    grid-template-areas: "header"
                         "main"
}

.pf-v5-c-login__main-body{
	padding-left:3rem;
	
}

.left_logo{
	height:404.16px;
	width:410px;
	float:left;
	background-color: rgba(0, 0, 0, 0.7);
	padding:0px;
	border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.right_logo{
	height:404.16px;
	width:410px;
	float:right;
	background-color: rgba(255, 255, 255, 1);
	padding:0px;
	align-content:center;
	border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.row{
	--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
	justify-content: center;
}

.login-container{
	--bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
	
}

.login-pf body {
    background: var(--keycloak-bg-logo-url) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
}
.pf-v5-c-login__main{
	width:32rem;
}

div.kc-logo-text {
    background-image: var(--keycloak-logo-url);
    height: var(--keycloak-logo-height);
    width: var(--keycloak-logo-width);
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto;
}

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

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

div.kcFormGroupClass{
	background-color:none;
}

main.pf-v5-c-login__main{
	background-color:rgba(255, 255, 255, 0);
	box-shadow: 0px 0px; 
	padding-left:3.5rem;
}

.pf-v5-c-login__main {
    width: 41rem;
}

div.pf-v5-c-login__main-header{
	padding-top:0px;
	padding-left:0px;
	text-shadow:0 1px 8px rgba(0,0,0,0.6);
}

.username{
	display: block;
    width:313.5px;
    padding: 0.5rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #adb5bd;
    border-radius: 0.375rem;
		height: 70px;
    line-height: 1.25;
	justify-self:center;
	margin-top:8px;
	margin-bottom:8px;
}

.password{
		display: block;
    width:313.5px;
    padding: 0.5rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #adb5bd;
    border-radius: 0.375rem;
    height: 70px;
    line-height: 1.25;
	justify-self:center;
	padding-top:8px;
	padding-bottom:8px;
}

.login_button{
	padding:0%;
}

.pf-v5-c-input-group {
	--pf-v5-c-input-group__item--offset: 0px !important;
	
}

input:-webkit-autofill {
	-webkit-text-fill-color:#000000;
	-webkit-box-shadow: 0 0 0px 1000px white inset;
}

.pf-v5-c-button.pf-m-control  {
    display: none !important;
}

.forgot_Pass_Text{
	padding-left:7.5rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

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

.pf-v5-c-form__label-text{
	color:#808080;
}

.pf-v5-c-form {
	--pf-v5-c-form--GridGap:0.2rem;
}

.pf-v5-c-login{
	align-items:center;
}

/* 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 transparent transparent transparent;
}

.pf-v5-c-form-control {
	--pf-v5-c-form-control--after--BorderBottomColor: transparent;
	--pf-v5-c-form-control--before--BorderLeftColor: transparent;
--pf-v5-c-form-control--before--BorderRightColor: transparent;
--pf-v5-c-form-control--before--BorderTopColor: transparent;  	
}

.pf-v5-c-button.pf-m-control{
	--pf-v5-c-button--after--BorderColor:transparent;
}

.row{
	    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.col {
  flex: 1 0 0%;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

#kc-login{
	background-image:linear-gradient(to right, #990000 , #CC6600);
	font-size:22px;
	padding:0px;
	margin-top:15px;
	font-weight:bold;
	height:2.5rem;
	border-radius:8px;
	box-shadow:0 1px 8px rgba(0,0,0,0.6);
}

#kc-recovery-codes-list {
    columns: 2;
}

#certificate_subjectDN {
    overflow-wrap: break-word
}

#kc-page-title{
	color: white;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    white-space: normal;
    color: var(--pf-v5-global--Color--light-100) !important;
    text-align: center;
	margin-bottom:0px;
}

#keycloak-bg{
	overflow:hidden;
}

hr {
    margin-top: var(--pf-v5-global--spacer--sm);
    margin-bottom: var(--pf-v5-global--spacer--md);
}



@media (min-width: 768px) {
    div.pf-v5-c-login__main-header {
        grid-template-columns: 70% 30%;
    }
}