function astra_font_size_rem(t,e,o){var n="";if(""!=t){o=null!=typeof o?o:"desktop";if(n="font-size: "+t+"px;",e){var r=wp.customize("astra-settings[font-size-body]").get();r.desktop=""!=r.desktop?r.desktop:15,r.tablet=""!=r.tablet?r.tablet:r.desktop,r.mobile=""!=r.mobile?r.mobile:r.tablet,n+="font-size: "+t/r[o]+"rem;"}}return n}function astra_color_responsive_css(r,s,i,a){wp.customize(s,function(t){t.bind(function(t){if(t.desktop||t.mobile||t.tablet){s=(s=s.replace("[","-")).replace("]",""),jQuery("style#"+s+"-"+r).remove();var e="",o="",n="";""!=t.desktop&&(e=i+": "+t.desktop),""!=t.tablet&&(o=i+": "+t.tablet),""!=t.mobile&&(n=i+": "+t.mobile),jQuery("head").append('")}else wp.customize.preview.send("refresh"),jQuery("style#"+s+"-"+r).remove()})})}function astra_responsive_font_size(s,i){wp.customize(s,function(t){t.bind(function(t){if(t.desktop||t.mobile||t.tablet){s=(s=s.replace("[","-")).replace("]",""),jQuery("style#"+s+"-"+r).remove();var e="",o="",n="",r="font-size";""!=t.desktop&&(e="font-size: "+t.desktop+t["desktop-unit"]),""!=t.tablet&&(o="font-size: "+t.tablet+t["tablet-unit"]),""!=t.mobile&&(n="font-size: "+t.mobile+t["mobile-unit"]),"px"==t["desktop-unit"]&&(e=astra_font_size_rem(t.desktop,!0,"desktop")),jQuery("head").append('")}else jQuery("style#"+s).remove()})})}function astra_responsive_spacing(a,u,b,m){wp.customize(a,function(t){t.bind(function(o){var t="",n="padding";if(o.desktop.top||o.desktop.right||o.desktop.bottom||o.desktop.left||o.tablet.top||o.tablet.right||o.tablet.bottom||o.tablet.left||o.mobile.top||o.mobile.right||o.mobile.bottom||o.mobile.left){null!=typeof m&&(t=(t=m+"").replace(/,/g,"-")),null!=typeof b&&(n=b+""),a=(a=a.replace("[","-")).replace("]",""),jQuery("style#"+a+"-"+n+"-"+t).remove();var r="",s="",i="",e=null!=typeof m?m:["top","bottom","right","left"];jQuery.each(e,function(t,e){""!=o.desktop[e]&&(r+=n+"-"+e+": "+o.desktop[e]+o["desktop-unit"]+";")}),jQuery.each(e,function(t,e){""!=o.tablet[e]&&(s+=n+"-"+e+": "+o.tablet[e]+o["tablet-unit"]+";")}),jQuery.each(e,function(t,e){""!=o.mobile[e]&&(i+=n+"-"+e+": "+o.mobile[e]+o["mobile-unit"]+";")}),jQuery("head").append('")}else wp.customize.preview.send("refresh"),jQuery("style#"+a+"-"+n+"-"+t).remove()})})}function astra_css_font_size(o,n){wp.customize(o,function(t){t.bind(function(t){if(t){o=(o=o.replace("[","-")).replace("]",""),jQuery("style#"+o).remove();var e="font-size: "+t;(!isNaN(t)||0<=t.indexOf("px"))&&(e=astra_font_size_rem(t=t.replace("px",""),!0)),jQuery("head").append('")}else jQuery("style#"+o).remove()})})}function get_hexdec(t){var e=t.toString(16);return parseInt(e,16)}function astra_css(e,o,n,r){wp.customize(e,function(t){t.bind(function(t){e=(e=e.replace("[","-")).replace("]",""),t?(void 0!==r&&("url"===r?t="url("+t+")":t+=r),jQuery("style#"+e+"-"+o).remove(),jQuery("head").append('")):jQuery("style#"+e).remove()})})}function astra_add_dynamic_css(t,e){t=(t=t.replace("[","-")).replace("]",""),jQuery("style#"+t).remove(),jQuery("head").append('")}function astra_background_obj_css(t,e,o,n){var r="",s=e["background-image"],i=e["background-color"];""===i&&""===s?t.preview.send("refresh"):(""!==s&&""!==i?void 0!==i&&(r="background-image: linear-gradient(to right, "+i+", "+i+"), url("+s+");"):""!==s?r="background-image: url("+s+");":""!==i&&(r="background-color: "+i+";",r+="background-image: none;"),""!==s&&(r+="background-repeat: "+e["background-repeat"]+";",r+="background-position: "+e["background-position"]+";",r+="background-size: "+e["background-size"]+";",r+="background-attachment: "+e["background-attachment"]+";"),astra_add_dynamic_css(o,n.replace("{{css}}",r)))}function astra_apply_background_css(t,a,u){wp.customize(t,function(t){t.bind(function(t,e){var o=JSON.parse(t);if(bg_obj=o[a],""!==bg_obj&&void 0!==bg_obj){jQuery("style#"+a).remove();var n="",r=bg_obj["background-image"],s=bg_obj["background-color"];""!==r&&""!==s?void 0!==s&&(n="background-image: linear-gradient(to right, "+s+", "+s+"), url("+r+");"):""!==r?n="background-image: url("+r+");":""!==s&&(n="background-color: "+s+";"),""==r?n+="background-image: none;":(n+="background-repeat: "+bg_obj["background-repeat"]+";",n+="background-position: "+bg_obj["background-position"]+";",n+="background-size: "+bg_obj["background-size"]+";",n+="background-attachment: "+bg_obj["background-attachment"]+";");var i='";jQuery("head").append(i)}})})}function astra_generate_outside_font_family_css(s,i){wp.customize(s,function(t){t.bind(function(t,e){var o="font-family",n="";if(r=(r=t.split(",")[0]).replace(/'/g,""),s=(s=s.replace("[","-")).replace("]",""),jQuery("style#"+s+"-"+o).remove(),r in astraCustomizer.googleFonts){var r=r.split(" ").join("+");jQuery("link#"+s).remove(),n=''}jQuery("head").append('"+n)})})}function astra_generate_font_weight_css(e,o,n,r){wp.customize(o,function(t){t.bind(function(t){o=(o=o.replace("[","-")).replace("]",""),t?("undefined"!=typeof unit&&("url"===unit?t="url("+t+")":t+=unit),fontName=wp.customize._value[e]._value,fontName=fontName.split(","),fontName=fontName[0].replace(/'/g,""),jQuery("style#"+o+"-"+n).remove(),fontName in astraCustomizer.googleFonts&&(jQuery("#"+e).remove(),link=''),jQuery("head").append('"+link)):jQuery("style#"+o).remove()})})}function getChangedKey(t,e){t=isJsonString(t)?JSON.parse(t):t,e=isJsonString(e)?JSON.parse(e):e;function o(t,e){var o=Object.prototype.toString.call(t);if(0<=["[object Array]","[object Object]"].indexOf(o)){if("string"==typeof getChangedKey(t,e))return!1}else{if(o!==Object.prototype.toString.call(e))return!1;if("[object Function]"===o){if(t.toString()!==e.toString())return!1}else if(t!==e)return!1}}for(var n in t){if(!e.hasOwnProperty(n)||!t.hasOwnProperty(n))return n;if(!1===o(t[n],e[n]))return n}return!0}function isJsonString(t){try{JSON.parse(t)}catch(t){return!1}return!0}!function(o){wp.customize("astra-settings[ast-header-responsive-logo-width]",function(t){t.bind(function(t){""!=t.desktop||""!=t.tablet||""!=t.mobile?(astra_add_dynamic_css("ast-header-responsive-logo-width","#masthead .site-logo-img .custom-logo-link img { max-width: "+t.desktop+"px;} .astra-logo-svg{width: "+t.desktop+"px;} @media( max-width: 768px ) { #masthead .site-logo-img .custom-logo-link img { max-width: "+t.tablet+"px;} .astra-logo-svg{width: "+t.tablet+"px; } } @media( max-width: 544px ) { .ast-header-break-point .site-branding img, .ast-header-break-point #masthead .site-logo-img .custom-logo-link img { max-width: "+t.mobile+"px;} .astra-logo-svg{width: "+t.mobile+"px; } }"),astra_add_dynamic_css("mobile-header-logo-width",".ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.tablet+"px; } @media( max-width: 768px ) { .ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.tablet+"px; } @media( max-width: 544px ) { .ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.mobile+"px; }")):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[site-content-width]",function(t){t.bind(function(t){var e="@media (min-width: 554px) {";e+=".ast-container, .fl-builder #content .entry-header { max-width: "+(40+parseInt(t))+"px } ",e+="}",jQuery("body").hasClass("ast-page-builder-template")&&(e+="@media (min-width: 554px) {",e+=".ast-page-builder-template .comments-area { max-width: "+(40+parseInt(t))+"px } ",e+="}"),astra_add_dynamic_css("site-content-width",e)})}),wp.customize("astra-settings[header-main-menu-label]",function(t){t.bind(function(t){if(0'+t+" "),o("button.main-header-menu-toggle").html(e)}})}),wp.customize("astra-settings[site-layout-outside-bg-obj]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"site-layout-outside-bg-obj","body,.ast-separate-container { {{css}} }")})}),wp.customize("astra-settings[blog-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";jQuery("body").hasClass("ast-woo-shop-archive")||(e+=".blog .site-content > .ast-container,.archive .site-content > .ast-container{ max-width: "+parseInt(t)+"px } "),jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".blog .site-content > .ast-container,.archive .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("blog-max-width",e+="}")})}),wp.customize("astra-settings[blog-single-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";e+=".single-post .site-content > .ast-container{ max-width: "+(40+parseInt(t))+"px } ",jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".single-post .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("blog-single-max-width",e+="}")})}),wp.customize("astra-settings[edd-archive-max-width]",function(t){t.bind(function(t){astra_add_dynamic_css("edd-archive-max-width",".ast-edd-archive-page .site-content > .ast-container { max-width: "+parseInt(t)+"px } ")})}),wp.customize("astra-settings[site-sidebar-width]",function(t){t.bind(function(t){if(!jQuery("body").hasClass("ast-no-sidebar")&&15<=t&&t<=50){var e="@media (min-width: 769px) {";e+="#primary { width: "+(100-parseInt(t))+"% } ",e+="#secondary { width: "+t+"% } ",astra_add_dynamic_css("site-sidebar-width",e+="}")}})}),wp.customize("astra-settings[header-main-sep]",function(t){t.bind(function(t){var e="body.ast-header-break-point .site-header { border-bottom-width: "+t+"px }";e+=".ast-desktop .main-header-bar {",e+="border-bottom-width: "+t+"px",astra_add_dynamic_css("header-main-sep",e+="}")})}),wp.customize("astra-settings[footer-sml-divider]",function(t){t.bind(function(t){jQuery(".ast-small-footer").css("border-top-width",t+"px")})}),wp.customize("astra-settings[footer-adv-border-width]",function(t){t.bind(function(t){jQuery(".footer-adv .footer-adv-overlay").css("border-top-width",t+"px")})}),wp.customize("astra-settings[footer-adv-border-color]",function(t){t.bind(function(t){jQuery(".footer-adv .footer-adv-overlay").css("border-top-color",t)})}),wp.customize("astra-settings[footer-sml-divider-color]",function(t){t.bind(function(t){jQuery(".ast-small-footer").css("border-top-color",t)})}),wp.customize("astra-settings[theme-button-border-group]",function(t){t.bind(function(t){var e='.menu-toggle,button,.ast-button,input#submit,input[type="button"],input[type="submit"],input[type="reset"] { border-radius: '+parseInt(t)+"px } ";jQuery("body").hasClass("woocommerce")&&(e+=".woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] { border-radius: "+parseInt(t)+"px } "),astra_add_dynamic_css("button-radius",e)})}),wp.customize("astra-settings[header-main-sep]",function(t){t.bind(function(t){var e=" body.ast-header-break-point .site-header { border-bottom-width: "+t+"px } ";e+=".ast-desktop .main-header-bar {",e+="border-bottom-width: "+t+"px",astra_add_dynamic_css("header-main-sep",e+="}")})}),wp.customize("astra-settings[header-main-sep-color]",function(t){t.bind(function(t){if(""==t&&wp.customize.preview.send("refresh"),t){var e=" .ast-desktop .main-header-bar { border-bottom-color: "+t+"; } ";astra_add_dynamic_css("header-main-sep-color",e+=" body.ast-header-break-point .site-header { border-bottom-color: "+t+"; } ")}})}),wp.customize("astra-settings[mobile-header-toggle-btn-style-color]",function(t){t.bind(function(t){if(""!=t){if(jQuery(".menu-toggle").hasClass("ast-mobile-menu-buttons-fill"))var e=".ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle { background: "+t+"}";else if(jQuery(".menu-toggle").hasClass("ast-mobile-menu-buttons-outline"))e=".ast-header-break-point .ast-mobile-menu-buttons-outline.menu-toggle { border: 1px solid "+t+"; color: "+t+"}";else e=".ast-header-break-point .ast-mobile-menu-buttons-minimal.menu-toggle { color: "+t+"}";astra_add_dynamic_css("primary-toggle-button-color",e)}else wp.customize.preview.send("refresh")})}),astra_responsive_font_size("astra-settings[font-size-site-tagline]",".site-header .site-description"),astra_responsive_font_size("astra-settings[font-size-site-title]",".site-title"),astra_responsive_font_size("astra-settings[font-size-entry-title]",".ast-single-post .entry-title, .page-title"),astra_responsive_font_size("astra-settings[font-size-archive-summary-title]",".ast-archive-description .ast-archive-title"),astra_responsive_font_size("astra-settings[font-size-page-title]","body:not(.ast-single-post) .entry-title"),1==astraCustomizer.includeAnchorsInHeadindsCss?(astra_responsive_font_size("astra-settings[font-size-h1]","h1, .entry-content h1, .entry-content h1 a"),astra_responsive_font_size("astra-settings[font-size-h2]","h2, .entry-content h2, .entry-content h2 a"),astra_responsive_font_size("astra-settings[font-size-h3]","h3, .entry-content h3, .entry-content h3 a"),astra_responsive_font_size("astra-settings[font-size-h4]","h4, .entry-content h4, .entry-content h4 a"),astra_responsive_font_size("astra-settings[font-size-h5]","h5, .entry-content h5, .entry-content h5 a"),astra_responsive_font_size("astra-settings[font-size-h6]","h6, .entry-content h6, .entry-content h6 a")):(astra_responsive_font_size("astra-settings[font-size-h1]","h1, .entry-content h1"),astra_responsive_font_size("astra-settings[font-size-h2]","h2, .entry-content h2"),astra_responsive_font_size("astra-settings[font-size-h3]","h3, .entry-content h3"),astra_responsive_font_size("astra-settings[font-size-h4]","h4, .entry-content h4"),astra_responsive_font_size("astra-settings[font-size-h5]","h5, .entry-content h5"),astra_responsive_font_size("astra-settings[font-size-h6]","h6, .entry-content h6")),wp.customize("astra-settings[para-margin-bottom]",function(t){t.bind(function(t){""==t&&wp.customize.preview.send("refresh"),t&&astra_add_dynamic_css("para-margin-bottom"," p, .entry-content p { margin-bottom: "+t+"em; } ")})}),astraCustomizer.page_builder_button_style_css?1==astraCustomizer.includeAnchorsInHeadindsCss?astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a, .elementor-widget-heading h1.elementor-heading-title, .elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title, .elementor-widget-heading h4.elementor-heading-title, .elementor-widget-heading h5.elementor-heading-title, .elementor-widget-heading h6.elementor-heading-title"):astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a, .elementor-widget-heading h1.elementor-heading-title, .elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title, .elementor-widget-heading h4.elementor-heading-title, .elementor-widget-heading h5.elementor-heading-title, .elementor-widget-heading h6.elementor-heading-title"):1==astraCustomizer.includeAnchorsInHeadindsCss?astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"):astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),1==astraCustomizer.includeAnchorsInHeadindsCss?(astra_generate_outside_font_family_css("astra-settings[headings-font-family]","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"),astra_css("astra-settings[headings-font-weight]","font-weight","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"),astra_css("astra-settings[headings-text-transform]","text-transform","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a")):(astra_generate_outside_font_family_css("astra-settings[headings-font-family]","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),astra_css("astra-settings[headings-font-weight]","font-weight","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),astra_css("astra-settings[headings-text-transform]","text-transform","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a")),astra_css("astra-settings[footer-color]","color",".ast-small-footer"),astra_css("astra-settings[footer-link-color]","color",".ast-small-footer a"),astra_css("astra-settings[footer-link-h-color]","color",".ast-small-footer a:hover"),wp.customize("astra-settings[footer-bg-obj]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"footer-bg-obj"," .ast-small-footer > .ast-footer-overlay { {{css}} }")})}),astra_css("astra-settings[footer-adv-wgt-title-color]","color",".footer-adv .widget-title, .footer-adv .widget-title a"),astra_css("astra-settings[footer-adv-text-color]","color",".footer-adv"),astra_css("astra-settings[footer-adv-link-color]","color",".footer-adv a"),astra_css("astra-settings[footer-adv-link-h-color]","color",".footer-adv a:hover, .footer-adv .no-widget-text a:hover, .footer-adv a:focus, .footer-adv .no-widget-text a:focus"),wp.customize("astra-settings[footer-adv-bg-obj]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"footer-adv-bg-obj"," .footer-adv-overlay { {{css}} }")})}),wp.customize("astra-settings[shop-archive-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";e+=".ast-woo-shop-archive .site-content > .ast-container{ max-width: "+parseInt(t)+"px } ",jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".ast-woo-shop-archive .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("shop-archive-max-width",e+="}")})}),wp.customize("astra-settings[mobile-header-toggle-btn-style]",function(t){t.bind(function(t){var e=o(document).find(".ast-mobile-menu-buttons .menu-toggle");e.removeClass("ast-mobile-menu-buttons-default ast-mobile-menu-buttons-fill ast-mobile-menu-buttons-outline"),e.removeClass("ast-mobile-menu-buttons-default ast-mobile-menu-buttons-fill ast-mobile-menu-buttons-minimal"),e.addClass("ast-mobile-menu-buttons-"+t)})}),wp.customize("astra-settings[mobile-header-toggle-btn-border-radius]",function(t){t.bind(function(t){astra_add_dynamic_css("mobile-header-toggle-btn-border-radius",".ast-header-break-point .main-header-bar .ast-button-wrap .menu-toggle { border-radius: "+parseInt(t)+"px } ")})}),wp.customize("astra-settings[primary-submenu-border]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[primary-submenu-b-color]").get();if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var o=".ast-desktop .main-header-menu.submenu-with-border .sub-menu, .ast-desktop .main-header-menu.submenu-with-border .children";o+="{",o+="border-top-width:"+t.top+"px;",o+="border-right-width:"+t.right+"px;",o+="border-left-width:"+t.left+"px;",o+="border-bottom-width:"+t.bottom+"px;",o+="border-color:"+e+";",o+="border-style: solid;",o+="}",o+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .sub-menu, .ast-desktop .main-header-menu.submenu-with-border .children .children",o+="{",o+="top:-"+t.top+"px;",o+="}",o+="@media (min-width: 769px){",o+=".main-header-menu .sub-menu li.ast-left-align-sub-menu:hover > ul, .main-header-menu .sub-menu li.ast-left-align-sub-menu.focus > ul",o+="{",o+="margin-left:-"+(+t.left+ +t.right)+"px;",o+="}",astra_add_dynamic_css("primary-submenu-border",o+="}")}else wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-b-color]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[primary-submenu-border]").get();if(""!=t){if(""!=e.top||""!=e.right||""!=e.bottom||""!=e.left){var o=".ast-desktop .main-header-menu.submenu-with-border .sub-menu, .ast-desktop .main-header-menu.submenu-with-border .children";o+="{",o+="border-top-width:"+e.top+"px;",o+="border-right-width:"+e.right+"px;",o+="border-left-width:"+e.left+"px;",o+="border-bottom-width:"+e.bottom+"px;",o+="border-color:"+t+";",o+="border-style: solid;",o+="}",o+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .sub-menu, .ast-desktop .main-header-menu.submenu-with-border .children .children",o+="{",o+="top:-"+e.top+"px;",o+="}",o+="@media (min-width: 769px){",o+=".main-header-menu .sub-menu li.ast-left-align-sub-menu:hover > ul, .main-header-menu .sub-menu li.ast-left-align-sub-menu.focus > ul",o+="{",o+="margin-left:-"+(+e.left+ +e.right)+"px;",o+="}",astra_add_dynamic_css("primary-submenu-border-color",o+="}")}}else wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-item-b-color]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[primary-submenu-item-border]").get();if(""!=t){if(1==e){var o="";o+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu a, .ast-desktop .main-header-menu.submenu-with-border .children a",o+="{",o+="border-bottom-width:"+(!0===e?"1px;":"0px;"),o+="border-color:"+t+";",o+="border-style: solid;",astra_add_dynamic_css("primary-submenu-item-b-color",o+="}")}}else wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-item-border]",function(t){t.bind(function(t){var e=wp.customize("astra-settings[primary-submenu-item-b-color]").get();if(!0===t){var o=".ast-desktop .main-header-menu.submenu-with-border .sub-menu a, .ast-desktop .main-header-menu.submenu-with-border .children a";o+="{",o+="border-bottom-width:"+(!0===t?"1px;":"0px;"),o+="border-color:"+e+";",o+="border-style: solid;",astra_add_dynamic_css("primary-submenu-item-border",o+="}")}else wp.customize.preview.send("refresh")})}),astra_css("astra-settings[header-main-rt-section-button-text-color]","color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-back-color]","background-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-text-h-color]","color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_css("astra-settings[header-main-rt-section-button-back-h-color]","background-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_css("astra-settings[header-main-rt-section-button-border-radius]","border-radius",".main-header-bar .ast-container .button-custom-menu-item .ast-custom-button-link .ast-custom-button","px"),astra_css("astra-settings[header-main-rt-section-button-border-color]","border-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-border-h-color]","border-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_responsive_spacing("astra-settings[header-main-rt-section-button-padding]",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button","padding",["top","right","bottom","left"]),astra_css("astra-settings[button-radius]","border-radius",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button.elementor-size-sm, .elementor-button-wrapper .elementor-button.elementor-size-xs, .elementor-button-wrapper .elementor-button.elementor-size-md, .elementor-button-wrapper .elementor-button.elementor-size-lg, .elementor-button-wrapper .elementor-button.elementor-size-xl, .elementor-button-wrapper .elementor-button',"px"),astra_css("astra-settings[theme-button-border-group-border-color]","border-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .wp-block-button .wp-block-button__link'),astra_css("astra-settings[theme-button-border-group-border-h-color]","border-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus'),wp.customize("astra-settings[theme-button-border-group-border-size]",function(t){t.bind(function(t){if(""!=t.top||""!=t.right||""!=t.bottom||""!=t.left){var e='.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .wp-block-button .wp-block-button__link';e+="{",e+="border-top-width:"+t.top+"px;",e+="border-right-width:"+t.right+"px;",e+="border-left-width:"+t.left+"px;",e+="border-bottom-width:"+t.bottom+"px;",e+="border-style: solid;",astra_add_dynamic_css("theme-button-border-group-border-size",e+="}")}})}),wp.customize("astra-settings[transparent-header-button-border-group]",function(t){t.bind(function(t){var e=JSON.parse(t)["header-main-rt-trans-section-button-border-size"];if(""!=e.top||""!=e.right||""!=e.bottom||""!=e.left){var o=".ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button";o+="{",o+="border-top-width:"+e.top+"px;",o+="border-right-width:"+e.right+"px;",o+="border-left-width:"+e.left+"px;",o+="border-bottom-width:"+e.bottom+"px;",o+="border-style: solid;",astra_add_dynamic_css("header-main-rt-trans-section-button-border-size",o+="}")}})}),astra_generate_outside_font_family_css("astra-settings[font-family-site-title]",".site-title, .site-title a"),astra_css("astra-settings[font-weight-site-title]","font-weight",".site-title, .site-title a"),astra_responsive_font_size("astra-settings[font-size-site-title]",".site-title, .site-title a"),astra_css("astra-settings[line-height-site-title]","line-height",".site-title, .site-title a"),astra_css("astra-settings[text-transform-site-title]","text-transform",".site-title, .site-title a"),astra_generate_outside_font_family_css("astra-settings[font-family-site-tagline]",".site-header .site-description"),astra_css("astra-settings[font-weight-site-tagline]","font-weight",".site-header .site-description"),astra_responsive_font_size("astra-settings[font-size-site-tagline]",".site-header .site-description"),astra_css("astra-settings[line-height-site-tagline]","line-height",".site-header .site-description"),astra_css("astra-settings[text-transform-site-tagline]","text-transform",".site-header .site-description"),astraCustomizer.page_builder_button_style_css?(astra_css("astra-settings[button-color]","color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .wp-block-button .wp-block-button__link'),astra_css("astra-settings[button-bg-color]","background-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .wp-block-button .wp-block-button__link'),astra_css("astra-settings[button-bg-color]","border-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited, .wp-block-button .wp-block-button__link'),astra_css("astra-settings[button-h-color]","color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus'),astra_css("astra-settings[button-bg-h-color]","background-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus'),astra_css("astra-settings[theme-button-border-group-border-h-color]","border-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus'),wp.customize("astra-settings[button-bg-h-color]",function(t){t.bind(function(t){astra_add_dynamic_css("button-bg-h-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { border-color: '+t+" } ")})}),wp.customize("astra-settings[button-radius]",function(t){t.bind(function(t){var e='.menu-toggle,button,.ast-button,input#submit,input[type="button"],input[type="submit"],input[type="reset"],.elementor-button-wrapper .elementor-button, .wp-block-button .wp-block-button__link { border-radius: '+parseInt(t)+"px } ";jQuery("body").hasClass("woocommerce")&&(e+=".woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] { border-radius: "+parseInt(t)+"px } "),astra_add_dynamic_css("button-radius",e)})}),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], .elementor-button-wrapper .elementor-button.elementor-size-sm, .elementor-button-wrapper .elementor-button.elementor-size-xs, .elementor-button-wrapper .elementor-button.elementor-size-md, .elementor-button-wrapper .elementor-button.elementor-size-lg, .elementor-button-wrapper .elementor-button.elementor-size-xl, .elementor-button-wrapper .elementor-button, .wp-block-button .wp-block-button__link',"padding",["top","bottom"]),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], .elementor-button-wrapper .elementor-button.elementor-size-sm, .elementor-button-wrapper .elementor-button.elementor-size-xs, .elementor-button-wrapper .elementor-button.elementor-size-md, .elementor-button-wrapper .elementor-button.elementor-size-lg, .elementor-button-wrapper .elementor-button.elementor-size-xl, .elementor-button-wrapper .elementor-button, .wp-block-button .wp-block-button__link',"padding",["left","right"])):(astra_css("astra-settings[button-color]","color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"]'),astra_css("astra-settings[button-bg-color]","background-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"]'),astra_css("astra-settings[button-bg-color]","border-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"]'),astra_css("astra-settings[button-h-color]","color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus'),astra_css("astra-settings[button-bg-h-color]","background-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus'),astra_css("astra-settings[theme-button-border-group-border-h-color]","border-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus'),wp.customize("astra-settings[button-bg-h-color]",function(t){t.bind(function(t){astra_add_dynamic_css("theme-button-border-group-border-h-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus { border-color: '+t+" } ")})}),wp.customize("astra-settings[button-radius]",function(t){t.bind(function(t){var e='.menu-toggle,button,.ast-button,input#submit,input[type="button"],input[type="submit"],input[type="reset"] { border-radius: '+parseInt(t)+"px } ";jQuery("body").hasClass("woocommerce")&&(e+=".woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] { border-radius: "+parseInt(t)+"px } "),astra_add_dynamic_css("button-radius",e)})}),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled]',"padding",["top","bottom"]),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled]',"padding",["left","right"]))}(jQuery);