$(document).ready(function(){
	
	function equalHeight(group) {
		tallest = 0;
		group.each(function() {
			thisHeight = $(this).height();
			if(thisHeight > tallest) {
				tallest = thisHeight;
			}
		});
		group.height(tallest);
	}
	equalHeight($(".m-lower-info"));

});

// Button text height changer to accommodate double lines
$(document).ready(function(){
	$(".m-steps .button .cta-largetext").each(function(idx, node){
		var $this = $(this);
		var itemheight = $this.height();
		var itemlineheight = $this.css('line-height').slice(0, -2);
		//if (itemheight > itemlineheight) {
		if (itemheight > 24 ) {
			$this.parent().addClass('large');
		}
	});
});

