<style>
.sgnMen{display:none;}
.slvMen{
position:fixed;
width:100%;
top: 70px;
z-index:999;
}
.slvMen a.tn-atom[href^="#"]{transition: all 0.2s linear;}
.activelink{
color: #ffffff !important;
transform: translateX(20px);
color:#fff !important;
}
div[data-elem-type="shape"] .activelink{background-color:#000 !important;}
</style>
<script>
$( document ).ready(function() {
$('#rec166121709').addClass('slvMen');
$('#rec166121685').addClass('sgnMen');
var t229_navLinks = $(".sgnMen .t229__list_item a:not(.tooltipstered)[href*='#']");
//if (t229_navLinks.length > 0) {t229_catchScroll(t229_navLinks); };
function chekMenu(){
if($('.sgnMen .t-menu__link-item').hasClass('t-active')) {
var anclink = $('.sgnMen .t-menu__link-item.t-active').attr('href');
$('.slvMen a.tn-atom[href^="#"]').removeClass('activelink');
$('.slvMen a.tn-atom[href='+anclink+']').addClass('activelink');
}else{$('.slvMen a.tn-atom[href^="#"]').removeClass('activelink'); };
};
var target = document.querySelector('.t229 .t-menu__link-item');
var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutation) {
var newVal = $(mutation.target).prop(mutation.attributeName);
if (mutation.attributeName === "class") {
chekMenu();
};
});
});
observer.observe( target , { attributes: true});
setTimeout(function(){ chekMenu();}, 1000);
});
</script>