$flatLinksClass: '.flat-links';
.flat-links {
    padding-left: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

    @media (max-width: 768px) {
        display: none;
    }

    &__item {
        padding: 5px;
        height: 90px;
        width: 49%;
        margin-bottom: 10px;
        background: #d7d7d7;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        vertical-align: middle;
        align-items: center;

        &:hover {
            text-decoration: none;
            background: #004d7b;
        }

        &-icon {
            display: block;
        }

        &-description {
            display: block;
            margin-left: 10px;
            color: #fff;
            font-weight: 700;
            font-size: 13px;
        }
    }

    &--mobile {
        display: none;

        @media (max-width: 768px) {
            display: block;
        }

        flex-direction: column;
        padding-left: 0;

        #{$flatLinksClass}__item {
            width: 100%;
        }
    }

    &--news {
        display: none;

        @media (max-width: 768px) {
            display: block;
        }

        flex-direction: column;
        padding-left: 0;

        #{$flatLinksClass}__item {
            width: 100%;
        }
    }

    &--vertical {
        flex-direction: column;
        padding-left: 0;

        #{$flatLinksClass}__item {
            width: 100%;
        }
    }
}