:root {
    --coral: #ff5646;
    --white: #f9f9f9;
    --navy-blue: #001e5a;
    --cloudy-blue: #b5bcc4;
    --turquoise: #00beaa;
    --steel: #74798c;
    --dark-grey: #242527;
    --light-sky-blue: #dae3ed;
}

.login-pf,
.login-pf body {
    font-family: "Montserrat";
}

.login-pf-page {
    width: 100vw;
    height: 100vh;
    margin: 0;
}

.login-pf body {
    height: 100vh;
    padding: 0;
    margin: 0;
}

/* HEADER */

#kc-header {
    padding: 12px 124px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    background: white;
    position: fixed;
    width: calc(100% - 248px);
    z-index: 10;
}
.logo-besse {
    background: url(../img/logo-besse.png);
    height: 103px;
    width: 73px;
    background-size: cover;
    margin-right: 20px;
}

.logo-appa {
    background: url(../img/logo.png);
    height: 61px;
    width: 140px;
    background-size: cover;
}

.container-logos {
    display: flex;
    align-items: center;
}

.appelez-nous {
    height: 95px;
    width: 120px;
    box-shadow: 0 2px 10px 0 rgba(116, 121, 140, 0.35);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img-telephone {
    background: url(../img/telephone.PNG) no-repeat;
    background-size: contain;
    width: 62px;
    max-height: 60px;
    flex: 1;
}

.text-telephone {
    font-size: 11px;
    color: var(--navy-blue);
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

#kc-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#kc-page-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    flex-direction: unset;
    color: var(--navy-blue);
}

.login-pf-page .card-pf {
    padding: 181px 124px 0 124px;
    margin-bottom: 0;
    background-color: #f9f9f9;
    background-image: url(../img/fond.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    /* 100% de la page  le padding du container */
    height: calc(100vh - 181px);
    display: flex;
    align-items: flex-start;
}

.login-pf-page .login-pf-settings {
    justify-content: flex-start;
}

.login-pf-settings a {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: var(--turquoise);
}

.pf-c-form-control {
    display: flex;
    width: 380px;
    position: relative;
    border-radius: 10px;
    margin: 4px 0;
    font-size: 15px;
    padding: 12px;
    border: solid 1px rgba(116, 121, 140, 0.21);
}

.form-group {
    margin: 10px 0;
    position: relative;
}

.pf-c-form__label {
    object-fit: contain;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: normal;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.23;
    color: var(--navy-blue);
}

input[type="submit"].pf-m-block {
    padding: 12px 36px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    object-fit: contain;
}

.pf-m-primary {
    height: 44px;
    border-radius: 22px;
    border: none;
    background-color: var(--coral);
    background-image: none;
    background-repeat: none;
    color: white;
    cursor: pointer;
}

.pf-m-primary:hover {
    color: var(--navy-blue);
    background: var(--light-sky-blue);
}

.alert.alert-error {
    color: var(--coral);
    font-size: 15px;
    text-align: center;
    margin-bottom: 12px;
}
#kc-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

#kc-form-login {
    display: flex;
    flex-direction: column;
    align-items: left;
}

#kc-form-options {
    font-size: 15px;
    color: var(--dark-grey);
}

#kc-info-message {
    text-align: left;
}

.container-aide {
    margin-left: 150px;
    box-shadow: 0 2px 10px 0 rgba(116, 121, 140, 0.35);
    width: 600px;
    padding: 28px 30px;
    border-radius: 15px;
    background: white;
}
#modal{
    display: none;
    width: 100%;
    height: 100%;
    border: #f9f9f9 15px;
    border-radius: 10px;
    z-index:10;
    padding-top: 250px; /* Location of the box */
    left: 0;
    top: 0;
    opacity:0;
    position: fixed; /* Stay in place */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    transition: opacity 1s ;
}

#img-aide {
    background-image: url(../img/img-numero-aide.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 400px;
    height: 230px;
    margin: auto;
}
#img-aide:hover {
     opacity: 0.7;
 }
#img-popup {
    background-image: url(../img/img-numero-aide.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 908px;
    height: 428px;
    margin: auto;
    border-radius: 10px;
}

.text-aide h2 {
    color: var(--navy-blue);
    font-size: 19px;
    text-transform: uppercase;
    text-align: center;
}
.text-aide h3 {
    color: var(--navy-blue);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.text-aide ul{
    font-size: 15px;
    color: var(--dark-grey);
    line-height: 1.8;
}
.text-aide p {
    font-size: 15px;
    color: var(--dark-grey);
    line-height: 1.6;
}
.text-aide p.small{
    font-size: 13px;
}
.text-aide p.aide-numero {
    text-decoration: underline;
    font-weight: 700;
}
.f-edit-family-status-btn {
    height: auto;
    max-height: 100%;
    min-height: 44px;
    font-size: 14px;
    line-height: 22px;
}
.f-button-turquoise {
    --tw-bg-opacity: 1;
    background-color: rgba(191,170,143, var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, var(--tw-text-opacity));
}
.f-button {
    height: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.f-button, .f-button-sm {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: flex;
    width: 30%;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 22px;
    max-height: 44px;
    min-height: 36px;
}

/*  Mot de passe oublié */
span {
    font-size: 15px;
}
a {
    font-size: 15px;
    font-weight: bold;
    color: var(--turquoise);
    text-decoration: none;
}

.container-label-mdp {
    width: 402px;
    display: flex;
    justify-content: space-between;
}

/*  Mot de passe oublié */
#kc-form-buttons {
    margin-top: 24px;
}
.login-pf-header h2 {
    color: var(--dark-grey);
    font-weight: normal;
    font-size: 15px;
    margin: 20px 0;
    max-width: 616px;
}

.checkbox label {
    display: flex;
    align-items: center;
}
/* Toggle Button */
#rememberMe {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin-right: 8px;
}

#rememberMe:after {
    content: "";
    width: 45px;
    height: 20px;
    display: inline-block;
    background: rgba(196, 195, 195, 0.7);
    border-radius: 18px;
    clear: both;
    display: flex;
    align-items: center;
}

#rememberMe:before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    left: 1px;
    top: 1px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
}

#rememberMe:checked:before {
    left: 26px;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.6);
}

#rememberMe:checked:after {
    background: var(--navy-blue);
    content: url(../img/icon.png);
    padding-left: 9px;
    width: 36px;
}

.show-password {
    display: none
}
.label-show-password {
    background-image: url(../img/icon-show.png);
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 33px;
    left: 370px;
    cursor: pointer;
}

@media screen and (max-width: 1164px) {
    .container-aide {
        margin-left: 10px;
        max-width: 320px;
        width: 80%;
        margin-top: 100px;
    }
    #img-aide {
             width: 100%;
             background-size: contain;
    }

}
@media screen and (max-width: 924px) {
    #img-popup{
      width:100%;
    }
    #kc-header {
        padding: 12px 20px;
        width: calc(100% - 40px)
    }
    .login-pf-page .card-pf {
        padding: 126px 20px 48px 20px;
        display: block;
        background-position: bottom;
        height: calc(100vh + 343px);
        background-size: 102vh;
    }

    .form-control {
        width: 296px
    }

    .label-show-password {
        left: 282px;
    }



    .container-label-mdp {
        width: 321px
    }

    .logo-besse {
        margin-right: 14px;
        width: 50px;
        height: 64px;
    }

    .logo-appa {
        width: 87px;
        height: 30px
    }

    .img-telephone {
        height: 40px;
        width:42px
    }
    .appelez-nous {
        height: auto;
        width: auto;
        flex-direction: row;
        box-shadow: none;
        border-radius: 0;
    }

    #kc-page-title {
        font-size: 20px;
    }
}

@media screen and (max-width:650px) {
    #img-popup {
        background-image: url(../img/img-sm-numero-aide.png);
    }
}
