@font-face {
    font-family: 'tele2_displayserif-bold';
    src: url('fonts/Tele2DisplaySerif-Bold-short__W.eot');
    src: url('fonts/Tele2DisplaySerif-Bold-short__W.eot?#iefix') format('embedded-opentype'),
    url('fonts/Tele2DisplaySerif-Bold-short__W.woff') format('woff'),
    url('fonts/Tele2DisplaySerif-Bold-short__W.ttf') format('truetype'),
    url('fonts/Tele2DisplaySerif-Bold-short__W.svg#tele2_displayserif-bold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'tele2_textsans_regular';
    src: url('fonts/tele2_textsans-regular.eot');
    src: url('fonts/tele2_textsans-regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/tele2_textsans-regular.woff') format('woff'),
    url('fonts/tele2_textsans-regular.ttf') format('truetype'),
    url('fonts/tele2_textsans-regular.svg#tele2_textsans_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    outline: none;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'tele2_displayserif-bold';
}

.space-holder36 {
    margin-bottom: 36px;
}

.auth-card__wrapper {
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.auth-card__wrapper .btns-col {
    display: flex;
    align-items: baseline;
    margin-top: 18px;
}

.auth-card__wrapper .btns-col .underscored-button {
    margin-left: 31px;
}

.auth-card__title {
    margin-bottom: 18px;
    font-size: 38px;
}

.recovery-password__wrapper,
.error-block__wrapper {
    margin: 52px 18px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.recovery-password__logo,
.error-block__logo {
    background-image: url("./icons/logo.svg");
    width: 56px;
    height: 56px;
    margin-bottom: 44px;
    background-color: #000;
}

.recovery-password__logo__skylink,
.error-block__logo__skylink {
    background-image: url("./icons/skylink-logo.svg");
    width: 88px;
    height: 33px;
    margin-bottom: 44px;
}

.recovery-password__title,
.error-block__title {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 27px;
}

.recovery-password-form,
.recovery-password-success,
.recovery-password-error,
.error-block__frame {
    max-width: 550px;
    flex-direction: column;
    border: 2px solid #1f2229;
    padding: 36px 41px 45px;
}

.recovery-password-form__wrapper {
    display: flex;
    flex-direction: row;
    margin-bottom: 36px;
}

.recovery-password-form-fields {
    flex-grow: 3;
}

.recovery-password-form-validators {
    flex-grow: 2;
}

.recovery-password-form__title,
.recovery-password-validate__title,
.recovery-password-success__title,
.recovery-password-error__title,
.error-block__frame__title {
    font-size: 16px;
    font-family: 'tele2_textsans_regular';
    font-weight: normal;
}

.recovery-password-form__fields {
    margin-right: 36px;
}

.number-field,.password-field, .recaptcha-html-block {
    position: relative;
    margin: 0 20px 0 0;
    width: 100%;
}

.recaptcha-html-block, .recaptcha-html-block .error-text {
    margin-top: 20px;
}

.recaptcha-html-block .error-text::before {
    display: none;
}

.text-error .text-field {
    color: #d72f4b;
    border-color: #d72f4b;
}

.error-text {
    width:  284px;
    color: #d72f4b;
    padding: 3px 0 2.2px;
    line-height: 1;
    font-size: 13px;
    overflow: initial;
    margin-top: -18px;
    display: block;
    position: relative;
    z-index: 0;
    font-family: 'tele2_textsans_regular';
}

.with-icon-eye.error-text:before {
    right: 28px;
}

.error-text:before {
    content: '';
    position: absolute;
    top: -30px;
    right: 9px;
    z-index: 10;
    will-change: opacity;
    transition: 250ms opacity cubic-bezier(0.4, 0, 0.6, 1);
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url("./icons/alert.svg") no-repeat;
    background-size: 21px 21px;
}

label {
    font-family: 'tele2_textsans_regular';
    position: absolute;
    max-width: 87%;
    overflow: hidden;
    top: 0;
    left: 0;
    line-height: 58px;
    color: #8f9399;
    white-space: nowrap;
    z-index: 1;
    font-weight: normal;
}

input:focus + label, .text-active + label {
    transition: .2s;
    font-size: 13px;
    line-height: 18px;
}

.fields-wrapper {
    display: flex;
}

.text-field {
    width: 284px;
    background-color: transparent;
    padding: 19px 0 0 0;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid #d1dbd6;
    margin-bottom: 18px;
    line-height: 26px;
    font-size: 16px;
}

.code-field-inputs {
    display: flex;
    order: -1;
    max-width: 100%;
}

.code-field_error-filled .code-field__bg-field:after {
    background-color: rgba(215,47,75,0.3);
}

.code-field-inputs__wrapper {
    display: flex;
}

.code-field-inputs__wrapper .static-error-text {
    background: none;
    margin: 0;
}

.code-field__bg-field {
    position: relative;
    width: 45px;
    height: 54px;
    margin-right: 9px;
}

.code-field__field {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    display: block;
    background: transparent;
    border: none;
    width: 45px;
    height: 54px;
    font-family: "tele2_displayserif-bold", serif;
    font-size: 24px;
    line-height: 54px;
    text-align: center;
    will-change: background-color;
}

.code-field__field:valid {
    border-color: #41a674;
}

.code-field__bg-field:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 45px;
    height: 54px;
    background-color: #e8e8ed;
    border-radius: 5px;
}

.underscored-button {
    text-decoration: underline;
    font-size: 1em;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    color: black;
}

.keycloak-login-form__additional-text .underscored-button {
    font-size: 16px;
    font-family: "tele2_textsans_regular",sans-serif;
    color: #8f9399;
}

.auth-card__wrapper .code-auth-block .underscored-button {
    margin-left: 0;
}

.keycloak-login-form__additional-text {
    margin-top: 18px;
    font-family: "tele2_textsans_regular",sans-serif;
    line-height: 18px;
    font-weight: normal;
    font-size: 16px;
    color: #8f9399;
}

.icon-eye-crossed:before {
    background-image: url("./icons/eye-crossed-icon.svg");
}

.icon-eye-open:before {
    background-image: url("./icons/eye-open-icon.svg");
}

.icon-eye-crossed:before, .icon-eye-open:before {
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    right: 0;
    top: 18px;
    background-repeat: no-repeat;
}

.static-error-text {
    max-width: 246px;
    font-size: 13px;
    font-family: 'tele2_textsans_regular';
    font-weight: normal;
    display: block;
    vertical-align: top;
    background: #f8d4da;
    padding: 10px 19px;
    line-height: 20px;
    color: #dc2644;
    margin: 0 0 27px;
}

.btn {
    font-family: 'tele2_textsans_regular';
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    padding: 13px 25px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    min-width: 125px;
    border-radius: 30px;
    border: 2px solid #1f2229;
    color: #fff;
    background: #1f2229;
}

.btn__skylink {
    font-family: 'tele2_textsans_regular';
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    padding: 13px 25px;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    min-width: 125px;
    border-radius: 30px;
    border: 2px solid #ff641e;
    color: #fff;
    background: #ff641e;
}

.recovery-password-validate__list {
    font-family: 'tele2_textsans_regular';
    list-style: url("./icons/icons-indicators-small.svg");
    padding-left: 20px;
    font-size: 14px;
    font-weight: normal;
    color: #8f9399;
}

.recovery-password-validate__item {
    padding-bottom: 10px;
}

.recovery-password-validate__item:last-child {
    padding-bottom: 0;
}

.valid {
    color: #41a674;
    list-style: url("./icons/icons-indicators-success-small.svg");
}

@media (max-width: 580px) {
    .auth-card__title {
        font-size: 24px;
        margin-top: 0;
    }

    .code-field-inputs__wrapper .static-error-text {
        padding: 0 0 9px 0;
    }

    .code-field-inputs__wrapper {
        display: block;
        text-align: center;
    }

    .error-text, .text-field {
        width: 100%;
    }

    .auth-card__wrapper .btns-col {
        display: block;
    }
    .auth-card__wrapper .btns-col .underscored-button {
        margin-left: 0;
    }
    .fields-wrapper {
        display: block;
    }
    .recovery-password__wrapper,
    .error-block__wrapper {
        margin-top: 22px;
    }
    .recovery-password__logo,
    .recovery-password__logo__skylink,
    .error-block__logo,
    .error-block__logo__skylink {
        margin-bottom: 27px;
    }
    .recovery-password-form,
    .recovery-password-success,
    .recovery-password-error,
    .error-block__frame {
        width: 100%;
        border: none;
        padding: 0;
    }
    .recovery-password__title,
    .error-block__title {
        text-align: center;
    }
    .recovery-password-form__wrapper {
        flex-direction: column;
    }
    .recovery-password-form__fields {
        margin: 0;
    }
    .btn-center {
        text-align: center;
        margin-top: 18px;
    }
    .forgot-password {
        margin-top: 18px;
        text-align: center;
    }
    .static-error-text {
        display: block;
    }
    .code-field-inputs {
        justify-content: center;
    }
}

@media (min-width: 580px) {
    .code-field-inputs__wrapper .static-error-text {
        padding: 18px 9px;
    }

    .static-error-text {
        width: max-content;
    }

    .auth-card__wrapper {
        display: flex;
        flex-direction: column;
        padding: 18px;
        margin: 128px auto;
    }

    .auth-step-block {
        max-width: 300px;
    }

    .password-step-block {
        max-width: 600px;
    }
}

.hidden {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

.grecaptcha-badge {
    display: none;
}
