﻿.ta-page {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
    position:relative;
}
.ta-form-group {
    column-gap: 0
}

.ta-form-group-control {
    > .rz-textbox,
    > .rz-textarea,
    > .rz-numeric,
    > .rz-datepicker,
    > .rz-dropdown,
    > .rz-alert,
    > .ta-static-text {
        display: block;
        width: 100%;
    }
    > .rz-alert {
        margin: 0
    }
    > .rz-message {
        display: block;
    }
}

.rz-radiobutton-label {
    cursor: pointer;
}

.ta-static-text {
    color: var(--rz-input-value-color);
    font-size: var(--rz-input-font-size);
}

i.rzi.ta-info-icon {
    vertical-align: middle;
    font-size: 16px;
    margin-left: 2px;
    margin-right: 6px;
    cursor: pointer;
}

.ta-hidden {
    visibility: hidden;
}

.ta-info-popup > .rz-tooltip-content {
    max-width: 300px;
    white-space: normal;
}

.ta-current-value {
    text-decoration: line-through
}

.ta-new-indicator {
    line-height: 10px;
    font-size: 10px;
    margin-inline-start: 0.2rem;
}

/* car license styles copied and adapted from https://github.com/friedt/kenteken-check-NL-RDW/blob/master/src/example.css */

@font-face {
    font-family: 'kenteken';
    src: url('Kenteken.ttf');
}

.car-license {
    position: relative;
    max-width: 210px;
    background-color: #faca30;
    border-radius: 3px;
    border: 1px solid #faca30;
    z-index: 1;
    white-space: nowrap;
}

.car-license__country-code {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*top: -1px;*/
    left: -1px;
    z-index: 2;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    height: 100%;
    width: 30px;
    background-color: #011c95;
    color: white;
    text-transform: uppercase;
}

.car-license__form-control,
.car-license__output {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #faca30;
    padding: 5px 10px 5px 30px;
    width: 100%;
    height: 100%;
    font-family: 'kenteken', 'Roboto Condensed';
    font-size: 1.9rem;
}

.car-license__form-control {
    padding: 0 0 0 22px;
}

.car-license__input,
.rz-textbox.car-license__input:not(:disabled):not(.rz-state-disabled):hover,
input.car-license__input:-webkit-autofill,
input.car-license__input:-webkit-autofill:hover,
input.car-license__input:-webkit-autofill:focus {
    width: 100%;
    padding: 0;
    border: none;
    background-color: #faca30;
    text-align: center;
    text-transform: uppercase;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    -webkit-box-shadow: 0 0 0px 1000px #faca30 inset !important;
}

.ta-card-control {
    font-size: 18px;
}

@media only screen and (min-width: 1024px) {
    .ta-card-premium {
        text-align: right;
    }
    div[name=COLO_TTOT_FG] > .ta-form-group-control {
        text-align: right;
    }
}

.ta-html {
    a, a:visited {
        color: var(--rz-link-color);
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
}

.ta-premium {
    font-size: 18px;
    display: block;
}

.ta-payment-term {
    font-size: 12px;
}

div[name=COLO_TTOT_FG] {
    font-size: 18px;
    font-weight: bold;
    > .ta-form-group-control {
        > .ta-static-text {
            font-size: 18px;
        }
    }
}

.ta-busy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    > div {
        position: absolute;
        top: 50%;
        left: 50%;
    }
}

#showAfd {
    position: absolute;
    top: 0;
    right: 0;
}

.ta-afd-model {
    max-height: 600px;
    overflow-y: auto;
    font-size: 12px;
}

.rz-fileupload-files {
    display: none !important;
}

