function trigger_menu(){
	/*
			$("body").addClass("acik");
			
			if( $("html").hasClass("sticky-header-active") ){
				var set_height = 110;
			}else{
				var set_height = 140;
			}

			$(".white-bg").height(set_height).css({
				opacity: "1"
			}), $("#header").addClass("open");    
	*/
}

function dropdownMenu() {
	
	$(".header-nav-top .nav, .header-social-icons").hover(function() {
			// console.log("aaa");
			$("body").addClass("acik");
			var e = $(this).find(".dropdown-menu").height();
 
			$(".white-bg").height(140).css({
				opacity: "1"
			});		
			
    }, function() {
        $("body").removeClass("acik");
		$(".white-bg").css({
            height: "0"
        });
    });
	
    $("#mainNav > li").hover(function() {
		
		if (0 < $(this).find(".dropdown-menu").length) {
			
			// console.log("aaa");
			$("body").addClass("acik");
			var e = $(this).find(".dropdown-menu").height();

			$(".white-bg").height(e + 200).css({
				opacity: "1"
			});
			
			
			// $("#header").addClass("open");
			// $(this).find("> .dropdown-menu").stop().fadeIn();
		}else{
			// console.log("bbb");
			$("body").addClass("acik");
			
			if( $("html").hasClass("sticky-header-active") ){
				var set_height = 110;
			}else{
				var set_height = 140;
			}

			$(".white-bg").height(set_height).css({
				opacity: "1"
			}), $("#header").addClass("open");           
		}
    }, function() {
        $("body").removeClass("acik");
		$(".white-bg").css({
            height: "0"
        });
    });
	
	/* setTimeout(function(){ trigger_menu() }, 1000); */ 
	
    if($('.page-').length){   
        setTimeout(function(){ $('#mainNav > li:first-child').trigger("hover"); }, 2000);
        
    }
     $('#mainNav > li:first-child').trigger("hover");

}

dropdownMenu();




$('.match-height').matchHeight();
setTimeout(function(){ $('.match-height-manual').matchHeight(); }, 1000);


/*

*/

