$(window).load(function(){$("#status").fadeOut();$("#preloader").delay(1000).fadeOut("slow")});if($(window).width()<767){$('footer .col-md-3 h5').click(function(){$(this).next('ul').slideToggle();if($(this).children('.fa').hasClass('fa-angle-down'))
{$(this).children('.fa').removeClass('fa-angle-down').addClass('fa-angle-up')}else{$(this).children('.fa').addClass('fa-angle-down')}})}
if($(window).width()<768){$('.ct-language').click(function(){$(this).children('ul').slideToggle()})}
$('footer select').on('change',function(){$(this).css({'color':'#fff'})});$('#footerForm input.form-control').focus(function(){if(!$(this).val()){$(this).siblings('label').css({'opacity':'1','filter':'alpha(opacity=100)'})}})
$('#footerForm input.form-control').blur(function(){if(!$(this).val()){$(this).siblings('label').css({'opacity':'0','filter':'alpha(opacity=0)'})}})
$(function(){var windowWidth=$(window).width();$("input.searchType").focus(function(){$(this).attr('placeholder','Search');if(windowWidth>1200){$(this).css({'width':'450px','border':'1px solid #f4f4f4'})}else{$(this).css({'width':'300px','border':'1px solid #f4f4f4'})}
$(this).addClass('shadowClass')})
$("input.searchType").blur(function(){$(this).attr('placeholder','');if($(this).val()==''){$(this).css({'width':'35px','border':'none','cursor':'pointer'});$(this).removeClass('shadowClass')}else{if(windowWidth>1200){$(this).css({'width':'450px','border':'1px solid #f4f4f4','cursor':'text'})}else{$(this).css({'width':'35px','border':'1px solid #f4f4f4','cursor':'text'})}}})});if($(window).width()>992){$(window).scroll(function(){var scroll=$(window).scrollTop();if(scroll>=100){$("header").addClass("fixedHeader");$("body").addClass("topSpace")}else{$("header").removeClass("fixedHeader");$("body").removeClass("topSpace")}})}
AOS.init({duration:1200})