/* 
 * Costum Login 
 */

 :root{
   /* Buttons & Oberer Rand */
    --pf-global--primary-color--100: #004873;
    --pf-global--link--Color:#004873;
    --pf-global--primary-color--200:#004873;
    /* Card-Hintergrund */
    --background: #F2F2F2;
    --secondBackround: #FFFFFF;
    
    /* Anmeldebutton-Seperator */
    --SeperatorColor: #F2F2F2;
    
    /*Schatten*/
    --ShadowColor: #00000059;

    /* Schrift */
    --textColor: #2C2D36;
    --textColor_a: #004873;
    --pColor:#2C2D36;
    --pf-c-form__helper-text--Color: #2C2D36!important;

    /*Errors*/
    --pf-c-form__helper-text--Color: #7e0000;
    --pf-global--danger-color--200:#7e0000;
    --pf-c-form--m-error--Color:#7e0000;
    --pf-c-form__helper-text--Color: #E60000;
    
    /*HoverColor*/
    --linkHover:#007DC7;
    --buttonHover:#007DC7;

}

body {
    font-family: "Fira Sans",Helvetica,Arial,sans-serif;
    color: var(--textColor);
    font-size: 16px!important;
}

.login-pf-page-header{
    padding-top:2rem;
}

.brandingLogo {
    background-position: center;
    background-repeat: no-repeat;
    margin: 3px 10px 5px;
    background-image: url(../img/logo_itech_client.svg);
    min-height: 48px;
    margin-bottom: 14px;
}

.login-pf-header {
    margin-bottom: 0px;
    height: 92px;
    justify-content: center;
    text-align: center;
    font: normal normal normal 32px/38px Fira Sans,Helvetica,Arial,sans-serif;
    letter-spacing: 0px;
    background-color: var(--secondBackround);
    padding: 0px 27px;
}

h1#kc-page-title {
    font: normal normal normal 32px/38px Fira Sans,Helvetica,Arial,sans-serif;
}

#kc-content {
    width: 100%;
    padding: 8px 27px 27px 27px;
    background-color: var(--background);
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

#kc-info-wrapper {
    font-size: 13px;
    padding: 15px 35px;
    background-color: var(--background);
    color:--textColor_a;
}

.card-pf {
    border-top:24px solid var(--pf-global--primary-color--100);
    border-radius: 24px 24px 24px 24px;
    max-width: 400px;
    color: var(--textColor);
    box-shadow: 0 0.5em 1em var(--ShadowColor);
    background: var(--background);
}

.login-pf{
    background: none;    
}

.login-pf-page .card-pf {
    padding: 0px;
}

.login-pf-page .card-pf p{
    color:var(--pColor);
}

.login-pf body {
    background: var(--background);
    background-size: cover;
    height: 100%;
}

/* Überschreibung notwendig - https://github.com/keycloak/keycloak/issues/11963 */
.login-pf-page .login-pf-header {
    margin-bottom: 0px;
    height: 92px;
    justify-content: center;
    text-align: center;
    font: normal normal normal 32px/38px Fira Sans,Helvetica,Arial,sans-serif;
    letter-spacing: 0px;
    background-color: var(--secondBackround);
}

/* Platz für Tastatur reservieren */
@media screen and (max-width: 767px) {
    .login-pf-page {
        padding-bottom: 30vh;
    }
}


/*Settings für den Footer*/
.footercard{
    padding-top: 20px;
    font: normal normal 300 16px/19px Fira Sans,Helvetica,Arial,sans-serif;
    letter-spacing: 0px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    height:100%;
    flex-wrap: wrap;
}
/* Abstand Footeritems prüfen */
.footeritem{
    padding-left: 5px;
    padding-right: 5px;
}

/* .pf-c-form__helper-text.pf-m-error {
    color: var(--textError);
}

.required {
    color: var(--textError);
} */


.pf-c-button.pf-m-block{
    height: 48px;
    border-radius: 24px;
}

.pf-c-form-control:hover, .pf-c-form-control:focus {
    border-bottom-color: var  (--pf-global--link--Color);
    border-bottom-width: 1px;
}

.pf-c-form-control:focus-visible{
    outline:2px solid var(  --pf-global--link--Color);
}

.pf-c-form-control:not(textarea) {
    border-radius: 12px;
    border-color: var(--textColor);
}

.pf-c-input-group {
    background-color: unset;
}
.input-group-left-member {
    border-color: var(--textColor) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: unset !important;
    border-bottom-left-radius: 12px !important;
    border-top-left-radius: 12px !important;
    display: flex;
    align-items: center;
}
.input-group-left-member::after {
    border: unset !important;
}
.input-group-right-member {
    border-color: var(--textColor) !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: unset !important;
    border-bottom-right-radius: 12px !important;
    border-top-right-radius: 12px !important;
    display: flex;
    align-items: center;
}
.input-group-right-member::after {
    border: unset !important;
}

.pf-m-primary {
    background-color: var(  --pf-global--link--Color);
}

.pf-m-primary:hover {
    background-color: var(--buttonHover);
}

a {
    color: var(--textColor_a);
}

a:focus, a:hover {
    color: var(--linkHover);
    text-decoration: none;
}

a:focus{
    text-decoration: underline;
    outline: none;
}

.login-pf a:hover{
    color: var(--linkHover);
}


.pf-c-form__helper-text.pf-m-error{
    font-size: 14px;
    margin-left:9px;
}

/* TryanotherWay */
.tryanotherWay{
    display:flex;
    justify-content: center;
    padding-top: 20px;
    margin-bottom: 0px!important;
}

.tryanotherWayForm{
    margin-bottom: 0px!important;
}

.select-auth-box-icon {
    display: flex;
    justify-content: center;
    margin-right: 1rem;
    margin-left: 5px;
}

.smsicon{
    content: url(../img/icon_sms.svg);
    max-height: 28px;
    margin-top: 6px;
    margin-left: 3px;
}

.emailicon{
    content: url(../img/icon_envelope-regular.svg);
    max-height: 28px;
    margin-top: 6px;
    margin-left: 3px;
}


.select-auth-box-arrow {
    margin-right: 1rem;
}


/* enter-email.ftl */
/* enter-phonenumber.ftl */
.submit-button{
    margin-bottom: 0px;
}


/* Sign-in-Button */
    .sign-in-logo {
        min-height: 48px;
        margin-bottom: 48px;
        background-repeat: no-repeat;
    }

    .sign-in-logo-img{
        content: url(../img/icon_key-solid.svg);
        width: 25px;
    }

    .sign-in-separator{
        content: '';
        display: inline-block;
        background: var(--SeperatorColor);
        margin-top: 0px;
        height: 48px;
        width: 2px;
        vertical-align: top;
        margin-left:8px;
        margin-right:14px;
    }

    .sign-in-button{
        display: flex !important;
        flex-wrap: nowrap;
        text-align: center;
        align-self: center;
        align-items: center;
    }

    .sign-in-button-text{
        width:100%;
        font-size: 20px;
        margin-left: -48px;
    }

/* 2-Faktor-Auth */
    #kc-totp-supported-apps{
        font-weight: bold;
    }

    #kc-totp-settings{
        color: var(--textColor);
        font-weight: bold;
    }

    .badgeExtra{
        color:#004873;
        margin-left: -112px;
        width: 140%;
        border-radius: 48px 0px 0px 48px;
        box-shadow: -3px 10px 10px #00000029;
        border-top: solid 0px!important;
        border-right: solid 0px!important;
        display: flex!important;
        align-items: center;
    }

    .pf-c-alert__icon{
        border-radius: 50%;
        border-color: white !important;
        border: 2px solid #FFFFFF !important;
        padding: 0px!important;
        align-items: center;
    }

    .pf-c-alert.pf-m-inline::before{
        display :none;
    }

    
.linkbutton{
    border:none;
    color: var(--textColor_a);
}

.linkbutton:hover{
    color: var(--linkHover);
    text-decoration: none;
}

.linkbutton:focus{
    text-decoration: underline;
    outline: none;
}

/*Einstellungen zum badge in das Template verlagert, um nicht die Warnungen permanent zu verändern*/
    .badgeContent{
        height: 67px;
        width: 73px;
        align-items: center;
        text-align: -webkit-auto;
        display: flex;
        justify-content: center;     
        font-size: xxx-large!important;
    }

    .badgeContentDanger {
        min-height: 76px;
        min-width: 76px;
        justify-content: center;     
        font-size: xxx-large!important;
        display: flex;
        margin:0px;
        padding: 0px;
    }

    .badgeContentSuccess{
        height: 74px;
        width: 80px;
        text-align: -webkit-auto;
        justify-content: center;     
        font-size: xxx-large!important;
        display: flex;
        padding-left:27px;
    }

    .successMessage{
        padding-left: 26px;
    }

    .errorMessage{
        padding-left: 26px;
    }

     .infoMessage{
        padding-left: 26px;
    }

    .pf-c-alert.pf-m-warning .pf-c-alert__title{
        font: normal normal normal 16px/18px Fira Sans,Helvetica,Arial,sans-serif;
        padding-left: 32px;
        padding-right: 27px;
        display: flex;
        align-items: center;
    }

    .warningMessage{
         padding-left: 32px!;
    }
   
    .inputText{
        padding-left: 10px;
        font-weight: normal;
    }

    .doSubmit-img{
        content: url(../img/icon_play-solid.svg);
        width: 25px;
    }


/*Info Box Passwort vergessen? */

#kc-info {
    margin: 0; 
    padding-bottom: 23px;
    font-style:"Fira Sans",Helvetica,Arial,sans-serif;
}

/*Info Box new User*/
.newUser{
    padding-bottom: 0px!important;
    padding-top:25px!important;
    
    display: flex;
    justify-content: center;
}

#kc-registration {
    display: flex;
    margin-bottom: 0;
    justify-content: start;
}

/*Sprachauswahl*/

/* #kc-locale{
  
} */

#kc-locale-dropdown a {
    font-size: 16px!important;
    font-family: "Fira Sans",Helvetica,Arial,sans-serif;
}

.bottomAlone{
    display:flex;
    justify-content:center;
    padding-top: 10px;
    margin-bottom: -5px;
}

.instruction{
    font-size: 14px;
}

/*weitere Styles in login-reset-password.ftl*/
/*Änderung für die Info-Box: Passwort vergessen*/
.anweisung{
    font-size: 16px;
    padding:0px;
    
}

.login-pf-page .login-pf-signup{
    text-align: start;
}

/* Zeigt *benötigte Felder an:*/
/* weitere Änderungen in der Template.ftl*/
.subtitle{
    margin-top: 5px;
}


/*Remember Me*/
/* .checkbox{

} */

.checkbox label{
    display: flex;
    align-items: center;
}

.checkbox input{
    margin:0;
    height: 16px;
    width: 15px;
    margin-bottom: 2px;
}

/*Locale Icons */
.localeIcon{
    max-width: 23px;
    margin-right: 4px;
}

.localeList{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.localeListItem a{
    padding-left:12px;
    padding-right:3px;
    padding-top: 6px;
    padding-bottom: 3px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.localeListIcon{
    margin-right: 12px;
    height: max-content;
    max-width: 24px;
}

#kc-locale ul{
    min-width: 115px;
    top: 24px;
}

#German\ \(Deutsch\),
#Deutsch{
   content: url(../img/icon_flagge_germany.png); 
   border-radius: 4px;
}

#Englisch\ \(English\),
#English{
    content: url(../img/icon_flagge_england.png); 
    border-radius: 4px;
}

.localeDropdown{
    content: url(../img/icon_arrowdropdown.png);
    margin-left: 2px;
    max-width: 10px;
    margin-bottom: 1px;
}

a#kc-current-locale-link::after {
    content:"";
    margin-left: 0px;
}

/* One-Time-Code */

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

#kc-attempted-username{
    font-size: 32px!important;
    font-family: "Fira Sans",Helvetica,Arial,sans-serif;
    padding:0px;
}

#kc-username a{
    font-size: 16px!important;
    font-family: "Fira Sans",Helvetica,Arial,sans-serif;
    padding:0px 12px;
}

#restartLogin{
    display: flex;
    justify-content: space-between;
}

/* Abstand vom Absendebutton zur Card*/
.buttonBottom{
    margin-bottom: 0px;
}

/* ## Card */


/* ## Card:End */

/* ## Restart Login - template.ftl*/
.restartLogin{
    text-align: right;
    padding-top: 1px;
    margin-bottom: -27px;
}

.restartLoginIcon{
    align-items: center;
}


/* Select-Form */

.selectotplabel{
    padding: 10px;
    width: 90%;
}

.selectotp{
    justify-content: space-around;
    display: flex;
}

.selectotpform{
    display: flex;
    flex-direction: column;
}

.selectspan{
    margin-left: 33%;
    justify-content: none!important;
}

.pingroup{
    display: flex;
    flex-direction: column;
}

.pingen{
    margin: 3px 17px 17px 17px;
}

/* Terms & Conditions */

#div_accept_checkbox{    
    padding-left: 5px;
}

#accept_label{
    font-weight: normal;
}
    
.redLabel{
    color:var(--pf-c-form--m-error--Color);
}

.hiddenButton{
    display:none;
}

.appinfo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.app_store_badge {
    width: 94px;
}

.google_play_badge {
    width: 120px;
}

.passwort-policy{
    padding-top:15px;
}

.kc-social-links li {
    width: 100%;
    display: flex;
    justify-content: center;
}
.kc-social-provider-logo {
    /* float: left; */
    position: relative;
    left: -15px;
}
.kc-social-icon-text {
    /* left: -15px; */
    left: unset;
}