@font-face {
    font-family: "Brandon Text";
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url("../fonts/Brandon-regular/BrandonText-Regular.woff2") format("woff2"), url("../fonts/Brandon-regular/BrandonText-Regular.woff") format("woff");
}

@font-face {
    font-family: "Brandon Text";
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url("../fonts/Brandon-bold/Brandon_txt_bld-webfont.woff2") format("woff2"), url("../fonts/Brandon-bold/Brandon_txt_bld-webfont.woff") format("woff");
}

body {
    font-family: "Brandon Text", Helvetica, Arial, sans-serif;
}

.login-pf body {
    background: white;
}

.alert-error,
.alert-warning,
.alert-success {
    background-color: transparent;
    border-radius: 25px;
    border-color: #000;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 8px 0;
}
.alert-error > span,
.alert-warning > span,
.alert-success > span {
    margin-left: 10px;
}

.alert-error > span,
.alert-warning > span {
    color: red;
}


.pficon::before {
    color: #000;
}

.login-pf {
    background: white;
}

.input-error {
    font-size: 13px;
    color: red;
    line-height: 1.25;
    display: block;
    margin-top: 3px;
}

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

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

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

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

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

#kc-logo {
    width: 100%;
}

div.kc-logo-text {
    background-image: url('../img/ab_next_logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    height: 100px;
    width: 100px;
    margin: 0 auto;
}

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

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

#kc-header-wrapper {
    display: none;
}

#kc-content {
    width: 100%;
}

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

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

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

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

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

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

#kc-form-checkbox {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px 15px;
}

#kc-form-options .checkbox input {
    width: 15px;
    height: 15px;
}
#kc-form-options label {
    font-size: 14px;
}

#kc-form-options a, [data-back] a {
    font-size: 14px;
    color: #5e5873;
    text-decoration: underline;
}

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

#kc-registration {
    margin: 15px 0 25px;
    text-align: center;
}
#kc-registration span, #kc-registration span a {
    font-size: 14px;
    color:#000
}
#kc-registration span a {
    text-decoration: underline;
}

/* TOTP */

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-password-requirements {
    display: block;
    padding-top: 8px;
}

.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;
        color: #72767b;
        letter-spacing: 0;
    }

    #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: 0;
        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: 100px;
        top: unset;
        right: 40px;
        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 {
    display: flex;
    justify-content: flex-end;
}

#kc-page-title h1 {
    display: none;
}

#kc-page-title {
    background-image: url('../img/ab_next_logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    height: 100px;
    width: 100px;
    position: relative;
    font-size: 0;
}

#kc-page-title a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.card-pf {
    background: #fff;
    border-radius: 30px;
    border: 1px solid #848282;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 500px;
    box-shadow: 0 0 0;
    color: #000;
}

/*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;
        padding-top: 0;
    }

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

.login-pf-page .login-pf-signup {
    font-size: 15px;
    color: #72767b;
}
.login-pf-page .login-pf-settings {
    flex-direction: column;
    margin-bottom: 0;
}

.login-pf-page .login-pf-settings a {
    font-size: 14px;
    color: #5e5873;
}

#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 {
    box-shadow: none;
    margin-top: 0;
    background: transparent;
}

.login-pf-page {
    border-color: #00b4d5;
    background-color: #fff;
    color: white;
}

.login-pf-page .btn-primary {
    width: 200px;
    height: 39px;
    background-color: #000;
    border-color: transparent;
}

.login-pf-page .btn:hover {
    background: black;
}

.login-pf-page .btn-primary:hover {
    background: #00B4D4;
}
.login-pf-page .btn-primary:active {
    background: #0796AF;
}
.login-pf-page .btn-primary:focus {
    outline: none;
    outline-offset: 0;
    background: #0796AF;
}
.login-pf-page .btn-primary:active:focus {
    border-color: transparent;
}
.login-pf-page .login-pf-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-pf-page .form-control {
    border-radius: 30px;
    height:39px;
    border: 1px solid #848282;
    color: #000;
}

input[type="submit"].btn-block,
#registerButton {
    border-radius: 30px;
    width: 200px;
    height: 39px;
    border-radius: 30px;
}


#linkAccount {
    min-height: 39px;
    border-radius: 30px;
    width: 100%;
    text-wrap: wrap;
}

.login-pf-page .control-label {
    font-size: 14px;
}

.login-links__container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.login-links__link {
    color: #5e5873;
    text-decoration: underline;
}

.login-links__link:hover {
    color: #5e5873 !important;
    text-decoration: underline;
}

.my-locale-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.my-locale-dropdown__text {
    margin-right: 10px;
}

@media (max-width: 767px) {
    .my-locale-dropdown {
        width: 100%;
        justify-content: flex-start;
        margin-top: 20px;
    }

    .my-locale-dropdown__text {
        margin-right: 80px;
    }
}

.register-page .login-pf-page {
    min-height: 100vh;
    padding-top: 0;
    color: #000;
}

.register-page .btn-primary {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-page .card-pf {
    margin: 0;
    max-width: 700px;
    min-width: min(600px, 50vw);
    flex-grow: 1;
    padding: 40px 40px 30px;
}

.register-page #registerButton {
    width: 100%;
}

.register-page #kc-register-form-top,
.register-page #kc-register-form-bottom {
    max-width: 500px;
    width: 100%;    
    display: flex;
    flex-direction: column;
}

/* Register header */
.register-header {
    color: #000;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    list-style: none;
    padding: 16px;
    font-size: 20px;
}

.register-header > li {
    padding-right: 12px;
    border-right: 1px solid #000;
}

.register-header a {
    color: #000;
    text-decoration: none;
}

.register-header__locales {
    display: flex;
    gap: 12px;
    text-transform: uppercase;
    list-style: none;
    padding-left: 0;
    align-items: center;
}

.register-header__locales li {
    height: fit-content;
    line-height: 1;
}

.register-header__locales li:first-child {
    padding-right: 12px;
    border-right: 1px solid #000;
}

/* Register hero */
.register-hero {
    position: relative;
    margin: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (min-width: 1000px) {
        min-height: 78vh;
     }
}

.register-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.7) blur(2px);
    border-radius: 30px;

    @media (max-width: 1000px) {
       display: none;
    }
}

.register-hero__card {
    background: #fff;
    color: #000;
    padding: 24px;
    border-radius: 30px;
    z-index: 1;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;

    @media (max-width: 1000px) {
        padding: 24px 16px;
        margin: 20px auto;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }
}

.register-hero__title {
    font-size: 28px;
    font-weight: 700;
    margin: 16px 0 4px;
    text-align: center;
}

.register-hero__subtitle {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.register-hero__description {
    font-size: 16px;
    margin: 24px 0 16px;
    text-align: center;
}

/* Register clients swiper*/
.register-clients {
    color: #000;
    margin: 24px;
}

.register-clients__title {
    font-size: 28px;
    margin: 16px 0;
    text-align: center;
}

.register-clients .swiper-wrapper{
    -webkit-transition-timing-function:linear!important;    
    transition-timing-function:linear!important; 
  }

.register-clients .swiper-slide {
    text-align: center;
    padding: 0 20px;
}

.register-clients .swiper-slide img {
    height: 80px;
    width: 100%;
    object-fit: contain;
}

/* Register testimonials */
.register-testimonials {
    background: #f4f4f4;
    margin: 32px 16px;
    padding: 32px;
    border-radius: 48px;
    font-size: 16px;
}

.register-testimonials .swiper-wrapper {
    padding-bottom: 48px;
}

.register-testimonials .swiper-slide {
    border-radius: 48px;
    cursor: grab;

    @media (min-width: 1000px) {
        width: 600px;
    }
}

.register-testimonials .swiper-slide-shadow-left,
.register-testimonials .swiper-slide-shadow-right {
    border-radius: 48px;
    background: rgba(0, 0, 0, 0.1);
}

.register-testimonials .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) !important;
}
.register-testimonials .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) !important;
}

.register-testimonials .swiper-pagination-bullet {
    background: #b6b7b7;
    width: 10px;
    height: 10px;
}

.register-testimonials .swiper-pagination-bullet-active {
    background: #6f6f6f;
    width: 12px;
    height: 12px;
}

.register-testimonials__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 32px 20px;
    border-radius: 48px;
    background: #fff;
    color: #000;
    text-align: center;
}

.register-testimonials__title {
    font-weight: 700;
}

.register-testimonials__description {
    max-width: max(75%, 300px);
}

.register-testimonials__image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

/* Register footer  */
.register-footer {
    padding: 64px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 18px;
    @media (max-width: 1200px) {
        grid-template-columns: 1fr 1fr;
    }
    @media (max-width: 800px) {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
}

.register-footer__logo {
    height: 48px;
    @media (max-width: 800px) {
        margin: 0 auto;
    }
}

.register-footer__links {
    display: grid;
    text-align: center;
}

.register-footer__links a {
    color: #000;
}

.register-footer__links a:hover {
    text-decoration: underline;
}

#bottom-register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
}

#bottom-register-form > span {
    text-align: center;
    font-size: 18px;
    max-width: 500px;
}


.abx-additional-fields {
    display: none;
}

.abx-additional-fields.is-shown {
    display: block;
}

.margin-align-right {
    margin-left: auto;
}

.mt--2 {
    margin-top: -15px;
}

.br-16 {
    border-radius: 30px;
}

.invalidField {
    border-color: red;
}

.or-socials {
    height: 2px;
    background: #000;
    position: relative;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 13px;
}

.or-socials:after {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 1.25em;
}

.login-pf-social {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px auto 20px auto !important;
    text-align: center;
}

.login-pf-social i {
    font-size: 19px;
    margin-left: 8px;
    width: 24px;
}

.login-pf-social a {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    background: #fff;
    min-height: 39px;
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #848282;
    color: #000;
    text-decoration: none !important;
    font-size: 15px;
}

@media(min-width: 500px) {
    .login-pf-social {
        width: calc(80% - 40px);
    }
}

.register-page .or-socials {
    margin: 0 0 20px;
    background: transparent;
    height: 16px;
}

.register-page .or-socials:after {
    background: transparent;
    font-weight: 500;
}

@media(min-width: 500px) {
    .register-page .form-group {
        width: 80%;
        margin: 0 auto 15px;
    }
}
    
.register-email-input {
    display: none;
}

.register-email-input.is-shown {
    display: block;
}

[disabled] {
    pointer-events: none;
}

.register-page .btn-primary[data-continue] {
    display: none;
}

.register-page .btn-primary[data-continue].is-shown {
    display: flex;
}

.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: #000;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
}

.password-wrapper input {
    padding-right: 40px;
}

.abx-sent-email {
    text-align: center;
}

.abx-sent-email p {
    color: #000 !important;
}

@media(max-width: 500px) {
    #kc-register-form-top [data-continue],
    #kc-register-form-bottom [data-continue] {
        width: 100%;
    }
    #kc-register-form-top .form-group.mt--2,
    #kc-register-form-bottom .form-group.mt--2 {
        margin-top: 0;
    }
    #kc-register-form-top #registerButton,
    #kc-register-form-bottom #registerButton {
        width: 100%;
        margin-top: 15px;
    }
    #kc-register-form-top [data-back],
    #kc-register-form-bottom [data-back] {
        order: 4;
        text-align: center;
        display: block !important;
    }
    #kc-register-form-top #kc-form-options,
    #kc-register-form-bottom #kc-form-options {
        display: none;
    }
}

#kc-u2f-login-form #emailCode{
    border-radius: 30px;
    width:100%;
    height: 39px;
    border: 1px solid #848282;
    color: #000;
}

#kc-u2f-login-form #emailCode{
    border-radius: 30px;
    width:100%;
    height: 39px;
    border: 1px solid #848282;
    color: #000;
}

#kc-u2f-login-form .form-group {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
}

#kc-u2f-login-form .btn-primary {
    width: 200px;
    height: 39px;
    border-radius: 30px;
}

#kc-u2f-login-form > input:nth-child(2) {
    margin:0 auto;
    display:block;
}


#kc-u2f-login-form input[name="resend"],
#kc-u2f-login-form input[name="cancel"] {
    background:none;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    line-height: 1.66666667;
    font-family: "Brandon Text", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    background-color: transparent;
    display:block;
    margin:0 auto;
    font-size: 14px;
    color: #5e5873;
    text-decoration:underline!important;
}

#kc-u2f-login-form input[name="resend"] {
    margin-top:10px;
}

.kc-login-tooltip {
    text-align:center !important;
}
.kc-tooltip-text{
    text-align:center !important;
}
