:root {
    --font_family_base: arial, helvetica, "Helvetica Neue", system-ui, sans-serif;
    --color_grey_130: #434343; /* TC color for various elements */
    --font-size-base: 13px;

    --color_cool_grey_90: #445163;
    --color_cool_grey_110: #2d394a;
    --color_text_bold: var(--color_cool_grey_90);

    --color_tc: #0069b4;

    --color_blue_90_s40: #7ba1bc;
    --main-login-width: 500px;

    /* Button styles https://frontend-hub.timocom.net/?path=/docs/ux_forms-buttons-button-basics--docs */
    --pf-v5-global--primary-color--100: #4d99dd;
    --pf-v5-global--primary-color--200: #005aa3;

}

/* BEGIN: login-config-totp.ftl */
ul#kc-totp-supported-apps {
    list-style: disc;
    margin-inline-start: 2rem;
}
/* END: login-config-totp.ftl */

@media (min-width: 1200px) {
    .pf-v5-c-login__header {
        margin-block-start: 0;
    }
}

.pf-v5-c-login__wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    align-content: center;
}

.pf-v5-c-login__main>:first-child:not(.pf-v5-c-login__main-header) {
    padding-block-start: 0;
}

body {
    font-family: var(--font_family_base);
    font-size: var(--font_size_base);
    color: var(--color_grey_130);
}

.pf-v5-c-login{
    flex-direction: column;
    padding: 0;
    margin: 0;
    /* to display the container  */
    /*background-color: lightgreen;*/
    /*border-width: medium;*/
    /*border-style: solid;*/
    /*border-color: lime;*/
}

.pf-v5-c-login__container{
    display: flex;
    flex-direction: row; /* Align children vertically */
    flex: 1;
    padding: 0;
    margin: 0;
    gap: 0;
    max-width: 100%; /*.pf-v5-c-login__container  */
    /* to display the container    */
    /*border: blue 10px solid;*/
}

.pf-v5-c-login__main{
    align-self: normal; /* overwrite align-self:start */
    flex: 1; /* Allow this section to grow and take remaining space */
    display: flex;
    flex-direction: column; /* Align children vertically */
    justify-content: left;
    --pf-v5-c-login__main--MarginBottom: 0px;
        /* to display the container  */
     /*background-color: lightyellow;*/
     /*border: black 5px solid;*/
}

.pf-v5-c-login__header{
    background-image: url("./TIMOCOM_logo-blue-web.png");
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
    align-items: flex-start;
    max-width: var(--main-login-width); /* Set a max-width to prevent stretching */
    margin-left: calc((100% - var(--main-login-width))/2); /* Center the header */
    min-height: 10vh;
    margin-top: 32px;
    /* to display the container  */
    /*background-color: lavender;*/
    /*border: gold 4px solid;*/
}

.pf-v5-c-title{
    /* hide the text for the login */
    display: none;
}

.pf-v5-c-button.pf-m-primary{
    border: 1px solid #1a79c4;
}
.kc-tooltip-text{
    /* hide restart login */
    display: none;
}

.pf-v5-c-helper-text__item-text{
    border: none;
}

.pf-v5-c-alert.pf-m-danger {
    --pf-v5-c-alert--m-danger--BorderTopColor: #c21636;
    --pf-v5-c-alert__title--Color: #c21636;
    font-size: var(--font-size-base);
    display: block;
    border-top: none;
    background: none;
    padding: 0;
    margin: 0;
    margin-block: 0;
    font-weight: normal !important;
    padding-block: 0;
}

.pf-v5-c-alert.pf-m-danger .pf-v5-c-alert__icon {
    float: left;
}

.pf-v5-c-alert.pf-m-danger .pf-v5-c-alert__title,
.pf-v5-c-alert.pf-m-danger .pf-v5-c-alert__icon {
    color: #a30000;
    margin-right: 4px;
}

.pf-v5-c-alert__icon span {
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    margin-top: 2px;
}


.pf-v5-c-alert.pf-m-danger .pf-v5-c-alert__icon span:before {
    content: "\f06a";
}

.pf-v5-c-alert.pf-m-danger .pf-v5-c-alert__title {
    font-weight: normal;
}

/* hide border */
.pf-v5-c-login__main-footer-band {
    display: none;
}
/* hide timocom ad login */
.pf-v5-u-pb-sm {
    display: none;
}

.pf-v5-c-login__main-footer-band-item {
     display: none;
}
.pf-v5-c-login__main-footer-links {
    display: none;
}

.pf-v5-c-login__main-header{
    max-width: var(--main-login-width); /* Set a max-width to prevent stretching */
    margin-left: calc((100% - var(--main-login-width))/2); /* Center the header */
    border-top: none;

    /* to display the container*/
    /*background-color: lavender;*/
    /*border: #0dc852 4px solid;*/
}

/* styles for the named section */
.pf-v5-c-login__main-body{
    max-width: var(--main-login-width); /* Set a max-width to prevent stretching */
    margin-left: calc((100% - var(--main-login-width))/2); /* Center the header */
    /* to display the container*/
    /*background-color: lavender;*/
    /*border: #325ecd 4px solid;*/

}

/* override the row gap in the form class pf-v5-c-form  */
.tc-form{
    row-gap: 0px; /* remove the row gap */
    /* to display the container*/
    /*border: red 4px solid;*/
}

.tc-label{
    padding-top: 0.4em;
}

.tc-display-username{
    padding-bottom: 1.1em;
    display: flex;
    flex-direction: column;
}


.pf-v5-c-form__label {
    padding-right: 3px;
    font-size: var(--font-size-base);
    line-height: 1.2;
    color: var(--color_grey_130);
    font-style: normal;
    font-weight: bold;
    pointer-events: all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 5px;
}

.pf-v5-c-helper-text__item-text{
    font-size: var(--font-size-base);
}



/* disable focus outline for input fields */
.pf-v5-c-login__main .pf-v5-c-form-control {
    :focus {
        outline: none;
    }
}

/* change style for language box */
@media (min-width: 768px) {
    div.pf-v5-c-login__main-header {
        grid-template-columns: 60% auto;
    }
}

#login-select-toggle{
    color:#363636;
    font-size: var(--font-size-base);
}

.pf-v5-c-helper-text{
    justify-content: end;
    padding: 10px 0 10px;
}

.tc-login-main-footer{
    --pf-v5-c-login__main-footer--PaddingBottom: 5px;
    display: flex;
    flex-direction: column; /* Align children vertically */
    align-items: center;
    text-align: center;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #707070;
    width: 100%;
    background-color: #fff;
    border-top: #d9d9d9 1px solid;
    font-size: var(--font-size-base);
}

.tc-login-main-footer a {
    text-decoration: none;
    color: #707070;}

.tc-footer-underline a {
    text-decoration: underline;
}

.tc-login-main-footer  a:hover {
    color: #0088ce;
    text-decoration: none;
}
.tc-login-main-footer  a:hover {
    color: #0088ce;
    text-decoration: underline;
    background-color: transparent;
}



