body,
.view-container,
#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

body {
    display: flex;
}

#viewDiv {
    --esri-view-outline-color: none;
}

calcite-loader {
    align-self: center;
    justify-self: center;
}

.email-link, .esri-feature-content a {
    color: var(--calcite-ui-brand);
}

#item-description > p > a:hover, .esri-feature-content a:hover {
    color: grey;
}

#item-description > p {
    font-size: 16px;
}

#nav-popover {
    display: flex;
    align-items: stretch;
}

#nav-popover > calcite-button {
    margin: 12px 12px 12px;
    width: 200px;
}

#dataHealth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#dataHealth-container > hr {
    width: 90%;
    height: 2px;
    background-color: black;
}

#zoomtofeature-container {
    padding-top: 10px;
    justify-items: center;
}

.zoomWidget {
    width: 90%;
    justify-items: center;
}

.zoomWidget > h3 {
    justify-self: start;
}

.zoomWidget > calcite-select {
    width: 100%;
}

.zoomWidget > calcite-button {
    padding: 10px;
}

.disclaimer > span {
    display: flex;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.disclaimer-title {
    position: relative;
    left: 7.5em;
}


.esri-popup__action-image {
    position: relative;
    bottom: 0.05rem;
    right: 2px;
}

.toolbar {
    position: absolute;
    top: 15px;
    right: 31px;
    cursor: default;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#xy {
    padding: 4px 8px;
    font-size: 80%;
    bottom: 0px;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%,-50%);
}

.toolbar button {
    border-color: var(--calcite-ui-border-1);
    border-width: 1.4px;
    font-size: 20px;
}

.esri-widget--button.active,
.esri-widget--button.active:hover,
.esri-widget--button.active:focus {
    cursor: default;
    background-color: #999696;
}

.esri-widget--button.active path,
.esri-widget--button.active:hover path,
.esri-widget--button.active:focus path {
    fill: #E4E4E4;
}

calcite-navigation {
    --calcite-navigation-border-color: rgb(0, 0, 0);
    --calcite-navigation-background: rgb(255, 255, 255);
}

img[slot="logo"] {
    width: auto;
    height: 66px;
    cursor: pointer;
    position: relative;
    left: 1rem;
    top: 0.3rem;
}

h1[slot="logo"] {
    position: relative;
    left: 1.75rem;
    bottom: 1rem;
    font-size: 2.5em;
    color: rgb(49, 51, 93);
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#header-title {
    line-height: 3.25rem;
    --calcite-color-text-1: rgb(40, 21, 219);
    --calcite-font-size-1: 2rem;
    --calcite-font-weight-medium: 800;
}


.countyLogo {
    align-self: center;
}

#info-content {
    padding: 0.75rem;
}

#header {
    display: flex;
    padding: 0 1rem;
    background-color: var(--calcite-ui-foreground-1);
}

#header-controls {
    display: flex;
    margin-inline-start: auto;
    align-self: center;
}

.label-wrapper {
    display: flex;
    margin-inline: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--calcite-ui-border-1);
    cursor: pointer;
}

:root {
    --calcite-label-margin-bottom: 0px;
}

.esri-search__container {
    outline: 1px solid #949494;
}

.damPopupCustomContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.usgsLink {
    display: inline-block;
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #007ac2;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
    .usgsLink:hover {
        background-color: #00619b; /* Change to a darker blue on hover */
        color: white; /* Ensure the text remains visible */
    }

    .usgsLink:active {
        background-color: #004874; /* Change to an even darker blue when clicked */
        color: white; /* Ensure the text remains visible */
    }

.precipitationAccordion {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
}

/* Accordion styling */
.precipitationAccordion {
    --calcite-accordion-item-header-background-color: #007ac2;
    --calcite-accordion-item-header-background-color-hover: #00619b;
    --calcite-accordion-item-header-background-color-press: #004874;
    --calcite-accordion-item-heading-text-color: white;
    --calcite-icon-color: white;
    --calcite-accordion-item-expand-icon-color: white;
}

    /* Table styling inside the accordion */
    .precipitationAccordion calcite-table {
        width: 100%;
        border-collapse: collapse;
    }

    .precipitationAccordion calcite-table-cell {
        padding: 8px;
        font-size: 14px;
    }


/* Layers in the layer list font */
.esri-layer-list__item-title {
    font-size: 30px;
}

.esri-layer-list__item-content {
    font-size: 10px;
}

.esri-legend__layer-caption {
    display: none;
}

.esri-slider {
    height: 2%;
}

.esri-popup__action-image {
    position: relative;
    bottom: 0.05rem;
    right: 2px;
    background-size: 18px;
}

.esri-sketch__menu-container {
    max-height: fit-content;
}
