﻿.financing-configuration-container, 
.financing-configuration-container * {
    box-sizing: border-box;
}
.financing-configuration-history-container, 
.financing-configuration-container {
    padding: 0 10px;
    max-width: 1300px;
    margin: 0 auto 80px;
}

.financing-boxes-container p {
    margin: 0;
}

.information-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px;
    margin-bottom: 2px;
    background-color: #F3F2F3;
    border-style: solid;
    border-width: 1px;
    height: 50px;
    border-color: #E7E6EA;
    border-top-color: #004167;
    color: #4c5356;
    font-family: "VWAGTheSans", Helvetica, sans-serif;
    line-height: 1.6;
    font-weight: bold;
}

.financing-boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 20px;
    padding: 0 4px;
}

.financing-box-container {
    width: 350px;
    margin-top: 20px;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.16);
    border: 1px solid #d6d4d6;
    height: 100%;
}

.financing-box-row {
    display: flex;
}

    .financing-box-row:not(:first-of-type) {
        margin-top: 2px;
    }

    .financing-box-row .left-wing {
        min-width: 100px;
        padding: 5px 10px 5px 4px;
        text-align: right;
        border-top: 1px solid #004167;
        margin-right: 4px;
        background-color: #F3F2F3;
        font-family: "VWAGTheSans", Helvetica, sans-serif;
        font-weight: bold;
        line-height: 1.4;
        color: #004666;
        font-size: 14px;
    }

    .financing-box-row:not(.expanded) .left-wing {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: auto;
    }

    .financing-box-row .right-wing {
        width: 100%;
        padding: 4px 0;
        text-align: center;
        border-top: 1px solid #004167;
        background-color: #F3F2F3;
    }

        .financing-box-row .right-wing.wing-white {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: white;
            border-color: #D4D2D4;
            min-height: 50px;
        }

    .financing-box-row.expanded .left-wing {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
    }

        .financing-box-row.expanded .left-wing p {
            line-height: 49px;
            height: 96px;
        }

    .financing-box-row.expanded .right-wing {
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        background-color: unset;
        padding-top: 0;
    }

.top-wing-container,
.bottom-wing-container {
    display: flex;
    flex-direction: column;
}

    .top-wing-container > div,
    .bottom-wing-container > div {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

        .bottom-wing-container > div p,
        .top-wing-container > div p {
            display: flex;
            justify-content: flex-end;
            flex-direction: column;
            width: 33.33%;
            padding: 4px 0;
        }

    .top-wing-container p:not(.wing-label) {
        padding: 5px 0 0;
        color: #4c5356;
        font-family: "VWAGTheSans", Helvetica, sans-serif;
        line-height: 1.6;
        font-weight: bold;
        font-size: 13px;
    }

.wing-label {
    background-color: #F3F2F3;
    color: #4c5356;
    font-family: "VWAGTheSans", Helvetica, sans-serif;
    line-height: 1.6;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 0 0;
}

.wing-label > .wing-label-input {
    width: calc(100% - 20px);
    border: 1px solid #a8adb3;
}

.wing-label > .wing-label-input.invalid {
    border-width: 2px;
    border-color: #eb0000;
}

.top-wing-container > div {
    border-top: 1px solid #D4D2D4;
    margin-top: 2px;
}

.bottom-wing-container {
    border-top: 1px solid #004167;
    margin-top: 2px;
    padding-top: 6px;
}

    .bottom-wing-container > div:first-of-type {
        margin-bottom: 6px;
    }

    .bottom-wing-container .data-field {
        width: 30%;
        min-width: 50px;
    }

        .bottom-wing-container .data-field input {
            width: 100%;
            height: 30px;
            text-align: center;
            padding: 7px 10px;
            color: #4c5356;
            font-weight: bold;
            border: 1px solid #a8adb3;
            line-height: 1.56;
            background-color: white;
        }

.data-field input.invalid {
    border-width: 2px;
    border-color: #eb0000;
}

.data-field input::-webkit-outer-spin-button,
.data-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.data-field input[type="number"] {
    -moz-appearance: textfield;
}

.financing-buttons-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .financing-buttons-container .offer-tile-button {
        background-color: #66E4EE;
        color: #005066;
        border: none;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        outline: none;
        padding: 0 60px;
        height: 30px;
        font-weight: bold;
    }

.financing-buttons-container .btn-disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.b2c-financing-history-paginator {
    display: flex;
    justify-content: center;
}

.cms-history-paginator {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    .financing-boxes-container {
        justify-content: space-around;
    }
}