﻿label[for="system-size"],
label[for="system-cost"],
label[for="rent-increase"] {
    display: block;
}

fieldset legend {
    margin-bottom: 0;
    border: 0;
}

#system-size,
#system-cost {
    margin-bottom: 15px;
}

.range-container {
    display: flex;
    /* align-items: center; */
}

    .range-container .error {
        width: 100%;
        display: block;
    }

.rent-increase-container {
    margin-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
    background: #007eb1;
    color: #fff;
    font-weight: bold;
}

    .rent-increase-container::before {
        content: '$';
        display: inline;
    }

    .rent-increase-container::after {
        right: 100%;
        top: 50%;
        border: solid transparent;
        content: '';
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: transparent;
        border-right-color: #007eb1;
        border-width: 15px;
        margin-top: -15px;
    }

input#rent-increase {
    background: #007eb1;
    color: #fff;
    font-weight: bold;
    border: 0;
    padding: 3px 4px 3px 10px;
    width: 80px;
    height: 30px;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

    input[type=range]:focus {
        outline: none;
    }

    input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 12px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
        background: #dcdcdc;
        border-radius: 25px;
        border: 0 solid #000101;
    }

    input[type=range]::-webkit-slider-thumb {
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
        border: 0 solid #000;
        height: 20px;
        width: 40px;
        border-radius: 7px;
        background: #007eb1;
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -4px;
    }

    input[type=range]:focus::-webkit-slider-runnable-track {
        background: #dcdcdc;
    }

    input[type=range]::-moz-range-track {
        width: 100%;
        height: 12px;
        cursor: pointer;
        animate: 0.2s;
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
        background: #dcdcdc;
        border-radius: 25px;
        border: 0 solid #000101;
    }

    input[type=range]::-moz-range-thumb {
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
        border: 0 solid #000;
        height: 20px;
        width: 40px;
        border-radius: 7px;
        background: #007eb1;
        cursor: pointer;
    }

    input[type=range]::-ms-track {
        width: 100%;
        height: 12px;
        cursor: pointer;
        animate: 0.2s;
        background: transparent;
        border-color: transparent;
        border-width: 5px 0;
        color: transparent;
    }

    input[type=range]::-ms-fill-lower {
        background: #dcdcdc;
        border: 0 solid #000101;
        border-radius: 50px;
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
    }

    input[type=range]::-ms-fill-upper {
        background: #dcdcdc;
        border: 0 solid #000101;
        border-radius: 50px;
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
    }

    input[type=range]::-ms-thumb {
        box-shadow: 0 0 0 #000, 0 0 0 #0d0d0d;
        border: 0 solid #000;
        height: 20px;
        width: 40px;
        border-radius: 7px;
        background: #007eb1;
        cursor: pointer;
    }

    input[type=range]:focus::-ms-fill-lower {
        background: #dcdcdc;
    }

    input[type=range]:focus::-ms-fill-upper {
        background: #dcdcdc;
    }
