$(document).ready(function () {
    $('#lastNewsContainer > ul').innerfade({
        timeout: 5000
    });

    $('.accordion > .card > .card-header').click(function () {
        $(this).find('.accordion-header-icon').toggleClass('fa-chevron-down fa-chevron-up', function () {
            $(this).toggleCollapse();
        });
    });
});
