!function(a){"use strict";a.fn.fusion_footer_parallax=function(){var b,c,d=a(this),e=0,f=0;setTimeout(function(){var g="fixed"===d.css("position")?a("#wrapper").outerHeight():a("#wrapper").outerHeight()-d.outerHeight();a("#boxed-wrapper").length&&(e=a("body").offset().top,f=a("body").outerHeight(!0)-a("body").outerHeight()-e),d.outerHeight()+f<a(window).height()&&g>a(window).height()&&("Top"===avadaParallaxFooterVars.header_position||"Top"!==avadaParallaxFooterVars.header_position&&a(window).height()>a(".side-header-wrapper").height())&&Modernizr.mq("only screen and (min-width:"+parseInt(avadaParallaxFooterVars.side_header_break_point,10)+"px)")&&!Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait)")&&!Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)")?(d.css({position:"",margin:"",padding:"","max-width":""}),a("#boxed-wrapper").length&&d.css("bottom",f),a("#main").css("margin-bottom",d.outerHeight()+f),1<=a(".tfs-slider").length&&1==a(".tfs-slider").data("parallax")&&d.hasClass("fusion-footer-parallax")&&(b=a(".tfs-slider").parents("#sliders-container").outerHeight(),c=d.outerHeight(),b>c?a("#main").css("min-height",b+10):c>b&&a("#main").css("min-height",c+10))):(d.css({position:"static",margin:"0",padding:"0",bottom:"0","max-width":"none"}),a("#main").css({"margin-bottom":"","min-height":""}))},1)}}(jQuery),jQuery(document).ready(function(){jQuery(".fusion-footer-parallax").fusion_footer_parallax(),jQuery(window).on("resize",function(){jQuery(".fusion-footer-parallax").fusion_footer_parallax()})});