html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* layout */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
body {
 background-color: #000;
}

#content {
    padding: 1rem;
    background-color: #4f6952;
}

#contentHeader {
    display: flex;
    align-items: end;
    position: relative;
}

.contentHeaderTab {
    display: flex;
    align-items: end;
    cursor: pointer;
    margin-right: 8px;
    margin-left: 8px;
}

.contentHeaderTab:first-of-type {
    margin-left: 0!important;
}

.contentHeaderTab.selected {
    margin-right: 0;
    margin-left: 0;
}

.contentHeaderTab.selected i {
    font-size: 1.6rem;
}

.contentHeaderTab h1 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
    color: rgba(20,52,63,.8);
    line-height: 2.2rem;
    background-color: rgba(166,206,226, .5);
    display: inline-block;
    border-radius: 1rem 1rem 0 0;
    font-size: 1.5em;
    padding: 5px 20px 3px 20px;
}

.contentHeaderTab h1:hover {
    background-color: rgba(166,206,226, .8);
    cursor: pointer!important;
}

.contentHeaderTab.selected h1 {
    font-size: 2.2rem;
    padding: 10px 20px 5px 20px;
    display: flex;
    gap: 6px;
    align-content: center;
    color: #14343f;
}

.contentHeaderTab.selected h1,
.contentHeaderTab.selected #inversecurve {
    background-color: #a6cee2;
    display: block;
}

#inversecurve {
    background-color: rgba(166,206,226, .5);
    width: .5rem;
    height: 1rem;
    display: none;
}

#inversecurve div {
    border-radius: 0 0 0 .5rem;
    background-color: #4f6952;
    width: .5rem;
    height: 1rem;
}

#inversecurve.left div {
    border-radius: 0 0 .5rem;
}


/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* header */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
header {
    background-color: #232323;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
    width: auto;
    margin: 0 auto;
    padding: .5rem 1rem;
    display: flex;
}

header h2 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 300;
    font-size: 1rem;
} 

header h3 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    color: white;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

header img {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    display: block;
} 


/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* about the model */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#about {
    background-color: #323232;
    padding: 1rem 2rem;
}

#about h2 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    margin-top: 1rem;
}

#about h3 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

#about p,
#about li {
    color: white;
    font-size: .8rem;
    font-weight: 100;
    margin-bottom: 1rem;
}

#about p a,
#about p a:link,
#about p a:visited,
#about p a:hover,
#about p a:active  {
    text-decoration: underline;
    color: #efefef;
}

#about hr {
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-top: 1px;
}


/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* footer */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
footer {
    clear: both;
    padding: 1rem 2rem;
    background-color: #000;
}

footer p {
    color: white;
    font-size: .7rem;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* fonts */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

h3 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2em;
    font-weight: bold;
}

h4 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    font-weight: bold;
}

h5 {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .8rem;
    margin-top: .2rem;
}

h5#graphSubTitle {
    text-align: center;
    margin-bottom: 1rem;
}

p,
li {
   font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

p, 
li {
    margin-bottom: .5rem;
}
.tabContent p,
.resultExplanation {
    margin: 0 0 1rem 0;
    color: black;
    /* background: #cfcfcf; */
    padding: .5rem .5rem;
    border-radius: .5rem;
    font-weight: normal;
}

.resultExplanation {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.resultExplanation h3 {
    margin-bottom: .5rem;
}

.resultExplanation p {
    margin-bottom: 0;
}

ul, 
ol {
    margin-left: 2rem;
}

#instructions p {
    padding-bottom: .5rem;
}

#instructions img {
    display: inline-block;
    vertical-align: middle;
}

#instructions ul {
    padding-bottom: 1rem;
}

label {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

sub {
    vertical-align: sub;
    font-size: smaller;
  }

.hidden {
    display: none!important;
}


/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* model */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#visuals {
    flex: 0 0 500px;
}

.modelWrap {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: white;
}

#model {
    width: 500px;
    height: 400px;
    border-radius: 8px 8px 0 0;
    background-color: #7ba8ba;
    position: relative;
}

.resultsscreen.top:not(.hidden) + #model {
    border-radius: 0 0 .5rem .5rem;
}
    
#compassContainer {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 5px;
    right: 5px;

    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    padding: 5px;
}

#badge {
    position: absolute;
    bottom: 0;
    right: 0;
}

.renewable {
    /* background-color: rgba(255, 255, 255, .1); */
    padding: .5rem 1rem;
    font-size: .9rem;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    color: #173944;
    border-radius: .5rem;
    /* width: 200px; */
    position: absolute;
    font-weight: normal;
    bottom: 0;
    background: rgba(255, 255, 255, .1);
    border-radius: 0 .5rem 0 0;
}

.renewable img {
    height: 18px;
    width: 18px;
}

.renewable i {
    width: 18px;
    text-align: center;
}

#model canvas {   
    border-radius: 8px 8px 0 0;
    
    background-image: url(../images/graphPaperTransparent.png);
}

svg {
    transform-origin: center center;
}

.comfort:not(.hidden) + #selectionsButton {
    margin-top: 2rem;
}

#selectionsButton {
    margin: 1rem 0 0 0;
    background-color: #7aa8ba;
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    border-radius: .5rem;
    color: #16343f;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1rem;
    user-select: none;
    cursor: pointer;
    align-items: center;
}

#selectionsButton.open {
    border-radius: .5rem .5rem 0 0;
}

#selections {
    padding: 1rem;
    font-size: .8rem;
    background: rgba(255, 255, 255, .2);
    border-radius: 0 0 .5rem .5rem;
}

#selections h4 {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* build cost */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#buildCost {
    background: #4f6952;
    color: white;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 200;
    border-radius: 0 0 8px 8px;
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
}

#currentCost {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

#buildCost strong {
    font-weight: bold;
}



/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* load results */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#loadResults,
#backToDesign/*,
#overBudget*/ {
    display: block;
    font-size: 1.5rem;
    background-color: #225166;
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    color: white;
    margin-top: .5rem;
    border-radius: 20rem;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);

    display: flex;
    align-items: center;
    gap: 0 10px;
    flex-direction: column;
}

#overBudget,
#overBudgetResults {
    clear: both;
    display: block;
    font-size: 14px;
    margin: 0;
    padding: 0;
    background: transparent;
}

#loadResults.over,
#backToDesign.over {
    background-color: #751212;
}

.buttonText {
    display: inline-block;
    width: 100%;
}

#loadResults:hover,
#backToDesign:hover {
    cursor: pointer;
    background-color: #2e6a7f;
}


#loadResults.over:hover,
#backToDesign.over:hover {
    cursor: pointer;
    background-color: #610b0b;
}

#loadResults.disabled,
#loadResults.disabled:hover {
    display: none;
}
/* 
#overBudget {
    background-color: #751212;
} */

.hide {
    display: none!important;
}

#overBudget span {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 100;
    font-size: .8rem;
    display: block;
}

#budgetWrap {
    display: flex;
    margin-bottom: 10px;
}

#budgetWrap strong {
    flex: 1 0 auto;
    margin-right: 10px;
}

#buildingBudget {
    height: 15px;
    border-radius: 5px;
    /* background: rgb(69,134,8); */
    background: linear-gradient(90deg, rgba(69,134,8,1) 0%, rgba(69,134,8,1) 50%, rgba(255,218,0,1) 82%, rgba(163,23,23,1) 100%);
    width: 100%;
    border: 1px solid white;
    margin-top: 6px;
    overflow: hidden;
}

#buildingBudget.overbudget {
    background: rgba(163,23,23,1);
}

#buildingBudgetBar {
    background-color: #efefef;
    float: right;
    height: 15px;
    border-radius: 0 4px 4px 0;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.6) inset
}

#buildingBudgetPercent {
    text-align: right;
    font-size: .9rem;
    margin-top: 2px;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* tabs */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#instructions {
    border-radius: 0 1rem 0 0;
    background-color: #a6cee2;
    padding: 1rem;
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
}

#instructions :last-child {
    margin-bottom: 0;
}

/* #instructions .button {
    flex: 1 0 auto;
    margin-left: 2rem;
}    */

#instructions .buttonWrap {
    flex: 1 0 auto;
    margin-left: 2rem;
}

#instructions h3 {
    margin-bottom: 1rem;
    margin-top: .5rem;
}

#screen {
    display: flex;
    clear: both;
    padding: 0 1rem 1rem 1rem;
    background-color: #a6cee2;
    border-radius: 0 0 1rem 1rem;
}

#tabWrapper {
    flex: 1 1 auto;
    margin-left: 10px;
 }

#tabs {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: stretch;
    padding: 0;
}

.tab {
    flex: 1 1 auto;
    text-align: center;
    background-color: white;
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    background-color: #daecf4;
    padding: .25rem .5rem .25rem .5rem;
    font-weight: normal;
    border-radius: .5rem .5rem 0 0;
    color: #333;
    font-size: 1.5em;;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
 }

 .tab sub {
    font-size: .8rem;
    margin-top: 1rem;
    margin-right: 7px;
 }

 .tab:hover {
    cursor: pointer;
    background-color: #eef5f9;
 }

 .tab.selected {
    background-color: white;
    color: black;
    font-weight: bold;
    box-shadow: 0px -5px 5px rgba(0, 0, 0, .05);
 }

 .tab i {
    font-size: .7em;
    margin-right: 8px;
    display: inline-block;
 }

 .tab img {
    margin-right: 8px;
 }

 .tabContent {
    display: none;
 }

 .tabContent.selected {
    display: block;
 }

 .tabContent#operationalcost {
    background: white;
    border-radius: .5rem;
    padding: 0  1rem;
 }

 #graphTitle,
 #costBreakdownTitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 1rem;
    margin-top: 1rem;
 }

 #graphTitle {
    text-align: center;
    font-size: 20px;
    margin-bottom: 1rem;
    margin: 0;
    background: white;
    padding: 1rem 0 1rem 0;
    border-radius: .5rem .5rem 0 0;
 }

 /* #graphTitle {
    margin-bottom: 0;
 } */

 #outputs .tabContent {
    display: flex;
    margin-bottom: 1rem;
    gap: 1rem;
    align-items: flex-start;
    justify-content: stretch;
    align-self: stretch;
    flex-direction: row;
 }


 /* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* outputs */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

 .graphHolder {
    flex: 1 1 auto;
    background: #efefef;
    border-radius: 0.5rem;
    padding: .75rem;
    overflow: hidden;
    align-self: stretch;
 }

 #graphBackground {
    padding: 0 1rem 0 .5rem;
    background: white;
    /* border-radius: 0 0 .5rem .5rem; */
 }

 .graphcontainer {
    position: relative;
    margin: auto;
    width: auto;
    width: 100%;
    height: 360px;
 }

 .graphHolder h3 {
    font-size: 1.2rem;
    text-align: center;
    margin: .5rem;
 }

 .graphHolder canvas {
    margin: 0;
    max-width: 100%;
 }

 #legend {
    display: flex;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    padding: 1rem .5rem;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: .5rem;
    background-color: white;
    border-radius: 0 0 .5rem .5rem;
    justify-content: center;
 }


#unitDescription {
    font-size: .8rem;
    padding-top: 1rem;
    font-style: italic;
    padding: 0;
    margin: 0;
    flex: 1 1 auto;
    align-self: flex-end;
    text-align: right;
}

 #legend div {
    padding-right: 1rem;
    display: flex;
    gap: 5px;
    align-items: center;
 }

 #legend .iconHolder {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    display: block;
 }

 #legend .iconHolder.worst {
    border: 1px dashed black;
    height: 1px;
    border-width: 1px 0 0 0;
    background: transparent;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* outputs */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#outputs {
    /* flex: 1 1 auto; */
    background-color: white;
    padding: .75rem .75rem 0 .75rem;
    border-radius: 0 0 .5rem .5rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    padding: 1rem 0 0 0;
}

.statsWrapper {
    background-color: #efefef;
    padding: .75rem;
    border-radius: 0 0 .5rem .5rem;
}

.statsWrapper h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: .5rem;
    flex-wrap: wrap;
    /* background-color: white; */
    /* padding: .75rem; */
    /* border-radius: 0 0 .5rem .5rem; */
}


.stats .card {
    background-color: #fff;
    border-radius: .5rem;
    flex: 1 1 auto;
    text-align: center;
    padding-bottom: .5rem;
    width: calc(100% * (1/4) - 10px - 1px)
}

.stats h3 {
    /* background: #225166;
    color: white;
    font-weight: 100;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    padding: .5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    flex: 1 1 auto;
    line-height: 1.2rem;
    font-size: 1.1rem; */
    background: rgba(0, 0, 0, .2);
    color: black;
    font-weight: normal;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    padding: 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    flex: 1 1 auto;
    line-height: 1rem;
    font-size: 1rem;
    padding: .5rem 1rem;
}

.stats p {
    font-size: 1.3rem;
    font-weight: 100;
    color: #222;
    padding: 0 1rem 0 .5rem;
    font-weight: 400;
    text-align: center;
}

.stats .card p span:not(.yearRangeLabel) {
    display: block;
    padding-bottom: .1rem;
    font-size: .8rem;
    color: #666;
}

.stats .card p.second {
    margin-top: .75rem;
    /* padding-top: .5rem; */
    /* border-top: 1px solid #ddd; */
    /* padding-bottom: .5rem; */
    /* margin-left: .5rem; */
    /* margin-right: .5rem; */
}

/* .stats .card .cardlabel {
    display: block;
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
} */

.stats .card .cardlabel::after {
    content: ': ';
}

/* green rating leaves */
.comfortvalue.greenrating {
    height: 54px;
}

.comfort.top .comfortvalue h3 {
    border-bottom-left-radius: 0;
    align-self: stretch;
    background: #394c3a;
}

.leaves {
    width: 100%;
    position: relative;
    max-width: 200px;
    text-align: left;
    background-color: white;
    padding: .5rem;
    border-radius: 0 .5rem 0 0;
    height: 38px;
}

.leaves img {
    display: block;
    position: relative;
    z-index: 5;
    top: -39px;
    width: 200px;
    height: 40px;
}

.leaves .rating {
    background-color: #478907;
    position: absolute;
    z-index: 4;
    top: .5rem;
    width: 200px;
    height: 38px;
    max-width: 200px;
}

.leaves .ratingBackground {
    background-color: #efefef;
    width: 100%;
    height: 38px;
    width: 200px;
    /* box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25) inset; */
}


.costbreakdown {
    flex: 1 0 220px;
    background-color: #efefef;
    border-radius: .5rem;
    padding: 1rem;
    align-self: stretch;
}

.costbreakdown h3 {
    margin: 0 0 1rem 0;
    text-align: center;
}


.costgroup {
    background: #efefef;
    border-radius: 0.5rem;
    /* padding: .5rem 1rem; */
    margin-bottom: 1rem;
}

.costgroup.extrapad {
    padding-bottom: .5rem;
}

.costgroup.no-bottom-margin {
    margin-bottom: 0;
}

.costgroup h3 {
    margin-bottom: .5rem;
}

.costgroup.costgroup.extrapad h4 {
    margin-top: .25rem;
}

.costgroup h4 {
    margin-bottom: .4rem;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    /* text-align: center; */
    margin-left: 1rem;
    font-weight: normal;
    text-align: right;
}

.costgroup hr {
    margin: 1rem 0 .5rem 20px;
    border: 1px solid #aaa;
    border-width: 1px 0 0 0;
}

.cost {
    margin-bottom: .2rem;
    border-radius: 0.5rem;

    display: flex;
    align-items: stretch;
    justify-content: center;
    flex: 1 1 auto;
}

.cost.total {
    flex-direction: column;
}

.cost:last-child {
    margin-bottom: 0;
}

.cost .iconHolder {
    border-radius: .5rem 0 0 .5rem;
    display: flex;
    padding: .25rem .5rem;
    gap: 0.25rem;
    align-items: center;
    color: white;
    font-size: 2.2rem;
    justify-content: center;
    width: 1rem;
}

.cost .iconHolder h3 {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9rem;
    font-weight: 100;
    margin-bottom: 0;
    display: none;
}

.cost p {
    background: white;
    padding: 0.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 100;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    flex: 1 1 auto;
    margin-bottom: 0;
}

.cost.total p {
    /* background-color: #7d9667;
    color: white; */
    background-color: transparent;
    font-weight: bold;
    padding-top: 0;
    /* padding-right: 0; */
}

.cost.total p.label {
    margin: 0;
    text-align: right;
    font-weight: 100;
    font-size: .8rem;
    padding-bottom: 0;
    margin-top: -18px;
    background: #efefef;
    width: auto;
    align-self: flex-end;
}

.cost.total p .yearRangeLabel {
    font-weight: bold;
}

.operator {
    color: #636363;
    font-size: .7rem;
    align-content: center;
    margin-right: .5rem;
    width: 12px;
}


.cost .iconHolder i {
    font-size: .8rem;
}

.iconHolder.construction {
    background-color: #a04127;
}

.iconHolder.hvac {
    background-color: #33a9dd;
}

.iconHolder.light {
    background-color: #ebbb4f;
}

.iconHolder.devices {
    background-color: #4a4a7c;
}

.iconHolder.renewableEnergy {
    background-color: #478907;
}

.iconHolder.total {
    background-color: #4f6952;
}


.iconHolder.worst {
    color: black;
    background-color: white;
}

.iconHolder.worst hr {
    width: 15px;
    margin: 0;
    border-style: dashed;
    border-color: black;
}


.cost .yearRangeLabel{
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .6em;
    font-weight: 100;
    color: #333;
    padding-top: 2px;
}

.card .yearRangeLabel {
    /* font-size: 12px; */
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* result comfort */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* .modelWrap + .comfort:not(.hidden) {
    margin-top: 2rem;
} */

.comfort {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .5rem;
}

.comfort.top {
    margin-top: 0;
    margin-bottom: 0;
}

.comfort .comfortvalue {
    border-radius: 0.5rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex: 1 1 auto;
}

.comfort .comfortvalue .iconHolder {
    padding: 0 .5rem;
    background: white;
    border-radius: 0 0.5rem 0.5rem 0;
    flex: 0 0  auto;
    display: flex;
    align-items: center;
}

.comfort .comfortvalue .iconHolder img {
    margin-top: -15px;
}

.comfort .comfortvalue h3 {
    background: #225166;
    color: white;
    font-weight: 100;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    padding: 1rem 0.5rem 1rem 1rem;
    font-weight: 100;
    border-radius: 0.5rem 0 0 0.5rem;
    flex: 1 1 auto;
    line-height: 1.2rem;
    font-size: 1.2rem;
    align-self: center;
}

.comfort .comfortvalue i {
    font-size: 2.3rem;
}

.comfortvalue i.scale3 {
    color: #458608;
}

.comfortvalue i#tempcomfort.scale2 {
    color: #91b71c;
}

.comfortvalue i.scale2 {
    color: #ffc200;
}

.comfortvalue i.scale1 {
    color: #a31717;
}

#printout {
    font-family: 'Open Sans';
    font-size: 1rem;
    margin-top: 2rem;
}

#printout a:link,
#printout a:visited,
#printout a:hover,
#printout a:active {
    color: #225166;
    text-transform: capitalize;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* inputs */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

.hint {
    float: right;
    padding: 0.5rem;
    border-radius: 0 0.5rem;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    margin: -10px;
    /* background: #225166; */
    background-color: #ca6117;
    color: white;
    font-size: .8rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
}

.hint:hover {
    cursor: pointer;
    /* background-color: #2e6a7f; */
    background-color: #e46e1a;
}

#contentHeader .hint {
        font-size: 1.2rem;
    position: absolute;
    margin-right: 0;
    right: 0;
    top: 2px;
    border-radius: .5rem;
    background-color: #ca6117;
    padding: .7rem 1rem;
}

#inputs {
    flex: 1 1 auto;
    background-color: white;
    padding: .75rem;
    border-radius: 0 0 .5rem .5rem;
    min-height: 470px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
}

#inputs .row {
    padding: 10px;
    border-radius: .5rem;
    background-color: #efefef;
    margin-bottom: .75rem;
}

#inputs .row:last-of-type {
    margin-bottom: 0;
}

.row .rowInputs {
    gap: 10px 1rem;
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
}

.row .rowInputs#deviceinputs,
.row .rowInputs#lightinginputs {
    flex-wrap: wrap;
    padding-bottom: 0;
}

.row .rowInputs#deviceinputs .input,
.row .rowInputs#lightinginputs .input {
    flex-basis: 25%;
    margin-bottom: 10px;
}

.row .rowInputs#lightinginputs .input:last-child {
    flex: 0 0 50%;
}

.row .rowInputs#deviceinputs .input:nth-child(1),
.row .rowInputs#deviceinputs .input:nth-child(2) {
    flex: 0 0 100%;
}

.input {
    display: flex;
    flex-direction: column;
    flex: 1 1 25%;
}

.input label {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9em;
    font-weight: nomral;
    justify-content: space-between;
    padding-bottom: 3px;
    display: flex;
    align-items: center;
}

.input select {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9em;
    padding: 2px 5px;
    border-radius: 0.5rem;
    border: 1px solid rgb(118, 118, 118, .8);
}

.input .deviceuse {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .8em;
    font-weight: 200;
    color: #222;
    padding-top: 5px;
    padding-left: 10px;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* color selectors */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
.clr-field {
    width: 100%;
}

.full .clr-field button:hover,
.full .clr-field input:hover {
    cursor: pointer;
}

.full .clr-field button {
    width: 100%;
    height: 100%;
    border-radius: .5em;
    border: 1px solid rgb(118, 118, 118);
    background: none;
}

.clr-field button:after {
    box-shadow: none;
    border-radius: 0;
}

.clr-field input {
    border: none;
    background-color: transparent;
    font-size: .8em;
    padding:0;
    height: 30px;
    width: 100%;
}


.clr-close {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    background: #222;
    border-radius: .5em;
    padding: 3px 5px;
    text-align: center;
    width: 100%;
    margin-left: 20px;
}

.clr-close:hover {
    background-color: #333;
}

/* -------------------------------------------------------------- */
/* cards */
.modal-window {
    position: fixed;
    background-color: rgba(33, 35, 34, 0.6);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    transition: all 0.3s;
}

.hideModal {
    visibility: hidden; 
    opacity: 0;
    pointer-events: none;
}

.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#card {
    width: 90%;
    height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    background: #efefef;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5)  ; 
	-webkit-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5)  ; 
	-moz-box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5)  ; 

    display: flex;
    flex-direction: column;
}

.scroller {
    overflow-y: scroll;
    flex: 1 1 100%;
    border-radius: 0 0 1rem 1rem;
}

#card .flex {
    overflow-y: scroll;
}

#card-top {
    background-color: #a6cee2;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem 1rem .5rem 1rem;
}

#card h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    color: #14343f;
    position: relative;
    font-weight: bold;
}

#card p.itemsDesc {
    max-width: 75%;
}

#card-nav {
    background-color: #225166;
    color: white;
    height: 40px;
    display: flex;
    align-items: center;
    flex: 0 0 3rem;
}

#card-nav p {
    margin: 0;
    padding: 0 0 0 1rem;
    flex: 1 1 auto;
    color: white;
    font-size: .9rem;
}

#card-nav p span {
    cursor: pointer;
    user-select: none;
}

#card-nav p:nth-child(2) {
    text-align: right;
    padding-right: 1rem;
}

#card-content {
    background-color: #efefef;
}

#card .items {
    margin: 1rem 0 2rem 0;
    /* background-color: white; */
    /* padding: 1rem; */
    border-radius: .5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

#card .items .item {
    flex: 0 1 200px;
    /* display: flex; */
    background: white;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
}

#card .items .item-content {
    padding: .5rem;
    flex: 1 1 auto;
}

#card .item-values {
    display: flex;
    justify-content: space-between;
    padding: 0 .5rem;
}

#card .items .item-content h4 {
    font-size: 1rem;
    padding-bottom: .5rem;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}

#card .items .item-content p {
    font-size: .9rem;
    padding-bottom: .5rem;
}

#card .items img {
    max-width: 100%;
    width: 100%;
    flex: 0 0 100px;
    border-radius: .5rem .5rem 0 0;
}

#card .leaf,
#card .dollars {
    font-size: 1.5rem;
}

#card .leaf {
    color: #478907;
    padding-bottom: 10px;
}

#card .dollars {
    color: #225166
}

#card-close {
    float: right;
    display: block;
    width: 30px;
    text-align: center;
    height: 30px;
}

#card-close:hover {
    cursor: pointer;
}

#card .flex > div {
    padding: 1rem 1.5rem;
}

#card-content {
    flex: 1 1 auto;
}


.range-holder {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    margin-top: 2px;
    background: rgba(255, 255, 255, .8);
    height: 50px;
    padding: 0 10px 0 10px;
    border-radius: .5rem;
    border: 1px solid rgb(118, 118, 118, .8);
}

.range-min, 
.range-max {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .8rem;
}

.range-min {
    padding-right: 10px;
}

.range-max {
    padding-left: 10px;
}

/* https://codepen.io/onyx1812/pen/GRJxmva */
input[type=range] {
	width: 100%;
    z-index: 10;
}

.range-wrap{
	position: relative;
    flex: 1 1 auto;
    height: 20px;
    flex-direction: column;
    display: flex;
	align-items: center;
	justify-content: center;
}

.input datalist,
.input .datalist {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.input datalist option,
.input .datalist .option {
    font-weight: normal;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .7rem;
    color: #000;
    text-align: center;
    width: 10px;
    pointer-events: none;
    user-select: none;
}


.input datalist.alternate option,
.input .datalist.alternate .option {
    display: none;
}

.input datalist.alternate option:nth-of-type(5n + 1),
.input .datalist.alternate .option:nth-of-type(5n + 1) {
    display: block;
}

.input datalist.ticks,
.input .datalist.ticks  {
    height: 5px;
    overflow: hidden;
    padding-bottom: 7px;
    margin-top: -6px;
}

.input .datalist.ticks .option {
    color: #666;
}




/* /////////////////////////////////////////// */
input[type="range"] {
    -webkit-appearance: none;
    height: 10px;
    background: #efefef;
    border-radius: 5px;
    background-image: linear-gradient(#367d96,#367d96);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    border: .5px solid #ccc;
}
input[type="range"]::-webkit-slider-thumb
 {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #2e6c82;
    cursor: ew-resize;
    border: none;
}

input[type="range"]::-moz-range-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #2e6c82;
    cursor: ew-resize;
    border: none;
}

input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}


/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* MEDIA QUERIES ------------------------------------------------ */
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */

@media only screen and (max-width: 1350px) {
    #outputs .tabContent {
        flex-direction: column;
        align-items: stretch;
    }

    .graphcontainer {
        height: 300px;
    }

    .stats .card {
        width: calc(100% * (1/2) - 10px - 1px)
    }
 }


 @media only screen and (max-width: 1349px) and (min-width: 1150px) {
    /* #visuals {
        flex-basis: 50%;
    } */

    #model, 
    #model canvas {
        width: 100%!important;
    }

    .graphContainer {
        height: 300px;
    }
 }

 @media only screen and (max-width: 1000px) {
    #screen, #instructions {
        flex-direction: column;
    }

    #visuals {
        /* flex-basis: 500px; */
        margin: 0 auto;
        margin-bottom: 1rem;
    }
 }