nav {
    background-color: unset !important;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    height: auto;
}

body {
    height: 100%;
}

.content {
    padding: unset !important;
    margin: unset !important;
    height: 95%;
}

.not-footer {
    height: 100%;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
    margin: unset;
    padding: unset !important;
    max-width: unset;
}

.panel {
    height: 100%;
    box-sizing: border-box;
}

#left-panel {
    width: 100%;
    min-width: 20%;
}

#right-panel {
    width: 0;
    overflow: hidden;
    display: none;
    height: auto;
}

#right-panel.expanded {
    width: 50%;
    display: block;
    min-width: 20%;
}

.drag-handle {
    width: 5px;
    background-color: darkgray;
    cursor: col-resize;
    position: relative;
}

.p-20 {
    padding-left: 1.25rem;
    padding-top: 1.25rem;
}

.p-40 {
    padding-left: 2.5rem;
    padding-top: 2.5rem;
}

.marimo-window {
    width: 100%;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
}

.dropdown-menu {
    display: block;
    --bs-dropdown-border-color: unset;
    --bs-dropdown-bg: unset;
    --bs-dropdown-color: unset;
    --bs-dropdown-font-size: unset;
    --bs-dropdown-spacer: unset;
    --bs-dropdown-padding-y: unset;
    --bs-dropdown-padding-x: unset;
    --bs-dropdown-min-width: unset;
}

.hook {
    display: none !important;
}

.handler {
    margin-right: 0.5rem;
    position: sticky;
    top: 1rem;
    cursor: pointer;
}

.page-header {
    display: none;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

.button-group {
    display: flex;
    gap: 0.5rem;
}

form.core {
    display: none;
}

.map-container {
    position: relative;
    width: auto;
    height: 500px;
}

#map {
    height: 100%;
    width: 100%;
    display: block;
}

.map-spinner-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    transform: translate(0, -100%);
    z-index: 999;
}

.map-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: xxx-large;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.button {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    padding: 0.5em 0.8em;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 0.25rem;
}

.select {
    border-color: #007bff;
    color: #007bff;
    border-radius: 0.25rem;
}

.button::placeholder {
    color: white;
}

.join-group {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.join-button {
}

.join-template {
    margin-bottom: 0.5rem;
}

.input {
    background-color: white;
    border-color: #007bff;
    color: black;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    border-width: 1px;
    border-style: solid;
    padding: 0.5em 0.8em;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 0.25rem;
}

.input::placeholder {
    color: black;
}

.flex-gap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex-gap-half {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.query-builder .rules-group-container {
    border: unset;
    background: transparent;
}

.query-builder .rule-placeholder,
.query-builder .rule-container,
.query-builder .rules-group-container {
    padding: unset;
    border: unset;
}

.tool-container {
    border: 1px solid #dcc896;
    background-color: #faf0d280;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.execute-query {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.hidden {
    display: none;
}

.mr-1 {
    margin-right: 0.5rem;
}

.limitGroup {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

#stima {
    text-align: center;
}

.w-40 {
    width: 40%;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8); /* translucent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.col-pdf_text {
    display: none;
}

.ft {
    display: none;
}

.join-columns {
    width: 50%;
    padding: 0.5rem;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

.ordering {
    display: flex;
    gap: 0.5rem;
}

.additional-clauses {
    margin-top: 1rem;
    width: 50%;
}

#ordering-column {
    width: 100%;
}

.additional-clauses-alert {
    margin: 1rem 0;
}

div.filter-row {
    display: none;
}
