@media (max-width: 1460px) {

    #header {
        padding-block: var(--gap-s);
    }

    #header .menu_cta {
        display: none;
    }

    #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 0;
        height: 100vh;
        display: block;
        transition: background-color 0.3s ease, right 0.3s ease;
        -webkit-transition: background-color 0.3s ease, right 0.3s ease;
    }

    body.menu_open {
        overflow: hidden;
    }

    body.menu_open #close_menu {
        display: block;
        background: rgba(0, 0, 0, 0.5);
        right: min(90vw, 430px);
        width: 100%;
    }

    body.menu_open.show_menu_close #close_menu {
        background-color: rgba(0, 0, 0, 0.01);
        width: 100%;
        right: 0;
    }

    #wrap {
        position: relative;
        width: auto;
        min-width: 320px;
        overflow: hidden;
    }

    #shifter {
        position: relative;
        width: 100%;
        left: 0;
        transition: left 0.3s ease;
        -webkit-transition: left 0.3s ease;
        background: #fff;
    }

    body {
        background: #d8d8d8;
    }

    body.menu_open #shifter {
        left: calc(-1 * min(90vw, 430px));
    }

    body.menu_open.show_menu_close #shifter {
        left: 0;
    }

    #mobile_menu_button {
        display: flex;
        flex-direction: column;
        width: 30px;
        padding: 15px 0 15px 15px;
        gap: 7px;
        cursor: pointer;
    }

    #mobile_menu_button > div {
        border: 2px solid var(--blue);
        border-radius: 15px;
    }

    #mobile_menu_button > div:nth-child(2) {
        width: 80%;
    }

    #mobile_logo {
        display: block;
    }

    .menu_content_container {
        display: flex;
        top: 0;
        left: 100%;
        width: min(90vw, 430px);
        z-index: 11;
        position: fixed;
        overflow-x: hidden;
        overflow-y: scroll;
        max-height: 100vh;
        -webkit-transition: left 0.3s ease;
        height: 100%;
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        scrollbar-width: none; /* Firefox */
        /*padding-inline: var(--gap-m);*/
        box-sizing: border-box;
        /*padding-top: 90px;*/
        padding: var(--gap-m) var(--gap-m) 200px;
        background: #FFF;
        flex-direction: column;
        gap: 60px;
    }

    .menu_content_container::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    body.menu_open .menu_content_container {
        left: calc(100% - min(90vw, 430px));
    }

    body.menu_open.show_menu_close .menu_content_container {
        left: 100%;
    }

    .main_menu, .main_menu ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .contact_link_container {
        flex-direction: column;
    }

    .main_menu li.menu-item-has-children > ul {
        max-height: 0;
        transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
        overflow: hidden;
    }

    .main_menu li.active ul {
        max-height: 500px;
        transition: max-height 1s ease-in-out;
    }

    .main_menu a {
        display: block;
        color: var(--d-grey);
        padding: 20px;
        font-size: 20px;
        font-weight: 400;
        text-decoration: none;

    }

    #header ul.main_menu li a {
        padding: 30px 15px;
    }

    #header ul.main_menu li:hover a {
        background: var(--blue);
        color: white;
    }

    .main_menu > li {
        position: relative;
        border-bottom: 1px solid var(--blue);
    }

    .main_menu li.menu-item-has-children > .expand_container {
        position: absolute;
        width: 100px;
        height: 100%;
        right: 0;
        top: 0;
    }

    .main_menu li.menu-item-has-children > .expand_container > .expand_btn {
        transition: transform 0.3s;
        display: block;
        width: 16px;
        height: 10px;
        position: absolute;
        top: calc(50% - 5px);
        right: 50%;
        background: center / cover no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' fill='none'%3e%3cpath stroke='%23007FC7' stroke-linecap='square' stroke-width='2' d='m14.2 2.2-6 6-6-6'/%3e%3c/svg%3e");
    }

    .main_menu li.menu-item-has-children:hover > .expand_container > .expand_btn {
        background: center / cover no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' fill='none'%3e%3cpath stroke='%23FFFFFF' stroke-linecap='square' stroke-width='2' d='m14.2 2.2-6 6-6-6'/%3e%3c/svg%3e");
    }

    .main_menu li.menu-item-has-children > .expand_container:hover > span.expand_btn {
        transform: rotate(-90deg);
    }

    .main_menu li.menu-item-has-children.active > .expand_container > span.expand_btn {
        transform: rotate(-180deg);
    }

    .main_menu li.menu-item-has-children.clicked > a:after {
        transform: rotate(-180deg);
    }

    #header ul.main_menu li.menu-item-has-children > ul li a {
        color: var(--d-grey);
        padding: 15px 30px;
        border: none;
    }


    #header ul.main_menu li.menu-item-has-children.active a {
        /*border: none;*/
        /*padding-bottom: 0;*/
    }

    #header ul.main_menu li.menu-item-has-children.active ul li:last-child a {
    }

    #header ul.main_menu li.menu-item-has-children > ul li:last-child {
        padding-bottom: 20px;
    }
}