// source --> https://www.rennsteig-bike-tour.de/wp-content/plugins/mystickymenu/js/welcomebar-front.min.js?ver=2.8.7 
function mystickyelements_present(){var e=jQuery(".mysticky-welcomebar-fixed").data("after-triger"),t=jQuery(".mystickyelements-fixed").length,a=jQuery(".mysticky-welcomebar-fixed").data("position"),s=0;if(0!=jQuery("#wpadminbar").length)s=jQuery("#wpadminbar").height();if(jQuery(window).width()<=600&&0!=jQuery(window).scrollTop()&&"top"==a){jQuery(".mysticky-welcomebar-fixed").css("top","0px");var i=jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(i=0),jQuery("#mysticky-nav").css("top",i+"px")}else if("top"==a){var o=s+jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(o=s+0),jQuery(".mysticky-welcomebar-fixed").css("top",s+0+"px"),jQuery("#mysticky-nav").css("top",o+"px")}if(t){i=jQuery(".mysticky-welcomebar-fixed").outerHeight();var c=jQuery(".mystickyelements-fixed").height(),r=i+c;if(jQuery(window).width()<=1024&&jQuery(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top"))if("after_a_few_seconds"==e){if(jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec");setTimeout(function(){"top"==a?(jQuery(".mystickyelements-fixed").css("top",i),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+i+"px !important"))},m)}}else if("after_scroll"===e){100*$(window).scrollTop()/($(document).height()-$(window).height())>$(".mysticky-welcomebar-fixed").data("triger-sec")&&jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&("top"==a?(jQuery(".mystickyelements-fixed").css("top",i),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+i+"px !important")))}}}function IsEmail(e){return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}function validatePhone(e){return!!/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/.test(e)}jQuery(document).ready(function(e){var t=0;if(0!=e("#wpadminbar").length)t=e("#wpadminbar").height();var a=t+jQuery(".mysticky-welcomebar-fixed").outerHeight();"top"==jQuery(".mysticky-welcomebar-fixed").data("position")?jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("top","-"+a+"px"):jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("bottom","-"+a+"px");var s=e(".et_fixed_nav #top-header").outerHeight(),i=a+s,o=e(".mysticky-welcomebar-fixed").data("aftersubmission");if("dont_show_welcomebar"==o)var c=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)c=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");c=null}if(null===c){var r=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==r&&e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&e(window).width()>767){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),y=e(".mysticky-welcomebar-fixed").data("position"),l=e(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==y?(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",l+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: '+l+"px !important}.et_fixed_nav #top-header + #main-header{top: "+i+"px !important}</style>"),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},m)}if(e(window).width()<767&&"after_a_few_seconds"==r&&e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),y=e(".mysticky-welcomebar-fixed").data("position"),l=e(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==y?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},m)}mystickyelements_present()}e(window).resize(function(){var a=jQuery(".mysticky-welcomebar-fixed").outerHeight();if("dont_show_welcomebar"==o)var s=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)s=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");s=null}if(null===s){var c=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-notapper")?jQuery("body").removeClass("mysticky-welcomebar-apper"):jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==c){var r=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),m=e(".mysticky-welcomebar-fixed").data("position"),y=e(".mysticky-welcomebar-fixed").outerHeight();e(window).width()<767?e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e(".mysticky-welcomebar-apper #mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},r):e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".mysticky-welcomebar-apper.et_fixed_nav #top-header").css("top",y+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: '+y+"px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: "+i+"px !important}</style>"),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e(".mysticky-welcomebar-apper #mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},r)}mystickyelements_present()}}),jQuery(window).on("scroll",function(){if("dont_show_welcomebar"==o)var s=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)s=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");s=null}if(null===s){e(".mysticky-welcomebar-fixed").outerHeight();if("top"==(m=e(".mysticky-welcomebar-fixed").data("position"))&&e("#mysticky-nav").css("top",a+"px"),"after_scroll"===r){var i=100*e(window).scrollTop()/(e(document).height()-e(window).height()),c=jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),m=e(".mysticky-welcomebar-fixed").data("position");e(".mysticky-welcomebar-fixed").outerHeight();i>c&&(e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&e(window).width()>767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))),e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&e(window).width()<767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))))}mystickyelements_present()}}),jQuery(".mysticky-welcomebar-close, .mysticky-welcomebar-btn a").on("click",function(t){""==e(this).attr("href")&&t.preventDefault();var s=!0,i=100;if(jQuery(".mysticky-welcomebar-lead-content").length>0&&!e(this).hasClass("mysticky-welcomebar-close")){if(""==jQuery("#contact-lead-name-0").val()||""==jQuery("#contact-lead-phone-0").val()&&""==jQuery("#contact-lead-email-0").val())return localStorage.removeItem("welcomebar_close_0"),sessionStorage.removeItem("welcomebar_close_0"),e(".input-error").length&&e(".input-error").remove(),"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()&&"none"!=jQuery("#contact-lead-email-0").css("display")&&""==jQuery("#contact-lead-email-0").val()?(e('<div class="input-error"><span>Please enter your name and email</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()&&"none"!=jQuery("#contact-lead-phone-0").css("display")&&""==jQuery("#contact-lead-phone-0").val()?(e('<div class="input-error"><span>Please enter your name and phone</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()?(e('<div class="input-error"><span>Please enter your name</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-email-0").css("display")&&""==jQuery("#contact-lead-email-0").val()?(e('<div class="input-error"><span>Please, enter your email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),s=!1):"none"!=jQuery("#contact-lead-phone-0").css("display")&&""==jQuery("#contact-lead-phone-0").val()&&(e('<div class="input-error"><span>Please, enter your phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),s=!1),0==s?e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"):e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),!1;if("none"!=jQuery("#contact-lead-email-0").css("display")&&1!=IsEmail(jQuery("#contact-lead-email-0").val())&&(e(".input-error").length&&e(".input-error").remove(),e('<div class="input-error"><span>Please, enter valid email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),s=!1),"none"!=jQuery("#contact-lead-phone-0").css("display")&&1!=validatePhone(jQuery("#contact-lead-phone-0").val())&&(e(".input-error").length&&e(".input-error").remove(),e('<div class="input-error"><span>Please, enter valid phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),s=!1),1!=s)return e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"),!1;var c=[];c.contact_name=jQuery("#contact-lead-name-0").val(),c.contact_email=jQuery("#contact-lead-email-0").val(),c.contact_phone=jQuery("#contact-lead-phone-0").val(),c.contact_page_link=jQuery("#contact-lead-pagelink-0").val(),1==e(".mysticky-welcomebar-fixed").data("show-success-message")&&(e(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show());i=2e3;jQuery.ajax({url:welcomebar_frontjs.ajaxurl,type:"post",data:"contact_name="+c.contact_name+"&contact_email="+c.contact_email+"&contact_phone="+c.contact_phone+"&action=stickymenu_contact_lead_form&widget_id=0&page_link="+c.contact_page_link+"&save_form_lead=1&wpnonce="+welcomebar_frontjs.ajax_nonce,success:function(t){e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}})}else e(this).hasClass("mysticky-welcomebar-close")&&localStorage.setItem("is_close_trigger_0","yes");setTimeout(function(){"show_welcomebar_every_page"!=o&&("dont_show_welcomebar"==o?(sessionStorage.removeItem("welcomebar_close"),localStorage.setItem("welcomebar_close","close")):"show_welcomebar_next_visit"==o&&(localStorage.removeItem("welcomebar_close"),sessionStorage.setItem("welcomebar_close","close")));var t=e(".mysticky-welcomebar-fixed").data("position");e(".mysticky-welcomebar-fixed").outerHeight();if(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-notapper"),jQuery("body").removeClass("mysticky-welcomebar-apper"),jQuery(".mysticky-welcomebar-fixed").slideUp("slow"),"top"==t?jQuery(".mysticky-welcomebar-fixed").css("top","-"+a+"px"):jQuery(".mysticky-welcomebar-fixed").css("bottom","-"+a+"px"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),jQuery("html").css("margin-top",""),jQuery("html").css("margin-bottom",""),e("#mysticky-nav").css("top","0px"),e(".mystickyelements-fixed").length&&e(window).width()<=1024&&e(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top")&&"top"==t){var s=e(".mystickyelements-fixed").height();e(".mystickyelements-fixed").css("top",""),e("html").animate({"margin-top":s+"px"},1e3,function(){e("html").css("cssText","margin-top:"+s+"px!important;")})}},i),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}),e(".mysticky-welcomebar-close").on("keydown",function(t){"13"==t.keyCode&&e(this).trigger("click")})}),jQuery(".mysticky-welcomebar-fixed").on("animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",function(){jQuery(this).removeClass("animation-start")}),jQuery(document).ready(function(){var e=jQuery(".mysticky-welcomebar-fixed");setInterval(function(){e.addClass("animation-start")},3500)});
// source --> https://www.rennsteig-bike-tour.de/wp-content/plugins/mystickymenu/js/detectmobilebrowser.min.js?ver=2.8.7 
!function(i){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4))}(navigator.userAgent||navigator.vendor||window.opera);