:root {
    --keycloak-logo-url: url('../img/ff-randonnees-logo-white.png');
    --keycloak-bg-logo-url: url("../img/ffrandonnees-bg-1920.webp");
    --keycloak-logo-height: 70px;
    --keycloak-logo-width: 300px;
    --keycloak-card-top-color: var(--pf-v5-global--palette--blue-400);
}
@media (min-width: 481px) and (max-width: 1280px) { 
    :root {
        --keycloak-bg-logo-url: url("../img/ffrandonnees-bg-1280.webp");
    }
}

@media (max-width: 480px) {
    :root {
        --keycloak-bg-logo-url: url("../img/ffrandonnees-bg-480.webp");
    }

    .pf-v5-c-login__header { 
        display: flex;;
    }
}

.pf-v5-c-login__header {
/* artistic-btn-bg-orange-with-top-white-stroke-330 1 */

position: absolute;
/* width: 264px; */
/* height: 80px; */
left: 24px;
top: 24px;
margin-top: 0px;


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


    box-sizing: border-box;
    
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 24px;

    width: 568px;

    left: calc(50% - 568px/2);
    top: calc(50% - 565px/2);
    
    /* Foundation/white */
    background: #FFFFFF;
    /* Foundation/Blue/blue-50 */
    border: 1px solid #E6EDF6;
    /* Shaddow dark */
    box-shadow: 0px 14px 16px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    ;
}
.pf-v5-c-login__main-header {
    /*border-top: 4px solid var(--keycloak-card-top-color);*/
}

/* Info section - top margin + bottom padding */
.pf-v5-c-login__main-footer-band:first-child {
    margin-block-start: var(--pf-v5-global--spacer--lg);
}

.pf-v5-c-login__main-footer-band:last-child {
    padding-bottom: 0;
}
/* Info section */

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

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

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

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

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

#certificate_subjectDN {
    overflow-wrap: break-word
}

#kc-verify-email-form {
    margin-top: 24px;
    margin-bottom: 24px;
}

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

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

#kc-social-providers svg:not(.google) {
    filter: invert(47%) sepia(88%) saturate(7486%) hue-rotate(199deg) brightness(91%) contrast(101%);
}

#kc-social-providers svg {
    height: var(--pf-v5-global--FontSize--xl);
}

@media (prefers-color-scheme: dark) {
    #kc-social-providers svg:not(.google) {
        filter: invert(54%) sepia(96%) saturate(2028%) hue-rotate(174deg) brightness(99%) contrast(97%);
    }
}

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

.my-2 {
    margin: .5rem 0 !important;
}

.login-title {
    /* Connexion */

width: 488px;
height: 58px;

/* Web/Display 36px */
font-family: 'Viga';
font-style: normal;
font-weight: 400;
font-size: 36px;
line-height: 160%;
/* identical to box height, or 58px */
display: flex;
align-items: flex-end;
letter-spacing: 1.1px;

/* Foundation/Blue/blue-500 */
color: #034EA2;


/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;

}
.login-subtitle {
    /* Connectez-vous pour accéder à vos espaces FFRandonnée. */

width: 488px;


/* Web/Title 18px/Regular */
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 160%;
/* identical to box height, or 29px */
display: flex;
align-items: flex-end;

/* Foundation/Blue/blue-500 */
color: #034EA2;


/* Inside auto layout */
flex: none;
order: 1;
align-self: stretch;
flex-grow: 0;

}

.no-account {
    /* Frame 10488 */

/* Auto layout */
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0px;
gap: 30px;

width: 488px;
height: 40px;


/* Inside auto layout */
flex: none;
order: 3;
align-self: stretch;
flex-grow: 0;

}

.fede-button  {





/* Foundation/Blue/blue-500 */
background: #034EA2;
border-radius: 30px;



/* Web/Paragraph 14px/Regular */
font-family: 'Radikal';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 160%;
/* or 22px */
text-align: center;

/* Foundation/white */
color: #FFFFFF;


/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;

flex-grow: 0;

}

/* Label */
.pf-v5-c-form__label-text {
width: 488px;
height: 26px;

/* Web/Paragraph 16px/Regular */
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 160%;
/* identical to box height, or 26px */
display: flex;
align-items: center;

/* Foundation/Blue/blue-500 */
color: #034EA2;


/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
}

.fede-input {
    /* Input Field (Single Line) */

/* Auto layout */
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 0px;
gap: 4px;

width: 488px;
height: 48px;


/* Inside auto layout */
flex: none;
order: 1;
align-self: stretch;
flex-grow: 0;

}

.pl-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}