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

.login-pf body {
    background: url("../img/red_waves_background.jpg") no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    color: #363636;
}

div.kc-logo-text {
    background-image: url(../img/logo-cabestany.jpg);
    background-repeat: no-repeat;
    height: 150px;
    background-position: center;
    background-size: contain;
}

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

/* FC */
a#social-franceconnect-particulier:hover {
    background: url(../img/franceconnect-bouton-hover.svg) no-repeat left top !important;
    display: inline-block;
    height: 56px;
    width: 209px;
}
a#social-franceconnect-particulier span.kc-social-provider-name{
    display: none;
}
a#social-franceconnect-particulier {
    background: url(../img/franceconnect-bouton.svg) no-repeat left top !important;
    display: inline-block;
    height: 56px;
    width: 209px;
}
.alinkfc {
    color: #0088ce !important;
    text-decoration: none;
}

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

/* Main */
.pf-v5-c-login__main {	
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-top: 4px solid;
    border-color: #c9190b; /* default - IE compatibility */    
    background: white;
    max-width: 500px;
}

/* Input */
.pf-v5-c-form-control {    
    background-color: #FFFFFF; 	
}

input.pf-v5-c-form-control {	
	color: black;
}

.pf-v5-c-form-control > input {	
	color: black;
}

#civilite {
    background-color: white;
    color: black;
}

/* Title */
h1#kc-page-title {    
	color: #72767b;
	text-align: center;
	font-size: 24px;	
        font-family: 'Montserrat', sans-serif;
}

/* Bouton */
input.pf-v5-c-button.pf-m-primary.pf-m-block.btn-lg{
    background-color: #c9190b;
    cursor: pointer;
}

button.pf-v5-c-button.pf-m-primary.pf-m-block{
    background-color: #c9190b;
}

.pf-v5-c-button::after {
	border-color: initial;
}

/* Lien */
a {
    color: #c9190b !important;
}

/* Nouvel utilisateur */
.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}

/**/
#kc-form-login {
    margin-top: 35px;
}

/* select civilite */
select.pf-v5-c-form-control {	
   background-color: white;
}

/* France connect */
.center {
    text-align: center;
}
.fullsize{
    width: 100%;
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.link-external {
    font-size: 10px !important;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

hr {
    border: none; /* Enlever la bordure par défaut */
    border-top: 1px solid #DCDCDC; /* Ajouter une bordure plus fine (1px) */
}

/* Border bottom logo */
.pf-v5-c-login__header .pf-v5-c-brand {
    margin-block-end: 0 !important;
}

/* Border top logo */
.pf-v5-c-login__header {
   margin-block-start: 0 !important;
   max-width: 500px;
   margin-bottom: 15px;
}

/* Lien mdp oublie */
.pf-v5-c-helper-text__item {
	display: inline;
	margin-top: 5px;
	text-align: right;
}

/* FC */
.center {
    text-align: center;
    margin-bottom: 8px;
}

.fullsize{
    width: 100%;
}

.pf-v5-c-login__main-footer-links {
    padding-inline-end: 0 !important;
    padding-inline-start: 0 !important;
    font-size: 12px;
    font-family: 'Red Hat Display', sans-serif;
}

/* Cache voir mdp */
.pf-v5-c-input-group__item:not(.pf-m-fill) {
  display: none;
}

/* Suppression de la ligne au dessous du btn connexion */
.pf-v5-c-form__actions > * {
    margin-block-end: 0 !important;
}

/* Footer */
#kc-info {
margin: 20px -40px -30px;
}

#kc-info-wrapper {
font-size: 13px;
padding: 15px 35px;
background-color: #F0F0F0;
text-align: center;
font-family: 'Red Hat Display', sans-serif;
}

#kc-terms-text {
margin-bottom: 20px;
}

#kc-registration {
margin-bottom: 0;
}

.pf-v5-c-login__main-footer-band {
    border-block-start: none !important;
    padding-block-end: 0 !important;
    padding-block-start: 0 !important;
}

/* hr OU */
.hr {
    align-items: center;
    display: flex;
    text-align: center;
    color: #444444;
}

.hr::before {
    margin-right: 0.5em;
}

.hr::after {
    margin-left: 0.5em;
}

.hr::before, .hr::after {
    background: currentcolor;
    content: "";
    flex: 1;
    height: 0.06em;
}

.pf-v5-c-check__label {
    color: grey;
}

/*Message error fields*/
.error-birthdate-agerequirement {
	font-size: 0.875rem;
	color: #ff7468;
}

.error-firstname {
	font-size: 0.875rem;
	color: #ff7468;	
}

.error-lastName {
	font-size: 0.875rem;
	color: #ff7468;	
}

#input-error-client-firstName  {
	text-align: right;
}

#input-error-client-lastName {
	text-align: right;
}