
.accordion-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9em;

    > li,
    ul.sub-menu > li {
        position: relative;
    }

    li.menu-item {
        margin: 0;
        > a {
            position: relative;
            display: block;
            outline: medium none;
            text-decoration: none;
            text-align: $left;
            margin: 1px 0 0;
            padding: 5px 6px;
            line-height: 25px;
            font-weight: 700;
            @include transition($transition);
            font-family: inherit;
            font-size: inherit;

            > i,
            > svg {
                width: 18px;
                text-align: center;
            }
            > svg {
                fill: currentColor;
                stroke: currentColor;
            }
            > i,
            > .avatar,
            > svg,
            > img {
                margin-#{$right}: 5px;
            }
            > .avatar img {
                margin-top: -5px;
                margin-bottom: -4px;
            }
            > [class*='flag-'] {
                display: inline-block;
                width: 16px;
                height: 11px;
                margin-top: -3px;
                margin-#{$right}: 6px;
                margin-#{$left}: 1px;
                vertical-align: middle;
                line-height: 0;
                &:before {
                    display: none;
                }
            }
        }
        &.has-sub {
            > a {
                padding-#{$right}: 33px;
            }
        }
        & + .menu-item.hidden-item {
            margin-top: -1px;
        }
    }

    ul.sub-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: side-values(0 0 0 10px);
    }

    .arrow {
        position: absolute;
        #{$right}: 5px;
        display: block;
        width: 30px;
        cursor: pointer;
        text-align: center;
        vertical-align: top;
        z-index: 10;
        cursor: pointer;
        @include transition($transition);

        &:before {
            content: $fa-var-plus;
        }
    }

    .open > .arrow:before {
        content: $fa-var-minus;
    }
}