/* Patternfly CSS places a "bg-login.jpg" as the background on this ".login-pf" class.
   This clashes with the "keycloak-bg.png' background defined on the body below.
   Therefore the Patternfly background must be set to none. */
.login-pf {
    background: none;
}

* {
    box-sizing: border-box;
}

/* Surcharges de styles pour l'ENEJ */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
@import url('https://fonts.cdnfonts.com/css/neo-sans-std');

@font-face {
    font-family: "lato";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Lato-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Neo Sans Std";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Neo\ Sans\ Std\ Regular.otf") format("opentype");
}

html,
body {
    height: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 1.66666667;
    color: #363636;
}

.hide_div {
    display: none;
}

.password-reveal {
    color: #01458A;
    margin-left: -40px;
    font-size: 16px !important;
    display: none !important;
}

.main_container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.header {
    background-color: #FFF;
    box-shadow: 0px 1px 0px 0px #EDEDF2;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo_academie {
    margin-left: auto;
    margin-right: 16px;
}

.alert-error,
.bloc_alerte {
    padding: 14px !important;
    background-color: #FFEEDD !important;
    display: flex !important;
    align-items: center !important;
}

.bloc_alerte_with_message {
    background-color: #FFEEDD !important;
}

.bloc_alerte_input {
    margin-bottom: 16px !important;
}

.pf-c-alert {
    padding: 14px !important;
    background-color: #FFEEDD !important;
    display: flex !important;
    align-items: center !important;
}

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

.input_logout {
    position: relative !important;
    margin-left: 0 !important;
    cursor: pointer;
    width: 24px;
    margin-top: 0 !important;
}

.pf-c-alert__icon {
    margin-right: 8px;
    color: #DC2E01 !important;
    width: 20px;
    height: 20px;
    font-size: 20px;
    position: relative;
    bottom: 6px;
    right: 4px;
}

.pf-c-alert__title,
.libelle_alerte {
    color: #01458A !important;
    font-family: Lato !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
    letter-spacing: 0.07px !important;
}

.libelle_alerte_top {
    margin-right: 8px;
}

.icon_warning {
    margin-right: 8px;
}

.icon_close {
    margin-left: auto;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

.header_icon {
    position: absolute;
    left: 20px;
    top: 15px;
}

.header_message {
    color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-left: 25px;
}

.content_message {
    overflow-y: auto;
    min-height: 35px;
    max-height: 50px;
    margin-bottom: 5px;
    line-height: 1rem;
    color: #FFFFFF;
    font-size: 12px;
    margin-left: 25px;
}

.bloc_connexion {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content_connexion {
    width: 100%;
}

.bloc_carrousel {
    height: 562px;
}

.bloc_button_border {
    width: fit-content;
    margin-left: auto;
}

.libelle_button_link {
    color: #01458A;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16.8px;
    text-transform: uppercase;
    border: 2px solid transparent;
    width: fit-content;
    padding: 6px;
    outline: none;
    display: block;
    z-index: 2;
    position: relative;
    cursor: pointer;

    transition: color 0.25s, background-size 0.25s;
    background: -webkit-gradient(linear, left top, right top, color-stop(0, #4f7b00), to(#4f7b00));
    background: linear-gradient(to right, #4f7b00 0, #4f7b00 100%);
    background-size: 100% 100%;
    background-position: 100% 29px;
    background-repeat: no-repeat;
}

.border_bottom {
    width: 100%;
    height: 2px;
    background-color: #4F7B00;
    z-index: 1;
    position: relative;
    top: -2px;
}

.libelle_button_link:hover {
    outline: none;
    text-decoration: none;
    color: #4f7b00;
    background-size: 0% 100%;
}

.libelle_button_link:active {
    outline: none;
    color: #00274E;
}

.libelle_button_link:focus {
    outline: none !important;
    color: #4F7B00;
}

.libelle_button_link:focus-visible {
    outline: none;
    color: #4F7B00;
    border: 2px solid #C58715 !important;
}

.button_forget {
    margin-left: auto;
}

.footer {
    padding: 16px 24px;
    background-color: #1A1A1A;
    display: flex;
    justify-content: flex-end;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 2;
}

.libelle_footer {
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16.1px;
    color: #fff;
    padding: 6px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.libelle_footer_left {
    margin-right: 10px;
}

.libelle_footer_right {
    margin-left: 10px;
}

.v_separator {
    border-left: 1px solid white;
    margin: 7px 0;
}

.libelle_footer:hover img.icon_help,
.libelle_footer:focus img.icon_help {
    content: url(../img/icon_help_green.svg);
}

.libelle_footer:active {
    text-decoration: none !important;
    color: #fff !important;
    border: 2px solid transparent;
    outline: none;
}

.libelle_footer:hover {
    text-decoration: none !important;
    color: #77B900 !important;
    outline: none;
}

.libelle_footer:focus {
    text-decoration: none !important;
    color: #77B900 !important;
    outline: none;
}

.libelle_footer:focus-visible {
    text-decoration: none !important;
    color: #77B900 !important;
    border: 2px solid #C58715;
    outline: none;
}


.icon_help {
    margin-right: 8px;
}

.header_carrousel {
    color: #01458A;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Neo Sans Std";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32.4px;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bloc_login {
    height: 562px;
    display: flex;
    flex-direction: column;
}

.card_connexion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background-color: #FFFFFF;
    width: 100%;
}

.header_connexion {
    width: 100%;
}

.bloc_social {
    padding: 24px 0;
    display: flex;
    gap: 8px;
    flex-direction: row;
    margin-top: auto;
    justify-content: center;
}

.bloc_twitter {
    height: 60px;
    width: 60px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.bloc_twitter:focus {
    outline: none;
}

.bloc_twitter:focus-visible {
    border: 2px solid #C58715;
    outline: none;
}

.twitter {
    background: url("../img/logo_twitter.svg") no-repeat;
    height: 48px;
    width: 48px;
}

.twitter:hover {
    background: url("../img/logo_twitter_hover.svg") no-repeat;
}

.twitter:active {
    background: url("../img/logo_twitter_click.svg") no-repeat;
}

.twitter:focus {
    background: url("../img/logo_twitter_hover.svg") no-repeat;
}

.bloc_facebook {
    height: 60px;
    width: 60px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.bloc_facebook:focus {
    outline: none;
}

.bloc_facebook:focus-visible {
    border: 2px solid #C58715;
    outline: none;
}

.facebook {
    background: url("../img/logo_facebook.svg") no-repeat;
    height: 48px;
    width: 48px;
}

.facebook:hover {
    background: url("../img/logo_facebook_hover.svg") no-repeat;
}

.facebook:active {
    background: url("../img/logo_facebook_click.svg") no-repeat;
}

.facebook:focus {
    background: url("../img/logo_facebook_hover.svg") no-repeat;
}

.bloc_linkedin {
    height: 60px;
    width: 60px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.bloc_linkedin:focus {
    outline: none;
}

.bloc_linkedin:focus-visible {
    border: 2px solid #C58715;
    outline: none;
}

.linkedin {
    background: url("../img/logo_linkedin.svg") no-repeat;
    height: 48px;
    width: 48px;
}

.linkedin:hover {
    background: url("../img/logo_linkedin_hover.svg") no-repeat;
}

.linkedin:active {
    background: url("../img/logo_linkedin_click.svg") no-repeat;
}

.linkedin:focus {
    background: url("../img/logo_linkedin_hover.svg") no-repeat;
}

.bloc_instagram {
    height: 60px;
    width: 60px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.bloc_instagram:focus {
    outline: none;
}

.bloc_instagram:focus-visible {
    border: 2px solid #C58715;
    outline: none;
}

.instagram {
    background: url("../img/logo_instagram.svg") no-repeat;
    height: 48px;
    width: 48px;
}

.instagram:hover {
    background: url("../img/logo_instagram_hover.svg") no-repeat;
}

.instagram:active {
    background: url("../img/logo_instagram_click.svg") no-repeat;
}

.instagram:focus {
    background: url("../img/logo_instagram_hover.svg") no-repeat;
}

.libelle_top {
    color: #01458A;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: "Neo Sans Std";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32.4px;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

label {
    color: #01458A !important;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Lato !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 16.1px !important;
    margin-bottom: 8px;
    margin-left: 6px;
    margin-top: 6px;
}

.error_libelle_label {
    color: #D91414 !important;
}

input {
    padding: 10px 16px;
    color: #01458A;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20.3px;
    letter-spacing: 0.14px;
    background-color: #fff !important;
    border: 1px solid #EDEDF2;
    outline: none;
    margin-right: 6px;
    margin-left: 6px;
    margin-bottom: 6px;
    margin-top: 6px;
    width: calc(100% - 12px);
}

.error_input {
    border: 1px solid #D91414 !important;
}

.form-group {
    margin-bottom: 16px !important;
    border: 2px solid transparent !important;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group:hover label:not(.error_libelle_label),
.form-group:focus label:not(.error_libelle_label),
.form-group:focus-within label:not(.error_libelle_label) {
    color: #4F7B00 !important;
}

.form-group:hover .password-reveal,
.form-group:focus .password-reveal,
.form-group:focus-within .password-reveal {
    color: #4F7B00 !important;
}

input::placeholder {
    color: #6C757D !important;
}

#messageContent.expanded {
    -webkit-line-clamp: unset;
}

#toggleButton {
    display: none;
    margin-right: 34px;
    position: relative;
    top: -10px;
}

#messageContainer.expanded #toggleButton {
    display: block;
}

@media (max-height: 300px) {

    .footer,
    .bloc_carrousel,
    .bloc_social,
    .header_connexion,
    .bloc_alerte_with_message {
        display: none !important;
    }

    .bloc_login {
        min-height: auto !important;
    }

    .header {
        justify-content: space-between;
        gap: 8px;
    }

    .card_connexion {
        padding-top: 0 !important;
        position: relative;
        bottom: 6px;
        width: 100%;
    }

    .form-group {
        display: flex;
        align-items: center;
        margin-bottom: 0 !important;
    }

    label {
        min-width: 33%;
        width: 33%;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }

    input {
        min-width: 65%;
        width: 65%;
        margin: 2px !important;
        padding: 6px 12px !important;
    }

    .icon_next {
        top: 15px !important;
    }

    .libelle_alerte {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}

@media (min-height: 301px) {

    .libelle_top_responsive {
        display: none;
    }
}

@media (max-width: 999px) {

    .card_connexion {
        padding: 16px;
        max-width: 500px;
    }

    .bloc_login {
        margin: 0 !important;
        width: 100%;
        background-color: #fff;
        align-items: center;
        height: inherit;
        min-height: 365px;
    }

    #messageContent {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .bloc_social_desktop {
        display: none;
    }

    .libelle_top {
        font-size: 18px !important;
        line-height: 24.3px !important;
        letter-spacing: -0.18px !important;
    }

    .header_carrousel {
        margin: 16px;
        font-size: 18px !important;
        line-height: 24.3px !important;
        letter-spacing: -0.18px !important;
        margin-right: auto;
        background-color: #F2F2F2 !important;
    }

    .bloc_carrousel {
        margin-top: 0 !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 618px;
        background-color: #F2F2F2 !important;
    }

    #moncarrousel {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .bloc_social {
        height: 170px;
        background-color: #F2F2F2 !important;
    }

    .image_logo_hds {
        height: 45px;
    }

    .image_logo_academie {
        height: 56px;
    }

    .footer {
        justify-content: center;
    }

    .libelle_footer {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1000px) {
    .main {
        display: flex;
        padding: 32px 80px 100px 80px;
        font-family: 'Montserrat';
        justify-content: center;
        background-color: #F2F2F2;
        flex-grow: 1;
        gap: 64px;
        flex-direction: row-reverse;
    }

    .image_logo_hds {
        height: 84px;
    }

    .image_logo_academie {
        height: 81px;
    }

    .card_connexion {
        width: 375px;
        padding: 24px;
    }

    .logo_hds {
        margin-left: 6px;
    }

    .bloc_social_mobile {
        display: none;
    }

    #messageContent {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .bloc_carrousel {
        min-width: 350px;
        max-width: 680px;
    }
}

#slider {
    max-width: 680px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: relative;
    height: 562px;
}

.slides {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 562px;
}

.titleSlider {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #01458A !important;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Lato !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 20.7px;
    letter-spacing: -0.18px;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 8px !important;
}

.contentSlider {
    height: 282px;
    position: relative;
    top: -80px;
    background-color: white;
    padding: 24px !important;
    margin: 0 !important;
}

.encodedDataSlider p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.encodedDataSlider * {
    align-self: stretch;
    overflow: hidden;
    color: #1A1A1A !important;
    font-feature-settings: 'clig' off, 'liga' off;
    text-overflow: ellipsis;
    font-family: Lato !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 20.3px !important;
    letter-spacing: 0.14px;
    margin-bottom: 8px !important;
}

.contentSlider iframe {
    max-width: 100%;
    height: auto !important;
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    max-width: 680px;
    width: 100%;
    height: 562px;
    margin-right: 500px;
    background: #fff;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-bottom: 10px;
}

.bloc_image {
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgSlider {
    max-height: 100%;
}

.slider_list {
    position: absolute;
    bottom: 24px;
    z-index: 1;
    width: 100%;
    height: 32px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.round_list {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.activeSlide {
    background-color: #01458A !important;
}

.round_slide {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #C5C5C8;
    cursor: pointer;
}

.arrow_left {
    background: url("../img/icon_arrow_left_blue.svg") no-repeat;
    height: 20px;
    width: 20px;
    padding: 6px;
    margin-right: auto;
    margin-left: 24px;
    cursor: pointer;
}

.arrow_right {
    background: url("../img/icon_arrow_right_blue.svg") no-repeat;
    height: 20px;
    width: 20px;
    padding: 6px;
    margin-left: auto;
    margin-right: 24px;
    cursor: pointer;
}

.pf-c-form__label {
    color: rgb(0, 0, 140);
    font-family: Barlow;
    font-size: 0.875rem;
    line-height: 16px;
    letter-spacing: 0px;
    font-weight: 500;
}

#kc-page-title {
    margin: 0px;
    padding: 0px;
    font-family: Montserrat;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 28px;
    color: rgb(102, 109, 146);
    text-align: center;
}

.bloc_buttons {
    display: flex;
    position: relative;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

.bloc_buttons:focus .pf-c-button {
    background: linear-gradient(90deg, #4F7B00 0%, #609500 100%);
}

.pf-c-button {
    cursor: pointer;
    min-width: 64px;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Lato;
    font-size: 16px;
    letter-spacing: -0.16px;
    font-style: normal;
    line-height: 18.4px;
    font-weight: 600;
    text-transform: uppercase;
    height: 42px;
    padding: 12px 20px 12px 24px;
    transition: none 0s ease 0s;
    background: linear-gradient(90deg, #01468B, #0171B7 100%);
    color: #fff;
    border: none;
}

/* Le bouton connexion */
.pf-c-button:hover,
.pc-c-button:active,
.pf-c-button:focus {
    background: linear-gradient(90deg, #4F7B00 0%, #609500 100%);
}

.icon_next {
    position: absolute;
    right: 74px;
    top: 19px;
    cursor: pointer;
}

.pf-c-login__main-footer-links {
    padding-left: 0 !important;
}

.social-header {
    font-size: 15px;
}

.social-buttons {
    display: block !important;
    border: none !important;
}

.icon_social {
    display: none !important;
}

.kc-social-provider-logo {
    color: #fff !important;
}

.kc-social-provider-name {
    color: #fff !important;

}

#cancelTOTPBtn {
    margin-top: 16px;
}

/* Les champs de saisie */
.pf-c-form-control {
    appearance: menulist-button;
    border: 1px solid #ededf2;
    border-radius: 8px;
}

.pf-c-form-control:focus {
    outline: none;
    border: 1px solid #3c50dd;
}

.pf-c-form-control::placeholder {
    color: #bfc2d1;
    font-family: Barlow;
    font-size: 0.875rem;
}

#kc-header {
    margin: 0px;
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.01em;
    color: rgb(255, 255, 255);
}

#kc-description {
    margin: 0px;
    font-family: Montserrat;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 28px;
    color: rgb(255, 255, 255);
    padding-left: 10px;
    white-space: normal;

}

/* Fin surcharges de styles pour l'ENEJ */

.login-pf body {
    background-color: #ededf2 !important;
    background: none;
    height: 100%;
}

textarea.pf-c-form-control {
    height: auto;
}

.pf-c-alert__title {
    font-size: var(--pf-global--FontSize--xs);
}

p.instruction {
    margin: 5px 0;
}

.pf-c-button.pf-m-control {
    border: solid var(--pf-global--BorderWidth--sm);
    border-color: rgba(230, 230, 230, 0.5);
}

h1#kc-page-title {
    margin-top: 10px;
}

#kc-locale-dropdown {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    background: none;
    font-size: 16px;
    padding: 5px 30px 5px 10px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    display: inline-block;
}

#kc-locale-dropdown:focus,
#kc-locale-dropdown:hover {
    outline: auto;
}

.login-pf .container {
    padding-top: 40px;
}

#kc-logo {
    width: 200px;
    margin-bottom: 64px;
    margin-right: 64px;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 62px 10px 20px;
    white-space: normal;
}

#kc-content {
    width: 100%;
}

#kc-attempted-username {
    font-size: 20px;
    font-family: inherit;
    font-weight: normal;
    padding-right: 10px;
}

#kc-username {
    text-align: center;
    margin-bottom: -10px;
}

#kc-webauthn-settings-form {
    padding-top: 8px;
}

#kc-form-webauthn .select-auth-box-parent {
    pointer-events: none;
}

#kc-form-webauthn .select-auth-box-desc {
    color: var(--pf-global--palette--black-600);
}

#kc-form-webauthn .select-auth-box-headline {
    color: var(--pf-global--Color--300);
}

#kc-form-webauthn .select-auth-box-icon {
    flex: 0 0 3em;
}

#kc-form-webauthn .select-auth-box-icon-properties {
    margin-top: 10px;
    font-size: 1.8em;
}

#kc-form-webauthn .select-auth-box-icon-properties.unknown-transport-class {
    margin-top: 3px;
}

#kc-form-webauthn .pf-l-stack__item {
    margin: -1px 0;
}

#kc-content-wrapper {
    margin-top: 20px;
}

#kc-form-wrapper {
    margin-top: 10px;
}

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

#kc-info-wrapper {
    font-size: 13px;
    padding: 15px 35px;
    background-color: #F2F2F2;
    line-height: 1.66666667;
    color: #363636;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

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

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

/* TOTP */

.subtitle {
    text-align: right;
    margin-top: 30px;
    color: #909090;
}

.required {
    color: var(--pf-global--danger-color--200);
}

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
    margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width: 150px;
    max-height: 150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */
.social-buttons {
    margin-bottom: 15px;
    border: 1px solid #0000FF;
    background-color: transparent !important;
    color: #0000FF !important;
}

.social-buttons:hover,
.social-buttons:focus {
    background-color: rgb(242, 242, 255) !important;
    color: rgb(51, 81, 224) !important;
    text-decoration: none !important;
}

.kc-social-provider-logo {
    font-size: 23px;
    width: 30px;
    height: 25px;
    float: left;
    position: relative;
    bottom: 3px;
    color: #0000FF !important;
}

.kc-social-gray {
    color: var(--pf-global--Color--200);
}

.kc-social-item {
    margin-bottom: var(--pf-global--spacer--sm);
    font-size: 15px;
    text-align: center;
}

.kc-social-provider-name {
    position: relative;
}

.kc-social-icon-text {
    left: -15px;
}

.kc-social-grid {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 5px;
    grid-column-end: span 6;
    --pf-l-grid__item--GridColumnEnd: span 6;
}

.kc-social-grid .kc-social-icon-text {
    left: -10px;
}

.kc-login-tooltip {
    position: relative;
    display: inline-block;
}

.kc-social-section {
    text-align: center;
}

.kc-social-section hr {
    margin-bottom: 10px
}

.kc-login-tooltip .kc-tooltip-text {
    top: -3px;
    left: 160%;
    background-color: #fff;
    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;
}

@media (min-width: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    .login-pf .container {
        padding-right: 80px;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }
}

@media (max-width: 767px) {

    .login-pf body {
        background: white;
    }

    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
    }

    #kc-header-wrapper {
        font-size: 16px;
        font-weight: bold;
        padding: 20px 60px 0 0;
        color: #72767b;
        letter-spacing: 0;
    }

    div.kc-logo-text {
        margin: 0;
        width: 150px;
        height: 32px;
        background-size: 100%;
    }

    #kc-form {
        float: none;
    }

    #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        background-color: transparent;
    }

    .login-pf .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #kc-locale {
        text-align: right;
    }
}

@media (min-height: 646px) {
    #kc-container-wrapper {
        bottom: 12%;
    }
}

@media (max-height: 645px) {
    #kc-container-wrapper {
        padding-top: 50px;
        top: 20%;
    }
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

#kc-form-buttons {
    margin-top: 20px;
}

.login-pf-page .login-pf-brand {
    max-width: 360px;
    width: 40%;
}

.select-auth-box-arrow {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.select-auth-box-icon {
    display: flex;
    flex: 0 0 2em;
    justify-content: center;
    margin-right: 1rem;
    margin-left: 3rem;
}

.select-auth-box-parent {
    border-top: 1px solid var(--pf-global--palette--black-200);
    padding-top: 1rem;
    padding-bottom: 1rem;
    cursor: pointer;
}

.select-auth-box-parent:hover {
    background-color: #f7f8f8;
}

.select-auth-container {
    padding-bottom: 0px !important;
}

.select-auth-box-headline {
    font-size: var(--pf-global--FontSize--md);
    color: var(--pf-global--primary-color--100);
    font-weight: bold;
}

.select-auth-box-desc {
    font-size: var(--pf-global--FontSize--sm);
}

.select-auth-box-paragraph {
    text-align: center;
    font-size: var(--pf-global--FontSize--md);
    margin-bottom: 5px;
}

.card-pf {
    padding: 16px 34px;
    max-width: 406px;
    border-radius: 8px;
    background-color: #FFFFFF;
}

/*phone*/
@media (max-width: 767px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0;
        border-top: 0;
        box-shadow: 0 0;
    }

    .kc-social-grid {
        grid-column-end: 12;
        --pf-l-grid__item--GridColumnEnd: span 12;
    }

    .kc-social-grid .kc-social-icon-text {
        left: -15px;
    }
}

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

#kc-content-wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.login-pf-page.login-pf-page-accounts {
    margin-left: auto;
    margin-right: auto;
}

.login-pf-page .btn-primary {
    margin-top: 0;
}

.login-pf-page .list-view-pf .list-group-item {
    border-bottom: 1px solid #ededed;
}

.login-pf-page .list-view-pf-description {
    width: 100%;
}

#kc-form-login div.form-group:last-of-type,
#kc-register-form div.form-group:last-of-type,
#kc-update-profile-form div.form-group:last-of-type,
#kc-update-email-form div.form-group:last-of-type {
    margin-bottom: 0px;
}

.no-bottom-margin {
    margin-bottom: 0;
}

#kc-back {
    margin-top: 5px;
}

/* Recovery codes */
.kc-recovery-codes-warning {
    margin-bottom: 32px;
}

.kc-recovery-codes-warning .pf-c-alert__description p {
    font-size: 0.875rem;
}

.kc-recovery-codes-list {
    list-style: none;
    columns: 2;
    margin: 16px 0;
    padding: 16px 16px 8px 16px;
    border: 1px solid #D2D2D2;
}

.kc-recovery-codes-list li {
    margin-bottom: 8px;
    font-size: 11px;
}

.kc-recovery-codes-list li span {
    color: #6A6E73;
    width: 16px;
    text-align: right;
    display: inline-block;
    margin-right: 1px;
}

.kc-recovery-codes-actions {
    margin-bottom: 24px;
}

.kc-recovery-codes-actions button {
    padding-left: 0;
}

.kc-recovery-codes-actions button i {
    margin-right: 8px;
}

.kc-recovery-codes-confirmation {
    align-items: baseline;
    margin-bottom: 16px;
}

/* End Recovery codes */