﻿footer {
    position: relative;
    width: 100%;
    bottom: 0;
    display: block;
}

header {
    position: relative;
    width: 100%;
    top: 0;
    display: block;
}

main {
    width: 100%;
    display: block
}

body {
    width: 100%;
}

app {
    position: relative;
    display: block;
}


body {
    font-family: "Lato", "Helvetica", Arial, sans-serif;
}

small {
    display: block;
    margin-bottom: 15px;
}

form .choices li input,
.choices li input,
select,
input {
    position: relative;
    margin-left: 0;
    padding: 0;
    top: 0;
    width: 100%;
}

div#solarTab__BV_tab_container_ {
    padding: 50px 0;
}

ul#solarTab__BV_tab_controls_ {
    border: none;
}

.range-container {
    display: flex;
    width: 100%;
    /* align-items: center; */
}

.rent-increase-container {
    margin-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
    background: #007eb1;
    color: #fff;
    font-weight: bold;
}

input#rent-increase:focus {
    outline: none;
}

.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;
    margin-bottom: 0;
}

.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[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;
    }


form .choices li input, .choices li input, select, input {
    margin-bottom: 30px;
}

.calculator {
    margin-top: 20px;
    padding-top: 50px;
    border-top: 8px solid #007EB1;
}

    .calculator label {
        display: block;
    }

    .calculator select {
        border: 1px solid #ccc;
        padding: .5em .7em;
        max-width: 100%;
    }

#solarTab ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
}

    #solarTab ul li {
        margin-bottom: -1px;
        flex: 1;
        text-align: center;
    }

.calculator #solarTab ul li a {
    display: block;
    padding: .5rem 1rem;
    line-height: 2.2em;
    font-weight: bold;
    color: #13578b;
    font-size: 1.1em;
    border-radius: 0.25rem;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    background-color: #0b2e4c0d;
    text-docoration: blink;
}

    .calculator #solarTab ul li a.active {
        background-color: #0b2e4c;
        border-color: #0b2e4c;
        color: #fff;
    }

input.error {
    border: 1px solid red;
}

.error {
    color: red;
}

.info-pannel {
    background: #f2f7f9;
    padding: .5em 1em;
    margin-top: 50px;
    margin-bottom: 50px;
}

.results {
    margin-top: 25px;
    display: flex;
    align-items: center;
    background: #007eb1;
    color: #fff;
}

    .results p {
        margin: 0;
    }

    .results .primary {
        padding-left: 20px;
        width: 50%;
    }

        .results .primary .amount {
            font-size: 50px;
            line-height: 50px;
            font-weight: bold;
        }

        .results .primary svg {
            width: 100%;
        }

    .results .secondary {
        width: 50%;
    }

        .results .secondary .amount {
            font-size: 24px;
            line-height: 24px;
            font-weight: bold;
        }

        .results .secondary div {
            padding: 10px;
            background: #0b2e4c;
            max-height: 140px;
            overflow: hidden;
        }

        .results .secondary > div {
            display: flex;
            align-items: center;
        }

            .results .secondary > div svg {
                width: 100%;
            }

.primary-flex {
    display: flex;
    align-items: center;
}

    .primary-flex .icon {
        margin-right: 10px;
    }

        .primary-flex .icon svg {
            float: right;
        }

.icon {
    width: 30%;
}

    .icon svg {
        max-width: 60px;
    }

.fade-in {
    animation: fadein 2s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media only screen and (max-width: 768px) {
    .results {
        flex-direction: column;
    }

        .results .primary {
            padding: 10px;
            width: 100%;
        }

            .results .primary .icon {
                display: none;
            }

        .results .secondary {
            width: 100%;
        }

            .results .secondary > div .icon {
                display: none;
            }
}


#landlord-calculator label[for="system-size"],
#landlord-calculator label[for="system-cost"],
#landlord-calculator label[for="rent-increase"] {
    display: block;
}

#landlord-calculator fieldset legend {
    margin-bottom: 0;
    border: 0;
}

#landlord-calculator #system-size,
#landlord-calculator #system-cost {
    margin-bottom: 15px;
}

.range-container {
    display: flex;
    align-items: center;
}

#landlord-calculator .rent-increase-container {
    margin-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
    background: #007eb1;
    color: #fff;
    font-weight: bold;
}

    #landlord-calculator .rent-increase-container::before {
        content: '$';
        display: inline;
    }

    #landlord-calculator .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;
    }

#landlord-calculator input#rent-increase {
    background: #007eb1;
    color: #fff;
    font-weight: bold;
    border: 0;
    padding: 3px 4px 3px 10px;
    width: 80px;
    height: 30px;
}

#landlord-calculator input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

    #landlord-calculator input[type=range]:focus {
        outline: none;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator input[type=range]:focus::-webkit-slider-runnable-track {
        background: #dcdcdc;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator 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;
    }

    #landlord-calculator input[type=range]:focus::-ms-fill-lower {
        background: #dcdcdc;
    }

    #landlord-calculator input[type=range]:focus::-ms-fill-upper {
        background: #dcdcdc;
    }

#landlord-calculator ul.choices {
    list-style-type: none;
    padding-left: 0;
}


.hidden {
    display: none;
}

/* TENNANT */
#tenant-calculator label[for="system-size"] {
    display: block;
}

#tenant-calculator fieldset legend {
    margin-bottom: 0;
    border: 0;
}

#tenant-calculator #system-size {
    margin-bottom: 15px;
}

.range-container {
    display: flex;
    align-items: center;
}

#tenant-calculator .rent-increase-container {
    margin-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
    background: #007eb1;
    color: #fff;
    font-weight: bold;
}

    #tenant-calculator .rent-increase-container::before {
        content: '$';
        display: inline;
    }

    #tenant-calculator .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;
    }

#tenant-calculator input#rent-increase {
    background: #007eb1;
    color: #fff;
    font-weight: bold;
    border: 0;
    padding: 3px 4px 3px 10px;
    width: 80px;
    height: 30px;
}

#tenant-calculator input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

    #tenant-calculator input[type=range]:focus {
        outline: none;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator input[type=range]:focus::-webkit-slider-runnable-track {
        background: #dcdcdc;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator 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;
    }

    #tenant-calculator input[type=range]:focus::-ms-fill-lower {
        background: #dcdcdc;
    }

    #tenant-calculator input[type=range]:focus::-ms-fill-upper {
        background: #dcdcdc;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


#input-icon-systemcost {
    position: relative;
}

    #input-icon-systemcost > i {
        position: absolute;
        display: block;
        transform: translate(0, -50%);
        top: 37%;
        pointer-events: none;
        width: 25px;
        text-align: center;
        font-style: normal;
    }

    #input-icon-systemcost > input {
        padding-left: 25px;
        padding-right: 0;
    }

#input-icon-maintenancecost {
    position: relative;
}

    #input-icon-maintenancecost > i {
        position: absolute;
        display: block;
        transform: translate(0, -50%);
        top: 29%;
        pointer-events: none;
        width: 25px;
        text-align: center;
        font-style: normal;
    }

    #input-icon-maintenancecost > input {
        padding-left: 25px;
        padding-right: 0;
    }