/**
 * Public-facing CSS for WC Credit Calculator
 */

.installment-price {
    font-weight: 500;
    line-height: 32px;
    font-size: 1.6rem;
}

.installment-price:before {
    content: "As low as";
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 0px;
    margin-right: 10px;
    color: #000;
}

.installment-price:after {
    content: attr(data-months);
    font-size: 0.75rem;
    font-weight: normal;
    line-height: 1.2px;
    margin-left: 0px;
    color: #000;
}

.deposit-price {
    font-weight: 500;
    line-height: 32px;
    font-size: 1rem;
}

.deposit-price:before {
    content: "Deposit";
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2px;
    margin-right: 10px;
}

.horizontal-aligned input[type=button], 
.horizontal-aligned input[type=submit], 
.horizontal-aligned input[type=reset] {
    background-color: #ff0000;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}

/* Styling for credit info on product listing pages */
.credit-calculator-list-price {
    font-size: 0.75rem;
    color: #000;
    margin-top: 5px;
    font-weight: 500;
}

/* Add some space between the price and the credit info */
.price + .credit-calculator-list-price {
    margin-top: 8px;
}
