// Menu button shown at mobile sizes

#menu-toggle-wrap {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    height: 100%;
    min-height: 0;
    align-items: center;
}

.menu-toggle {
    background-color: $menu-toggle-bg-color;
    border: $menu-toggle-border;
    border-radius: 0;
    font-size: 1rem;
    width: auto;
    padding: 0.75rem;
    line-height: 1;
}

.menu-toggle .genericon-close{
    font-size: 30px;
    font-weight: 500;
}

.menu-toggle .genericon-menu{
    font-size: 21px;
    font-weight: 500;
}

.menu-toggle:hover {
    background-color: $menu-toggle-bg-hover-color;
    color: $menu-toggle-hover-color;
    border: $menu-toggle-hover-border;
}

.no-js .menu-toggle {
    //display: none;
}

// margin out all UL's
.mobile-navigation ul {
    margin: 0;
}

@media #{$screen-sm}{
    .mobile-navigation,
    #menu-toggle-wrap {
        display: none;
    }
}

@media #{$screen-xs-max}{
    .site-title {
        text-align: left;
        -js-display: flex;
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        min-height: 0;
        align-items: center;
    }
}
