// source --> https://weinlokal-elisabethenquelle.de/wp-content/themes/Avada/assets/min/js/general/avada-comments.js?ver=6.1.0 
jQuery(document).ready(function(){var a,b,c,d;if(jQuery(".comment-respond .comment-reply-title").length&&!jQuery(".comment-respond .comment-reply-title").parents(".woocommerce-tabs").length){for(a=avadaCommentVars.title_style_type.split(" "),b="",d=0;d<a.length;d++)b+=" sep-"+a[d];jQuery("body").hasClass("rtl")?jQuery(".comment-respond .comment-reply-title").addClass("title-heading-right"):jQuery(".comment-respond .comment-reply-title").addClass("title-heading-left"),c=' style="margin-top:'+avadaCommentVars.title_margin_top+";margin-bottom:"+avadaCommentVars.title_margin_bottom+';"',jQuery(".comment-respond .comment-reply-title").wrap('<div class="fusion-title title fusion-title-size-three'+b+'"'+c+"></div>"),-1===b.indexOf("underline")&&jQuery(".comment-respond .comment-reply-title").parent().append('<div class="title-sep-container"><div class="title-sep'+b+' "></div></div>')}jQuery(".textarea-comment").each(function(){jQuery(this).css("max-width",jQuery("#content").width())}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".textarea-comment").each(function(){jQuery(this).css("max-width",jQuery("#content").width())})})});
// source --> https://weinlokal-elisabethenquelle.de/wp-content/themes/Avada/assets/min/js/general/avada-general-footer.js?ver=6.1.0 
jQuery(document).ready(function(){jQuery(".fusion-footer .fusion-footer-widget-area .fusion-column").each(function(){jQuery(this).is(":empty")&&jQuery(this).css("margin-bottom","0")}),jQuery(".fusion-social-links-footer").find(".fusion-social-networks").children().length||(jQuery(".fusion-social-links-footer").hide(),jQuery(".fusion-footer-copyright-area .fusion-copyright-notice").css("padding-bottom","0")),jQuery(".avada-footer-fx-sticky").fusionFooterSticky(),jQuery(window).on("fusion-resize-vertical",function(){jQuery(".avada-footer-fx-sticky").fusionFooterSticky()})}),jQuery(document).ajaxComplete(function(){jQuery(".avada-footer-fx-sticky").fusionFooterSticky()}),jQuery.fn.fusionFooterSticky=function(){var a;jQuery("#boxed-wrapper").css("height","auto"),a=jQuery("#boxed-wrapper").height(),a>jQuery(window).height()?(jQuery("#boxed-wrapper").css("height","auto"),jQuery("body").css("height","auto")):(jQuery("#boxed-wrapper").css("height",""),jQuery("body").css("height",""))};
// source --> https://weinlokal-elisabethenquelle.de/wp-content/themes/Avada/assets/min/js/general/avada-quantity.js?ver=6.1.0 
function avadaAddQuantityBoxes(a){var b,c=!1;a||(a=".qty"),b=jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").find(a),b.length&&(jQuery.each(b,function(a,b){"date"!==jQuery(b).prop("type")&&"hidden"!==jQuery(b).prop("type")&&(jQuery(b).parent().hasClass("buttons_added")||(jQuery(b).parent().addClass("buttons_added").prepend('<input type="button" value="-" class="minus" />'),jQuery(b).addClass("input-text").after('<input type="button" value="+" class="plus" />'),c=!0))}),c&&(jQuery("input"+a+":not(.product-quantity input"+a+")").each(function(){var a=parseFloat(jQuery(this).attr("min"));a&&0<a&&parseFloat(jQuery(this).val())<a&&jQuery(this).val(a)}),jQuery(".plus, .minus").unbind("click"),jQuery(".plus, .minus").on("click",function(){var b=jQuery(this).parent().find(a),c=parseFloat(b.val()),d=parseFloat(b.attr("max")),e=parseFloat(b.attr("min")),f=b.attr("step");c&&""!==c&&"NaN"!==c||(c=0),""!==d&&"NaN"!==d||(d=""),""!==e&&"NaN"!==e||(e=0),"any"!==f&&""!==f&&void 0!==f&&"NaN"!==parseFloat(f)||(f=1),jQuery(this).is(".plus")?d&&(d==c||c>d)?b.val(d):b.val(c+parseFloat(f)):e&&(e==c||c<e)?b.val(e):0<c&&b.val(c-parseFloat(f)),b.trigger("change")})))}function compositeAddQuantityBoxes(){avadaAddQuantityBoxes()}jQuery(window).on("load",function(){avadaAddQuantityBoxes()}),jQuery(document).ajaxComplete(function(){avadaAddQuantityBoxes()}),jQuery(".composite_data").length&&jQuery(".composite_data").on("wc-composite-initializing",function(a,b){b.actions.add_action("component_selection_details_animated",compositeAddQuantityBoxes,10)});
// source --> https://weinlokal-elisabethenquelle.de/wp-content/themes/Avada/assets/min/js/general/avada-scrollspy.js?ver=6.1.0 
jQuery(document).ready(function(){var a="function"==typeof getAdminbarHeight?getAdminbarHeight():0,b="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0;jQuery("body").scrollspy({target:".fusion-menu",offset:parseInt(a+b+1,10)}),jQuery(window).on("load",function(){a="function"==typeof getAdminbarHeight?getAdminbarHeight():0,b="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,jQuery("body").data()["bs.scrollspy"].options.offset=parseInt(a+b+1,10)})});
// source --> https://weinlokal-elisabethenquelle.de/wp-content/themes/Avada/assets/min/js/general/avada-select.js?ver=6.1.0 
function calcSelectArrowDimensions(){jQuery(".avada-select-parent .select-arrow, .gravity-select-parent .select-arrow, .wpcf7-select-parent .select-arrow").filter(":visible").each(function(){0<jQuery(this).prev().innerHeight()&&jQuery(this).css({height:jQuery(this).prev().innerHeight(),width:jQuery(this).prev().innerHeight(),"line-height":jQuery(this).prev().innerHeight()+"px"})})}jQuery(window).on("load",function(){calcSelectArrowDimensions(),setTimeout(function(){calcSelectArrowDimensions()},100)});