.MainNav {

}
.MainNav-item {

}
.MainNav-group {
    & + & {
        margin-top: 10px;
    }
}
.MainNav-groupTitle {
    padding: 10px 0;
    margin: 0 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 16px;
}
.MainNav-subSectionHeading {
    padding: 10px 0 5px 0;
    margin: 0 20px;
    font-size: 15px;
    font-weight: normal;
    color: #555;
    @media all and (min-width: $breakpoint-wide) {
        font-size: 16px;
    }
}
.MainNav-item--section {
    background-color: #f5f5f5;
    > a {
        display: block;
        padding: 10px 15px;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
        font-weight: bold;
        color: #333;
        font-size: 15px;
        @media all and (min-width: $breakpoint-wide) {
            font-size: 16px;
        }
    }
    .MainNav-sectionNav {
        padding: 10px 0;
        &:last-child {
            border-bottom: 1px solid #ddd;
        }
        & + .MainNav-sectionNav:before {
            content: ' ';
            border-top: 1px dashed #ccc;
            display: block;
            margin-left: 10px;
            margin-right: 10px;
            position: relative;
            top: -10px;
        }
    }
    .MainNav-sectionPanel {
        display: none;
        .no-js & {
            display: block;
        }
    }
    &.is-open {
        > .MainNav-sectionPanel {
            display: block;
        }
    }
    &.is-current {
        > a {
            color: $color-accent;
        }
    }
}
.MainNav-sectionFilter {
    background-color: #ddd;
    padding: 10px 15px;
}
.MainNav-filterLabel {
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 5px;
}
.MainNav-filterSelect {
    display: inline-block;
    position: relative;
    top: -1px;
}
.MainNav-sectionNav {
    .MainNav-toggled {
        .MainNav-subSectionToggle {
            font-weight: normal;
            padding: 5px 10px 5px 35px;
            position: relative;
            background-image: url('/_theme/img/icons/nav-arrow-down.svg');
            background-size: 18px 18px;
            background-position: 15px 7px;
            background-repeat: no-repeat;
            color: #222;
            user-select: none;
            font-size: 15px;
            @media all and (min-width: $breakpoint-wide) {
                font-size: 16px;
            }
        }
        .has-js & {
            .MainNav-subSectionToggle {
                cursor: pointer;
                background-image: url('/_theme/img/icons/nav-arrow-right.svg');
            }

        }
        .has-js &.MainNav-item--group {
            > .MainNav-children {
                display: none;
            }
            &.is-open {
                > .MainNav-subSectionToggle {
                    background-image: url('/_theme/img/icons/nav-arrow-down.svg');
                }
                > .MainNav-children {
                    display: block;
                }
            }
        }
    }

}
.MainNav-item--group .MainNav-item--group {
    padding-left: 10px;
}
.MainNav-item--sub {
    a {
        padding: 4px 10px 4px 21px;
        text-decoration: none;
        position: relative;
        display: flex;
        align-items: center;
        font-size: 15px;
        @media all and (min-width: $breakpoint-wide) {
            font-size: 16px;
        }
    }
    &.is-current > a {
        color: $color-accent;
        font-weight: bold;
    }
    .Status {
        margin-left: auto;
        display: inline-block;
        // position: relative;
        // top: -3px;
        // margin-right: 10px;
        position: absolute;
        left: 31px;
        top: 12px;
    }
    .Status-dot {
        width: 5px;
        height: 5px;
    }
    .MainNav-item--group.MainNav-toggled & {
        a {
            padding-left: 45px;
        }
    }
}
.MainNav-sectionNav--components {
    > .MainNav-item--component a {
        padding-left: 52px;
    }
}
