.select-hidden {
    display: none;
    visibility: hidden;
    padding-right: 10px;
    padding-right: .75em;
}

.homeButton {
    position: relative;
    background-color: transparent;
    transition: all 0.1s ease-in;
    width: 3em;
    height: 2em;
    cursor: pointer;
}

.homeText {
    /* transform: scale(-1, 1); */
    font-size: 2rem;
    margin: 0;
    color: #777;
    float:right;
    /* color: slategray; */
}

.homeText:hover {
    color: rgb(143, 158, 173);
    color: #444;
}

.select {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-size: 1em;
    color: #fff;
    width: 220px;
    width: 13.75em;
    height: 40px;
    height: 2.5em;
    transition: all 0.05s ease-in;

}
#selectWrapper.select {
    width: 16em;
  }

.select-styled {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: slategray;
    background-color: #F0EEE6;
    padding: 8px 15px;
    padding: .5em 1em;
    transition: all .1s ease-in;
    float: inline-start;
    color: #555;
    font-weight: 500;
    border-radius: 5px;
}

.select-styled:after {
    content: "";
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border: .5em solid transparent;
    border-color: #555 transparent transparent transparent;
    position: absolute;
    top: 16px;
    top: 1.1em;
    right: 10px;
    right: .6em;
}

.select-styled:hover {
    background-color: rgb(118, 135, 152);
    background-color: rgb(143, 158, 173);
    background-color: #555;
    color: #F0EEE6;
}

.select-styled:active,
.select-styled.active {
    background-color: #555;
    color: #F0EEE6;
}

.select-styled:active:after,
.select-styled.active:after {
    top: 9px;
    top: .3em;
    border-color: transparent transparent #F0EEE6 transparent;
}

.select-styled:hover:after {
    border-color: #F0EEE6 transparent transparent transparent;
}

.select-styled:hover {
    background-color: #444;
}

.select-styled.active:hover:after {
    border-color: transparent transparent #F0EEE6 transparent;
}

.select-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: rgb(112, 128, 144);
    background-color: #555;
    background-color: #F0EEE6;
    color: #555;
    border-color: #555;
    /* border-width: .01rem; */
    /* border: #555; */
    /* border-style: solid; */
}

.select-options li {
    margin: 0;
    padding: 12px 0;
    padding: .7em 0em;
    text-indent: 15px;
    text-indent: 1em;
    border-top: 1px solid transparent;
    transition: all 0.05s ease-in;
}

.select-options li:hover,
.select-options li.is-selected {
    color: whitesmoke;
    /* background: #a13032; */
    background-color: #777;
}

.select-options li[rel="hide"] {
    display: none;
}

.inv {
    display: none;
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px 18px 18px 23px;
    padding: 1.1em 1.1em 1.1em 1.1em;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-size: 1em;
    max-width: 100%;
    flex-wrap: nowrap;
    transition: all 0.15s ease-in;
    border-radius: 5px;
}
button#5dayblbtn.collapsible, button#30daytblbtn.collapsible {
  padding: .7em;
}

.active,
.collapsible:hover {
    background-color: #444;
}
.active {
    border-radius: 5px 5px 0px 0px;
}

.collapsible::before {
    content: "";
    border: 7px solid transparent;
    border: .5em solid transparent;
    border-color: #fff transparent transparent transparent;
    top: 1em;
    right: .25em;
    position: relative;
    width: 5em;
}

.collapsible.active::before {
    top: -.9em;
    border-color: transparent transparent #fff transparent;
    position: relative;
}

.content {
    padding: 0 0;
    float: none;
    display: none;
    overflow: auto;
    background-color: #f1f1f1;
    width: 100%;
    height: 25em;
    max-width: 100%;
    transition: all 0.15s ease-in;
}

.table {
    border-collapse: collapse;
    width: 100%;
    padding: 0px;
    height: 25em;
}

.fixedHeader {
    /* display: block;
    display: inline-table;
    width: 100% */
}

.scrollableTable {
    overflow: auto;
    /* display: block; */
    /* display: inline-table; */
    height: 25em;
    width: 100%;
}

th,
td {
    text-align: left;
    padding: 8px;
    padding: .5em;
    transition: all 0.15s ease-in;
    
}

.scrollableTable td {
    padding-right: .75em;
    /* width: 100%; */
}
.fixedHeader th {
    position:sticky;
    top:0;
    background-color: white;

}
tr {
    background-color: rgb(255, 255, 255);
}
tr:nth-child(even) {
    background-color: #F0EEE6;
}
#gageTable tbody tr:hover {
    background-color: #ded9c4;
}

.creekHeader {
    color: slategray;
    max-width: 100%;
    font-size: 1.2em;
    transition: all 0.1s ease-in;
}

.column {
    float: left;
    width: 48%;
    padding: 5px;
    padding: .3em;
    margin: 0px;
    max-width: 400px;
    max-width: 25em;
    transition: all 0.15s ease-in;
}

.inv {
    display: none;
}

.linkToData:hover {
    cursor: pointer;
}

.center {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.flexRow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.15s ease-in;
}

.flexCol {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    transition: all 0.15s ease-in;
}

.secondColumn {
    padding-right:1rem !important; 
    /* display:flex;
    width:100%; */
    text-align:end;
}
.chart {
    max-width: 810px;
    max-width: 50.5em;
    width: 100%;
    display: block !important;
}
div.chart {
    padding:.5em 0 0 .5em; 
    float: none;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    transition: all 0.15s ease-in;
    margin-top: .5em; 
    border-style: ridge; 
    border-radius: .3em; 
    border-color: transparent;
    border-width:.2em; 
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-bottom:.5em;
    background-color: transparent;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: all 0.15s ease-in;
    width: 100%;
}

.headerRight {
    align-items: right;
    justify-content: right;
    padding: 0;
    margin: 0;
    float: end;
}

div.headerRight {
    width: 100%;
    align-items: end;
    justify-content: flex-start;
    padding: 1em;
    margin: 0;
    float: end;
}

.headerLeft {
    align-items: left;
    justify-content: left;
    padding: 0;
    margin: 0;
    float: start;
}

div.headerLeft {
    justify-content: start;
    width: 100%;
    align-items: start;
    padding: 1em 0;
}

.footer {
    border-style: double;
    border-color: black;
    margin-top: 3em;
    border-width: .3em;
    border-radius: .3em;
}

.footerRight {
    align-items: right;
    justify-content: right;
    padding: 0;
    margin: 0;
    float: end;
}

.footerLeft {
    align-items: left;
    justify-content: left;
    padding: 0;
    margin: 0;
    float: start;
}

div.footerRight {
    width: 100%;
    align-items: end;
    justify-content: flex-start;
    padding: 1em;
    margin: 0;
    float: end;
}

div.footerLeft {
    justify-content: center;
    width: 100%;
    align-items: center;
    padding: 1em
}

.map {
    width: 605px;
    height: 605px;
    margin: 0 0 0 2rem;
}
th {
    font-weight: 500;
    font-size: large;
}
thead {
    border-color: transparent transparent #555 transparent;
    border-style: solid;
    border-width: thin;
}

[data-bs-theme="dark"] tr {
    background-color: #8888;
}

[data-bs-theme="dark"] thead tr {
    background-color: #4444;
}

[data-bs-theme="dark"] tr:nth-child(even) {
    background-color: #7777;
}

[data-bs-theme="dark"] content {
    background-color: transparent;
}

[data-bs-theme="dark"] .fixedHeader th {
    background-color: #444;
}

[data-bs-theme="dark"] .select-styled {
    background-color: #9993;
    color: #f0eee6;
}

[data-bs-theme="dark"] .select-styled:after {
    border-color: #f0eee6 transparent transparent transparent;
}
[data-bs-theme="dark"] .select-styled.active:after {
    border-color: transparent transparent #F0EEE6 transparent;
}
[data-bs-theme="dark"] .select-styled:active:after {
    border-color: transparent transparent #F0EEE6 transparent;
}
[data-bs-theme="dark"] .mainTable td {
    color: #F0EEE6;
}

[data-bs-theme="dark"] #gageTable tbody tr:hover {
    background-color: transparent;
}

[data-bs-theme="dark"] h2, 
[data-bs-theme="dark"] h3 {
    color: #F0EEE6;
}

[data-bs-theme="dark"] div.chart {
    background-color: #F0EEE6;
    box-shadow: rgba(240, 238, 230, .15) 0px 5px 10px;
}

[data-bs-theme="dark"] .content {
    background-color: transparent;
}

[data-bs-theme="dark"] .active,
[data-bs-theme="dark"] .collapsible:hover,
[data-bs-theme="dark"] .select-styled:hover {
    background-color: #555;
}

[data-bs-theme="dark"] .collapsible {
    background-color: #9993;
}

[data-bs-theme="dark"] .homeText {
    color: #f0eee6;
}
[data-bs-theme="dark"] .homeText:hover {
    color: #555
}

/* 
@media (prefers-color-scheme: dark) {
  
    tr {
        background-color: #8888;
    }
    thead tr {
        background-color: #4444;
    }
    tr:nth-child(even) {
        background-color: #7777;
    }
    content {
        background-color: transparent;
    }
    .fixedHeader th {
        background-color: #444;
    }
    .select-styled {
        background-color:#9993;
        color: #f0eee6;
        
    }
    .select-styled:after {
        background-color: #f0eee6 transparent transparent transparent;
    }
    h2, h3 {
        color: #F0EEE6
    }
    div.chart {
        background-color: #F0EEE6;
        box-shadow: rgba(240, 238, 230, .25)  0px 5px 15px;
    }
    .content {
        background-color: transparent;
    }

    .active,
.collapsible:hover {
    background-color: #555;
}
.collapsible {
    background-color: #9993;
}
div.chart {
    background-color: #F0EEE6;
    box-shadow: #f0eee640 0px 5px 15px;
}
    
  } */

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1000px) {
    .column {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        width: 100%;
        padding: 0px 0px 5px 0px;
        padding: 0em 0em .3em 0em;
        max-width: 100%;
    }

    .chart {
        min-width: 100%;
    }
    div.chart {
        padding:0;
        height: 15em;
    }

    .flexRow {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .flexCol {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    /* .mainTable {
        width: 100%;
        table-layout: fixed;
    } */

    th,
    td {
        text-align: left;
        padding: 8px;
        padding: .5em;
        font-size: 1em;
    }
    .content {
        height: 30em;
    }

    .collapsible {

        font-size: 15px;
        font-size: 1em;
        padding: 1em 1em 1em 1.1em;

    }

    .creekHeader {
        max-width: 100%;
        font-size: 2.1em;
    }
    h2 {
        font-size: .85em !important
    }
    h3 {
        font-size: .6em !important
    }

    .select {
       
        font-size: 1.5em;
    }
    #selectWrapper.select {
        font-size: 1em;
      }

    .scrollableTable {
        /* overflow: auto;
        display: inline-table; */
        height: 50em;
        width: 100%;
    }

    .fixedHeader th {
        position:sticky;
        top: 0;
        background-color: white;
    }


    .footer {
        border-style: double;
        border-radius: .3em;
        border-color: black;
        border-width: .3em;
        padding: 1em;
    }

    .footerRight {
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        float: none;
    }

    .footerLeft {
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        float: none;
        text-align: center;
    }

    div.footerRight {
        width: 100%;
        align-items: center;
        justify-content: center;
        padding: .5em;
        margin: 0;
        float: none;
    }

    div.footerLeft {
        justify-content: center;
        width: 100%;
        align-items: center;
        padding: .5em
    }

    .map {
        width: 100%;
        height: 70vw;
        margin: 0;
    }
    
}

@media screen and (max-width: 800px) {
    .mainTable {
        width: 100%;
        table-layout: fixed;
    }
}
    


@media (min-width:320px) {
    /* smartphones, iPhone, portrait 480x320 phones */
}

@media (max-width:481px) {}

@media (min-width:641px) {
    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
}

@media (min-width:961px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */
}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */
}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */
}