@use "../abstract" as abstract;

#mobile-menu,
#content {
    margin: 0 15px;
}

#mobile-menu {
    margin-top: 10px;
    display: none;

    &.visible {
        display: block;

        @include abstract.for-desktop {
            display: none;
        }
    }

    a {
        font-size: initial;
        margin-right: 0;
        padding-right: 0;
    }

    li > a {
        margin: 5px 0;
        padding: 10px 5px;
        display: block;
        flex: 0;
    }

    .nav {
        padding: 0;
        border: none;
        margin-left: 0;
        display: flex;
        flex-direction: column;
    }

    li {
        margin-left: 5px;
        margin-right: 5px;
    }

    .mod-menu__sub > li {
        margin: 0;
    }

    li > ul.nav {
        margin-left: -5px;
        margin-right: -5px;
    }

    li ul {
        border: none;
    }

    > ul.mod-menu {
        background-color: initial;
        color: initial;
        margin-bottom: initial;
    }
}

#mobile-menu-switch {
    flex: 0 0 auto;
    text-align: right;

    @include abstract.for-desktop {
        display: none;
    }
}

#btn-mobile-menu {
    padding: 10px 30px 0 0;
    width: 40px;
    box-sizing: initial;
}
