function sideNav_open(){document.getElementById("side-nav").style.right="0px";document.getElementById("side-nav-bg").style.left="0px";document.getElementById("side-nav-close").style.display="block";document.body.style.overflow="hidden"}function sideNav_close(){document.getElementById("side-nav").style.right="-250px";document.getElementById("side-nav-bg").style.left="-100%";document.getElementById("side-nav-close").style.display="none";document.body.style.overflow="auto"}function index_setHeaderSize(){var n=$("header"),t=$("header .title"),i=parseInt(n.css("padding-top")),r=parseInt(n.css("padding-bottom"));n.height($(window).height()-i-r);t.css("top",$(window).height()/2-t.height()/2-$(".top-nav").height())}function scrollToElement(n){$("html, body").animate({scrollTop:$(n).offset().top},{easing:"swing",duration:500})}function index_equaliseWhatWeDoItems(){document.querySelector("#what-we-do .items")&&equaliseItemHeights(document.querySelectorAll("#what-we-do .items .item .item-text"))}function ourTeam_equaliseListItems(){document.querySelector(".exec-team-items")&&equaliseItemHeights(document.querySelectorAll(".exec-team-items .item"))}function about_equaliseGalleryItems(){document.querySelector("#gallery-carousel")&&equaliseItemHeights(document.querySelectorAll("#gallery-carousel .item"))}function careers_equaliseGalleryItems(){document.querySelector("#gallery-carousel")&&equaliseItemHeights(document.querySelectorAll("#gallery-carousel .item"))}var equaliseItemHeights=function(n){var t=0;Array.from(n).forEach(function(n){n.style.height="";n.offsetHeight>t&&(t=n.offsetHeight)});Array.from(n).forEach(function(n){n.style.height=t+"px"})}