$((function(){$(".custom-menu-primary").addClass("js-enabled"),$(".custom-menu-primary .hs-menu-wrapper").before('<div class="mobile-trigger cta_border_button">MENU</div>'),$(".custom-menu-primary .flyouts .hs-item-has-children > a").after(' <div class="child-trigger"><i></i></div>'),$(".mobile-trigger").click((function(){return $(this).next(".custom-menu-primary .hs-menu-wrapper").slideToggle(250),$("body").toggleClass("mobile-open"),$(".child-trigger").removeClass("child-open"),$(".hs-menu-children-wrapper").slideUp(250),!1})),$(".child-trigger").click((function(){return $(this).parent().siblings(".hs-item-has-children").find(".child-trigger").removeClass("child-open"),$(this).parent().siblings(".hs-item-has-children").find(".hs-menu-children-wrapper").slideUp(250),$(this).next(".hs-menu-children-wrapper").slideToggle(250),$(this).next(".hs-menu-children-wrapper").children(".hs-item-has-children").find(".hs-menu-children-wrapper").slideUp(250),$(this).next(".hs-menu-children-wrapper").children(".hs-item-has-children").find(".child-trigger").removeClass("child-open"),$(this).toggleClass("child-open"),!1}));var $accordion=$(".accordion");$accordion.find(".accordion_content").hide(),$accordion.find(".accordion_group.expanded .accordion_content").show(),$accordion.find(".accordion_header").click((function(){$accordion.find(".accordion_header").not(this).parent(".accordion_group.expanded").removeClass("expanded").children(".accordion_content").stop(!0,!0).slideUp(),$(this).parent(".accordion_group").hasClass("expanded")?$(this).parent(".accordion_group").removeClass("expanded").children(".accordion_content").stop(!0,!0).slideUp():$(this).parent(".accordion_group").addClass("expanded").children(".accordion_content").stop(!0,!0).slideDown()})),$("#well .close").click((function(){$(this).parent("#well").fadeOut()}));var bannerSRC=$(".background-image").find("img").attr("src");$("#banner-background-image").css("background-image","url("+bannerSRC+")");var offerBannerSRC=$(".offer-image").find("img").attr("src");$("#offer-background-image").css("background-image","url("+offerBannerSRC+")");var $backToTop=$(".back-to-top");$backToTop.hide(),$(window).scroll((function(){$(this).scrollTop()>50?$backToTop.fadeIn():$backToTop.fadeOut()})),$backToTop.find("a").click((function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},500)})),$(window).scroll((function(){var $body=$("body"),windowScrollTop=$(window).scrollTop(),secondRowOffset=$(".body-container .row-fluid-wrapper:nth-child(2)").offset();secondRowOffset&&windowScrollTop>secondRowOffset.top?$body.addClass("small-header"):$body.removeClass("small-header")})),$(".tab-pane").not(".active").hide(),$(".tabber-content .tab-pane").each((function(i,el){$(el).attr("id","tab-"+i)})),$(".tabber-tabs a").each((function(i,el){$(el).attr("href","#tab-"+i);var ID=$(el).attr("href");$(this).click((function(e){e.preventDefault(),$(this).parent().hasClass("active")||($(this).parent().addClass("active").siblings().removeClass("active"),$(ID).fadeIn().siblings().hide())}))})),window.onload=function(){$('.widget-type-blog_subscribe .input :input[type="email"]').attr("placeholder","Email").attr("style","text-align:center;")}}));
//# sourceURL=https://7052064.fs1.hubspotusercontent-na1.net/hub/7052064/hub_generated/template_assets/1730124269925/hubspot/hubspot_default/shared/responsive/hubtheme-main.js