@font-face {
    font-family: "OswaldRegular";
    src: url(./assets/Oswald-Regular.ttf);
}

@font-face {
    font-family: "SourceSansRegular";
    src: url(./assets/SourceSansPro-Regular.otf);
}

@font-face {
    font-family: "OswaldLight";
    src: url(./assets/Oswald-ExtraLight.ttf);
}

@font-face {
    font-family: "OswaldLight";
    src: url(./assets/Oswald-Light.otf);
}

@font-face {
    font-family: "OpenSansRegular";
    src: url(./assets/OpenSans-Regular.ttf);
}

@font-face {
    font-family: "RobotoRegular";
    src: url(./assets/Roboto-Regular.ttf);
}

@font-face {
    font-family: "RobotoLight";
    src: url(./assets/Roboto-Light.ttf);
}

@font-face {
    font-family: "RobotoBold";
    src: url(./assets/Roboto-Bold.ttf);
}

.custom-file-button input[type=file] {
    margin-left: -2px !important;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
    display: none;
}

.custom-file-button input[type=file]::file-selector-button {
    display: none;
}

.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

body {
    overflow: hidden;
    font-family: 'RobotoRegular';
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    width: "width", "28%";
    min-height: 9vh;
    z-index: 3;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

#header img {
    max-height: 9vh;
    width: auto;
    padding: 0.25rem;
    margin: auto;
}

#header_mobile {
    display: none;
}

#header_form {
    width: 100%;
    display: flex;
}

.header_button {
    display: none;
}

.select_div {
    padding: 0.75rem 1rem 0rem 0.5rem;
    display: flex;
    align-items: center;
}

.select_header {
    font-size: 0.75rem;
    margin-left: 0.5rem;
    height: fit-content;
    max-width: 15rem;
}

.header_form_span {
    font-size: 0.75rem;
    white-space: nowrap;
}

#toc {
    background-color: sandybrown;
    position: absolute;
    top: 9vh;
    left: 0;
    width: 25rem;
    height: 91vh;
    z-index: 2;
    display: flex;
    user-select: none;
}

#toc_sidebar {
    background-color: whitesmoke;
    width: 4rem;
    height: inherit;
    font-family: 'RobotoRegular';
}

.tab {
    font-size: x-small;
    background-color: gainsboro;
    padding: 1rem 0.25rem;
    min-height: 6rem;
    text-align: center;
    line-height: 1;
    color: #292b3a;
    cursor: pointer;
    border-bottom-color: white;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    transition: all 500ms ease;
}

#tutorial {
    margin-top: auto;
}

.tab:hover {
    background-color: #008b8b;
    color: white;
}

.tab:hover img {
    filter: invert(100%) sepia(0%) saturate(4438%) hue-rotate(198deg) brightness(112%) contrast(103%);
}

.tab_selected {
    background-color: #244e60;
    vertical-align: middle;
    text-align: center;
    color: white;
    transition: all 500ms ease;
}

.tab_selected img {
    filter: invert(100%) sepia(0%) saturate(4438%) hue-rotate(198deg) brightness(112%) contrast(103%);
}

.tab_selected:hover {
    background-color: #008b8b;
    color: white;
}

.tab_selected:hover img {
    filter: invert(100%) sepia(0%) saturate(4438%) hue-rotate(198deg) brightness(112%) contrast(103%);
}


.tab_folder {
    font-size: medium;
}

.tab_folder_title {
    min-height: 3rem;
    font-size: small;
    font-weight: 500;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: gainsboro;
    border-bottom-style: solid;
    border-bottom-color: whitesmoke;
    border-bottom-width: 1px;
}

.tab_folder_title_main {
    font-family: RobotoRegular, sans-serif !important;
}

.tab_indicator_title {
    min-height: 3rem;
    font-size: small;
    font-weight: 500;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #f5f9fb;
    border-bottom-style: solid;
    border-bottom-color: #cee1ea;
    border-bottom-width: 1px;
}

.tab_indicator_body {
    font-size: small;
    padding: 0rem 1rem 0.5rem 1rem;
    background-color: #f3f3f3;
    border-bottom-style: solid;
    border-bottom-color: #cee1ea;
    border-bottom-width: 1px;
}

#clock_layer {
    position: absolute;
    display: none;
    bottom: 2rem;
    left: 28rem;
    right: 3rem;
    background-color: white;
    border-radius: 0.5rem;
    z-index: 2;
}

.div_clock {
    padding: 1rem 2rem;
}

.clock_header {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

.clock_play {
    margin-right: 1rem;
}

.year_clock {
    background-color: #008b8b;
    padding: 0.1rem 0.5rem;
    color: white;
    border-radius: 0.5rem;
    font-size: small;
    width: fit-content;
    position: relative;
    margin-left: -1.5em;
}

.clock_ticks {
    background-color: whitesmoke;
    height: 1rem;
    margin-top: -1rem;
    padding: 0 0.4rem;
}

.ticks {
    position: relative;
    font-size: xx-small;
    letter-spacing: -1rem;
    color: #244e60;
    vertical-align: top;
}

.form-label {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
}

.form-select-sm {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

.folder_body_foot {
    display: flex;
}

.button_select_layer {
    font-size: small;
    background-color: #244e60;
    color: white;
    margin-top: auto;
    margin-left: auto;
    max-height: 1.75rem;
    transition: all 200ms ease;
}

.button_select_layer:hover {
    color: white;
    background-color: #34B0AA;
}

.view_dashboard {
    font-size: small;
    border-bottom-color: #244e60;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #244e60;
    border-top-style: solid;
    border-top-width: 1px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #244e60;
}

#toc_content {
    background-color: gainsboro;
    width: 21rem;
    height: 91vh;
    overflow-y: auto;
}

.toc_content {
    display: none;
    overflow-y: auto;
}

.spinner {
    margin-left: 45%;
}

#comparison-container {
    background-color: lightgray;
    position: absolute;
    top: 0;
    left: 25rem;
    right: 0;
    bottom: 0;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

.map {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
}


#toc_mobile {
    background-color: whitesmoke;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.25rem;
    display: none;
    z-index: 2;
}

#navigation {
    position: absolute;
    left: 25rem;
    top: 0;
    z-index: 1;
    text-align: center;
}

#disclaimer {
    position: absolute;
    left: 25rem;
    bottom: 0;
    z-index: 1;
    text-align: center;
}

#disclaimer_content {
    position: absolute;
    background-color: white;
    left: 28rem;
    bottom: 0.5rem;
    z-index: 1;
    font-size: small;
    max-width: 40vw;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

#toolbox {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    text-align: center;
}

.tool {
    background-color: white;
    border-radius: 5px;
    margin: 0.5rem;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    cursor: pointer;
    transition: all 200ms ease;
}

.tool:hover {
    background-color: gainsboro;
}

.tool_image {
    height: 0.85rem;
    margin: 0.3rem;
}

#map_search {
    background-color: silver;
    position: absolute;
    right: 4rem;
    top: 0.5rem;
    z-index: 1;
    width: 15rem;
    display: none;
}

#basemap_before {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 1;
}

#basemap_after {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 1;
    display: none
}

#change_basemap_before {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 1;
    display: none;
    transition: all 200ms ease;
}

#change_basemap_after {
    position: absolute;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 1;
    display: none;
    transition: all 200ms ease;
    display: none;
}

.basemap_button {
    padding: 3px;
    text-align: center;
    transition: all 200ms ease;
}

.basemap_button_selected {
    background-color: white;
    border-radius: 3px;
}

.image_basemap {
    height: 3rem;
    cursor: pointer;
    border-radius: 3px;
}

#info_panel {
    background-color: white;
    position: absolute;
    top: 0;
    right: 0;
    width: 21rem;
    bottom: 0;
    z-index: 2;
    display: none;
    max-height: 100vh;
    overflow-y: auto;
}

.spatial_choice {
    padding: 0.25rem;
    background-color: #e8e6e1;
    ;
    border-radius: 2px;
    margin: 0.5rem 0.1rem 0 0.1rem;
    display: flex;
    flex-direction: column;
    max-width: 5rem;
    text-align: center;
    line-height: 1;
    cursor: pointer;
}

.spatial_choice_selected {
    background-color: lightgray;
}

.spatial_choice_img {
    height: 1rem;
}

.spatial_choice_label {
    font-size: x-small;
    margin: auto;
}

#content_selected_layers {
    height: -webkit-fill-available;
    height: -moz-available;
}

.layer_panel {
    background-color: white;
}

.layer_panel_title {
    background-color: whitesmoke;
    padding: 0;
}

.layer_title {
    font-size: small;
    font-weight: bold;
    font-family: 'RobotoRegular', sans-serif !important;
    line-height: 1.5;
    display: block;
}

.layer_unit {
    font-size: x-small;
    font-family: 'RobotoRegular', sans-serif !important;
    line-height: 1;
    display: block;
}

.layer_subtitle {
    font-size: x-small;
    color: grey;
    font-style: italic;
    line-height: 1;
    display: block;
}

.layer_panel_legend {
    padding: 1rem 0;
}

.layer_panel_legend_geo {
    padding: 1rem;
    max-height: 15rem;
    overflow-y: auto;
}

.legend_item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 200ms ease;
    padding: 0rem 1rem;
}

.legend_item:hover {
    background-color: #f5f5f5;
}

.legend_item_text {
    display: block;
    font-family: "RobotoRegular", sans-serif;
    font-size: small;
}

.class_features {
    font-size: x-small;
    color: #ababab;
    font-family: "RobotoRegular", sans-serif;
    font-style: italic;
    margin-left: auto;
}

.layer_panel_buttons {
    display: flex;
}

.layer_buttons {
    background-color: #f5f5f5;
    text-align: right;
    padding: 5px;
    font-family: "RobotoRegular", sans-serif;
    cursor: pointer;
    font-size: small;
    border-right-color: white;
    border-right-style: solid;
    line-height: 1;
    transition: all 200ms ease;
    width: -webkit-fill-available;
    height: -moz-available;
    min-height: 2rem;
}

.layer_buttons:hover {
    background-color: gainsboro;
}

.layer_buttons_image {
    height: 1rem;
    float: left;
}

.layer_panel_customize_map {
    display: none;
    background-color: gainsboro;
    padding: 0.5rem 0;
}

.change_classification {
    display: flex;
    font-family: "RobotoRegular", sans-serif;
    font-size: small;
    justify-content: space-around;
}

.img_grouping {
    height: 1rem;
    margin-right: 0.5rem;
}

.grouping_methods {
    width: 70%;
}

.method_choice {
    background-color: white;
    padding: 0.2rem;
    margin: 2px;
    cursor: pointer;
    transition: all 200ms ease;
}

.method_choice_selected {
    background-color: #008b8b;
    color: white;
    padding: 0.2rem;
    margin: 2px;
    cursor: pointer;
    transition: all 200ms ease;
}

.method_choice:hover {
    background-color: #008b8b;
    color: white;
    transition: all 200ms ease;
}

.number_classes {
    display: flex;
    width: 30%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: all 200ms ease;
}

.number_choice {
    background-color: white;
    padding: 0.2rem 0.5rem;
    margin: 2px;
    cursor: pointer;
    transition: all 200ms ease;
}

.number_choice:hover {
    background-color: #008b8b;
    color: white;
    transition: all 200ms ease;
}

.number_choice_selected {
    background-color: #008b8b;
    color: white;
    transition: all 200ms ease;
}

.change_classification_button {
    padding-top: 0.5rem;
    text-align: center;
}

.layer_panel_controls {
    display: flex;

}

.layer_panel_controls_title {
    font-family: "RobotoRegular", sans-serif;
    margin-bottom: 0.5rem;
}

.layer_panel_controls_options {
    font-family: "RobotoLight", sans-serif;
}

.form-check-input:checked {
    background-color: #244e60;
    border-color: #244e60;
}

.layer_panel_labels {
    cursor: pointer;
    font-size: small;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 0.5rem;
}

.layer_panel_labels:hover {
    background-color: #f5f5f5;
}

.layer_panel_colors {
    cursor: pointer;
    font-size: small;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 0.5rem;
}

.layer_panel_colors:hover {
    background-color: #f5f5f5;
}

.layer_panel_colors_options {
    display: flex;
    width: 100%;
}

.color_option {
    height: 1rem;
    width: inherit;
    margin: 2px;
}

.layer_panel_colors_custom {
    font-family: "RobotoLight", sans-serif;
    line-height: 1;
    padding-top: 0.5rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.layer_panel_colors_custom:hover {
    background-color: gainsboro;
}

.custom_color_button {
    background-color: red;
    background-image: linear-gradient(to bottom right, red, blue);
    width: 20%;
    height: 1rem;
    margin-left: 2px;
    margin-right: 4px;
    text-align: center;
    float: left;
}

.color_picker {
    font-family: "RobotoRegular", sans-serif;
    font-size: small;
    display: flex;
    text-align: center;
}

.color_picker_form {
    width: 50%;
    padding-left: 0.5rem;
}

.form_color {
    margin: auto;
    height: 1rem;
    width: 1rem;
}

.form-color-control {
    padding: 0rem;
    width: 100%;
}


.color_picker_result {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.div_transparency {
    padding: 0rem 0.5rem;
    display: flex;
    align-items: center;
    transition: all 200ms ease;
}

.div_transparency:hover {
    background-color: #f5f5f5;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 18px 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: linear-gradient(to right, whitesmoke 0%, #244e60 100%);
    /* background: #244e60; */
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
    border: 2px solid #ffffff;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #244e60;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #244e60;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    background: #244e60;
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #244e60;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: #244e60;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
    border: 1px solid #000000;
    height: 36px;
    width: 16px;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #244e60;
}

input[type=range]:focus::-ms-fill-upper {
    background: #244e60;
}

.layer_panel_links {
    display: flex;
    justify-content: space-around;
    border-bottom-color: #244e60;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #244e60;
    border-top-style: solid;
    border-top-width: 1px;
}

.layer_panel_links:hover {
    border-bottom-color: #008b8b;
    border-top-color: #008b8b;
}


.layer_links {
    width: -webkit-fill-available;
    width: -moz-available;
    text-align: center;
    padding: 0.5rem;
    transition: all 200ms ease;
    cursor: pointer;
}

.layer_links:hover {
    background-color: gainsboro;
}

/* https://codepen.io/sosuke/pen/Pjoqqp */
.image_svg {
    transition: all 200ms ease;
    height: 1rem;
    filter: invert(23%) sepia(94%) saturate(298%) hue-rotate(152deg) brightness(94%) contrast(91%);
    cursor: pointer;
}

.image_svg_inactive {
    transition: all 200ms ease;
    height: 1rem;
    filter: invert(89%) sepia(12%) saturate(72%) hue-rotate(355deg) brightness(91%) contrast(90%);
    cursor: pointer;
}

.image_svg:hover {
    filter: invert(29%) sepia(62%) saturate(5729%) hue-rotate(166deg) brightness(99%) contrast(102%);
}

.image_svg_white {
    transition: all 200ms ease;
    height: 1rem;
    filter: invert(100%) sepia(0%) saturate(7449%) hue-rotate(122deg) brightness(107%) contrast(108%);
    cursor: pointer;
}

.info_panel_title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    font-family: RobotoRegular, sans-serif !important;
}

.info_panel_title_first {
    display: flex !important;
    align-items: center;
}

.info_panel_layer {
    font-family: RobotoRegular, sans-serif !important;
    padding: 0.5rem;
    border-bottom-color: #244e60;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-color: #244e60;
    border-top-style: solid;
    border-top-width: 1px;
}

.info_panel_body {
    font-family: RobotoLight, sans-serif !important;
    padding: 1rem;
}

.methodological_sheet {
    cursor: pointer;
    font-family: RobotoRegular, sans-serif !important;
}

.methodological_sheet_item {
    padding: 1rem 0 0 1rem;
    font-family: RobotoBold, sans-serif !important;
}

.attributes_thead {
    font-family: RobotoRegular, sans-serif !important;
    font-size: small;
}

.attributes_tbody {
    font-family: RobotoRegular, sans-serif !important;
    font-size: small;
}

tbody tr:hover {
    background-color: gainsboro;
    cursor: pointer;
}

.sort:hover {
    cursor: pointer;
    background-color: gainsboro;
}

.sort_image {
    margin-left: 0.5rem;
}

/* PDI */
.pdi_info_row {
    font-size: small;
    padding: 0.5rem;
    border-color: white;
    border-style: solid;
    border-width: 1px;
    margin-top: 0.1rem;
    /* color: #65848b; */
    color: #0d0d0d;
    line-height: 1.2;
    text-align: justify;
    background-color: #F2F2F2;
    cursor: pointer;
    font-family: "Segoe UI";
}

.pdi_info_row:hover {
    background-color: #D9D9D9;
    color: black;
}

.maplibregl-popup-anchor-top .maplibregl-popup-tip {
    -webkit-align-self: center;
    align-self: center;
    border-top: none;
    border-bottom-color: rgba(0, 0, 0, 0.7);
}

.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
    -webkit-align-self: center;
    align-self: center;
    border-bottom: none;
    border-top-color: rgba(0, 0, 0, 0.7);
}

.maplibregl-popup-content {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: small;
    font-weight: normal;
    line-height: 1.5;
    width: 20rem;
    margin-left: -2.5rem;
}

.maplibregl-popup-close-button,
.maplibregl-popup-close-button {
    color: white;
    font-size: medium;
}

.popupcontent {
    max-height: 10rem;
    overflow-y: scroll;
}

#search_list {
    max-height: 80vh;
    overflow-y: auto;
}

.search_list_item {
    min-height: 3rem;
    font-size: small;
    font-weight: 500;
    padding-left: 1rem;
    align-items: center;
    cursor: pointer;
    color: #244e60;
    background-color: #f5f9fb;
    border-bottom-style: solid;
    border-bottom-color: #cee1ea;
    border-bottom-width: 1px;
}

.search_list_item:hover {
    background-color: gainsboro;
}

#central_header {
    display: none;
    align-items: flex-end;
    margin: auto;
}

#central_header_logo img {
    height: 3rem;
    margin-right: 0.5rem;
}

#central_header_title {
    font-family: "RobotoRegular";
    font-weight: bold;
    margin: 0 0.5rem;
    font-size: 2rem;
    color: #34b0aa;
    line-height: 1;
}

#central_header_subtitle {
    font-family: "RobotoRegular";
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: #244e60;
    line-height: 1;
}

#header_links {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: small;
    z-index: 3;
    display: none;
    cursor: pointer;
}

#header_links span {
    margin: 0 0.25rem;
}

.search_message {
    background-color: white;
    padding: 0.5rem;
    color: black;
    animation-name: map_message_animation;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes map_message_animation {
    from {color: black;}
    to {color: white;}
}

.skeleton_div {
    width: 100%;
    height: 3.5rem;
    border: 1px solid white;
    background-image: linear-gradient(to right,
            white 0%,
            whitesmoke 10%,
            gainsboro 50%,
            whitesmoke 90%,
            white 100%);
    background-repeat: no-repeat;
    background-size: 200% 400px;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -50% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.distance-container {
    position: absolute;
    bottom: 1rem;
    left: 28.5%;
    z-index: 2;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

.distance-container > * {
    background-color: white;
    color: black;
    font-size: small;
    font-family: sans-serif;
    display: block;
    margin: 0;
    padding: 5px 10px;
    border-radius: 3px;
}

@media (orientation: portrait) {

    #header_links {
        display:none;
    }

    #header {
        width: 100%;
        height: 8vh;
        background-color: white;
        padding: 0;
    }

    #header_form {
        flex-direction: column;
        display: none;
    }

    #comparison-container {
        left: 0;
        top: 8vh;
    }

    .header_button {
        display: block;
        margin: 0.5rem auto;
    }

    .select_div {
        justify-content: space-between;
    }

    #toc {
        width: 100%;
        display: none;
    }

    #compare {
        display: none;
    }

    #toc_sidebar {
        width: 100%;
        height: 10vh;
        display: flex;
        transition: all 500ms ease;
        overflow: hidden;
    }

    .tab {
        width: inherit;
        border-bottom-color: unset;
        border-bottom-style: unset;
        border-bottom-width: unset;
        border-left-color: white;
        border-left-style: solid;
        border-left-width: 1px;
        transition: all 500ms ease;
    }

    #toc_content {
        width: 100%;
        height: 81vh;
    }

    #map {
        left: 0;
    }

    #toc_mobile {
        display: block;
        text-align: center;
    }

    #navigation {
        left: 0;
        top: 9vh;
    }

    #disclaimer {
        left: 0;
    }

    #disclaimer_content {
        left: 4rem;
    }

    #toolbox {
        top: 9vh;
    }

    #info_panel {
        display: none;
        width: 100%;
        top: 0
    }

    #tutorial {
        display: none;
    }

    #basemap_before {
        position: absolute;
        right: 1rem;
        bottom: 3rem;
        z-index: 1;
    }
}

/* Más de 1200px de ancho*/
@media only screen and (min-width: 1200px) {
    #toc {
        width: 28%;
    }

    #comparison-container {
        left: 28%;
    }

    #header {
        width: 28%;
    }

    #toc_content {
        width: -webkit-fill-available;
        width: -moz-available;
    }

    #toc_sidebar {
        width: 6rem;
    }

    .tab {
        font-size: small;
    }

    #navigation {
        left: 28%;
    }

    #disclaimer {
        left: 28%;
    }

    #disclaimer_content {
        left: 30.5%;
    }

    #clock_layer {
        left: 30%;
        right: 2%;
    }
}
