#contentWrapper {
    display: block;
    padding: 0;
    border-radius: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--mid-blue);
}

#tabScreen {
    border-radius: 1rem;
}

#tabScreenInnerWrap {
    position: relative;
    border-radius: 1rem;
    background-color: var(--dark-blue);
}

#modelHolder {
    width: 100%;
    display: block;
    position: relative;
    border-radius: 17px;
    border: 2px solid var(--dark-blue);
    background-color: white;
}

#mapHolder {
    position: relative;
}

/* ------------------------------------------- */
/* maps */

#modelHolder img {
    display: block;
    width: 100%;
    max-width: 100%;
    position: absolute;
    top: 0;

    border-radius: 1rem;
}

#modelHolder img#map {
    position: relative;
}

#modelHolder img#temp {
    z-index: 100;
}

#modelHolder img#humidity {
    z-index: 200;
}

#modelHolder img#precipitation {
    z-index: 300;
}

#modelHolder img.mapdata.hide {
    display: none;
}

/* date time display */
#datetime {
    /* background: var(--ngss-green-dark);
    border-radius: 6px 0 1rem 0;
    position: absolute;
    z-index: 100;
    width: 215px;
    top: 0;
    color: white;
    font-size: 1.5rem;
    padding: 21px 25px 20px 20px;
    z-index: 600;
    box-shadow: 5px 6px 10px -4px rgba(0, 0, 0, .5); */
    background: #536922;
    /* border-radius: 6px 0 1rem 0; */
    /* position: absolute; */
    z-index: 100;
    /* width: 215px; */
    top: 0;
    color: white;
    /* text-align: center; */
    font-size: 1.5rem;
    padding: 21px 25px 20px 20px;
    z-index: 600;
    /* box-shadow: 5px 2px 3px -4px rgba(0, 0, 0, .5); */
    /* border: 3px solid #536922;
    border-top-width: 0;
    border-left-width: 0; */
    /* font-weight: bold; */
    /* border-radius: 5px 5px 0 0; */
    border-radius: 14px 14px 0 0;
    /* border: .5px solid rgba(255, 255, 255, .2); */
    border-bottom: 3px solid #41521b;
    
}

#datetime strong {
    color: #faffd8;
    font-weight: bold;
}

/* part selectors -------------------------------------- */
.parts {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    /* margin-left: 2.5rem; */
    /* gap: 1rem; */
}

#maptoggle {
    /* margin-bottom: 1rem;   */
}

.parts .part {
    
    text-align: left;
    background-color: var(--mid-blue);
    border-radius: 1rem;
    border: 3px solid #c2cfda;
    display: flex;
    align-items: center;
    justify-items: stretch;
    cursor: pointer;
    padding: .5rem 1rem .5rem .5rem;
    gap: 5px;
    border: none;
    color: white;
}

#maptoggle .part:first-of-type {
    border-radius: 1rem 0 0 1rem ;
}

#maptoggle .part:last-of-type {
    border-radius: 0  1rem 1rem 0;
}


.parts .checked,
.parts .unchecked {
    font-size: 2rem;
    border-radius: 50%;
    background: var(--dark-blue);
    height: 32px;
    width: 32px;
    display: block;
    line-height: 0;
    border: 3px solid var(--mid-blue);
    color: #c2cfda;
    background: white;
}

.parts .checked {
    color: white;
    border-color: var(--dark-blue);
    color: var(--ngss-green);
    background: white;
}

.parts .part.selected {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: white;
}

.parts .part:not(.selected) .checked,
.parts .part.selected .unchecked {
    display: none;
}

.parts .part.selected .checked,
.parts .part .unchecked {
    display: block;
}

.parts .part.mistake .checked {
    display: none;
}

.parts .part .partLabel {
    flex: 1 1 auto;
    font-size: 1.1rem;
    user-select: none;
    font-weight: 500;
}

#controls {
    padding: 0 0 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

#controls h2 {
    color: white;
    margin-bottom: 1rem;
}

#dateslider {
    margin-bottom: 1rem;
}

#controls .input {
    display: flex;
}

#controls .input .range-holder {
    flex: 1 1 auto;
}

#controls .row2 {
    display: flex;
    margin: 1rem 0 0 0;
    gap: 1rem;
}

#key {
    position: absolute;
    z-index: 700;
    left: 1rem;
    /* width: 150px; */
    top: 100px;
    background: rgba(255, 255, 255, 1);
    border-radius: .5rem;
    padding: 0 0 1.5rem 0;
    /* box-shadow: 3px 2px 10px -4px rgba(0, 0, 0, .8); */
    border: 3px solid var(--dark-blue);
}

.keycontent div {
    display: flex;
    gap: 8px;
    color: #000000;
    font-size: .9rem;
    align-self: center;
}

#key div i {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 5px;
}

#key h2 {
    background: var(--dark-blue);
    padding: .5rem;
    color: white;
    border-radius: 3px 3px 0 0;
    text-align: center;
    font-size: 1.2rem;
}

#key .keycontent {
    margin-top: 1rem;
    padding: 0 1.5rem;
}

#key .keycontent i {
    border: 2px solid black;
    border-radius: 50%;
}

#key .keycontent h3 {
    margin-bottom: .5rem;
}


/* range slider -------------------------------------- */
label {
    /* font-size: 1.5rem;
    font-weight: 400;
    color: white; */
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    background: var(--dark-blue);
    /* padding: .5rem 1.5rem .5rem 1rem; */
    padding: 15px .5rem .5rem 1rem;
    /* border-radius: 1rem 1rem 0 0; */
    border-radius: 1rem 0  0 1rem ;
    flex: 0 0 auto;
}

.range-holder {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    /* margin-top: 2px; */
    /* background: rgba(255, 255, 255, .6); */
    background-color: var(--dark-blue);
    height: 90px;
    padding: 0 20px 0 20px;
    border-radius: 0 1rem 1rem 0;
    /* border-radius: 1rem; */
    /* 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;
}


.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: .9rem;
    /* color: var(--dark-blue); */
    color: white;
    text-align: center;
    /* width: 10px; */
    pointer-events: none;
    user-select: none;
    font-weight: normal;
}


.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: 15px;
    margin-top: -10px;
}

.input .datalist.ticks .option {
    /* color: var(--dark-blue); */
    color: rgba(255,255,255,.5);
    
    font-weight: bold;
}

/* 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;
    font-size: 1.5rem;
}

input[type="range"] {
    -webkit-appearance: none;
    height: 30px;
    border-radius: 15px;
    background: white;
    /* border-radius: 5px; */
    background-image: linear-gradient(var(--mid-blue), var(--mid-blue));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    border: 3px solid white;
}
input[type="range"]::-webkit-slider-thumb
 {
    -webkit-appearance: none;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: var(--ngss-green);
    cursor: ew-resize;
    border: none;
    /* border: 3px solid var(--dark-blue); */
}

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