@import '../../../../../../styles/mixins.scss';
@import '../../../../../../styles/shared/footer.scss';

//Component Styles
.footerNavigation {
    &_list {
        @extend %reset-list;
        margin: ($footer-nav-item-spacing-y * -1) ($footer-nav-item-spacing-x * -1);

        @include media-md-up {
            display: flex;
            flex-wrap: wrap;
        }
    }

    &_item {
        position: relative;
        display: flex;
        align-items: center;
        margin-top: $footer-nav-item-spacing-y;
        margin-bottom: $footer-nav-item-spacing-y;
        padding-left: $footer-nav-item-spacing-x;
        padding-right: $footer-nav-item-spacing-x;

        &--with-separator:not(&:last-of-type) {
            &:after {
                position: absolute;
                top: 50%;
                right: 0;
                transform: translateY(-50%);
                opacity: 0.6;
                color: var(--footer-nav-separator-color);
            
                @include media-md-up {
                    content: "|";
                }
            }
        }

        &--language {
            min-width: 200px;
            max-width: 250px;
        }

        @include media-md-down {
            margin-top: $footer-nav-item-spacing-y + 13px;
            margin-bottom: $footer-nav-item-spacing-y + 13px;
        }
    }

    &_link {
        @extend %footer-links;
    }
}
