.cost-calculator {
    background: #f3f3f3;
    padding: 20px;
    max-width: 100%;
    font-family: Arial, sans-serif;
    border-radius: 8px;
}

.cost-calculator h3 {
    color: #009FE3;
    font-weight: bold;
    /* text-transform: uppercase; */
}

.cost-calculator .form-group {
    display: block;
}

.cost-calculator .form-group label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.cost-calculator .error {
    color: red;
    display: none;
}

.cost-results {
    display: none;
}

.cost-calculator .form-group .form-control,
.cost-calculator select.custom-select-box {
    height: 45px !important;
    border: 2px solid #e1e1e1 !important;
    outline: none;
    font-size: 20px;
    font-weight: 600;
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .25);
    width: 100%;
    padding: .5rem 1rem;
    color: #a8a8a8 !important;
}

.cost-calculator select.custom-select-box {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: .5rem 20px .5rem 1rem;
}

.cost-calculator select.custom-select-box,
.cost-calculator div.custom-select-box-arrow {
    position: relative;
}

.cost-calculator div.custom-select-box-arrow:after {
    position: absolute;
    top: 15px;
    right: 16px;
    content: "";
    border: solid #00b1e5;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    pointer-events: none
}

.calculate-btn {
    background: #009FE3;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0;
}

.calculate-btn:hover {
    color: #004259;
    background: #009FE3;
}

.calculate-btn:focus {
    color: #fff;
    background: #009FE3;
}

.cost-results {
    margin-top: 15px;
}

.cost-results div {
    font-size: 16px;
    margin-bottom: 5px;
}

.total-savings {
    font-size: 20px;
    font-weight: bold;
    color: #004259;
    text-transform: uppercase;
}

.cost-results div.total-savings {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #004259;
}

.cost-results .cost-flex-jcb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-weight: bold;
    margin: 0 0 20px 0;
}

#cost_calculator_table tbody th {
    background: #156082;
    color: #fff;
    text-align: center;
}

#cost_calculator_table tbody td {
    background: #daf0f8;
    color: #000;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

#cost_calculator_table tbody td:first-child {
    font-weight: 700;
}

#cost_calculator_table tbody th:first-child,
#cost_calculator_table tbody td:first-child {
    text-align: left;
}

.cost-dot-df {
    flex-shrink: 0;
}

.dots {
    flex-grow: 1;
    border-bottom: 4px dotted #666;
    margin: 0 2px 8px 2px;
}

#milestoneCost,
#competitorCost {
    flex-shrink: 0;
    text-align: right;
}

@media screen and (max-width:767px) {
    .cost-results .cost-flex-jcb {
        flex-direction: row;
    }

    .cost-flex-jcb .cost-dot-df,
    .total-savings.cost-flex-jcb .total-sav-cost {
        flex: 0 0 60%;
    }

    .dots {
        margin: 0;
        border-bottom: 2px dotted #666;
    }

    #milestoneCost,
    #competitorCost,
    .total-savings.cost-flex-jcb #savings {
        text-align: right;
        flex: 0 0 40%;
        margin-top: auto;
    }

    .d-md-none-max {
        display: none;
    }

    .cost-results div.total-savings {
        font-size: 18px;
        border-top: 1px solid #ccc;
        padding-top: 15px;
        margin-bottom: 0;
    }

    .cost-calculator {
        margin: 30px 0;
    }

    .d-md-none-max {
        display: none !important;
    }
}

.cost-calculator .form-control::placeholder,
.cost-calculator .form-control,
.cost-calculator .form-group .form-control,
.cost-calculator select.custom-select-box,
button.calculate-btn {
    font-size: 14px !important;
}