.login-pf {
    height: 100%;
    background-size: auto;
    background: #ffffff;
    background-image: none;
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: solid 1px #bbb;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

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

.login-pf a:hover {
    color: #0099d3;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/groupe-vyv-300x100.png);
    background-repeat: no-repeat;
    height: 100px;
    width: 300px;
    margin: 62px auto 0;
}

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

div.kc-logo-text-connect {
    background-image: url(../img/groupe-vyv-connect-300x62.png);
    background-repeat: no-repeat;
    height: 62px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text-passconnect {
    background-image: url(../img/groupe-vyv-passconnect-300x62.png);
    background-repeat: no-repeat;
    height: 62px;
    width: 300px;
    margin: 0 auto;
}

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

#kc-content {
    width: 100%;
}

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

#kc-username {
    text-align: center;
}

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

/* #kc-content-wrapper {
    overflow-y: hidden;
} */

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
    display: block !important;
    align-items: center;
}

#kc-info-wrapper {
    font-size: 13px;
}

#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: 15px;
}

/* TOTP */

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

.required {
    color: #cb2915;
}

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 */

#kc-social-providers ul {
    padding: 0;
}

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

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

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

.zocial,
a.zocial {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}

.zocial:before {
    border-right: 0;
    margin-right: 0;
}

.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}

.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before {
    content: "\f15d";
}

.zocial.stackoverflow:before {
    color: inherit;
}

@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);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 15px;
    }

    #kc-social-providers li {
        display: block;
        margin-right: 5px;
    }

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

    #kc-locale {
        position: absolute;
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-logo-wrapper {
        background-size: 100px 21px;
        height: 21px;
        width: 100px;
        margin: 20px 0 0 20px;
    }
}

@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: 40px;
}

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

.card-pf {
    background: #eeeeee;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 500px;
    border-top: 0;
    box-shadow: 0 0 0;
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf {
        max-width: none;
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px 20px 30px 20px;
    }
}

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

    .card-pf.login-pf-accounts {
        max-width: none;
    }
}

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

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

@media (min-width: 768px) {
    .login-pf-page .login-pf-social-section:first-of-type {
        padding-right: 39px;
        border-right: 1px solid #d1d1d1;
        margin-right: -1px;
    }

    .login-pf-page .login-pf-social-section:last-of-type {
        padding-left: 40px;
    }

    .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
        margin-bottom: 0;
    }
}

.login-pf-page .login-pf-social-link {
    margin-bottom: 25px;
}

.login-pf-page .login-pf-social-link a {
    padding: 2px 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%;
}

.login-pf-page .card-pf {
    margin-bottom: 10px;
}

#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 {
    margin-bottom: 0px;
}

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

form#kc-select-back-form div.login-pf-social-section {
    padding-left: 0px;
    border-left: 0px;
}

/*********************************************************************/
@font-face {
    font-family: "Wigrum";
    src: url("fonts/WigrumRegular.eot");
    src: url("fonts/WigrumRegular.eot") format("embedded-opentype"),
    url("fonts/WigrumRegular.woff2") format("woff2"),
    url("fonts/WigrumRegular.woff") format("woff"),
    url("fonts/WigrumRegular.ttf") format("truetype"),
    url("fonts/WigrumRegular.svg#WigrumRegular") format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Wigrum";
    src: url("fonts/WigrumBold.eot");
    src: url("fonts/WigrumBold.eot") format("embedded-opentype"),
    url("fonts/WigrumBold.woff2") format("woff2"),
    url("fonts/WigrumBold.woff") format("woff"),
    url("fonts/WigrumBold.ttf") format("truetype"),
    url("fonts/WigrumBold.svg#WigrumBold") format("svg");
    font-weight: 600;
    font-style: normal;
}

.login-pf-page {
    font-family: "Wigrum";
}

.login-pf-accounts #kc-form {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    background-color: #eeeeee;
    padding: 15px;
}

.login-pf-accounts #kc-form #kc-social-providers {
    display: none;
}

.login-pf-accounts #kc-form #kc-login {
    background: #2cbfdc;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    width: auto;
    display: inline-block;
    padding: 12px 45px;
    letter-spacing: 1px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.login-pf-accounts #kc-form #kc-login:hover,
.login-pf-accounts #kc-form #kc-login:active {
    transform: scale(0.95);
    background: #482683;
}

.login-pf-signup {
    display: none;
}

.login-pf-header #kc-locale ul {
    max-height: 300px;
    overflow-y: scroll;
    margin-top: 15px;
}

.login-pf-header #kc-locale ul::-webkit-scrollbar {
    width: 0.5em;
}

.login-pf-header #kc-locale ul::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.login-pf-header #kc-locale ul::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

.login-pf body {
    height: 100%;
    background: #fff;
    position: relative;
}

.content-page--full {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.shape-top-left {
    background-image: url("../img/shape_1.png");
    background-repeat: no-repeat;
    background-size: 250px;
    background-position: top left;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.shape-top-right {
    background-image: url("../img/shape_2.png");
    background-repeat: no-repeat;
    background-size: 150px;
    background-position: top right;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.center-element {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

.footer-partner {
    margin-top: 15px;
    border-top: 1px solid #e4e2e2;
}

.footer-partner ul.stretch-centred {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    padding: 0;
}

.footer-partner ul.stretch-centred li {
    list-style: none;
}

.footer-partner ul.stretch-centred img {
    max-width: 100%;
}

.footer-top {
    text-align: center;
}

.entrepreneur-mieux-vivre img {
    width: 300px;
}

.footer-top--content {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.entrepreneur-mieux-vivre img {
    width: 250px;
    border-left: 1px solid #e4e2e2;
    padding-left: 15px;
    margin-top: 45px;
}

#kc-header {
    color: #ededed;
    overflow: visible;
    white-space: nowrap;
    margin-bottom: 0;
    margin-top: 10%;
}

#kc-header-wrapper {
    padding: 110px 0px 20px 150px;
}

#kc-header-wrapper h1 {
    border-left: 1px solid #e4e2e2;
    padding-left: 10px;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
    margin: 0px 0px 40px;
}

#kc-header-wrapper h1 .span-name {
    color: #82368c;
    font-family: "Wigrum";
    font-weight: bold;
}

#kc-header-wrapper h1 .span-sub-name {
    color: #482683;
    font-size: 18px;
}

.page-container .login-pf-accounts {
    max-width: 100%;
    background: transparent;
}

.social-providers--list {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    padding: 0;
}

.social-providers--list .login-pf-social-link {
    list-style: none;
    background: rgb(255, 255, 255);
    box-shadow: 0px 3px 8px 0px rgba(199, 198, 197, 0.6);
    width: 235px;
    height: 135px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.social-providers--list .login-pf-social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 27px -5px rgba(50, 50, 93, 0.25),
    0 8px 16px -8px rgba(0, 0, 0, 0.3), 0 -6px 16px -6px rgba(0, 0, 0, 0.025);
}

.social-providers--list .login-pf-social-link a {
    background: transparent;
    padding: 15px 30px 15px 15px;
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
}

.social-providers--list .login-pf-social-link a:hover {
    background: transparent;
}

.social-providers--list .login-pf-social-link a:before {
    content: ">";
    font-size: 23px;
    font-family: "Wigrum";
    color: rgb(72, 38, 131);
    position: absolute;
    right: 15px;
    top: 45%;
}

.social-providers--list .login-pf-social-link a:hover:before {
    color: #2cbfdc;
}

.social-providers--list .login-pf-social-link a .social-providers--name {
    float: left;
    width: 100%;
    height: 90%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 20px;
}

a#kc-current-locale-link::after {
    content: "";
    margin-left: 4px;
    background-image: url(../img/ic_language.png);
    width: 32px;
    height: 32px;
    display: inline-block;
    background-size: contain;
}

.login-pf-accounts #kc-form-wrapper {
    width: 100%;
    border: 0;
    text-align: center;
}

footer.footer-connect {
    background-image: url(../img/shape_3.png);
    background-repeat: no-repeat;
    background-size: 100px;
    background-position: bottom left;
    float: left;
    width: 100%;
}

.footer-top--intro {
    font-size: 18px;
    font-family: "Wigrum";
    color: #2f2c30;
    line-height: 25px;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 15px;
}
.social-providers--nofound {
    font-size: 16px;
    font-family: "Wigrum";
    color: #2f2c30;
    line-height: 25px;
    text-align: center;
    padding-bottom: 30px;
}
.social-providers--displayname {
    position: absolute;
    left: 0;
    width: 100%;
    background: #ddd;
    top: 0;
    padding: 5px 0;
    color: #82368c;
}

#kc-form-login .control-label {
    color: #6a3680;
    font-size: 16px;
    font-weight: 500;
}

.control-label {
    color: #6a3680;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px !important;
    text-align: center !important;
}

@media (min-width: 576px) {
    .center-element {
        max-width: 540px;
    }

    .login-pf-accounts #kc-form-wrapper {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    #kc-header-wrapper {
        padding: 160px 0px 0px 0px;
    }

    .footer-top--content {
        flex-direction: column;
    }

    .shape-top-right {
        display: none;
    }

    .shape-top-left {
        background-size: 220px;
    }

    #kc-header-wrapper h1 .span-sub-name {
        font-size: 14px;
    }

    #kc-header-wrapper h1 {
        margin: 0px 0px 5px;
    }

    .footer-top--intro {
        font-size: 13px;
        padding-bottom: 0px;
    }

    .logo-footer img {
        max-width: 60%;
        margin-top: 20px;
    }

    footer.footer-connect {
        background: transparent;
    }
}

@media (min-width: 768px) {
    .center-element {
        max-width: 720px;
    }

    .login-pf-accounts #kc-form-wrapper {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .center-element {
        max-width: 960px;
    }

    .login-pf-accounts #kc-form-wrapper {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .center-element {
        max-width: 1140px;
    }

    .login-pf-accounts #kc-form-wrapper {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }
}

.login-pf-page .btn-primary {
    background: #2cbfdc;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    border: 0;
    width: auto;
    display: inline-block;
    padding: 12px 45px;
    letter-spacing: 1px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 0;
}

.login-pf-page .btn-primary:hover, .login-pf-page .btn-primary:active {
    transform: scale(0.95);
    background: #482683;
}

#reset-password {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    z-index: 2;
}
