
@media screen and (max-width: 1000px) {


    .cookieHeader {
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: bold;
    }

    .cookie_warning_text > * {
        font-size: 14px;
    }

    .cookieButtonHolder {
        margin: 0;
        flex-direction: row;
    }


    .cookieSelect {
        margin-right: 10px;
    }

    #cookie_warning button, #data_cookies button {
        padding: 5px 30px;
        font-size: 14px;
        
    }




    .desktopElem {
        display: none;
    }

    .mobileElem {
        display: block;
    }

    .mobileMarker {
        display: block;
    }


    .fullContainer {
        margin: 10px;
    }

    .titleFont {
        font-size: 28px;
    }


    .galleryGrid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-gap: 10px;
    }


    /* menu */

    .logoHolder img {
        height: 100%;
        padding-bottom: 20px;
    }

    .logoSearchHolder {
        height: 80px;
    }

    #menu_search_input.active {
        width: 150px;
        padding: 2px;
    }
    


    .menuContainer {
        flex-direction: column;
    }


    .leftMenuPart {
        width: 100%;
    }

    .overlayFooterLeft, .overlayFooterRight {
        width: 50%;
    }

    .rightMenuPart {
        padding-top: 50px;
        width: 100%;
    }

    .menuRowElem {
        border-right: unset;
    }

    .menuRowElem:hover {
        background-color: unset;
        color: unset;
    }

    .menuRowElem:hover .arrowElem img 
    {
        filter: unset;
    }

    .menuRowElem:has(.subMenuElems):hover .arrowElem {
        left: 100%;
    }

    .menuRowElem.menuTitle {
        background-color: black !important;
        color: white ;
        font-weight: 700;
    }

    .subMenuElems {
        width: 100%;
        border: unset;
        padding: 0;
    }

    .subMenuElem {
        font-size: 24px;
        /* margin-bottom: 20px; */
        padding: 15px;
    }
    
    .subMenuMobileTitle {
        font-size: 24px;
        margin-bottom: 5px;
        color: white;
        background-color: #3372b0;
        padding: 15px;
    }
    
    .overlayTopSection {
        z-index: 10;
    }

    /* .menuOverlay.freeze {
        overflow: hidden;
        position: absolute;
        top: 100px;
        left: 0;
    }
 */

 .menuOverlay {

    transition: unset; 

    }

    .menuOverlay.active {

        transition: unset;
        padding-bottom: 100px;

    }



    .backMenuButton {
        display: flex;
        padding: 20px;
    }

    .leftMenuArrowHolder img {
        width: 16px;
        height: 16px;
        transform: rotate(180deg);
        margin-right: 10px;
        image-rendering: -webkit-optimize-contrast;
    
        cursor: pointer;
    }


    .overlayFooter  {
        padding-top: 20px;
        border-top: 1px solid black;
    }







    /* filters */

    .activeTagHeader {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .filterSection {
        margin-bottom: 50px;
    }

    .filterRow {
        display: block;
        margin-bottom: 0;
    }

    .rowName {
        margin: 20px 0 10px 0;
    }

    .filterSliderHolder {
        position: relative;
    }

    .filterSection .filterSliderHolder::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 10%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
        background: -webkit-linear-gradient(to bottom, transparent, white);
        pointer-events: none;
    }

    .menuSlider {
        margin-bottom: 80px;
    }

    .slick-slide {
        height: unset !important;
        margin-right: 10px;
    }

    .sliderArrowHolder {
        position: absolute;
        top: -27px;
        right: 0px;
    }

    .exhibCatButtons {
        margin-bottom: 20px;
    }

    .rowButton, .exhibCatButton {
        font-size: 16px;
    }

    .exhibCatButton {
        font-size: 12px;
    }



    .list_item {
        margin: unset; 
    }

    .list_item_name span {
        font-size: 18px;

    }

    .list_item_name br {
        display: none;

    }
    





    /* grid and overview */

    .exhibSection {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-gap: 20px;
    }

    .detailTitle {
        font-size: 32px;
        font-weight: 700;
    }

    .detailImg {
        margin-bottom: 30px;
    }

    .metaHeader {
        margin-bottom: 30px;
    }

    .metaInfoElem {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .metaTitle {
        flex-basis: unset;
        font-size: 24px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .metaText {
        flex-basis: unset;
        flex-basis: 20px;
    }

    #modContainer {
        padding: 0 !important;
    }


    .moduleContainer {
        max-width: 800px;
        width: 100%;
        margin: auto;
        margin-bottom: 30px;
    }
    
    .gridContainerRelated {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        grid-gap: 20px;
        margin-bottom: 100px;
    }

    .module_text {
        font-size: 16px;
    }



    /* artists page */


    .artistsContainer {
        column-count: 1;
        column-gap: unset;
    }




}


