var fixedOffset=1;$(window).scroll(function(){var n=$("header"),t=$(window).scrollTop();t>=fixedOffset?n.addClass("fixed"):n.removeClass("fixed")});$(document).ready(function(){var n=$("header").outerHeight(),i,r,t,u;$(window).scroll(function(){var t=$("header"),i=$(window).scrollTop();i>n?t.addClass("fixed"):t.removeClass("fixed")});$(".count:not(.decimal)").each(function(){$(this).prop("Counter",0).animate({Counter:$(this).text()},{duration:4e3,easing:"swing",step:function(n){$(this).text(Math.ceil(n))}})});$(".count.decimal").each(function(){$(this).prop("Counter",0).animate({Counter:$(this).text()},{duration:4e3,easing:"swing",step:function(n){$(this).text(n.toFixed(1))}})});$(".gridItem").not(".gridItem--1 , .gridItem--5").hover(function(){var n=$(this).data("element");$(".bannerItem[data-element="+n+"]").toggleClass("active");$(".bannerItem--base").toggleClass("active")});$(".selectHolder").click(function(n){n.preventDefault();$(".dropdown").not($(this).children()).hide();$(this).toggleClass("active");$(this).find(".dropdown").slideToggle(300)});$(".dropdownItem").click(function(n){n.preventDefault();$(this).siblings().removeClass("selected");$(this).addClass("selected");$(this).parent().parent().find(".selectLabel").text($(this).find("a").text())});$(".button--search").click(function(){$(".searchHolder").toggleClass("openSearch");setTimeout(function(){$(".searchHolder").find("#txtAdvancedSearch").focus()},500)});$(".search-mobile").click(function(){$(".searchHolder--mobile").slideToggle(300);setTimeout(function(){$(".searchHolder--mobile").find("#txtAdvancedSearch").focus()},500)});i=!!navigator.userAgent.match(/Trident.*rv\:11\./);i&&$("*").removeClass("animate");$(".listingItemLI.animate").each(function(n){var t=$(this);t.css("transition-delay",80*n+"ms")});$(".historyItem.animate").each(function(n){var t=$(this);t.css("transition-delay",120*n+"ms")});$(".locationItem.animate").each(function(n){var t=$(this);t.css("transition-delay",100*n+"ms")});inView(".animate, .parallax-view, .slideIn, .slideIn-right, .grow, .from-left, .from-right").on("enter",function(n){n.classList.add("in-view");n.classList.add("float")}).on("exit",function(n){n.classList.remove("float")});inView.offset(100);$(".companyListing .textBlock").sameHeight();$(".companyListing .textBlock .par--big").sameHeight();$(".projectSlider .textBlock").sameHeight();$(".otherProjectListing .itemHolder").sameHeight();$(".historyItem").sameHeight();$(".projectListing .listingItemLI").sameHeight();$(".overlappingImages img").hover(function(){$(this).addClass("up");$(this).siblings().removeClass("up")});$(document).ready(function(){$(".anchorTop").click(function(){$("html, body").animate({scrollTop:$("#page").offset().top+100},1e3)});$(window).width()>1024?$(".anchorItem").click(function(n){n.preventDefault();var t=$(this).attr("href");$("html, body").animate({scrollTop:$(t).offset().top},700)}):$(".anchorItem").click(function(n){n.preventDefault();var t=$(this).attr("href");$("html, body").animate({scrollTop:$(t).offset().top-170},700)});$(".projectSlider .owl-carousel").owlCarousel({items:3,loop:!0,nav:!0,dots:!1,navText:["