:root {
    --green: #1B9124;
    --red: #B75C1B;
    --white-grey: #F7F7F7;
    --grey: #707070;
    --footer: #EFECEC;
    --black: #333333;
    --main-color: #494949;
    --blocked: #d8d8d8;
    --speed: 600ms;
    --speed-interval: 150ms;
    --radius: 15px;
}

div#studioCustomApplicationTemplate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form {
    position: relative;
}

.content-wrapper > form {
    margin-top: 0;
}

.connexion__title {
    font-weight: 600;
    color: var(--grey);
    font-size: 16px;
    text-align: center;
    line-height: 1.3;
}

.connexion__title b {
    white-space: nowrap;
}

.wrapper__studio{
    width: 200px;
    margin: 25px auto 40px;
}

.connexion__studio{
    width: 200px;
    margin: 25px auto 45px;
}

.form__inputContainer {
    position: relative;
    max-width: 270px;
    margin: 30px auto;
    height: 45px;
}

.form__inputContainer:nth-child(3) {
    margin-top: 40px;
}

.form__input {
    width: 100%;
    height: 100%;
    background: var(--white-grey);
    color: var(--grey);
    font-size: 14px;
    border-radius: var(--radius);
    box-sizing: border-box;
    padding: 0 15px 0 50px;
    border: 1px solid transparent;
}

.form__input--error {
    border: 1px solid var(--red);
}

.form__loader {
    position: absolute;
    top: -5px;
    right: 15px;
    visibility: hidden;
}

.form__loader.show {
    visibility: visible;
}

.open {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.form__svg {
    position: absolute;
    top: 13px;
    left: 18px;
    width: 18px;
}

.form__svg--error {
    right: 18px;
    left: auto !important;
}

.form__svg--error > g > g{
    stroke: var(--red);
}

.form__svg--error > g > path{
    fill: var(--red);
}

.form__lost {
    display: block;
    text-align: center;
    color: var(--grey);
    font-size: 11px;
    text-decoration: underline;
    margin: 15px auto auto;
    width: min-content;
    white-space: nowrap;
    transition: all .3s ease;
}

.form__submitContainer {
    position: relative;
    cursor: pointer;
    width: 190px;
    margin: 60px auto 0;
    height: 45px;
}

.form__submitContainer:hover > .form__buttonInput > .form__buttonSvg {
    animation: 0.5s infinite alternate arrowslide;
}

.form__buttonInput {
    height: 100%;
    width: 100%;
    cursor: pointer;
    background: var(--main-color);
    color: white;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    transition: all 300ms ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.form__buttonSvg {
    width: 14px;
}

.separatorLogin {
    background: var(--white-grey);
    max-width: 160px;
    width: 80%;
    height: 4px;
    margin: 60px auto 10px;
}

.background-global, body {
    background: url(/bundles/rcidentityprovideroauth/img/bg.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-logos-wrapper {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    width: 85%;
    flex-wrap: wrap;
    row-gap: 10px;
}

.logo-wrapper > a > img {
    height: 25px;
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.recovery__text {
    margin: 25px auto;
    font-size: 14px;
    text-align: center;
    color: #707070;
    line-height: 1.3;
}

.connexion__logo{
    position: fixed;
    height: 90px;
    margin-bottom: 0;
    border: solid 2px white;
    border-radius: 50%;
    display: block;
    margin-top: -45px;
    z-index: 2;
}

.connexion__logo--studio {
    margin-top: -115px;
}

.connexion__logo_text {
    margin: 10px auto 0;
    height: 60px;
    max-width: 200px;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
}


.form__error {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    z-index: 1;
    bottom: -40px;
    color: var(--red);
}

.form > .form__submitContainer {
    margin: 8.5vh auto 0;
}

.blur {
    height: 100px;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    position: fixed;
    margin-top: 7px;
    width: calc(0.6 * 80vw);
    max-width: calc(0.6 * 1050px);
    z-index: 2;
}

/* AUTOCOMPLETE */

.autocomplete {
    position: absolute;
    visibility: hidden;
    max-height: 200px;
    overflow: hidden auto;
    display: flex;
    z-index: 1;
    background: var(--white-grey);
    color: var(--grey);
    flex-direction: column;
    top: 45px;
    font-size: 12px;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    left: 0;
    right: 0;
}

.autocomplete__item{
    width: 100%;
    padding: 20px 30px 20px 18px;
    cursor: pointer;
}

#autocomplete-noresult, #autocomplete-noresult:hover, #autocomplete-noresult:focus {
    background-color: initial;
    color: var(--main-color);
    cursor: default;
}

.autocomplete__item:hover, .autocomplete__item:focus {
    background-color: rgba(112,112,112,0.15);
}

.autocomplete__item:hover,.autocomplete__item:focus {
    color: var(--main-color);
}

:focus-visible {
    outline: none !important;
}

/* LOADER */

.loader {
    display: block;
    width: 32px;
    height: 32px;
    margin: 100px auto;
    background: url(../bundles/rcidentityprovideroauth/img/loader.gif) no-repeat;
}

#loaderLogin {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: white;
    visibility: hidden;
}

#loaderLogin > #loader {
    width: 70px;
    height: 90px;
}

/* RESPONSIVE */

@media screen and (max-width: 1050px) {

    .form > .form__submitContainer {
        margin-top: 8vh;
    }
}

@media screen and (max-width: 768px) {

    .recovery__text {
        max-width: 300px;
    }

    .connexion__logo{
        position: initial;
        margin-top: 35px;
    }

    .connexion__title {
        margin: 50px auto 0;
    }
    .blur {
        display: none;
    }
    .studio_logo--responsive {
        display: none;
    }

    .connexion__logo_text {
        position: unset;
        margin-left: 50%;
    }
}

/* MODIFIER */

.product-name {
    color: var(--main-color);
}

.blocked {
    cursor: not-allowed !important;
}

.blocked > .form__buttonInput > .form__buttonSvg {
    animation: none !important;
}

.blocked > .form__buttonInput {
    background: var(--blocked) !important;
    /*pointer-events: none;*/
}

.inline {
    display: block;
}

/* LOADER */

.lds-roller {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    transform: scale(0.35);
}
.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grey);
    margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

/* ANIMATIONS */

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes arrowslide {
    to {
        transform: translateX(10px);
    }
}
