﻿:root {
    --bg-light-blue: hsl(199, 95%, 45%);
    --bg-blue: hsl(210, 98%, 36%);
    --bg-dark-blue: hsl(210, 98%, 36%);
    --bg-light-grey: hsl(0, 0%, 66%);
    --bg-dark-grey: hsl(0, 0%, 33%);
    --table-color: hsl(210, 98%, 36%);
    --footer-background: #222;
}

html {
    font-family: "Ubuntu", sans-serif;
}

body {
    margin: 0px;
}

#bg-logo {
    width: 100%
}

#title-text {
    color: var(--bg-blue);
    font-size: 3vw;
    font-family: "Ubuntu", sans-serif;
    text-align: center;
}

#calc-title {
    color: var(--table-color);
    text-align: center;
}


.calc-input {
    width: 100%;
    padding: 0px 30px 0px 30px;
    display: inline-block;
}

.card-header {
    background-color: #61ede9;
}


dl {
    width: 100%;
    overflow: hidden;
    padding: 20px;
    margin: 0
}

dt {
    float: left;
    width: 75%;
    padding: 0;
    margin: 0
}

dd {
    float: left;
    width: 25%;
    padding: 0;
    margin: 0
}

.dt-1 {
    float: left;
    width: 25%;
    padding: 0;
    margin: 0
}

.dd-1 {
    float: left;
    width: 75%;
    padding: 0;
    margin: 0
}

.calc-table {
    width: 100%
}

    .calc-table tr {
        box-shadow: 0 1px 0 var(--table-color) inset;
    }

        .calc-table tr td {
            padding: 5px;
            text-align: center;
            align-content: center;
        }

.noBorder-table {
    border: none !important;
}

    .noBorder-table tr {
        box-shadow: 0 0px 0 var(--table-color) inset;
    }


.calc-subheader {
    font-size: 2vw;
    text-align: left;
    color: var(--table-color);
}

.calc-subheader-small {
    text-align: left;
    font-size: 1.5vw;
    color: var(--table-color);
}

.padding-allround-5 {
    padding: 5px;
}

.padding-left-10 {
    padding-left: 10px;
}

/* start calc button styling */

.location-button-selected {
    width: 30%;
    height: 60px;
    background-color: var(--bg-blue);
    margin: 2px;
    border: 2px solid var(--bg-light-grey);
    border-radius: 3px;
    transition-duration: 0.4s;
    display: inline;
    float: none;
    cursor: not-allowed;
}

.location-button {
    width: 30%;
    height: 60px;
    background-color: var(--bg-light-blue);
    margin: 2px;
    border: 2px solid var(--bg-light-grey);
    border-radius: 3px;
    transition-duration: 0.4s;
    display: inline;
    float: none;
    cursor: not-allowed;
}

    .location-button:hover {
        background-color: var(--bg-blue);
    }

.location-button-text {
    text-align: center;
    font-weight: bold;
    font-size: 1.7vw;
    color: white;
    display: inline;
}

.location-image {
    display: inline;
    float: right;
    width: 33%;
    margin: 1px;
    max-height: 50px;
    max-width: 50px;
}


/* end calc button styling */

/* start calc dropdown styling*/
.input-mm {
    height: 50px;
    background-color: var(--bg-light-blue);
    border: 2px solid var(--bg-light-grey);
    border-radius: 3px;
    color: white;
    font-weight: bold;
    display: block;
    margin: auto;
}
.input-mm:focus {
    color: white;
    font-weight: bold;
    background-color: var(--bg-blue);
}
.dropdown-select {
    width: 90%;
    height: 50px;
    display: block;
    margin: auto;
    padding: 7px;
    background-color: var(--bg-light-blue);
    border: 2px solid var(--bg-light-grey);
    border-radius: 3px;
    color: white;
    font-weight: bold;
    transition-duration: 0.4s;
}

    .dropdown-select:hover {
        color: white;
        font-weight: bold;
        background-color: var(--bg-blue);
    }

    .dropdown-select:focus {
        color: white;
        font-weight: bold;
        background-color: var(--bg-blue);
    }

/* end calc dropdown styling */

.slidercontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background-color: var(--bg-light-grey);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 25px;
        height: 25px;
        background-color: var(--bg-blue);
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        background-color: var(--bg-blue);
        cursor: pointer;
    }

.insulation-image {
    display: block;
    width: 80%;
    margin: auto;
    padding: 0 0 35px 0;
}

.rcolor1 {
    background-color: var(--bg-light-blue);
}

.jpafooter {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    text-align: right;
}

.uvalue-output-section {
    padding: 15px;
    display: block;
    width: 65%;
    margin: auto;
    background-color: var(--bg-blue);
    color: #EEE;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    ;
}

#uvalue-output {
    font-size: 26px;
    color: white;
    font-weight: bold;
}

.output-actions-section {
    width: 50%;
    margin: auto;
}

.output-action-button {
    width: 100%;
    border: 2px solid var(--bg-light-grey);
    margin: 5px 0px 0px 0px;
    padding: 10px;
    color: white;
    background-color: var(--bg-light-blue);
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    transition-duration: 0.4s;
    border-radius: 5px;
}

    .output-action-button:hover {
        background-color: var(--bg-dark-blue);
    }

#footer-row {
    background-color: var(--footer-background);
}

footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: var(--bg-light-grey);
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#jpa-logo {
    display: block;
    width: 75%;
    margin: auto;
}

/*Grid view styling for easy layout handling*/
* {
    box-sizing: border-box;
}

@media only screen and (max-width: 850px) {
    .col-s-0 {
        width: 0%;
        display: none;
    }

    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }

    .location-button {
        display: block;
        width: 100%;
    }

    .location-button-text {
        font-size: 3vw;
    }

    .location-image {
        width: 20%;
        margin: 1px;
    }
}

@media only screen and (min-width: 850px) {
    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}
/*End grid view styling rules*/
