@import url('font-awesome.min.css');
@import url('SpaceGrotesk.css');

:root {
    --pf-global--FontSize--md: 16px;
    --pf-global--FontSize--sm: 12px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-height: 100%;
    font-family: "SpaceGrotesk", "Verdana", "Arial", sans-serif;
    margin: 0;
    font-size: 16px;
    line-height: 1.66666667;
}
input, textarea, button {
    font-family: "SpaceGrotesk", "Verdana", "Arial", sans-serif;
}
a:hover {
    color: #660CFA;
}
/* Spacing */
.mt-1 {
    margin-top: 4px !important;
}
.mt-2 {
    margin-top: 8px !important;
}
.mt-3 {
    margin-top: 16px !important;
}

/* custom classes */
.ap-fa-flex-lg {
    font-size: 24px;
    line-height: 24px;
    font-weight: 300;
    width: 28px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Button basics */
.btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    border: 1px solid #660CFA;
    border-radius: 10px;
    cursor: pointer;
}
.btn-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    color: #fff;
    background-color: #660CFA;
}
.btn-primary:hover {
    background-color: #5004CD;
    border-color: #5004CD;
}
.btn-primary:active {
    background-color: #3D039B;
}
.btn-primary:disabled {
    color: #8A87AD;
    background-color: #F3F3F7;
}
.kc-btn-submit-disabled {
    color: #8A87AD;
    background-color: #F3F3F7;
    pointer-events: none;
}
.btn-secondary {
    color: #660CFA;
    background-color: #fff;
    border: 1px solid #660CFA;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover {
    background-color: #ECE6FF;
}
.btn-secondary:active {
    background-color: #C3A0FD;
}
.btn-secondary:disabled {
    color: #8A87AD;
    background-color: #F3F3F7;
    border-color: #D0CFDE;
    cursor: auto;
}

/*structure*/
#wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}
header .container, footer .container {
    display: flex;
    max-width: 92vw;
    margin: 0 auto;
}

/*footer rebrand */
footer .container{
    height: auto;
    background-color: #fff;
    border-radius: 16px 16px 0px 0px;
    border: 1px solid #D0CFDE;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
    flex-wrap: wrap-reverse;
    padding-top: 16px;
    padding-bottom: 16px;
    row-gap: 16px;
}

/*Structure Header, Footer and Login mask*/
header .container{
    justify-content: center;
}
header, footer, #kc-container {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.container {
    margin-right: 18vw;
    margin-left: auto;
    padding: 0;
    width: 100%;
}

/*basic MQ */
@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}
@media (min-width: 1279px) {
    .container {
        width: 92vw;
    }
}

/* error handling */
.alert {
    color: #CC1F33;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 10px;
}
.alert-error {
    background-color: #fff;
    display:flex;
}
.alert-warning {
    background-color: #fff;
    display:flex;
}
.alert-success {
    background-color: #fff;
    display:flex;
    color:#1AAD3A;
}
.alert-info {
    background-color: #E2EEF5;
}
.alert .fa {
    font-size: 14px;
    margin-right: 8px;
    margin-top: 2px;
}
.form-error + #kc-form .form-group .form-control {
    border-color: #CC1F33;
    background-color: #FBE4EA;
    color:#2D276B;
}
.form-warning + #kc-form .form-group .form-control {
    border-color:#CC1F33;
}

/*Footer */
footer {
    display: flex;
    justify-content: flex-end;
}
footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
    row-gap: 4px;
}
footer .footer-menu a {
    color: #660CFA;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    display: inline-block;
    margin-left: 0px;
    margin-right: 48px;
    text-decoration: none;
}
footer .copyright {
    float: left;
    color: #2D276B;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin: 0;
    margin-right: 8px;
}
.copyright {
    min-width: 126px;
}
.copyrightMobile{
    min-width:126px;
    display: none;
}
.container-copyright {
    display: flex;
    flex-flow: row;
    height:auto;
    align-items:center;
    justify-content: space-between;
}

/* Header global */
header {
    max-height: 74px;
    min-height: 74px;
    position:absolute;
    z-index: 1000;
    width: 100%;
}
.headerBrand{
    position:absolute;
    height:66px; /* 88px 109px;*/
    width:92vw; /* was 80%; */
    background-color: #fff;/*#7417B0; */
    border-bottom: 1px solid #D0CFDE;
    z-index:10;
    border-radius: 0px 0px 16px 16px;
}
.headerWrapper {
    display: flex;
    position: relative;
    justify-content: space-between;
    max-width: 92vw;
    height: auto;
    width: 100%;
}
.bgheaderText{
    background-color: #35F200;
    height:fit-content;
    border-radius: 0px 10px 10px 10px;
    position:absolute;
    top:26px;
    left:96px;
}

/*Header left */
.logo-group{
    display: flex;
    flex-flow: row;
    float:left;
    z-index: 20;
}
#headerText{
    margin-left: 57px;
    margin-right: 16px;
    margin-bottom: 12px;
    margin-top:12px;
    font-weight: 500;
    font-size: 16px;
    color: #160F5B;
    display: flex;
    align-items: center;
    height:auto;
}
#kc-logo {
    display: flex;
    align-items: center;
    height:66px;
    padding: 24px;
    background-color:#160F5B;
    border-radius: 0px 0px 16px 16px;
    z-index: 10;
}
#kc-logo-wrapper {
    background-image: url("../img/rebrand/logo/AirPlus_wordmark_white_rgb.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 89px;
    height: 18px;
    cursor: pointer;
}

/* Header right - Language switcher*/
.langWrap{
    display: flex;
    flex-flow: row;
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
}
.lang{
    display: none;
    margin-left: 16px;
    margin-right: 8px;
}
.langDE {
    background-image: url("../img/flags/DE.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}
.langEN {
    background-image: url("../img/flags/EN.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}
.langES {
    background-image: url("../img/flags/ES.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}
.langFR {
    background-image: url("../img/flags/FR.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}
.langIT {
    background-image: url("../img/flags/IT.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}
.langNL {
    background-image: url("../img/flags/NL.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 22px;
    height: 22px;
}

/* Language switch structure */
#kc-locale {
    height: 66px;
    display:flex;
    align-items: top;
    z-index: 20;
    background-color: #fff;
    border-radius: 0px 0px 16px 16px;
}
#kc-locale ul {
    display: none;
    height: auto;
    background-color: #fff;
    list-style: none;
    right: 0px;
    top: 0px;
    padding: 0px;
    padding-top: 8px;
    position: relative;
    z-index: 100;
    box-shadow: 0px 0px 8px 0px rgba(22,15,91,.16);
    border-radius: 0px 0px 16px 16px;
}
#kc-locale ul li {
    height: 44px;
    width:100%;
    margin-left: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* List items - Language switcher*/
#kc-locale ul li a {
    color:#660CFA;
    font-size: 16px;
    font-weight: 400;
    margin: 0px;
    display: block;
    line-height: 32px;
    background: none;
    text-decoration: none;
}
#kc-locale ul li a:hover {
    color: #660CFA;
    font-weight: 400;
}
#kc-locale:hover ul {
    display: block;
    margin: 0;
    width: 100%;
}
#kc-locale #kc-locale-dropdown {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#kc-locale:hover #kc-locale-dropdown {
    box-shadow: 0px 0px 8px 0px rgba(22,15,91,.16);
    border-radius: 0px 0px 16px 16px;
    background-color: #fff;
}
#kc-locale-dropdown > a {
    font-weight: 400;
    line-height: 48px;
    text-decoration: none;
}
a#kc-current-locale-link {
    justify-content: center;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    color: #660CFA;
    height: 66px;
    width: 100%;
    padding: 0px 48px;
    align-items: center;
}
a#kc-current-locale-link:hover {
    background-color: transparent;
}

/* Structure main content*/
#kc-container {
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    transition: background-image 1s ease-in-out;
}
.kc-container-bgImg-1 {
    background-image: url(../img/rebrand/bg/airplus_background_1.jpg);
}
.kc-container-bgImg-2 {
    background-image: url(../img/rebrand/bg/airplus_background_2.jpg);
}
.kc-container-bgImg-3 {
    background-image: url(../img/rebrand/bg/airplus_background_3.jpg);
}

/* Login mask */
#kc-header {
    overflow: visible;
}
#kc-content {
    position: relative;
}
#kc-info {
    width: auto;
}
#kc-info-wrapper {
    font-size: 16px;
}
#kc-form-options span {
    display: block;
    margin-top: 4px;
    margin-bottom: 4px;
}
#kc-container #kc-container-wrapper {
    height: 100%;
    width: 100%;
}
#kc-container #kc-container-wrapper #kc-header {
    font-size: 16px;
    color: #2D276B;
    line-height: 24px;
    font-weight: 500;
}
#kc-container #kc-container-wrapper #kc-header strong {
    font-weight: 500;
    display: block;
}
#kc-header-wrapper-strong{
    font-size: 24px;
    font-weight: 600;
    margin-top: 2px;
    color: #160F5B;
    margin-bottom: 36px;
}
#kc-container #kc-container-wrapper #kc-content {
    width: 428px;
    min-height: 428px;
    max-height:fit-content;
    background: #fff;
    box-shadow: 0px 0px 8px 0px rgba(22,15,91,0.16);
    border: 1px solid #D0CFDE;
    border-radius: 10px;
    padding: 28px 40px 24px 40px;
    color: #2D276B;
    display: flex;
    font-weight: 400;
    flex-flow: column;
    margin-top: 30vh;
    margin-bottom: 8vh;
}
#kc-content-wrapper {
    display: flex;
    flex-flow: column;
}

/* Input fields*/
.form-input{
    width: 100%;
    margin-bottom: 16px;
}
.form-group {
    display: flex;
    flex-flow: column;
}
.form-group:last-of-type {
    margin-bottom: 0;
    flex-flow: column;
}
.form-group .form-label {
    display: none;
}
.form-group .form-control {
    height: 48px;
    border: 1px solid #D0CFDE;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 16px;
    color: #160F5B;
    font-weight: 400;
    outline: 0;
    width: 100%;
}
.form-group .form-control:hover {
    border-color: #5004CD;
}
.form-group .form-control:focus {
    border-color: #3D039B;
    color:#3D039B;
}
.form-control:invalid {
    background-color: #fff;
    border-color: #CC1F33;
}
.form-control:valid,
.form-control:focus {
    background-color: #fff;
    color: #160F5B;
}
#kc-form-options {
    width: 100%;
    float: none;
    display: block;
    text-align: right;
    margin-top: 8px;
}
#kc-form-options a {
    font-weight: 400;
    font-size: 16px;
    color: #660CFA;
    text-decoration: underline;
}
#kc-form-options a:hover{
    font-weight: 400;
    color: #5004CD;
}
#kc-form-buttons {
    text-align: right;
    width: 100%;
}

/*placeholder input */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8A87AD;
    opacity: 1; /* Firefox */
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: #8A87AD;
}
.form-control::-webkit-input-placeholder, /* Chrome/Opera/Safari */
.form-control::-moz-placeholder, /* Firefox 19+ */
.form-control:-ms-input-placeholder, /* IE 10+ */
.form-control:-moz-placeholder { /* Firefox 18- */
    color: #8A87AD;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
}

/* register section*/
#registerBox {
    margin-top: 34px;
    border-top: 1px solid #D0CFDE;
}

.registerBoxWrapper {
    display:flex;
    flex-flow: column;
    font-size: 14px;
    line-height: 24px;
}
.registerBoxpromt {
    margin-top: 16px;
}
.registerBoxLink {
    font-weight: 400;
    color: #2D276B;
}
.hyperlinkmigrate {
    text-decoration: underline;
    color: #660CFA;
    font-weight: 400;
}
.footer-menu .hyperlinkmigrate {
    margin: 0px;
}

/* Responsive asjustments */
.info-mobile {
    margin-bottom: 20px;
}
.form-message .form-error{
    margin-top: -10px;
}

/*TAN button*/
#TAN-buttons{
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
    flex-wrap: wrap;
}
#TAN-buttons .btn-secondary {
    margin-top: 8px;
}
#TAN-buttons .btn-primary {
    margin-top: 8px;
}
#kc-tan-back-to-login-link:disabled {
    color: #8A87AD;
    background-color: #F3F3F7;
}

/* counter TAN */
#clock{
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 16px;
}
#clock-countdown{
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    color:#CD7C1C;
}
#clock-countdown-end{
    color:#CC1F33;
}
.clock-icon{
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("../img/clock/timelapse-on-16px.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

#kc-social-providers .kc-social-providers-title {
    text-align: center;
}

#kc-social-providers .kc-social-providers-list {
    margin: 0;
    padding: 0;
    text-align: center;
    list-style: none;
}

#kc-social-providers .kc-social-providers-list > li {
    margin-bottom: 8px;
}
.fa-1-5x {
    font-size: 1.5rem;
}

/* Internet Explorer 11 compatibility workaround for select-authenticator screen */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .select-auth-box-parent {
        border-top: 1px solid #f0f0f0;
        padding-top: 1rem;
        padding-bottom: 1rem;
        cursor: pointer;
    }

    .select-auth-box-headline {
        font-size: 16px;
        color: #06c;
        font-weight: bold;
    }

    .select-auth-box-desc {
        font-size: 14px;
    }

    .pf-l-stack {
        flex-basis: 100%;
    }
}
/* End of IE11 workaround for select-authenticator screen */

.select-auth-box-arrow{
    display: flex;
    align-items: center;
}

.select-auth-box-icon{
    display: flex;
    flex: 0 0 2em;
    justify-content: center;
    margin-right: 1rem;
    align-items: center;
}

.select-auth-box-parent{
    border-bottom: 1px solid #D0CFDE;
    padding: 12px 16px;
    cursor: pointer;
}

.select-auth-box-parent:hover {
    background-color: #ECE6FF;
    color: #5004CD;
}

.select-auth-box-parent:hover .select-auth-box-headline,
.select-auth-box-parent:hover .select-auth-box-desc {
    color: #5004CD;
}

.select-auth-box-parent:active {
    background-color: #3D039B;
    color: #FFFFFF;
}

.select-auth-box-parent:active .select-auth-box-headline,
.select-auth-box-parent:active .select-auth-box-desc {
    color: #FFFFFF;
}


.select-auth-container {
    padding-bottom: 0px !important;
}

.select-auth-box-headline {
    font-size: var(--pf-global--FontSize--md);
    color: #160F5B;
    font-weight: 400;
    font-style: normal;
    line-height: 24px;
    text-overflow: ellipsis;
}

.select-auth-box-desc {
    color: #5C578C;
    font-size: var(--pf-global--FontSize--sm);
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

.select-auth-box-paragraph {
    text-align: center;
    font-size: var(--pf-global--FontSize--md);
    margin-bottom: 5px;
}

.card-pf {
    margin: 0 auto;
    box-shadow: var(--pf-global--BoxShadow--lg);
    padding: 0 20px;
    max-width: 500px;
    border-top: 4px solid;
    border-color: #0066CC; /* default - IE compatibility */
    border-color: var(--pf-global--primary-color--100);
}

.pf-l-split {
    --pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
    display: flex;
}
.pf-l-split.pf-m-wrap {
    flex-wrap: wrap;
}

.pf-l-split__item.pf-m-fill {
    flex-grow: 1;
}

.pf-l-split.pf-m-gutter > *:not(:last-child) {
    margin-right: var(--pf-l-split--m-gutter--MarginRight);
}

    /* MQ*/
    @media (max-width: 1279px) {
        .btn {
            font-size: 14px;
            line-height: 24px;
            height: 40px;
            min-width: 164px;
        }
        #kc-container #kc-container-wrapper #kc-header {
            font-size: 14px;
        }
        #kc-header-wrapper-strong{
            font-size: 22px;
        }
        .form-group .form-control {
            font-size: 14px;
        }
        #kc-form-options a {
            font-size: 14px;
        }
        a#kc-current-locale-link {
            font-size: 14px;
        }
        #kc-locale ul li a {
            font-size: 14px;
        }
        footer .footer-menu a {
            font-size: 12px;
            margin-right: 24px;
        }
        footer .copyright{
            font-size: 12px;
        }
        #kc-info-wrapper {
            font-size: 14px;
        }
    }
    @media (max-width: 767px) {
        header {
            min-height: 48px;
            max-height: 48px;
        }
        .headerTitle {
            padding-left: 0;
        }
        .headerWrapper{
            height: 48px;
            width:100%;
            display: flex;
            position: relative;
            justify-content: space-between;
            max-width: 92vw;
        }
        .bgheaderText {
            left: 85px;
            top: 16px;
        }
        .headerBrand{
            height: 48px;
        }
        #headerText{
            margin-left: 50px;
            margin-right: 16px;
            margin-bottom: 8px;
            margin-top: 8px;
        }
        #kc-container #kc-container-wrapper #kc-header {
            font-size: 16px;
        }
        #kc-header-wrapper-strong{
            font-size: 24px;
        }
        #kc-logo {
            height: 48px;
            padding: 15px;
        }
        #kc-info-wrapper {
            font-size: 16px;
        }
        #kc-locale {
            z-index: 99;
            height: 48px;
        }
        #kc-locale ul li {
            white-space: nowrap;
            width: auto;
        }
        #kc-locale #kc-locale-dropdown{
            margin-top: 0px;
        }
        a#kc-current-locale-link {
            height: 48px;
        }
        a#kc-current-locale-link::after {
            padding: 4px 5px;
        }
        #kc-container #kc-container-wrapper {
            width: 100%;
        }
        #kc-container #kc-container-wrapper #kc-content {
            width: 340px;
            height: fit-content;
            padding: 28px 30px 16px 30px;
            margin-top: 20vh;
        }
        #kc-container #kc-container-wrapper #kc-content:before {
            display: none;
        }
        #kc-container #kc-container-wrapper #kc-content #kc-form #kc-form-options {
            text-align: center;
            margin-bottom: 16px;
            margin-top: 14px;
        }
        #kc-container #kc-container-wrapper #kc-content #kc-form #kc-form-options a {
            text-decoration: underline;
            letter-spacing: 0;
        }
        #kc-container #kc-container-wrapper #kc-content #kc-form #kc-form-buttons {
            text-align: center;
            font-size:12px;
        }
        #kc-content {
            margin-right: auto;
        }
        .form-group .form-control {
            font-size: 16px;
        }
        #kc-form-options a {
            font-size: 16px;
        }
        .btn {
            font-size: 16px;
            line-height: 24px;
            width: 100%;
            height: 48px;
        }
        #registerBox {
            margin-top: 20px;
        }
        footer {
            padding: 0;
        }
        footer .copyright {
            font-size: 16px;
        }
        .copyrightMobile{
            display: flex;
            flex-direction: row;
            justify-content: center;
            width: 100%;
            color: #2D276B;
            font-size: 14px;
            line-height: 24px;
        }

        .copyright{
            display:none;
        }

        .container-copyright{
            display:flex;
            flex-flow: column;
            height:auto;
        }
        footer .container {
            row-gap: 0px;
        }
        footer .footer-menu {
            row-gap: 16px;
            display:flex;
            flex-direction: column;
            margin-bottom: 40px;
        }
        footer .footer-menu a {
            font-size: 14px;
            margin-right: 0;
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }
        .kc-container-bgImg-1 {
            background-image: url(../img/rebrand/bg/airplus_background_mobile_1.jpg);
        }
        .kc-container-bgImg-2 {
            background-image: url(../img/rebrand/bg/airplus_background_mobile_2.jpg);
        }
        .kc-container-bgImg-3 {
            background-image: url(../img/rebrand/bg/airplus_background_mobile_3.jpg);
        }
        div#TAN-buttons {
            flex-flow: column;
        }
        #TAN-buttons .btn-secondary {
            margin-top: 0px;
        }
        #TAN-buttons .btn-primary {
            margin-top: 0px;
        }
        #kc-form-buttons {
            margin-bottom: 10px;
        }
        #kc-container #kc-container-wrapper #kc-content {
            height: fit-content;
        }
    }
    @media (max-width: 479px) {
        #kc-locale #kc-locale-dropdown {
            width: 104px;
        }
        #kc-locale ul li {
            margin-left: 16px;
        }
    }
    @media (max-width: 374px) {
        .bgheaderText {
            left: 77px;
        }
        .lang {
            margin-left: 8px;
        }
        #kc-container #kc-container-wrapper #kc-content {
            width: 100%;
            height: fit-content;
            padding: 28px 30px 16px 30px;
        }
        footer {
            min-height: 94px;
            max-height: 108px;
            justify-content: flex-start;
        }
        .container-copyright {
            display: flex;
            flex-flow: column;
        }
    }
    @media (max-width: 319px) {
        .bgheaderText {
            display: none;
        }
    }
}