@font-face {
    font-family: 'Gotham';
    src: url('../fonts/gotham/Gotham-Ultra.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Iliad';
    src: url('../fonts/iliad/Iliad-Regular.ttf') format('ttf'),
    url('../fonts/iliad/Iliad-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Black.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

.login-pf body {
    position: relative; /* Required for the pseudo-element positioning */
    height: 100%;
}

label{
    color: white;
}   

/* Create a pseudo-element for the background image */
.login-pf body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
                    rgba(0, 0, 0, 0.5), 
                    rgba(0, 0, 0, 0.5)
                ),
                url("../img/image-bg-login.jpg") no-repeat center center fixed;
    background-size: 300%;
    z-index: -1;       /* Places the pseudo-element behind the content */
}

#login-header-image {
    background: url("../img/logo-freepro.svg");
    background-size: contain;
    width: 117px;
    height: 24px;
    margin-bottom: 30px;
}

.identity-providers-parent {
    display: flex;
    gap: 10px;
}

#forgot-password-link {
    margin-top: 20px;
}

#forgot-password-icon {
    background: url("../img/circle-question-mark.png");
    background-size: contain;
    width: 22px;
    height: 22px;
}

#forgot-password-text {
    flex: 1;
    text-align: left;
    font-family: 'Iliad';
    font-size: 15px;
    color: white;
    text-decoration-color: white;
}

.identity-provider-login-icon {
    background: url("../img/free.png");
    background-size: contain;
    width: 22px;
    height: 22px;
}

.identity-provider-login-text {
    flex: 1;
    text-align: left;
    font-family: 'Iliad';
    font-size: 15px;
    color: white;
    text-decoration-color: white;
}

.identity-provider-login-text:hover {
    color: white;
    text-decoration-color: white;
}

.form-group input{
    border: 1px solid transparent;
}

div.kc-logo-text {
    width: 198px;
    height: 64px;
    margin-bottom: 20px;
}
.pf-c-input-group input{
    background: transparent;
    color:black;
}

.kc-social-section hr {
    margin-bottom: 10px;
    border-color: #EEEEEE26;
}

.form-group .pf-c-input-group,
#username.pf-c-form-control {
    border: 0.79px solid #959CA3;
    padding: 2px;
    border-radius: 6px;
    box-shadow: 0px 2px 2px 0px #00000033;
    color: black;
    background: white;
    transition: border-color 0.2s ease; /* Smooth transition when focus changes */
}
.pf-c-input-group:focus-within {
    border-color: #AF0000; /* Change border color when input is focused */
  }

.form-group .pf-c-input-group:focus,
#username.pf-c-form-control:focus {
    border-color: #AF0000; /* Apply your solid color on focus */
}

#username.pf-c-form-control{
    height:43px;
    padding:10px;
    color:black;
}
.pf-c-input-group .pf-c-button.pf-m-control{
    border: 1px solid transparent;
}

.pf-c-form-control {
    --pf-c-form-control--hover--BorderBottomColor: #b5b5b5;
}

.pf-c-form-control:focus {
    --pf-c-form-control--BorderBottomColor: #b5b5b5;
}

input:focus-visible {
    outline: none;
}

.kc-realm-name{
    font-family: Iliad;
    font-size: 24.42px;
    font-weight: 350;
    line-height: 29.31px;
    letter-spacing: 0.5em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}
.card-pf{
    border-radius: 12px 12px 12px 12px;
    opacity: 0px;
    border-top: 0px;

}

#kc-page-title{
    font-family: Iliad;
    font-size: 25px;
    font-weight: 400;
    line-height: 28.75px;
    text-align: center;
    text-decoration-skip-ink: none;
    color:white;
}
#kc-page-subtitle {
    font-family: Iliad;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-decoration-skip-ink: none;
    color:white;
    margin-top: 10px;
    margin-left: 50px;
    margin-right: 50px;
}
.kc-realm-name {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}
.kc-realm-name::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    border-bottom: 1px solid #CC0000;
  }

#kc-form-buttons .pf-m-primary, #saveTOTPBtn{
    background: #CC0000;
    /* linear-gradient(283.79deg, color(display-p3 0.627 0.000 0.000) 0%, color(display-p3 0.800 0.000 0.000) 46.71%, color(display-p3 0.918 0.345 0.345) 100%); */
}


#kc-form-login #kc-form-buttons .pf-c-button{
    padding: 10px 16px 10px 16px;
    border-radius: 8px 8px 8px 8px;
}


#kc-form-login .pf-c-form__label{
    font-family: Iliad;
    font-size: 16px;
    font-weight: 325;
    line-height: 19.2px;
    text-align: left;
    padding-bottom: 12px;
}

.kc-logo-text{
    margin-bottom: 20px;
}

.login-pf-page .pf-c-button:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    content: "";
    border: none;
}

.pf-c-button.pf-m-control {
    background: transparent;
    border-color: rgba(230, 230, 230, 0.5);
}

.login-pf-page .login-pf-page-header {
    margin-bottom: 0px;
}

.pf-c-form-control[aria-invalid=true]{
    background-repeat: no-repeat!important;
}

ol#kc-totp-settings {
    margin: 0;
    padding: 25px;
    background:white;
    border-radius: 6px;
}
form#kc-totp-settings-form .form-group label{
    font-family: Iliad;
    font-size: 16px;
    margin-top: 10px;
}
form#kc-totp-settings-form .form-group input{
    border: 0.79px solid #959CA3;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0px 2px 2px 0px #00000033;
    background: transparent;
    color: white;
    transition: border-color 0.2s ease; /* Smooth transition when focus changes */
}

.login-pf body {
    background: black no-repeat center center fixed; 
    background-size: cover;
    height: 100%;
}

#instruction1{
    background: white;
    padding: 5px;
    font-size: Iliad;
    color: black;
}
#instruction1 a{
    color: red;
}
.alert-info{
    font-family: Iliad;
}

.alert-info .pf-c-alert__icon{
    color: #c81a19;
}
.pf-c-button{
    border-radius: 6px;
}
.login-pf-page{
    overflow: auto;
    height: 100%;
}
.login-pf-page .card-pf{
    border: 1px solid #161616;
    background: #161616;
    border-radius: 12px;
}
.forgot-password {
    color: red;
}
