﻿body {
}

.error-message {
    color:red;
    font-size:12px;
    font-weight:bold;
    margin-left:150px;
    width:300px;
}

.tripcost-title > div {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.tripcost-title > p {
    font-size: 14px;
    margin-bottom: 20px;
}

.tripcost-section {
    border-top:solid 1px black;
    padding-top:10px;
    margin-bottom:15px;
}

    .tripcost-section p {

    }

.tripcost-section-container {
    margin-top:15px;
    display:inline-block;
    vertical-align:top;
}

.tripcost-row {
    display: block;
    font-family: Arial;
    font-size: 10px;
    margin-top: 5px;
    width: 500px;
}

.tripcost-label {
    display: inline-block;
    width: 150px;
    text-align: right;
    padding-right: 5px;
}

.tripcost-field {
    display: inline-block;
}

    .tripcost-field input[type=text] {
        text-align:right;
    }

/* input fields begin */
.tripcost-field-age input[type=text] {
    width: 30px;
}

.tripcost-field-purchaseprice input[type=text] {
    width: 60px;
}

.tripcost-field-downpayment input[type=text] {
    width: 60px;
}

.tripcost-field-tradein input[type=text] {
    width: 60px;
}

.tripcost-field-amountfinanced input[type=text] {
    width: 60px;
}

.tripcost-field-interestrate input[type=text] {
    width: 30px;
}

.tripcost-field-loanperiod input[type=text] {
    width: 30px;
}

.tripcost-field-monthlypayment div {
    width: 60px;
    height: 20px;
    padding-bottom: 2px;
    padding-right: 4px;
    border: solid 1px black;
    text-align: right;
    background-color:antiquewhite;
}

.tripcost-field-depreciationrate select {
    width: 80px;
}

.tripcost-field-totalcost div {
    width: 100px;
    font-weight: bold;
    font-size: 14px;
    height: 25px;
    padding-bottom: 2px;
    padding-right: 4px;
    border: solid 1px black;
    text-align: right;
    background-color: antiquewhite;
}

.tripcost-field-financingcost div {
    width: 60px;
    height: 20px;
    border: solid 1px black;
    padding-bottom: 2px;
    padding-right: 4px;
    text-align: right;
    background-color: antiquewhite;
}

/* input fields end */
.tripcost-button {
    width: 150px;
    margin-left: 50px;
    margin-top: 20px;
    text-align: left;
    display:inline-block;
}

    .tripcost-button input[type=button] {
        width:150px;
        height:30px;
    }

.tripcost-section-table {
    border: solid 1px black;
    padding: 8px;
}

.tripcost-section-bottomborder {
    border-bottom: solid 3px black;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.tripcost-section-table-finance {
    width: 500px;
}
.tripcost-section-table-depreciation {
    width: 300px;
}
.tripcost-section-table-row {

}

    .tripcost-section-table-row:nth-child(odd) {
        background-color:lightgray
    }

.tripcost-section-table-col {
    display:inline-block;
    font-size:12px;
    margin-left:5px;
}

.tripcost-section-table-col-header {
    display: inline-block;
    font-size: 12px;
    margin-left: 5px;
    font-weight:bold;
}

/* depreciation */
.tripcost-section-table-col-age {
    width:50px;
}
.tripcost-section-table-col-value {
    width: 80px;
}
.tripcost-section-table-col-depreciation {
    width: 80px;
}

/* financing */
.tripcost-section-table-col-payment {
    width: 50px;
}

.tripcost-section-table-col-principal {
    width: 80px;
}

.tripcost-section-table-col-paymentamount {
    width: 80px;
}

.tripcost-section-table-col-interest {
    width: 80px;
}

.tripcost-section-table-col-estvalue {
    margin-left:70px;
}

.tripcost-section-table-col-underwater {
    font-weight: bold;
    color: red;
    font-style: italic;
}