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;
}

.contentHeaderTab {
    display: flex;
    align-items: end;
    cursor: pointer;
}

.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;

    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;
    display: flex;
}

#headers {
    flex: 1 1 auto;
    padding: .5rem 0;
}

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;
}

#subtitle {
    align-self: stretch;
    background-color: #a1c0a5;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

header h4 {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    color: black;
    font-size: 1.5rem;
}

#logo {
    padding: .5rem 0 .5rem 1rem;
}

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 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: .75rem;
    padding-right: .75rem;
}

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

.resultExplanation p {
    margin-bottom: 0;
    padding-left: 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;
    background-color: #efefef;
    border-radius: .5rem;
    margin-left: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    align-self: flex-start;
}

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

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

.summer #model {
    background-color: #7ba8ba;
    background: linear-gradient(0deg,rgba(123, 168, 186, 1) 0%, rgba(140, 191, 212, 1) 35%, rgba(123, 168, 186, 1) 100%);
    /* overflow: hidden; */
}

.winter #model {
    background: #cde7fa;
    background: linear-gradient(0deg,rgba(205, 231, 250, 1) 0%, rgba(174, 174, 194, 1) 35%, rgba(84, 114, 133, 1) 100%);
    /* overflow: hidden; */
}

#zoomoutArrows {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    /* border-bottom: 40px solid rgba(255, 255, 255, .5); */
    border-radius: 7px;
}


#zoominArrows {
    position: absolute;
    z-index: 300;
    width: 100%;
    height: 100%;
}

#zoominArrows svg,
#zoomoutArrows svg {
    overflow: visible;
}

#zoomoutArrows svg path {
  -webkit-filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, 0.5)); 
  filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, 0.5));
}

#zoominArrows svg path {
    -webkit-filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, .8)); 
    filter: drop-shadow( 0px 0px 3px rgba(0, 0, 0, .8));
}

#model,
#window {
    /* width: 500px; */
    height: 400px;
    border-radius: 8px 8px 0 0 ;
    position: relative;
}

#windowWrapper {
    /* background-color: #7ba8ba; */
    background-color: white;
    /* background-color: #4a7784; */
    /* width: 350px;
    height: 350px; */
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .8);
    position: absolute;
    z-index: 200;
    /* left: 125px;
    top: 25px; */
    left: 75px;
    top: -5px;
}

#windowWrapperBackground {
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 200;
    border-radius: 8px 8px 0 0;
}

#windowWrapper.invisible,
#windowWrapperBackground.invisible,
#zoomout.invisible {
    visibility: hidden;
}

#model #window {
    /* width: 340px;
    height: 340px; */
    width: 440px;
    height: 440px;
}
/* #model #window, */
#model #window canvas  {
    /* width: 340px;
    height: 340px; */
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .2);
    background-color: rgba(166, 206, 226, .1);
    border-radius: 50%;
    /* background-image: none; */
}

#visuals.large {
    flex: 0 0 800px;
}

.resultsscreen.top:not(.hidden) + #model {
    border-radius: .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; */
    background: #7aa8ba;
    color: #16343f;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 200;
    border-radius: .5rem;
    /* font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif; */
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    flex: 1 0 300px;
    margin-bottom: .75rem;
}

#buildCost hr {
    margin: 1rem -1rem 1rem -1rem;
    border: 0px solid #16343f;
    border-top-width: 1px;
}

#budgetstuff.over #buildCost hr {
    border-color: rgba(255,255,255,.5);
}

#budgetstuff h4 {
    margin-bottom: .5rem;
}

#budget div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

#budget div img { 
    flex: 0 0 auto;
    margin-top: 5px;
}

#buildCost p {
    font-size: 1rem;
}

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

#buildCost strong {
    font-weight: bold;
}



/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* load results */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#loadResults,
#backToDesign,
#overBudget,
#goodBudget {
    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);
}

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

#loadResults.disabled,
#loadResults.disabled:hover {
    display: none;
}

#overBudget {
    background-color: #751212;
    float: right;
    margin-left: 10px;
    padding: 1rem;
}

.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;
    gap: 10px;
    /* flex-direction: column; */
    justify-content: flex-start;
}

#budgetstuff {
    flex: 0 0 600px;
}

#budgetstuff.over #buildCost {
    background-color: #751212;
    color: white;
}


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

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

#screen {
    display: flex;
    clear: both;
    padding: 0 1rem 1rem .5rem;
    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: 10px;
    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 .2rem 0;
    border-radius: .5rem .5rem 0 0;
 }

 .graphHolder h4 {
    padding-bottom: 1rem;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
 }

 /* #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 */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

#deviceBarChartContainer {
    height: 200px;
    padding-bottom: .5rem;
}

 .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: 200px;
 }

 .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 1rem .5rem;
    font-size: .8rem;
    /* font-weight: bold; */
    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 .legendCol {
    padding-right: 1rem;
    /* display: flex; */
 }

 .legend .legendCol div {
    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;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* bill */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */

.billCols {
    display: flex;
    padding-left: .5rem;
    justify-content: stretch;
}

.billCols #billMonthlyGraph {
    flex: 1;
}


#pie {
    flex: 0 0 320px;
    background: white;
    justify-self: stretch;
    margin-bottom: .75rem;
    border-radius: .5rem;
}
#billBreakdown {
    background-color: white;
    border-radius: .5rem;
    padding: .5rem;
    margin-top: 0;
    flex: 0 0 auto;
}

#billBreakdown .legend {
    margin-top: -210px;
    position: absolute;
    margin-left: 110px;
    background: transparent;
}

#billBreakdown .legend .legendCol {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.breakdownContainer {
    width: 300px;
    margin: 0 auto;
    padding-top: .5rem;
}

#billBreakdown .legend .legendCol div {
    padding-right: 1rem;
}

.billTop .tab,
.billTop .tab:hover {
    cursor: pointer;
    background-color: black;
    color: white;
}

#billHeader {
    display: flex;
    /* padding: 1rem; */
    align-items: center;
}

.totalDevice {
    border-radius: .5rem;    
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9rem;
    background-color: white;
    display: flex;
}

.totalDevice strong {
    padding: .5rem 1rem;
    background-color: #225166;
    color: white;
    border-radius: .5rem 0 0 .5rem;
    flex: 1;
    text-align: right;
}

.totalDevice span {
    padding: .5rem 1rem;
    flex: 0 0 110px;
    text-align: right;
}


#accountInfo {
    flex: 1 1 auto;
    padding: 1rem;
}

#accountInfo h3 {
    font-size: 2rem;
}

#billCostWrapper {
    text-align: right;
    /* background: #367d96;
    color: #ffffff; */
    padding: 1rem;
}

#billCostWrapper h4 {
    /* font-size: 3.5rem;
    line-height: 3.5rem; */
    background-color: white;
    font-size: 3.5rem;
    line-height: 3.5rem;
    border: 5px solid #a72b23;
    padding: 5px 10px 10px 10px;
    border-radius: .5rem;
    line-height: 3.5rem;
}

#billCostWrapper h4 .cents {
    font-size: 1.8rem;
    vertical-align: text-top;
    padding-left: 5px;
} 

#billCostWrapper p {
    opacity: .8;
    padding-top: 5px;
}

p.small {
    font-size: .8rem;
    margin-bottom: 4px;
}

.margin-bottom {
    margin-bottom: 1rem;
}
.margin-bottom-double {
    margin-bottom: 2rem;
}

#visuals {
    /* display: flex; */
}

#billMonthlyGraph {
    background: #efefef;
    border-radius: 0.5rem;
    padding: .75rem;
}

#zoomin,
#zoomout {
    display: block;
    font-size: 24px;
    background-color: rgba(0, 0, 0, .3);
    border: 4px solid white;
    color: white;
    margin-top: .5rem;
    border-radius: 20rem;
    text-align: center;
    padding: .5rem;
    position: absolute;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .4);
    width: 50px;
    height: 50px;
}

#zoomin {
    left: 243px;
    top: 140px;
    z-index: 100;
}

#zoomout {
    left: 440px;
    top: 30px;
    z-index: 400;
    width: 70px;
    height: 70px;
    background: white;
    color: black;
}

#zoomin:hover,
#zoomout:hover {
    background-color: rgba(0, 0, 0, .6);
    cursor: pointer;
}

#zoomout:hover {
    background-color: #dfdfdf;
}

#play {
    display: block;
    font-size: 2rem;
    background-color: #4f6952;
    /* font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif; */
    color: white;
    margin-top: .5rem;
    border-radius: 20rem;
    text-align: center;
    /* padding: 1rem; */
    position: absolute;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    left: calc(50% - 37px + 15px);
    top: 30px;
    width: 75px;
    height: 75px;
    border: none;
}

#replay {
    display: block;
    font-size: .8rem;
    background-color: #4f6952;
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
    color: white;
    margin-top: .5rem;
    border-radius: 20rem;
    text-align: center;
    padding: .5rem;
    position: absolute;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    right: 0;
    top: -15px;
    border: none;
    width: 40px;
    height: 40px;
}

#replay img {
    max-width: 100%;
    height: 23px;
}

#play:hover,
#replay:hover {
    cursor: pointer;
    background-color: #415643;
}

.arrowSize {
    position: absolute;
    z-index: 500;
    background-color: rgba(255, 255, 255, 1);
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .8rem;
    font-weight: bold;
    padding: 5px 7px;
    border-radius: 3px;
    text-align: center;
    filter: drop-shadow( 0px 0px 2px rgba(0, 0, 0, .2));
}

#zoominArrows .arrowSize {
    z-index: 700;
}

#arrowexteriorin {
    top: 87px;
    left: 69px;
} 

#arrowinteriorin {
    top: 199px;
    left: 346px;
} 

#arrowreflectedin {
    top: 278px;
    left: 69px;
} 

#arrowglassin {
    top: 300px;
    left: 205px;
} 

#arrowexteriorout {
    left: 3px;
    top: 53px;
} 

#arrowinteriorout {
    left: 486px;
    top: 259px;
} 

#arrowreflectedout {
    left: 83px;
    top: 227px;
} 

#arrowglassout {
    left: 241px;
    top: 247px;
} 

#arrowsummerout {
    left: 473px;
    top: 322px;
}

#arrowwinterout {
    left: 40px;
    top: 325px;
}

#airgaparrow {
    top: 190px;
    display: block;
    position: absolute;
    left: 212px;
    font-size: 30px;
    color: #ffe300;
    filter: drop-shadow( 0px 0px 2px rgba(0, 0, 0, .8));
}

#key {
    padding: 10px;
    display: flex;
    gap: 30px;
    background: #4f6952;
    color: white;
    border-radius: 0 0 8px 8px;
}

#key span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

#budget img,
#key img {
    width: 30px;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 1));
}

#screen.summer img {

}

#screen.winter img#totalEnergy {
    transform: rotate(180deg);   
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* 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.prevYearColor {
    background-color: #757475;
}

.iconHolder.yearColor {
    background-color: #000;
}

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

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

.iconHolder.general {
    /* background-color: #367d96; */
    background-color: #333;
}

.legend .iconHolder.hvacTransparent {
    background-color: #e8f4fb;
    border: 1px solid #33a9dd;
    width: 13px;
    height: 13px;
}

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

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

.iconHolder.cafeteria {
    background-color: #fc5493;
}

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

.legend .iconHolder.renewableEnergyTransparent {
    background-color: #e6ecdc;
    border: 1px solid #478907;
    width: 13px;
    height: 13px;
}

.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;
    margin: 0!important;
}

.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;
    color: white;
    font-size: .8rem;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
}

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

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

#results {
    border-radius: .5rem;
    padding: 0;
    margin-left: 10px;
    background-color: #efefef;
}

table {
    border-radius: .5rem;
    border-spacing: 0;
    width: 100%;
}

table th:first-of-type {
    border-top-left-radius: 10px;
    border-left-width: 1px;
  }

table td:first-of-type {
    border-left-width: 1px;
}

table th:last-of-type {
    border-top-right-radius: 10px;
}

tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}

tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}

table thead {
    background-color: #333;
    color: white;
    font-weight: bold;
}

table th,
table td {
    padding: .5rem;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9rem;
    text-align: center;
    border: 1px solid rgb(118, 118, 118, .8);
    border-width: 0 1px 1px 0;
}

table td {
    background-color: white;
}

table tr td:first-child {
    text-align: left;
}

#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;
}

#inputs .row.building {
    background-color: white;
    padding: 0;
    margin: 0;
}

#buildingDesign .row {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.row .rowInputs.building {
    padding-bottom: 0;
    background-color: white;
    /* padding: 1rem; */
    padding-top: 0;
    flex-direction: column;
}

#devicekwhInputWrapper, 
#hvacWrapper {
    flex-direction: column;
}

#devicekwhInput input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(118, 118, 118, .8);
    width: 50px;
    text-align: right;
}

#devicekwhInput label {
    margin-left: 5px;
    font-weight: bold;
}

.toggleDesc {
    flex: 1;
}

.row .rowInputs.building .inputWrapper {
    background-color: #efefef;
    padding: 10px;
}

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

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

.row .rowInputs#energyGenerationInputs {
    flex-direction: column;
    padding-bottom: 0;
}

#generationWrap {
    display: flex;
    align-items: center;
}

.inputWrapper {
    flex: 1 1 32%;
    /* padding: 10px; */
    border-radius: .5rem;
    /* background-color: #efefef; */
    margin-bottom: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}

.building .inputWrapper {
    flex-direction: row;
}

#optionalDevices .inputWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
}

.inputWrapper p {
    font-size: .9rem;
    padding: .5rem 0;
    margin: 0;
}

.building .inputWrapper p {
    padding: 0;
}


#optionalDevices .inputWrapper .switch {
    flex: 0 0 auto;
    margin-left: 1rem;
}

.row#optionalDevices {
    display: flex;
    gap: 1rem;
}

.inputWrapper.empty {
    background-color: transparent;
}

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

.inputWrapper .input.count {
    flex: 1 1 30%;
}

.inputWrapper .input.hours {
    flex: 1 1 65%;
}

.inputWrapper h3 {
    flex: 1 0 100%;
}

.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);
    width: 100%;
}

.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;
    font-style: normal;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* 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;
}


.switchHolder {
    margin-top: 10px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* toggle------------------------------------------------ */
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.sliderSwitch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #bbb;
    -webkit-transition: .4s;
    transition: .4s;
}

.sliderSwitch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .sliderSwitch {
    background-color: #367d96;
}

input:focus + .sliderSwitch {
    box-shadow: 0 0 1px #367d96;
}

input:checked + .sliderSwitch:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.sliderSwitch.round {
    border-radius: 34px;
}

.sliderSwitch.round:before {
    border-radius: 50%;
}

/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* SPINNING ----------------------------------------------------- */
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
#outside {
    /* position: absolute; */
    /* font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif; */
    /* bottom: 0; */
    /* background: #4f6952; */
    background-color: #225166;
    border-radius: 5px 0 5px 0;
    padding: 10px 15px 5px 15px;
    /* color: #225166; */
    color: white;
    font-weight: 200;

    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 8px 8px 0 0 ;
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', Times, serif;
}

#sunSummer {
    /* position: absolute; */
    /* width: 100px;
    height: 100px; */
    overflow: hidden;
    border-radius: .5rem;
}

#sunSummer img {
    display: block;
    /* left: -60px; */
    position: absolute;
    border-radius: .5rem;
    /* top: -71px; */
}

#sunWinter {
    position: absolute;
    width: 296px;
    height: 161px;
    overflow: hidden;
    border-radius: .5rem;
}

#sunWinter img {
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    /* -webkit-filter: drop-shadow( 0px 0px 10px rgba(0, 0, 0, 0.7)); 
    filter: drop-shadow( 0px 0px 10px rgba(0, 0, 0, 0.7));  */
}

#inside {
    position: absolute;
    background: white;
    border-radius: 5px;
    top: 10px;
    right: 10px;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    padding: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
}

#insideWrapper {
    background-color: rgba(166, 206, 226, .5);
    /* padding: 5px; */
    border-radius: 5px;
    display: flex;  
    /* gap: 20px; */
    box-shadow: inset 0 0 10px #88c0dc;
    border: 1px solid #6eb6da;
}

/* #inside .left,
#inside .right {
   
} */

#insideWrapper .left {
    border-right: 1px solid #6eb6da;
    padding: 5px 20px 5px 10px;
}

#insideWrapper .right {
    padding: 5px 10px 5px 20px;
}

#thermostatIcons {
    margin-bottom: 5px;
}

#thermostatIcons .fa-snowflake {
    color: #2e5064;
}

#thermostatIcons .fa-fire {
    color: #892f25;
}

.degrees {
    font-size: 10px;
    display: inline-block;
    vertical-align: text-top;
}

#inside #roomTemp {
    font-size: 55px;
    line-height: 55px;
    margin-top: -15px;
    font-weight: 500;
}

#roomTemp .degrees {
    font-size: 15px;
}

#roomLabel,
#settempLabel {
    font-size: 12px;
}

#setTemp {
    font-size: 20px;
    line-height: 25px;
    margin-top: -5px;
}


#hvacGear {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 58px;
    left: 171px;
    font-size: 30px;
    color: #8c8b88;
}


.spin-fast {
    animation-duration: 1s;
}

.spin-slow {
    animation-duration: 1s; 
}

.spin {

    animation-name: spin;
    animation-delay: 0s;
    animation-direction: normal;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

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

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

    .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;
    }
 }

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

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

    #tabWrapper {
        margin-left: 0;
    }
 }