/*$(document).ready(function() {
    var $header = $("#mainSearch"),
        $clone = $header.before($header.clone().addClass("clone"));

    $(window).on("scroll", function() {
        var fromTop = $("html,body").scrollTop();
        $(window).toggleClass("down", (fromTop > 400));
    });
});*/

	
	$(window).scroll(function(event) {
		if($(window).scrollTop() >= 249) {
			$('.mainSearch').addClass('down');
		} else {
			if($('.mainSearch').hasClass('down')) {
				$('.mainSearch').removeClass('down');
			}
		}

	});

@@ -405,16 +405,56 @@
 down');%0A
+%09%09%09$('main').css(%22padding-top%22, %2244px%22)%0A
 %09%09%7D else
@@ -499,16 +499,57 @@
 wn')) %7B%0A
+%09%09%09%09$('main').css(%22padding-top%22, %220px%22);%0A
 %09%09%09%09$('.

add padding as compensation for removal of searchbar