@font-face{
    font-family: 'Space Grotesk Regular';
    src: url("../fonts/SpaceGrotesk-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'Space Grotesk Semibold';
    src: url("../fonts/SpaceGrotesk-SemiBold.ttf") format('truetype');
}

@font-face {
    font-family: 'Space Grotesk Bold';
    src: url("../fonts/SpaceGrotesk-Bold.ttf") format('truetype');
}

body, html {
    font-family: "Space Grotesk Regular", serif !important;
}

#kc-header {
    font-size: 20px;
    border: 1px solid #91D2D7;
    border-bottom: none;
    padding-top: 20px;
}

#kc-header:has(.tilaa-header-menu) {
   padding-top: 0px;
   border: none;
}

#kc-content {
    padding: 40px;
    border: 1px solid #91D2D7;
    border-top: none;
}

.tilaa-header-menu {
    display: flex;
}

.tilaa-header-menu-link {
    flex: 1 1 auto;
    background: #BCCED3;
    padding: 10px;
    border-bottom: 1px solid #91D2D7;
}

.tilaa-header-menu-link.active {
    background: #ffffff;
    border: 1px solid #91D2D7;
    border-bottom: none;
}

.tilaa-card {
    background: #ffffff;
}

.pf-c-button.pf-m-control {
  background-color:rgb(145, 210, 215, 0.15);
  outline: none;
  margin-left: 0;
}

.pf-c-button:after {
  border: none;
}


.alert-warning {
    margin-bottom: 18px;
}

.login-pf-page .card-pf .tilaa-register, .login-pf-page .card-pf .tilaa-password-reset a {
    font-size: 14px;
    color: #000000;
}

.login-pf-page .card-pf .tilaa-register a, .login-pf-page .card-pf .tilaa-password-reset a, .tilaa_term a {
    color: #0a5d5e;
    text-decoration: underline;
}

.tilaa-login--text, .login-pf-page .card-pf .tilaa-register {
    color: #000000;
    font-size: 16px;
}

.tilaa-login--text {
    font-size: 20px;
    display: flex;
}

.tilaa_term {
    padding-top: 10px;
    font-size: 15px;
}

#header_section a {
    text-decoration: none;
    color: black;
}

#tilaa_register {
    text-align: center;
    width: 50%;
    font-size: 20px;
    padding: 3%;
    border-bottom: 1px solid;
    border-color: #0a5d5e;
}

.login-pf-page {
    padding-top: 0;
    max-width: 400px;
}

#kc-logo-wrapper .login-logo {
    padding-top: 25%;
}

.tilaa-color {
    background-color: #1e5a64 !important;
}

.tilaa-action-button, .pf-c-button.pf-m-primary {
    background-color: #FF4F51 !important;
    height: 40px;
    font-size: 16px;
}

.tilaa-action-button, .tilaa-cancel-button {
    height: 40px;
    font-size: 16px;
}

.form-group label {
    font-size: 16px;
    color: #000000;
}

.pf-m-error.required {
    color: #FF4F51;
}

.pf-c-form-control  {
    border: none;
    outline-color: transparent;
    background-color: rgba(145, 210, 215, 0.15) !important;
}

.row-container {
    display: flex;
    flex-flow: row nowrap;
    height: 100%;
    width: 100%;
}

.half-container {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.half-container.with-img {
    background-color: #1e5a64;
}

.half-container.column {
    flex-direction: column;
    background: rgba(145, 210, 215, 0.15) 15% !important;
}

.login-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.card-pf {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 750px;
}

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

/* TOTP STYLES */

#kc-totp-secret-qr-code {
    max-width: 150px;
}

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

    .login-pf-page {
        margin-top: 0;
    }

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

    .form-group label {
        font-size: 14px;
    }

    .half-container.with-img {
        display: none;
    }

    #kc-logo-wrapper {
        margin: 50px auto 0 auto;
    }
}

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

    .tilaa-login--text {
        font-size: 16px;
    }

    .login-pf-page {
        max-width: 350px;
        min-width: 315px;
    }

    .login-pf-page .card-pf {
        padding: 24px;
    }

    .login-pf-page .card-pf .tilaa-register {
        font-size: 14px;
    }

    #kc-logo-wrapper {
        margin: 30px auto 0 auto;
        width: 180px;
        padding-bottom: 0;
    }
}
