html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
:root {
    --primary-bg-color: steelblue;
    --secondary-bg-color: lightsteelblue;
    --primary-color: white;
    --secondary-color: black;
    --dash-width: 300px;
    --dash-height: 225px;
}

.ui-slider-range {
    background-color: var(--primary-bg-color);
}

/* Nav */
#nav {
    z-index: 10;
}
.navbar-custom {
    height: 48px;
    padding: 4px 10px 4px 48px;
    flex-flow: row nowrap;
    color: var(--primary-color);
    background-color: var(--primary-bg-color);
}
.navbar-title {
    order: 0;
    flex-grow: 1;
    overflow: hidden;
}
.navbar-links {
    order: 1;
    flex-grow: 0;
    padding-left: 20px;
    white-space: nowrap;
}
.navbar-title-main, .navbar-title-divider, .navbar-title-sub {
    display: inline;
    white-space: nowrap;
}
.navbar-title-main {
    font-size: x-large;
}
.navbar-title-divider {
    height: 30px;
    margin-left: 10px;
    margin-right: 10px;
    border-left: 1px solid var(--primary-color);
}
.navbar-title-sub {
    font-size: smaller;
    font-weight: 300;
}
@media (max-width: 576px) {
    .navbar-title-divider, .navbar-title-sub {
        display: none;
    }
}

/* Menu */
#menuToggle {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 28px;
    width: 28px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 11;
}
#menuHide, #menuShow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: opacity 500ms ease;
}
#menuHide {
    opacity: 0;
}
#menu {
    position: fixed;
    top: 48px;
    max-height: 75vh;
    overflow-y: auto;
    border-bottom-right-radius: 5px;
    z-index: 10;
}
#menu .list-group-item {
    color: var(--primary-color);
    background-color: var(--primary-bg-color);
    cursor: pointer;
}
#menu .list-group-item:hover {
    color: var(--secondary-color);
    background-color: var(--secondary-bg-color);
}
#menu .list-group-item > .feather {
    margin-left: -12px;
    margin-right: 8px;
}
/* Menu Cards */
#menuCards {
    position: absolute;
    top: 58px;
    left: 10px;
    width: 350px;
    z-index: 10;
}
#menuCardsHeader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 32px;
    color: var(--primary-color);
    background-color: var(--primary-bg-color);
    border-radius: 5px 5px 0 0;
    align-items: center;
}
#menuCardsTitle > .feather {
    margin-top: -4px;
    margin-right: 8px;
}
#menuCardsClose, #menuCardsFade {
    cursor: pointer;
}
#menuCardsContent {
    margin-top: 32px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: var(--secondary-bg-color);
    border-radius: 0 0 5px 5px;
}
#menuCardsContent .card {
    background-color: transparent;
}

/* Dashboard */
#dashHeader, #dashLeft, #dashCorner {
    position: absolute;
    left: 0;
    width: var(--dash-width);
    margin-left: 0;
}
#dashCorner, #dashBot {
    position: absolute;
    bottom: 0;
    height: var(--dash-height);
    margin-bottom: 0;
}
#dashHeader {
    top: 0;
    height: 48px;
    background-color: var(--primary-bg-color);
}
#dashLeft {
    top: 48px;
    height: calc(100% - 48px - var(--dash-height));
    overflow-y: auto;
}
#dashCorner {
    display: flex;
    align-items: center;
    border-top: 1px solid black;
    border-right: 1px solid black;
}
#dashBot {
    right: 0;
    width: calc(100% - var(--dash-width));
    overflow-x: auto;
}


.dash-title-sticky {
    height: 30px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: gainsboro;
    text-align: center;
    z-index: 3;
}
.dash-title {
    height: 30px;
    display: flex;
    align-items: center;
    background-color: gainsboro;
    text-align: center;
    border-top: 1px solid black;
}
.dash-title > p, .dash-title-sticky > p {
    font-size: large;
    width: 100%;
    margin: 0;
}
.dash-title > .feather {
    width: 20px;
    /* height: 25px; */
}

#dashLeftWrapper {
    /* height: 100%; */
    /* min-height: 650px; */
}

#dashBotWrapper {
    min-width: 1200px;
}
#dashBotTables {
    width: calc(100% - 1003px);
    float: left;
}
#dashBotTables table {
    font-size: smaller;
    font-weight: 300;
    margin: 0;
}
#dashBotTables tbody td:nth-child(2) {
    text-align: right;
}
#dashBotTable1, #dashBotTable2 {
    width: 100%;
    height: 100%;
    float: left;
    overflow-y: auto;
}
#dashBotTable2 {
    border-left: 1px solid black;
}
#countyNumbers, #vulnerabilityDrivers {
    padding: 0px 10px;
}
.timeseries-wrapper {
    height: 100%;
    width: 401px;
    float: left;
    border-left: 1px solid black;
}
.timeseriesNew-wrapper {
    height: 100%;
    width: 301px;
    float: left;
    border-left: 1px solid black;
}
.timeseriesPredict-wrapper {
    height: 100%;
    width: 301px;
    float: left;
    border-left: 1px solid black;
}
.timeseries {
    margin-top: 2px;
}
.timeseries > ul {
    height: 30px;
}
.timeseries > ul > li > a {
    padding: 0 5px 0 5px;
}

#dashClear {
    position: absolute;
    top: 5px;
    left: 5px;
    border: 1px solid gainsboro;
    padding: 3px;
}
#dashZoom {
    position: absolute;
    top: 5px;
    right: 5px;
    border: 1px solid gainsboro;
    padding: 3px;
}
#dashCornerText {
    width: 100%;
    text-align: center;
}
#dashCornerText table {
    font-size: smaller;
    font-weight: 300;
    margin: 0;
}
#th-tooltip:hover {
    cursor: help;
}

.dash-clearable {
    display: none;
}

#modelHistograms > canvas {
    border-bottom: 1px dotted black;
}

/* Map */
#map {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - var(--dash-width));
    height: calc(100% - var(--dash-height));
    transition: width 500ms ease, height 500ms ease;
    z-index: 9;
    background-color: gainsboro;
}
@media (max-width: 768px) {
    #map {
        width: 100%;
        height: 100%;
    }
}
#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}
#info {
    position: absolute;
    bottom: 26px;
    left: 10px;
    max-width: 85%;
    padding: 5px 5px;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}
#info .feather {
    width: 17px;
    height: 25px;
}
#closeInfo {
    float: right;
}
#infoHeader {
    font-weight: 300;
}
#infoDiv {
    font-weight: 200;
    font-size: 13px;
}
.esri-feature__media-item > img {
    background-color: #e0e0e0;
    height: 180px;
    width: 180px;
}

/* pre {
    overflow: auto;
    height: 100%;
    margin: 0;
    border: 1px solid black;
} */

form {
    margin: 0;
}

.list-outline .nav-item .nav-link {
    color: black;
    border: 1px solid var(--primary-bg-color);
    margin-left: 2px;
    margin-right: 2px;
}
.list-outline .nav-item .nav-link:hover {
    color: white;
    background-color: var(--secondary-bg-color);
}
.list-outline .nav-item .nav-link.active {
    color: white;
    background-color: var(--primary-bg-color);
}
