/* FLEX BOX */

body {
    min-height: 100vh;
    min-width: 100vw;
    margin: 0;
    font-family: "Gill Sans", sans-serif;
}

#legend{
    position: absolute;
    bottom: 40px;
    right: 20px;
    z-index: 1000;
    background-color: lightgray;
    padding: 10px;
    height: 80px;
    width: 160px;
    display: flex;
    flex-direction: column;
    border-radius: 10%;
}

#legend-title {
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0;
    text-align: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-soft);
}

.legend-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

#existing-lihtc-legend {
    background-color: #e55e55;
}

#colp-legend {
    background-color: #000000;
}

.main_container {
    display: flex;
    min-width: calc(100vw - 300px);
    min-height: calc(100vh - 170px);
    /* calcs above makes sure main container is window size minus header/sidebar size */
}

.header {
    height: 170px;
    background: lightslategray;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-wrap: pretty;
}

#header_text {
    max-width: 1200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-wrap: pretty;
    font-family: "Gill Sans", sans-serif;
}

.sidebar {
    min-width: 300px;
    max-width: 300px;
    background: lightgray;
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 20px;
    font-family: "Gill Sans", sans-serif;
}

.map_container {
    flex-grow: 1;
    background: white;
    display: flex;
}

.inner_text {
    margin: auto;
}

.h1 {
    font-size: 40px;
    padding: 0px;
    margin: 0px;
}

.p {
    font-size: 14px;
    margin: 4px;
    padding: 0px;
    text-wrap: pretty;
    font: arial;
}

.h3 {
    font-size: 20px;
    margin: 0px;
    padding: 0px;
}

.marker {
    background-color: blue;
    border: 3px solid black;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.h2 {
    font-size: 25px;
    padding: 0px;
    margin: 0px;
}

.h4 {
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}

#unit-mix-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 10px;
}

#clear-info-button {
    position: absolute;
    bottom: 20px;
    visibility: hidden;
    background-color: lightslategray;
    border: 0;
    border-radius: .5rem;
    box-sizing: border-box;
    color: #111827;
    font-family: "Gill Sans", sans-serif;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: .75rem 1rem;
    text-align: center;
    text-decoration: none #D1D5DB solid;
    text-decoration-thickness: auto;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

#clear-info-button:hover {
    background-color: #b1bbc4;
}

#clear-info-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

#clear-info-button:focus-visible {
    box-shadow: none;
}

/* Hides existing lihtc project info until a project is clicked on */
#existing-lihtc-div {
    display: none;
}

#colp-parcel-div {
    display: none;
}

