(function($){$(document).ready(function(){$.fn.toggleText=(function(t1,t2){this.each(function(){var $this=$(this)
if($this.text()==t1){$this.text(t2);}
else{$this.text(t1);}})
return this;});$(".accordion-drop-down__toggle").on("click",function(event){event.preventDefault();$(this).toggleClass("accordion-drop-down__toggle--active");$(this).next().slideToggle();$(this).find('span.show-for-sr').text(function(i,v){return v==='Click to Open'?'Click to Close':'Click to Open'})});if($('.accordion-drop-down').length){$('.accordion-drop-down').each(function(){$(this).parents('.container-fluid').addClass('accordion-container');});}
$(".more-in-this-section").on("click",function(){$(this).toggleClass("more-in-this-section--active");$(this).siblings("ul").slideToggle();$(this).find(".toggle-text").toggleText("Click to expose navigation links on mobile.","Click to hide navigation links on mobile.").toggleClass("active");});$.fn.oho_equalize=function(children){$(this).each(function(){var $parents=$(this);if($parents.length&&children.length){$parents.each(function(pid,parent){var newHeight=0;$parents.find(children).css('height','auto');$(parent).find(children).each(function(cid,child){if($(child).outerHeight()>newHeight){newHeight=$(child).outerHeight();}})
if(newHeight>0){$parents.find(children).css('height',newHeight+'px');}});}});};$.fn.vertical_align=function(children){var $parents=$(this);var $parentHeight=$(this).outerHeight()/2;var $childHeight=$(children).outerHeight()/2;var $bottomValue=(($parentHeight-$childHeight)+'px');if($parents.length&&children.length){$parents.find(children).css('bottom',$bottomValue);}};});})(jQuery);