.nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;

    @include media-query(tablet-portrait) {
        flex-direction: row;
        padding-top: 0;
    }

    &--primary {
        @include media-query(tablet-portrait) {
            flex-direction: row;
            justify-content: flex-end;
            margin-top: 0;
        }
    }

    &--secondary {
        margin-right: 15px;
    }

    &--subnav {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        height: 100%;
        padding-top: 20px;
        background: $color--secondary;
        transform: translate3d(100%, 0%, 0);
        transition: transform 250ms cubic-bezier(0.24, 0.26, 0.2, 1) 0ms;

        &.is-visible {
            transform: translate3d(0%, 0%, 0);
        }

        @include media-query(tablet-portrait) {
            // @todo - desktop dropdown styles
            display: none;
        }
    }

    &--tertiary {
        height: auto;

        li:first-child {
            a {
                margin-left: 0;
            }
        }
    }

    &--breadcrumb {
        flex-direction: row;
        margin-bottom: 10px;
    }

    &__item {
        width: 60%;
        padding-bottom: 10px;
        margin-bottom: 10px;
        font-weight: $weight--bold;
        text-align: center;
        border-bottom: 1px solid rgba($color--black, 0.2);

        .nav--tertiary & {
            width: 100%;
            padding-bottom: 5px;
            margin-bottom: 0;
            border-bottom: 0;

            @include media-query(tablet-portrait) {
                width: auto;
            }
        }

        &:last-child {
            border-bottom: 0;
        }

        @include media-query(tablet-portrait) {
            width: auto;
            padding: 0;
            margin: 0;
            text-align: left;
            border-bottom: 0;
        }

        &--secondary {
            font-weight: $weight--light;
        }

        &--footer {
            a {
                color: $color--white;
            }
        }

        &--footer-column {
            &::after {
                display: none;
            }

            a {
                color: $color--white;
            }
        }

        &--back {
            @include font-size(milli);
            text-transform: uppercase;
        }

        &--breadcrumb {
            width: auto;
            padding: 0;
            margin: 0 5px 0 0;
            font-size: 12px;
            font-weight: $weight--light;
            text-transform: uppercase;
            border-bottom: 0;

            &::after {
                color: $color--primary;
                content: '›';
            }

            &:first-child {
                a {
                    margin-left: 0;
                }
            }

            &:last-child {
                margin-left: 10px;
                border-bottom: 1px solid;
            }
        }
    }

    &__link {
        color: $color--white;
        border-bottom: 1px solid transparent;
        transition: color, border $transition;

        &:hover {
            cursor: pointer;
        }

        @include media-query(tablet-landscape) {
            &:hover {
                color: lighten($color--secondary, 20%);
                border-bottom: 1px solid $color--secondary;
            }
        }

        @include media-query(tablet-portrait) {
            margin: 0 10px;
        }

        &--breadcrumb {
            color: $color--primary;

            &:hover {
                color: lighten($color--primary, 20%);
                border-bottom: 1px solid $color--primary;
            }
        }
    }

    &__icon {
        @include media-query(tablet-landscape) {
            // @todo - desktop dropdown styles
            display: none;
        }
    }
}