/**********  **************/
/* Variables */
:root {
    --rangescale-before: '$100';
    --rangescale-after: '$1000';
    --rangescaledur-before: '3 months';
    --rangescaledur-after: '12 months';
    --accent-color: #17a2b8;
}

.range-scale-amount::before {
    content: attr(rangescale-before); /*var(--rangescale-before);*/
}
.range-scale-amount::after {
    content: attr(rangescale-after); /*var(--rangescale-after);*/
}
.range-scale-duration::before {
    content: attr(rangescaledur-before); /*var(--rangescale-before);*/
}
.range-scale-duration::after {
    content: attr(rangescaledur-after); /*var(--rangescale-after);*/
}

/* Mark input boxes that gets an error on validation: */
select.form-control.invalid, input.invalid {
    background-color: #ffdddd;
}

/* Hide all steps by default: */
.formTab {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 2rem;
    width: 2rem;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    vertical-align: middle;
    color: #333;
    line-height: 2rem;
    font-size: 1rem;
}

.bet-steps {
    width: 5rem;
    height: 0.2rem;
    background: #ddd;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-top: 0.5rem;
}

/* Mark the active step: */
.step.active {
    opacity: 1;
    outline: 6px solid #fff;
    background-color: #de7d2a;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.3;
    box-shadow: 0 0 3px 6px #999;
    color: #fff;
}

/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #198754;
    color: #fff;
}

.step-outer {
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: 4rem;
}
.step-label {
    display: block;
    width: 9rem;
    text-align: center;
    position: absolute;
    left: -3rem;
    color: #999;
    margin-top: 0.3rem;
    font-size: 1rem;
}

.kap-check-top .text-success {
    color: #a7d152 !important;
}

.ln-app-slider-val, .ln-app-slider-val .range-value {
    font-size: 2rem !important;
}

.loan-select-option:hover {
    border-color: #333;
}
.loan-option-select {
    outline: 3px solid #df8228;
}

#loan_application_form_signature {
    font-weight: bold;
    font-style: italic;
    font-size: 2rem;
    font-family: Brush Script MT, Brush Script Std, cursive;
    /*font-family: ; todo maybe get some kind of scripting font here*/
}

/* todo: spinner/processing state, errors, animations */

.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}
.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}
.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: var(--accent-color);
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: var(--accent-color);
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}


/* RESPONSIVE CSS
*****************************************************/
@media (max-width: 770px) {
    .step-label {
        width: unset;
        left: unset;
        font-size: 0.8rem;
    }
    .bet-steps {
        width: 2rem;
    }
}