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

 /* ----- animation -------- */
#shadows polygon:not(#time8am),
#s polygon:not(#s8am),
#w polygon:not(#w8am),
#e polygon:not(#e8am) {
    fill: transparent;
}

#shadows #time8am {
    opacity: .5;
}

#s8am,
#w8am,
#e8am {
    opacity: .7;
}

#sun:hover {
    cursor: hand;
}

#sun:focus {
    outline: none;
}

#sun:focus-visible {
    outline-offset: 2px;
    outline-width: thin;
    outline-style: ridge;
    outline-color: rgb(1, 74, 157);
    border-radius: 50%;
}



/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* layout */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
body {
 background-color: #000;
}

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

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

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;
    
    align-self: flex-start;
}

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

.modelWrap {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .4);
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: white;
    position: relative;
    /* max-width: 500px; */
    margin: 0 auto;
    text-align: center;
}

#model {
    /* width: 500px; */
    /* height: 400px; */
    border-radius: 8px ;
    position: relative;
    display: block;
    /* margin-top: 62px; */
}

#model svg {
    display: block;
    border-radius: 8px 8px ;
}

#visuals.large {
    flex: 0 0 800px;
}
    
#compassContainer {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 10px;
    right: 10px;
    z-index: 200;

    background: rgba(0, 0, 0, .2);
    border-radius: 50%;
    padding: 8px;
}

#buttonWrapper {
    /* background-color: white; */
    /* border-bottom-right-radius: 8px; */
    color: black;
    /* box-shadow: 5px 5px 5px rgba(0, 0, 0, .25); */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 0;
    /* position: absolute; */
    z-index: 300;
}

#time {
    background-color: white;
    border-bottom-right-radius: 8px;
    color: black;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 10px 10px 0;
    position: absolute;
    z-index: 300;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    text-align: right;
    width: 130px;
    font-size: 1.5rem;
}



.hide {
    display: none!important;
}

#tabWrapper {
    flex: 1 1 auto;
}

/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
/* tabs */
/* ------------------------------------------------------ */
/* ------------------------------------------------------ */
#instructions {
    border-radius: 1rem 1rem 0 0;
    background-color: #a6cee2;
    padding: 1rem;
    padding-bottom: 1rem;
    gap: 10px;
    justify-content: flex-start;
}

#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;
    gap: 10px;
}

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

/* #play {
    display: block;
    font-size: 2rem;
    background-color: #4f6952;
    color: white;
    margin-top: .5rem;
    border-radius: 20rem;
    text-align: center;
    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;
} */

.button.media {
    display: block;
    font-size: 1.5rem;
    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;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .25);
    border: none;
    width: 100%;
    height: 60px;
}

.button.media:hover {
    cursor: pointer;
}

#play:hover {
    background-color: #435946;
}

#pause {
    background-color: rgba(163,23,23,1);
}

#pause:hover {
    background-color: rgb(139, 18, 18);
}

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

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

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

#inputs,
.inputs {
    flex: 1 1 auto;
    background-color: white;
    padding: .75rem;
    border-radius: .5rem;
    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.building {
    padding-bottom: 0;
    background-color: white;
    /* padding: 1rem; */
    padding-top: 0;
    flex-direction: column;
}

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

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

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

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

.input label {
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
    font-size: .9em;
    font-weight: normal;
    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;
}


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

#timeinput {
    width: 100%;
    display: block;
}


#windowinput {
   flex: 1 1 25%;
}

.range-holder {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    margin-top: 2px;
    background: rgba(255, 255, 255, .1);
    height: 50px;
    padding: 5px 10px;
    border-radius: .5rem;
    flex: 1 1 auto;
    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;
}

#timeLabels .option {
    width: 55px;
    color: black;
}

#timeLabels .option:nth-of-type(2n) {
    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: #000;
    border: 1px solid #fff;
    cursor: ew-resize;
    /* border: none; */
}

input[type="range"]::-moz-range-thumb {
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #000;
    border: 1px solid #fff;
    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%;
}

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

@media only screen and (max-width: 1060px) {
    #timeLabels .option:nth-child(3),
     #timeLabels .option:nth-child(7)  {
        display: none;
    }
 }

 @media only screen and (max-width: 930px) {
    #timeLabels .option:nth-child(3),
     #timeLabels .option:nth-child(7)  {
        display: block;
    }

    #screen {
        flex-direction: column;
        padding-bottom: 0;
        gap: 1rem;
    }

    #visuals {
        align-self: center;
        margin: 0;
        order: 2;
    }

    #tabWrapper {
        order: 1;
    }
 }

/* 
 @media only screen and (max-width: 1349px) and (min-width: 1150px) {

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

 @media only screen and (max-width: 1000px) {
    #visuals {
        width: 600px;
        margin: 1rem auto;
        flex: 0 0;
    }

    #tabWrapper {
        margin-left: 0;
    }
 } */