﻿#reportContainer {
    overflow: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#report {
    overflow: auto;
    padding: 0 1em;
    padding-top: 1em;
    flex-grow: 1;
}

#title-and-controls {
    border-bottom: 1px solid lightgray;
    padding: 0.6em 1em;
}


#title-and-controls > .controls {
    margin-left: 0;
    break-inside: avoid;
    width: max-content;
    flex-basis: content;
    margin-bottom: 0;
    margin-top: 0;
}

#title-and-controls > h1 {
    margin: 0 0 0.3em 0;
    padding-top: 0;
}

#reportContainer .controls .uk-button {
    line-height: initial;
}

#reportContainer table {
    border-collapse: separate;
    border-spacing: 0;
    width: fit-content;
    margin-bottom: 1.5em;
}

.uk-accordion-title h2 {
    color: #962f00;
    display: flex;
}

.export-button,
#expandCollapseReport {
    padding: 2px 3px;
}

#reportContainer td, #reportContainer th {
    border: 1px solid lightgray;
    padding: 0.25em;
}

#map-inline {
    border: none;
    width: 100%;
    height: 50vh;
}

/* Move expand/collapse (+/-) icons to the left
    and at the correct height */
.uk-accordion-title::before {
    float: left;
    margin-top: 0.9em;
    margin-left: 0;
}

/* Higher contrast for links*/
.uk-link, a {
    color: #003cff;
}

/* Visually hide table caption */
table > caption {
    overflow: hidden;
    width: 1px;
    height: 1px;
}

table th,
table td {
    vertical-align: top;
    word-wrap: break-word;
}

/* Sticky table headers for table and attributes view */
.tableview th, .attributes th {
    position: sticky;
    top: calc(-1em - 1px); /* -1em compensates for padding, -1px prevents showing both borders */
    background-color: white;
}

.file-icon {
    height: 1.5em;
}

#expandCollapseReport {
    margin-right: 0.5em;
}

td, th {
    max-width: 750px;
}