@font-face {
    font-family: "Barlow black";
    src: url("../fonts/barlow.black.ttf") format("truetype");
  }

@font-face {
    font-family: "Barlow Bold";
    src: url("../fonts/barlow-bold.ttf") format("truetype");
}

.login-pf {
    background: none;
}

.login-pf body {
    height: 100%;
    display: flex;
}

.left {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    position: relative;

    .image {
        flex-basis: 50%;
        background:  linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0)),  url("../img/background.png") ;
        background-size: cover;
        background-repeat:   no-repeat;
        background-position: center center;
        width: 100%;
    }
}

.right {
    flex-basis: 40%;
}

.login-pf a {
  color: #B61723;
}

.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;
    font-family: "Barlow Bold";
}

/* a#kc-current-locale-link:hover {
    background-color: rgba(0,0,0,0.2);
} */

a#kc-current-locale-link::after {
    background: url("../svg/caret.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 8px;
    content:"";
    margin-left: 4px;
    display: inline-block;

}

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

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

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../svg/ADMCS-Invest-FR_baseline.svg);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-legacy {
    background-image: url(../svg/ADMCS-Invest-FR_baseline.svg);
    background-repeat: no-repeat;
    height: 21vh;
    width: 100%
}

div.kc-logo-text {
    background-image: url(../svg/logoblue.svg);
    background-repeat: round;
    height: 15vh;
    width: 18vw;
    margin: 0 auto;
}

.form-group input {
    border-radius: 5px;
    line-height: 20px;
}

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-content-wrapper {
    overflow-y: hidden;
} */

/* #kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
} */

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

#kc-registration-button {
    margin: 0;
    color: white;
}

#kc-registration-title {
    margin: revert;
    color: #363636;
}

/* TOTP */

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

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

#login-catchphrase {
    text-align: left;
    letter-spacing: 0;
    color: black;
    opacity: 1;
    font-weight: 700;
    font-size: 54px;
    line-height: normal;
    font-family: "Barlow Bold";
}


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

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

    #login-catchphrase-wrapper {
        padding: 3rem;
    }
}

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

    .login-pf-signup #kc-info-wrapper {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
        padding-top: 15px;
        padding-left: 0px;
        padding-right: 0px;
    }

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

    #login-catchphrase-wrapper {
        padding: 0.5rem;
    }

}

@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-catchphrase-wrapper {
    background: white;
    width: 100%;
    margin: 0;
    flex-basis: 50%;
}

#login-subtitle {
    font-family: "Barlow Bold";
    color: #C4151C;
    font-size: 26px;
    line-height: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;

}

#kc-page-title {
    font-weight: 300;
}

.triangle {
    width: 62px;
    height: 62px;
    position: absolute;
    right: -25px;
    top: 100px;
    rotate: 45deg;
    z-index: 100;
    background-color: white;
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}


@media (max-width: 992px) {

    div.kc-logo-legacy {
        height: 20vh;
        width: 100%
    }

    .triangle {
        display: none;
    }

    .login-pf-page .login-pf-page-header {
        margin-bottom: 0;
    }

    .login-pf-page .login-pf-signup {
        margin: 0
    }

    #kc-page-title {
        display: none;
    }
    .form-group {
        margin-bottom: 0;
    }


    .login-pf-page {
       overflow: inherit;
    }

    #login-catchphrase {
        font-size: 30px;
    }

    #login-subtitle {
        font-size: 22px;
    }


    body {


        flex-direction: column;

        .left { min-height: 40vh}
        .right { flex-basis: 50%}
    }
    /* #login-catchphrase-wrapper {
        margin-top: 0;
    }

    #login-catchphrase {
        margin: 0;
        font-size: 25px !important;
    } */
}


#login-subtitle-arrow {
    display: inline-block;
        background: url("../svg/arrow-up-right.svg");
        width: 16px;
        height: 16px

}


.login-pf-page {
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: #F5F6F8;
}

@media (max-height: 720px) {
    .login-pf-page {
        height: auto;
    }
}

.login-pf-page-header {
    margin-bottom: 0;
}

.login-pf-page .login-pf-brand {
  padding-top: 20px;
  width: 100%;
}

.login-pf-page .login-pf-page-header {
    margin-bottom: 10px;
    justify-items: center;
}

.login-pf-page .login-pf-header {
    justify-items: center;
}

.login-pf-settings {
    justify-items: right;
}

.card-pf {
  background: none;
  margin: 0 15% 0 15%;
  /* margin: 0 auto; */
  /* padding: 0 20px; */
  /* max-width: 500px; */
  padding: 0;
  border-top: 0;
  box-shadow: 0 0 0;
  background: inherit;
}

/*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: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-header
  {
    margin-bottom: 10px;
  }

}

.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;
    background-color: #00BBD4;
    background-image: none;
    border-color: #00BBD4;
    &:hover {
        background-color: #03A4C7;
        border-color: #03A4C7;
    }
    &:disabled {
        background-color: #7F909E;
        border-color: #7F909E;
    }
  }

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