.cfc-car-cost-form {
    max-width: 1240px;
    margin: 50px auto;
}

.cfc-car-cost-form, .cfc-car-cost-form * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.cfc-car-cost-form .cfc-form-title {
    color: #0298da;
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #0298da59;
}

.cfc-car-cost-form .cfc-vehicle-cost-calculation, .cfc-car-cost-form .cfc-vehicle-loan-calculation {
    margin: 0;
    padding: 20px;
    position: relative;
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
}

.cfc-car-cost-form table {
    width: 100%;
    margin-bottom: 15px;
    font-size: .9em;
    background-color: transparent;
    border-spacing: 0;
    border: 0;
    border-collapse: collapse;
}

.cfc-car-cost-form table tr {
    margin-bottom: 20px;
}

.cfc-car-cost-form table td {
    background: transparent !important;
    border: 0 !important;
    padding: 0;
    color: #272626;
}

.cfc-car-cost-form table tr td:nth-child(1) {
    width: 120px;
}

.cfc-form-group .item .item-input select {
    width: 100%;
    padding: 12px 10px;
    border-radius: 5px;
    color: #272626;
    font-size: 1rem;
    outline: 0;
    border: 1px solid #666;
}

.cfc-vehicle-loan-calculation .cfc-form-group .item select {
    width: 100%;
    border: 0;
    padding: 10px;
    font-size: 14px;
    background: #f9fafb;
    border-radius: 5px;
    cursor: pointer;
    outline: 0;
    color: #272626;
}

.cfc-form-group .item .item-input select option {
    color: #000;
}

.cfc-form-group .item .item-input .text-input {
    color: #4c4c4c;
    border-radius: 5px;
    background: #f9fafb;
    width: calc(100%);
    width: -webkit-calc(100%);
    width: -moz-calc(100%);
    display: inline-block;
    float: none;
}

.cfc-form-group .item .item-input .text-input input {
    width: 80%;
    width: calc(100% - 70px);
    width: -webkit-calc(100% - 70px);
    width: -moz-calc(100% - 70px);
    border: 0;
    background: transparent;
    outline: 0;
    font-size: 16px;
    padding: 10px;
    color: #272626;
}

.cfc-form-group .item .item-input .text-input span.quantitative {
    width: 65px;
    display: inline-block;
    font-size: 15px;
    text-align: right;
    padding-right: 10px;
}

.cfc-detail-payment {
    display: none;
    width: 100%;
    margin: 30px 0;
}

.cfc-form-group .item {
    margin-bottom: 20px;
}

.cfc-form-group .item .item-name {
    font-size: 15px;
    color: #1c345f;
    font-weight: 400;
    padding: 10px 0;
    margin: 0;
    width: 120px;
    display: inline-block;
    float: left;
}

.cfc-form-group .item .item-input {
    color: #4c4c4c;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #f9fafb;
    width: calc(100% - 120px);
    width: -webkit-calc(100% - 120px);
    width: -moz-calc(100% - 120px);
    display: inline-block;
    float: none;
}

.cfc-vehicle-cost-calculation .cfc-form-group .item-input {
    border: none;
}

.cfc-detail-payment-btn {
    border: 1px solid #0298da;
    background: #fff;
    color: #0298da;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    outline: 0;
}

.cfc-detail-payment-btn:hover, .cfc-detail-payment-btn:focus {
    color: #fff;
    background: #0298da !important;
}

.cfc-car-cost-form .cfc-cost-estimation-message {
    font-size: 15px;
}

.cfc-cost-result table {
    display: table;
    border: 0;
    border-collapse: collapse;
}

.cfc-cost-result table tr td {
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    padding: 2px 0;
    color: #272626;
    line-height: 1.5;
    font-size: 14px;
}

.cfc-cost-result table tr td:nth-child(2) {
    text-align: right;
    color: #272626;
}

.cfc-car-cost-form table tfoot td {
    padding: 10px 0 !important;
    font-size: 20px;
    color: #272626;
}

.cfc-car-cost-form table tfoot td:nth-child(2) {
    color: #0298da;
    font-weight: 700;
}

.cfc-loan-result .total-payment {
    margin-bottom: 18px;
    width: 100%;
    border-radius: 5px;
    display: inline-block;
}

.cfc-loan-result .total-payment .item-payment {
    margin-bottom: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.cfc-loan-result .total-payment .txt-payment {
    color: #272626;
    font-size: 14px;
    margin: 0;
    width: 50%;
}

.cfc-loan-result .total-payment .txt-index-payment {
    color: #0298da;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
    text-align: right;
}

.cfc-detail-payment table td, .cfc-detail-payment table th {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid hsla(0, 0%, 50.2%, .5019607843);
}

.cfc-detail-payment table thead {
    background: #0298da;
}

.cfc-detail-payment table thead th {
    color: #fff;
    padding: 10px 4px;
    font-size: 15px;
    text-transform: none;
    font-weight: 700;
    text-align: center;
}

.cfc-detail-payment table tbody tr:nth-child(2n+2) {
    background: #f5f5f5;
}

.cfc-detail-payment table tbody tr td {
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

.cfc-detail-payment table tr td:first-child {
    text-align: left !important;
}

.cfc-detail-payment table > tfoot > tr > td {
    color: #3d4d64;
    font-weight: 500;
    padding: 16px;
    font-size: 18px;
    text-align: center;
    background: #d4e3f3;
}

.cfc-car-cost-form .cfc-vehicle-cost-calculation {
    width: 49%;
    float: left;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.cfc-car-cost-form .cfc-vehicle-loan-calculation {
    width: 49%;
    float: right;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.cfc-cost-result table tfoot td {
    font-weight: 500;
}

.cfc-form-group .item .item-input .text-input input::-webkit-outer-spin-button,
.cfc-form-group .item .item-input .text-input input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.cfc-form-group .item .item-input .text-input input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

@media screen and (max-width: 992px) {
    .cfc-car-cost-form .cfc-vehicle-cost-calculation, .cfc-car-cost-form .cfc-vehicle-loan-calculation {
        width: 100%;
        float: left;
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 850px) {
    .cfc-vehicle-cost-calculation, .cfc-vehicle-loan-calculation {
        flex-basis: 49%;
        max-width: 49%;
    }
}

@media screen and (max-width: 768px) {
    .cfc-form-group .item .item-name {
        width: 100px;
    }

    .cfc-form-group .item .item-input {
        width: calc(100% - 100px);
        width: -webkit-calc(100% - 100px);
        width: -moz-calc(100% - 100px);
    }

    .cfc-detail-payment {
        overflow-x: auto;
    }

    .cfc-detail-payment table thead th {
        white-space: nowrap;
        font-size: 12px;
        font-weight: 400;
        padding: 5px;
    }

    .cfc-car-cost-form table tfoot td {
        font-size: 18px;
    }

    .cfc-detail-payment table tbody tr td {
        padding: 5px 25px;
    }
}