jQuery(document).ready(function(){jQuery("#searchicon").click(function(){jQuery("#jumbosearch").fadeIn(),jQuery("#jumbosearch input").focus()}),jQuery("#jumbosearch .closeicon").click(function(){jQuery("#jumbosearch").fadeOut()}),jQuery("body").keydown(function(e){27==e.keyCode&&jQuery("#jumbosearch").fadeOut()});var e=jQuery(".masonry-main").masonry({itemSelector:"."});e.imagesLoaded().progress(function(){e.masonry("layout")})}),window.sr=ScrollReveal(),sr.reveal(".showcase-item:nth-of-type(1)",{duration:700,origin:"left"}),sr.reveal(".showcase-item:nth-of-type(2)",{duration:1200,origin:"bottom"}),sr.reveal(".showcase-item:nth-of-type(3)",{duration:1600,origin:"right"}),sr.reveal(".section-title",{duration:700,origin:"top"}),sr.reveal(".testimonial-item:nth-of-type(1)",{duration:700,origin:"left"}),sr.reveal(".testimonial-item:nth-of-type(2)",{duration:900,origin:"right"}),sr.reveal(".testimonial-item:nth-of-type(3)",{duration:1100,origin:"left"}),sr.reveal(".testimonial-item:nth-of-type(4)",{duration:1300,origin:"right"}),sr.reveal(".testimonial-item:nth-of-type(5)",{duration:1300,origin:"right"}),sr.reveal(".counter-item:nth-of-type(1)",{duration:1200,origin:"left"}),sr.reveal(".counter-item:nth-of-type(2)",{duration:1600,origin:"top"}),sr.reveal(".counter-item:nth-of-type(3)",{duration:2e3,origin:"bottom"}),sr.reveal(".counter-item:nth-of-type(4)",{duration:2500,origin:"right"}),sr.reveal(".counter-item:nth-of-type(5)",{duration:2900,origin:"right"}),sr.reveal(".parallax-body",{duration:700,origin:"top"}),sr.reveal(".parallax-item .buttons",{duration:800,origin:"bottom"}),sr.reveal(".hero-title",{duration:900,origin:"top"}),sr.reveal(".hero-button-wrapper",{duration:1800,origin:"bottom"}),sr.reveal(".grid",{duration:2e3},200),sr.reveal("#social-icons a",{duration:500,origin:"top"},50),sr.reveal("#contact-icons .icon",{duration:500,origin:"top"},50),sr.reveal("#site-logo",{duration:1500,origin:"left"}),sr.reveal("#text-title-desc",{duration:1500,origin:"left"}),sr.reveal("#site-navigation",{duration:1500,origin:"right"}),sr.reveal("#footer-social a",{duration:500,origin:"top"},50),sr.reveal("#footer-menu li",{duration:500,origin:"top"},50),sr.reveal(".footer-column",{duration:800,origin:"top"},150),jQuery(window).load(function(){jQuery("#nivoSlider").nivoSlider({prevText:"<i class='fa fa-chevron-circle-left'></i>",nextText:"<i class='fa fa-chevron-circle-right'></i>"})}),jQuery(document).ready(function(){jQuery("#site-navigation ul.menu").mobileMenu({switchWidth:767}),jQuery("#site-navigation div.menu ul").mobileMenu({switchWidth:767})}),function($){$(document).ready(function(){function e(e){$(".slide").removeClass("visible"),$("."+e).addClass("visible")}jQuery(".slide").addClass("not-visible"),$(".slide1").addClass("visible"),$(".thumb1").addClass("arrowed"),$(".thumb").click(function(){$(".thumb").removeClass("arrowed"),$(this).addClass("arrowed"),$(this).hasClass("thumb1")&&e("slide1"),$(this).hasClass("thumb2")&&e("slide2"),$(this).hasClass("thumb3")&&e("slide3"),$(this).hasClass("thumb4")&&e("slide4")})})}(jQuery);