@font-face {
    font-family: 'DM Sans';
    src: url('./DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Italic';
    src: url('./DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Bold';
    src: url('./DM_Sans/DMSans-Bold.ttf') format('truetype');
    font-style: bold;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Regular';
    src: url('./DM_Sans/DMSans-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Medium';
    src: url('./DM_Sans/DMSans-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root{
  --black: #0b0b0b;
  --gold_100: #DDD1A0;
  --gold_50: #EDE8D4;
  --pink_100: #dda0af;
  --pink_50: #edd4da;
  --blue_100: #a0b8dd;
  --blue_50: #d4deed;
  --green_50: #d4edd4;
  --green_100: #A0DDCE;
  --background: #fffdf2;
  --Dash-Fill-Interactive-Strong: var(--black);
  --bs-body-font-family: 'DM Sans', sans-serif;
}

html,
body,
#react-entry-point,
#_dash-app-content {
        font-family: 'DM Sans', sans-serif;
        font-weight: 400;
    background-color: var(--background);
}

input,
button,
select,
textarea {
        font-family: inherit;
}

.H1{
    font-family: 'DM Sans Bold';
    font-weight: 700;
    font-size: 5.75em;
    line-height: 1.3em;
}

.H2{
    font-family: 'DM Sans Bold';
    font-weight: 700;
    font-size: 3em;
    line-height: 1.33em;
}

.H3{
    font-family: 'DM Sans Bold';
    font-weight: 700;
    font-size: 2.25em;
    line-height: 1.5em;
}

.big_body{
    font-family: 'DM Sans Medium';
    font-weight: 500;
    font-size: 2.25em;
    line-height: 1.5em;
}

.body{
    font-family: 'DM Sans Regular';
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.5em;
}

.intro_text{
    font-family: 'DM Mono Regular';
    font-size: 1.75em;
    line-height: 1.5em;
}

.background{
    display: block;
    margin: auto;
    background-color: var(--background);
}

.logo{
    width: 100%;
    max-width: 10em;
    height: auto;
    border: none;
    margin-top: 1.25em;
    margin-left: 2em;
}

.hidden {
    display: none;
}

.center_row{
    margin-top: 1.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.center_column{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.initial_search_button{
    font-family: 'DM Sans';
    background-color: var(--black);
    color: var(--background);
    flex: 0 0 auto;
    margin-left: 0.5em;
}

.search_bar{
    width: 100%;
    min-width: 37em;
    min-height: 3.125em;
    font-family: 'DM Sans';
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    position: relative;
    z-index: 10;
}

.dash-dropdown-content{
    width: 37em;
    max-width: 100%;
    position: absolute;
    z-index: 20;
}

.checklist{
    display: flex;
    justify-content: center;
    margin-top: 0.625em;
    margin-bottom: 1.25em;
}

.checklist_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.125em;
    flex-wrap: wrap;
}

.form-check-input:checked{
    background-color: var(--black);
    border-color: var(--black);
}

.map_controls{
    display: flex;
    align-items: left;
    margin: 0.125em;
    margin-left: 0.25em;
    height: 2.25em;
    flex-wrap: wrap;
}

.remove_all_filters_button{
    display: flex;
    align-items: end;
    margin: 0.125em;
    margin-right: 0.25em;
}

.map_container{
    border-top: 0.125em solid var(--black);
    width: 100%;
}

#main_container {
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

#main_container.hidden {
    display: none !important;
}

#main_container.background:not(.hidden) {
    display: flex;
}

#main_container > .row:first-child {
    flex: 0 0 auto;
    min-height: 0;
}

#main_container > .row:last-child {
    flex: 1 1 auto;
    min-height: 0;
}

#main_container > .row:last-child > [class*="col-"] {
    min-height: 0;
}

#main_container > .row:last-child > .col-5 {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#main_container > .row:last-child > .col-5 > .row:first-child {
    flex: 3 1 0;
    min-height: 0;
}

#main_container > .row:last-child > .col-5 > .row:first-child > .col-12,
#main_container > .row:last-child > .col-5 > .row:first-child .map_container {
    height: 100%;
    min-height: 0;
}

#main_container > .row:last-child > .col-5 > .row:last-child {
    flex: 2 1 0;
    min-height: 0;
}

#main_container > .row:last-child > .col-5 > .row:last-child > .col-12,
#main_container > .row:last-child > .col-5 > .row:last-child > .col-12 > div {
    height: 100%;
    min-height: 0;
}

#map_iframe,
#timeline_figure {
    width: 100%;
    height: 100% !important;
    min-height: 0;
}

.map_frame {
    width: 100%;
    height: 45vh;
    min-height: 20em;
    border-bottom: 0.125em solid var(--black);
}

.modal_map {
    width: 100%;
    height: 40vh;
    min-height: 18em;
    border: 0.125em solid var(--black);
}

.timeline_slider{
    margin-left: 2em;
    margin-bottom: 0.625em;
    margin-right: 0.625em;
}

.dash-slider-root:not([data-included='false'])

.dash-slider-range{
    background-color: var(--black);
}

.dash-slider-range{
    background-color: var(--black);
}

.dash-slider-thumb:focus{
    outline: 0.125em var(--black) solid;
}

.dash-slider-thumb{
    background-color: var(--black);
}

.documents_header{
    font-family: 'DM Sans';
    font-weight: 500;
    text-align: center;
    font-size: 2.25em;
    line-height: 1.5em;
    padding: 0.625rem;
    border-left: 0.125rem var(--black) solid;
    border-top: 0.125rem var(--black) solid;
    border-bottom: 0.125rem var(--black) solid;
}

.document_tiles{
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 0.8125em;
    padding: 0.25rem;
    border-left: 0.125rem var(--black) solid;
    border-bottom: 0.125rem var(--black) solid;
    min-height: 15.385em;
    height: 15.385em;
    flex-shrink: 0;
    overflow: hidden;
}

.document_stack{
    border-bottom: 0.125rem var(--black) solid;
}

.custom-modal-content {
    background-color: var(--background);
    color: var(--black);
    font-family: 'DM Sans';
    font-weight: 400;
    padding: 0.625em;
}

.custom-modal-header {
    background-color: var(--background);
    color: var(--black);
    border-color: var(--background);
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 3em;
    padding-left: 0.625em;
    btn-close {
        width: 1em;
        height: 1em;
    }
}

.lng_dropdown{
    margin-left: auto;
    margin-right: 2em;
    margin-top: 1.25em;
}

.lng_toggle{
    width: 5.625em;
    min-width: 5.625em;
    min-height: 3.125em;
    font-family: 'DM Sans Bold';
    background-color: var(--black);
    color: var(--background);
    border-radius: 1.5em;
}

.lng_options{
    font-family: 'DM Sans Bold';
    background: var(--black);
    color: var(--background);
    width: 90%;
    margin: auto;
}

.dropdown-menu.show {
    display: block;
    width: 5.625em;
    border-radius: 1.5em;
}

.dropdown-menu {
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-min-width: 5.625em;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: 0.5rem;
    --bs-dropdown-spacer: 0.125rem;
    --bs-dropdown-font-size: 1rem;
    --bs-dropdown-color: var(--bs-body-color);
    --bs-dropdown-bg: var(--black);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-border-radius: var(--bs-border-radius);
    --bs-dropdown-border-width: var(--bs-border-width);
    --bs-dropdown-link-active-bg: var(--black);
    --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
    --bs-dropdown-divider-margin-y: 0.5rem;
    --bs-dropdown-box-shadow: var(--bs-box-shadow);
    --bs-dropdown-link-color: var(--black);
    --bs-dropdown-link-hover-color: var(--black);
    --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: var(--black);
    --bs-dropdown-link-disabled-color: var(--bs-tertiary-color);
    --bs-dropdown-item-padding-x: 1rem;
    --bs-dropdown-item-padding-y: 0.25rem;
    --bs-dropdown-header-color: #6c757d;
    --bs-dropdown-header-padding-x: 1rem;
    --bs-dropdown-header-padding-y: 0.5rem;
    width: 5.625em;
    position: absolute;
    z-index: var(--bs-dropdown-zindex);
    display: none;
    min-width: var(--bs-dropdown-min-width);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
    margin: 0;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: 1.5em;
}

@media (max-width: 48em) {
    .H1 {
        font-size: 3.25em;
    }

    .H2 {
        font-size: 2.25em;
    }

    .H3,
    .big_body {
        font-size: 1.75em;
    }

    .body,
    .intro_text {
        font-size: 1.125em;
    }

    .center_row {
        flex-direction: column;
        width: 100%;
    }

    .search_bar {
        width: 100%;
    }

    .timeline_slider {
        margin-left: 0.625em;
        margin-right: 0.625em;
    }

    .lng_dropdown {
        margin-right: 0.625em;
    }

}

.btn-primary {
    --bs-btn-color: var(--black);
    --bs-btn-bg: var(--black);
    --bs-btn-border-color: var(--black);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--black);
    --bs-btn-hover-border-color: var(--black);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--black);;
    --bs-btn-active-bg: var(--black);
    --bs-btn-active-border-color: var(--black);
    --bs-btn-active-shadow: inset 0 0.1875em 0.3125em rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--black);
    --bs-btn-disabled-border-color: var(--black);
}