.zagolovok + tr td:nth-child(2) .fa-long-arrow-up {
display: none;
}
table tr td:last-child .fa-long-arrow-down {
display: none;
}
table tr:nth-child(3n) td:last-child .fa-long-arrow-down {
display: inline-block;
}
.zagolovok + tr td:nth-child(2) .fa-long-arrow-down {
display: inline-block;
}
table tr:last-child td:last-child .fa-long-arrow-down {
display: none;
}
// ACTIVE ITEM OF MENU
$(window).scroll(function () {
var $sections = $('.section');
$sections.each(function (i, el) {
var top = $(el).offset().top - 0;
var bottom = top + $(el).height();
var scroll = $(window).scrollTop();
var id = $(el).attr('id');
if (scroll > top && scroll < bottom) {
$('.header_items a.active').removeClass('active');
$('.header_items a[href$="' + id + '"]').addClass('active');
}
})
});