
@media only screen and (max-width: 1200px) {

    /* SEARCH AND TOP MENU BUTTONS */
    .map-top-menu-container {
        flex-direction: column;
        padding: 0 18px;
        width: 100% !important;
        height: max-content;
    }
    .menu-search {
        margin-right: 10px;
        width: calc(100% - 20px);
        padding: 0 !important;
    }
    .top-menu-container_cont {
        width: calc(100% - 20px) !important;
        height: 100%;
        overflow: clip visible;
        margin-right: 10px;
    }
    .top-menu-container {
        white-space: nowrap;
    }
    .top_menu_slider_info_text {
        white-space: break-spaces;
        z-index: 1;
    }
    .search-options-dropdown {
        z-index: 2;
    }
    /* .menu-options-top-panels {
        max-width: 400px;
        width: calc(100% - 36px - 1em);
    } */
    .toggle-button{
        display: block;
    }
    .search-results-area.hidden {
        height: 0px;
        min-height: 0px;
    }

    /* Time slider & Swipe */
    .time-swipe-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .time-swipe-container span.timeSwipe_text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .time-swipe-container .swipeSelectors_container {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    .time-swipe-container .swipeSelectors_container select {
        min-width: unset;
        width: unset;
        flex: 1;
    }
    .time-swipe-container .swipeSelectors_container select#firstYear_select {
        margin-right: 20px;
    }
}

@media (max-width: 767px) {
    #mega-menu {
        width: 100%;
        height: auto;
        top: 80px;
        padding-bottom: 1em;
    }
    #mega-menu #main-links ul li:last-child button, #mega-menu #other-links ul li:last-child a {
        border-bottom: none !important; 
    }
    #mega-menu::before {
        right: 1.9em;
    }
    .leaflet-top.leaflet-right {
        margin-top: 112px;
    }
    .leaflet-bottom .map-button {
        margin-bottom: 1.5em;
    }
    .mouse-coordinates {
        display: none;
    }

    .menu-options-top-panels {
        left: 10px;
    }
}