!function(o){wp.customize("afft-content-product-current-price-color",function(t){t.bind(function(t){o(".current-price").css("color",t)})}),wp.customize("afft-content-product-old-price-color",function(t){t.bind(function(t){o(".old-price").css("color",t)})}),wp.customize("afft-content-product-star-rating-color",function(t){t.bind(function(t){var n=o(".product-review-rating");n.css("color",t)})}),wp.customize("afft-content-product-custom-tag-text-color",function(t){t.bind(function(t){o(".product-tags .tag, .product-preview-tag-bar .tag:not(.tag-price), .product-relations-item-tag-bar .tag:not(.tag-price)").css("color",t)})}),wp.customize("afft-content-product-custom-tag-text-color-hover",function(t){t.bind(function(t){o(".product-tags .tag, .product-preview-tag-bar .tag:not(.tag-price), .product-relations-item-tag-bar .tag:not(.tag-price)").hover(function(n){var e=wp.customize.instance("afft-content-product-custom-tag-text-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-custom-tag-background-color",function(t){t.bind(function(t){o(".product-tags .tag, .product-preview-tag-bar .tag:not(.tag-price), .product-relations-item-tag-bar .tag:not(.tag-price)").css("background-color",t)})}),wp.customize("afft-content-product-custom-tag-background-color-hover",function(t){t.bind(function(t){o(".product-tags .tag, .product-preview-tag-bar .tag:not(.tag-price), .product-relations-item-tag-bar .tag:not(.tag-price)").hover(function(n){var e=wp.customize.instance("afft-content-product-custom-tag-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-price-tag-text-color",function(t){t.bind(function(t){o(".product-preview-tag-bar .tag-price, .product-relations-item-tag-bar .tag-price").css("color",t)})}),wp.customize("afft-content-product-price-tag-text-color-hover",function(t){t.bind(function(t){o(".product-preview-tag-bar .tag-price, .product-relations-item-tag-bar .tag-price").hover(function(n){var e=wp.customize.instance("afft-content-product-price-tag-text-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-price-tag-background-color",function(t){t.bind(function(t){o(".product-preview-tag-bar .tag-price, .product-relations-item-tag-bar .tag-price").css("background-color",t)})}),wp.customize("afft-content-product-price-tag-background-color-hover",function(t){t.bind(function(t){o(".product-preview-tag-bar .tag-price, .product-relations-item-tag-bar .tag-price").hover(function(n){var e=wp.customize.instance("afft-content-product-price-tag-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-details-background-color-odd",function(t){t.bind(function(t){var n=o(".product-details.table > tbody > tr:nth-child(odd)");n.css("background-color",t)})}),wp.customize("afft-content-product-details-background-color-even",function(t){t.bind(function(t){var n=o(".product-details.table > tbody > tr:nth-child(even)");n.css("background-color",t)})}),wp.customize("afft-content-product-details-border-color",function(t){t.bind(function(t){var n=o(".product-details.table > tbody > tr > td");n.css("border-color",t)})}),wp.customize("afft-content-product-attributes-choice-background-color",function(t){t.bind(function(t){var n=o("li.aff-product-attributes-choice:not(.selected)");n.css("background-color",t)})}),wp.customize("afft-content-product-attributes-choice-background-color-hover",function(t){t.bind(function(t){o("li.aff-product-attributes-choice:not(.selected)").hover(function(n){var e=wp.customize.instance("afft-content-product-attributes-choice-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-attributes-choice-background-color-selected",function(t){t.bind(function(t){var n=o("li.aff-product-attributes-choice.selected");n.css("background-color",t)})}),wp.customize("afft-content-product-attributes-choice-border-color",function(t){t.bind(function(t){var n=o("li.aff-product-attributes-choice:not(.selected)");n.css("border-color",t)})}),wp.customize("afft-content-product-attributes-choice-border-color-hover",function(t){t.bind(function(t){o("li.aff-product-attributes-choice:not(.selected)").hover(function(n){var e=wp.customize.instance("afft-content-product-attributes-choice-border-color").get();o(this).css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-product-attributes-choice-border-color-selected",function(t){t.bind(function(t){var n=o("li.aff-product-attributes-choice.selected");n.css("border-color",t)})}),wp.customize("afft-content-post-date-day-color",function(t){t.bind(function(t){o(".entry-date .day, .entry-preview-date .day").css("color",t)})}),wp.customize("afft-content-post-date-month-color",function(t){t.bind(function(t){o(".entry-date .month, .entry-preview-date .month").css("color",t)})}),wp.customize("afft-content-post-date-year-color",function(t){t.bind(function(t){o(".entry-date .year, .entry-preview-date .year").css("color",t)})}),wp.customize("afft-content-post-category-color",function(t){t.bind(function(t){o(".entry-categories a, .entry-preview-categories a").css("color",t)})}),wp.customize("afft-content-post-category-color-hover",function(t){t.bind(function(t){o(".entry-categories a, .entry-preview-categories a").hover(function(n){var e=wp.customize.instance("afft-content-post-category-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-post-tag-link-color",function(t){t.bind(function(t){o(".entry-tags .label a, .entry-preview-tags .label a").css("color",t)})}),wp.customize("afft-content-post-tag-link-color-hover",function(t){t.bind(function(t){o(".entry-tags .label a, .entry-preview-tags .label a").hover(function(n){var e=wp.customize.instance("afft-content-post-tag-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-post-tag-background-color",function(t){t.bind(function(t){o(".entry-tags .label, .entry-preview-tags .label").css("background-color",t)})}),wp.customize("afft-content-post-tag-background-color-hover",function(t){t.bind(function(t){o(".entry-tags .label, .entry-preview-tags .label").hover(function(n){var e=wp.customize.instance("afft-content-post-tag-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-taxonomy-title-color",function(t){t.bind(function(t){o(".taxonomy-title").css("color",t)})}),wp.customize("afft-content-taxonomy-description-color",function(t){t.bind(function(t){o(".taxonomy-description p").css("color",t)})}),wp.customize("afft-content-main-sidebar-position",function(t){t.bind(function(t){var n=o("body.page-template-default").find("#content").children(".container").children(".row").children("div:last-child");"left"==t?n.addClass("flex-xl-first").addClass(" flex-lg-first"):n.removeClass("flex-xl-first").removeClass("flex-lg-first")})}),wp.customize("afft-content-main-sidebar-tag-link-color",function(t){t.bind(function(t){o("#main-sidebar .tagcloud a").css("color",t)})}),wp.customize("afft-content-main-sidebar-tag-link-color-hover",function(t){t.bind(function(t){o("#main-sidebar .tagcloud a").hover(function(n){var e=wp.customize.instance("afft-content-main-sidebar-tag-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-main-sidebar-tag-background-color",function(t){t.bind(function(t){o("#main-sidebar .tagcloud a").css("background-color",t)})}),wp.customize("afft-content-main-sidebar-tag-background-color-hover",function(t){t.bind(function(t){o("#main-sidebar .tagcloud a").hover(function(n){var e=wp.customize.instance("afft-content-main-sidebar-tag-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-main-sidebar-heading-background-color-top",function(t){t.bind(function(t){""==t&&(t="transparent");var n=wp.customize.instance("afft-content-main-sidebar-heading-background-color-bottom").get();""==n&&(n="transparent");var e=o("#main-sidebar .widget-heading");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-content-main-sidebar-heading-background-color-bottom",function(t){t.bind(function(t){""==t&&(t="transparent");var n=wp.customize.instance("afft-content-main-sidebar-heading-background-color-top").get();""==n&&(n="transparent");var e=o("#main-sidebar .widget-heading");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-content-main-sidebar-headline-color",function(t){t.bind(function(t){var n=o("#main-sidebar .widget-headline");n.css("color",t)})}),wp.customize("afft-content-button-search-background-color",function(t){t.bind(function(t){var n=o(".searchform button.btn");n.css("background-color",t)})}),wp.customize("afft-content-button-search-background-color-hover",function(t){t.bind(function(t){o(".searchform button.btn").hover(function(n){var e=wp.customize.instance("afft-content-button-search-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-search-border-color",function(t){t.bind(function(t){var n=o(".searchform button.btn");n.css("border-color",t)})}),wp.customize("afft-content-button-search-border-color-hover",function(t){t.bind(function(t){o(".searchform button.btn").hover(function(n){var e=wp.customize.instance("afft-content-button-search-border-color").get();o(this).children("i").css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-search-icon-color",function(t){t.bind(function(t){var n=o(".searchform button.btn i");n.css("color",t)})}),wp.customize("afft-content-button-search-icon-color-hover",function(t){t.bind(function(t){o(".searchform button.btn").hover(function(n){var e=wp.customize.instance("afft-content-button-search-icon-color").get();o(this).children("i").css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-buy-hidden",function(t){t.bind(function(t){var n=o(".btn-buy");1==t||1==t?n.hide():n.show()})}),wp.customize("afft-content-button-buy-text",function(t){t.bind(function(t){var n=o(".btn-buy"),e=n.data("shop-name");n.html(t.replace("%s",e))})}),wp.customize("afft-content-button-buy-background-color",function(t){t.bind(function(t){var n=o(".btn-buy");n.css("background-color",t)})}),wp.customize("afft-content-button-buy-background-color-hover",function(t){t.bind(function(t){o(".btn-buy").hover(function(n){var e=wp.customize.instance("afft-content-button-buy-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-buy-border-color",function(t){t.bind(function(t){var n=o(".btn-buy");n.css("border-color",t)})}),wp.customize("afft-content-button-buy-border-color-hover",function(t){t.bind(function(t){o(".btn-buy").hover(function(n){var e=wp.customize.instance("afft-content-button-buy-border-color").get();o(this).children("i").css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-buy-text-color",function(t){t.bind(function(t){var n=o(".btn-buy");n.css("color",t)})}),wp.customize("afft-content-button-buy-text-color-hover",function(t){t.bind(function(t){o(".btn-buy").hover(function(n){var e=wp.customize.instance("afft-content-button-buy-text-color").get();o(this).children("i").css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-not-available-text",function(t){t.bind(function(t){var n=o(".btn-not-available"),e=n.data("shop-name");n.html(t.replace("%s",e))})}),wp.customize("afft-content-button-not-available-background-color",function(t){t.bind(function(t){var n=o(".btn-not-available");n.css("background-color",t)})}),wp.customize("afft-content-button-not-available-background-color-hover",function(t){t.bind(function(t){o(".btn-not-available").hover(function(n){var e=wp.customize.instance("afft-content-button-not-available-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-not-available-border-color",function(t){t.bind(function(t){var n=o(".btn-not-available");n.css("border-color",t)})}),wp.customize("afft-content-button-not-available-border-color-hover",function(t){t.bind(function(t){o(".btn-not-available").hover(function(n){var e=wp.customize.instance("afft-content-button-not-available-border-color").get();o(this).css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-not-available-text-color",function(t){t.bind(function(t){var n=o(".btn-not-available");n.css("color",t)})}),wp.customize("afft-content-button-not-available-text-color-hover",function(t){t.bind(function(t){o(".btn-not-available").hover(function(n){var e=wp.customize.instance("afft-content-button-not-available-text-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-review-hidden",function(t){t.bind(function(t){var n=o(".btn-review");1==t||1==t?n.hide():n.show()})}),wp.customize("afft-content-button-review-text",function(t){t.bind(function(t){var n=o(".btn-review");n.html(t)})}),wp.customize("afft-content-button-review-background-color",function(t){t.bind(function(t){var n=o(".btn-review");n.css("background-color",t)})}),wp.customize("afft-content-button-review-background-color-hover",function(t){t.bind(function(t){o(".btn-review").hover(function(n){var e=wp.customize.instance("afft-content-button-review-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-review-border-color",function(t){t.bind(function(t){var n=o(".btn-review");n.css("border-color",t)})}),wp.customize("afft-content-button-review-border-color-hover",function(t){t.bind(function(t){o(".btn-review").hover(function(n){var e=wp.customize.instance("afft-content-button-review-border-color").get();o(this).children("i").css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-button-review-text-color",function(t){t.bind(function(t){var n=o(".btn-review");n.css("color",t)})}),wp.customize("afft-content-button-review-text-color-hover",function(t){t.bind(function(t){o(".btn-review").hover(function(n){var e=wp.customize.instance("afft-content-button-review-text-color").get();o(this).children("i").css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-empty-search-icon-color",function(t){t.bind(function(t){o("#empty-search-icon").css("color",t)})}),wp.customize("afft-content-empty-search-headline-color",function(t){t.bind(function(t){o("#empty-search-headline").css("color",t)})}),wp.customize("afft-content-empty-search-text-color",function(t){t.bind(function(t){o("#empty-search-text").css("color",t)})}),wp.customize("afft-content-empty-search-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-empty-search-background-color-bottom").get(),e=o("#empty-search");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-content-empty-search-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-empty-search-background-color-top").get(),e=o("#empty-search");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-content-empty-search-background-image",function(t){t.bind(function(t){var n=o("#empty-search");n.css("background-image","url("+t+")")})}),wp.customize("afft-content-empty-search-background-repeat",function(t){t.bind(function(t){var n=o("#empty-search");n.css("background-repeat",t)})}),wp.customize("afft-content-empty-search-background-attachment",function(t){t.bind(function(t){var n=o("#empty-search");n.css("background-attachment",t)})}),wp.customize("afft-content-empty-search-background-size",function(t){t.bind(function(t){var n=o("#empty-search");if("custom"===t){var e=wp.customize.instance("afft-content-empty-search-background-width").get(),c=wp.customize.instance("afft-content-empty-search-background-height").get();n.css("background-size",e+" "+c)}else n.css("background-size",t)})}),wp.customize("afft-content-empty-search-background-width",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-empty-search-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-content-empty-search-background-height").get(),c=o("#empty-search");c.css("background-size",t+" "+e)}})}),wp.customize("afft-content-empty-search-background-height",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-empty-search-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-content-empty-search-background-width").get(),c=o("#empty-search");c.css("background-size",e+" "+t)}})}),wp.customize("afft-content-not-found-error-code-color",function(t){t.bind(function(t){o("#not-found-error-code").css("color",t)})}),wp.customize("afft-content-not-found-headline-color",function(t){t.bind(function(t){o("#not-found-headline").css("color",t)})}),wp.customize("afft-content-not-found-text-color",function(t){t.bind(function(t){o("#not-found-text").css("color",t)})}),wp.customize("afft-content-not-found-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-not-found-background-color-bottom").get(),e=o("#not-found");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-content-not-found-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-not-found-background-color-top").get(),e=o("#not-found");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-content-not-found-background-image",function(t){t.bind(function(t){var n=o("#not-found");n.css("background-image","url("+t+")")})}),wp.customize("afft-content-not-found-background-repeat",function(t){t.bind(function(t){var n=o("#not-found");n.css("background-repeat",t)})}),wp.customize("afft-content-not-found-background-attachment",function(t){t.bind(function(t){var n=o("#not-found");n.css("background-attachment",t)})}),wp.customize("afft-content-not-found-background-size",function(t){t.bind(function(t){var n=o("#not-found");if("custom"===t){var e=wp.customize.instance("afft-content-not-found-background-width").get(),c=wp.customize.instance("afft-content-not-found-background-height").get();n.css("background-size",e+" "+c)}else n.css("background-size",t)})}),wp.customize("afft-content-not-found-background-width",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-not-found-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-content-not-found-background-height").get(),c=o("#not-found");c.css("background-size",t+" "+e)}})}),wp.customize("afft-content-not-found-background-height",function(t){t.bind(function(t){var n=wp.customize.instance("afft-content-not-found-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-content-not-found-background-width").get(),c=o("#not-found");c.css("background-size",e+" "+t)}})}),wp.customize("afft-content-alert-info-text-color",function(t){t.bind(function(t){o(".alert-info p").css("color",t)})}),wp.customize("afft-content-alert-info-link-color",function(t){t.bind(function(t){o(".alert-info a").css("color",t)})}),wp.customize("afft-content-alert-info-link-color-hover",function(t){t.bind(function(t){o(".alert-info a").hover(function(n){var e=wp.customize.instance("afft-content-alert-info-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-alert-info-background-color",function(t){t.bind(function(t){o(".alert-info").css("background-color",t)})}),wp.customize("afft-content-alert-info-border-color",function(t){t.bind(function(t){o(".alert-info").css("border-color",t)})}),wp.customize("afft-content-alert-success-text-color",function(t){t.bind(function(t){o(".alert-success p").css("color",t)})}),wp.customize("afft-content-alert-success-link-color",function(t){t.bind(function(t){o(".alert-success a").css("color",t)})}),wp.customize("afft-content-alert-success-link-color-hover",function(t){t.bind(function(t){o(".alert-success a").hover(function(n){var e=wp.customize.instance("afft-content-alert-success-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-alert-success-background-color",function(t){t.bind(function(t){o(".alert-success").css("background-color",t)})}),wp.customize("afft-content-alert-success-border-color",function(t){t.bind(function(t){o(".alert-success").css("border-color",t)})}),wp.customize("afft-content-alert-warning-text-color",function(t){t.bind(function(t){o(".alert-warning p").css("color",t)})}),wp.customize("afft-content-alert-warning-link-color",function(t){t.bind(function(t){o(".alert-warning a").css("color",t)})}),wp.customize("afft-content-alert-warning-link-color-hover",function(t){t.bind(function(t){o(".alert-warning a").hover(function(n){var e=wp.customize.instance("afft-content-alert-warning-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-alert-warning-background-color",function(t){t.bind(function(t){o(".alert-warning").css("background-color",t)})}),wp.customize("afft-content-alert-warning-border-color",function(t){t.bind(function(t){o(".alert-warning").css("border-color",t)})}),wp.customize("afft-content-alert-danger-text-color",function(t){t.bind(function(t){o(".alert-danger p").css("color",t)})}),wp.customize("afft-content-alert-danger-link-color",function(t){t.bind(function(t){o(".alert-danger a").css("color",t)})}),wp.customize("afft-content-alert-danger-link-color-hover",function(t){t.bind(function(t){o(".alert-danger a").hover(function(n){var e=wp.customize.instance("afft-content-alert-danger-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-content-alert-danger-border-color",function(t){t.bind(function(t){o(".alert-danger").css("border-color",t)})})}(jQuery),function(o){wp.customize("afft-footer-breadcrumbs-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-breadcrumbs-background-color-bottom").get(),e=o("#footer-breadcrumbs");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-footer-breadcrumbs-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-breadcrumbs-background-color-top").get(),e=o("#footer-breadcrumbs");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-footer-breadcrumbs-text-color",function(t){t.bind(function(t){o("#footer-breadcrumbs").css("color",t)})}),wp.customize("afft-footer-breadcrumbs-border-color",function(t){t.bind(function(t){o("#footer-breadcrumbs").css("border-color",t)})}),wp.customize("afft-footer-breadcrumbs-link-color",function(t){t.bind(function(t){o("#footer-breadcrumbs a").css("color",t)})}),wp.customize("afft-footer-breadcrumbs-link-color-hover",function(t){t.bind(function(t){o("#footer-breadcrumbs a").hover(function(n){var e=wp.customize.instance("afft-footer-breadcrumbs-link-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-content-hidden",function(t){t.bind(function(t){var n=o("#footer-content");console.log(t),1!=t?n.show():n.hide()})}),wp.customize("afft-footer-content-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-content-background-color-bottom").get(),e=o("#footer-content");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-footer-content-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-content-background-color-top").get(),e=o("#footer-content");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-footer-content-background-image",function(t){t.bind(function(t){var n=o("#footer-content");n.css("background-image","url("+t+")")})}),wp.customize("afft-footer-content-background-repeat",function(t){t.bind(function(t){var n=o("#footer-content");n.css("background-repeat",t)})}),wp.customize("afft-footer-content-background-attachment",function(t){t.bind(function(t){var n=o("#footer-content");n.css("background-attachment",t)})}),wp.customize("afft-footer-content-background-size",function(t){t.bind(function(t){var n=o("#footer-content");if("custom"===t){var e=wp.customize.instance("afft-footer-content-background-width").get(),c=wp.customize.instance("afft-footer-content-background-height").get();n.css("background-size",e+" "+c)}else n.css("background-size",t)})}),wp.customize("afft-footer-content-background-width",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-content-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-footer-content-background-height").get(),c=o("#footer-content");c.css("background-size",t+" "+e)}})}),wp.customize("afft-footer-content-background-height",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-content-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-footer-content-background-width").get(),c=o("#footer-content");c.css("background-size",e+" "+t)}})}),wp.customize("afft-footer-content-menu-headline-color",function(t){t.bind(function(t){o("#footer .footer-nav .nav-title").css("color",t)})}),wp.customize("afft-footer-content-menu-link-color",function(t){t.bind(function(t){o("#footer .footer-nav .nav-item a").css("color",t)})}),wp.customize("afft-footer-content-menu-link-color-hover",function(t){t.bind(function(t){o("#footer .footer-nav .nav-item a").hover(function(n){var e=wp.customize.instance("afft-footer-content-menu-link-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-footer-sidebar-headline-color",function(t){t.bind(function(t){o("#footer-sidebar h1, #footer-sidebar h2, #footer-sidebar h3, #footer-sidebar h4, #footer-sidebar h5, #footer-sidebar h6").css("color",t)})}),wp.customize("afft-footer-footer-sidebar-text-color",function(t){t.bind(function(t){o("#footer-sidebar").css("color",t)})}),wp.customize("afft-footer-footer-sidebar-link-color",function(t){t.bind(function(t){o("#footer-sidebar a").css("color",t)})}),wp.customize("afft-footer-footer-sidebar-link-color-hover",function(t){t.bind(function(t){o("#footer-sidebar a").hover(function(n){var e=wp.customize.instance("afft-footer-footer-sidebar-link-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-footer-sidebar-tag-link-color",function(t){t.bind(function(t){o("#footer-sidebar .tagcloud a").css("color",t)})}),wp.customize("afft-footer-footer-sidebar-tag-link-color-hover",function(t){t.bind(function(t){o("#footer-sidebar .tagcloud a").hover(function(n){var e=wp.customize.instance("afft-footer-footer-sidebar-tag-link-color").get();o(this).css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-footer-sidebar-tag-background-color",function(t){t.bind(function(t){o("#footer-sidebar .tagcloud a").css("background-color",t)})}),wp.customize("afft-footer-footer-sidebar-tag-background-color-hover",function(t){t.bind(function(t){o("#footer-sidebar .tagcloud a").hover(function(n){var e=wp.customize.instance("afft-footer-footer-sidebar-tag-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-plinth-background-color-bottom").get(),e=o("#footer-plinth");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-footer-plinth-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-footer-plinth-background-color-top").get(),e=o("#footer-plinth");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-footer-plinth-copyright-color",function(t){t.bind(function(t){o("#footer-copyright").css("color",t)})}),wp.customize("afft-footer-plinth-facebook-icon-color",function(t){t.bind(function(t){o("#footer-social .social-btn.facebook i").css("color",t)})}),wp.customize("afft-footer-plinth-facebook-icon-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.facebook i").hover(function(n){ var e=wp.customize.instance("afft-footer-plinth-facebook-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-facebook-background-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.facebook").css("background-color",t)})}),wp.customize("afft-footer-plinth-facebook-background-color-hover",function(t){t.bind(function(t){""===t&&(t="transparent"),o("head").append("")})}),wp.customize("afft-footer-plinth-facebook-border-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.facebook").css("border-color",t)})}),wp.customize("afft-footer-plinth-facebook-border-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.facebook").hover(function(n){""===t&&(t="transparent");var e=wp.customize.instance("afft-footer-plinth-facebook-border-color").get();""===e&&(t="transparent");var c=o(this);c.css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-twitter-icon-color",function(t){t.bind(function(t){o("#footer-social .social-btn.twitter i").css("color",t)})}),wp.customize("afft-footer-plinth-twitter-icon-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.twitter i").hover(function(n){var e=wp.customize.instance("afft-footer-plinth-twitter-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-twitter-background-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.twitter").css("background-color",t)})}),wp.customize("afft-footer-plinth-twitter-background-color-hover",function(t){t.bind(function(t){""===t&&(t="transparent"),o("head").append("")})}),wp.customize("afft-footer-plinth-twitter-border-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.twitter").css("border-color",t)})}),wp.customize("afft-footer-plinth-twitter-border-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.twitter").hover(function(n){""===t&&(t="transparent");var e=wp.customize.instance("afft-footer-plinth-twitter-border-color").get();""===e&&(t="transparent");var c=o(this);c.css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-google-plus-icon-color",function(t){t.bind(function(t){o("#footer-social .social-btn.google-plus i").css("color",t)})}),wp.customize("afft-footer-plinth-google-plus-icon-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.google-plus i").hover(function(n){var e=wp.customize.instance("afft-footer-plinth-google-plus-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-google-plus-background-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.google-plus").css("background-color",t)})}),wp.customize("afft-footer-plinth-google-plus-background-color-hover",function(t){t.bind(function(t){""===t&&(t="transparent"),o("head").append("")})}),wp.customize("afft-footer-plinth-google-plus-border-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.google-plus").css("border-color",t)})}),wp.customize("afft-footer-plinth-google-plus-border-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.google-plus").hover(function(n){""===t&&(t="transparent");var e=wp.customize.instance("afft-footer-plinth-google-plus-border-color").get();""===e&&(t="transparent");var c=o(this);c.css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-pinterest-icon-color",function(t){t.bind(function(t){o("#footer-social .social-btn.pinterest i").css("color",t)})}),wp.customize("afft-footer-plinth-pinterest-icon-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.pinterest i").hover(function(n){var e=wp.customize.instance("afft-footer-plinth-pinterest-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-pinterest-background-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.pinterest").css("background-color",t)})}),wp.customize("afft-footer-plinth-pinterest-background-color-hover",function(t){t.bind(function(t){""===t&&(t="transparent"),o("head").append("")})}),wp.customize("afft-footer-plinth-pinterest-border-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.pinterest").css("border-color",t)})}),wp.customize("afft-footer-plinth-pinterest-border-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.pinterest").hover(function(n){""===t&&(t="transparent");var e=wp.customize.instance("afft-footer-plinth-pinterest-border-color").get();""===e&&(t="transparent");var c=o(this);c.css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-reddit-icon-color",function(t){t.bind(function(t){o("#footer-social .social-btn.reddit i").css("color",t)})}),wp.customize("afft-footer-plinth-reddit-icon-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.reddit i").hover(function(n){var e=wp.customize.instance("afft-footer-plinth-reddit-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-reddit-background-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.reddit").css("background-color",t)})}),wp.customize("afft-footer-plinth-reddit-background-color-hover",function(t){t.bind(function(t){""===t&&(t="transparent"),o("head").append("")})}),wp.customize("afft-footer-plinth-reddit-border-color",function(t){t.bind(function(t){""===t&&(t="transparent"),o("#footer-social .social-btn.reddit").css("border-color",t)})}),wp.customize("afft-footer-plinth-reddit-border-color-hover",function(t){t.bind(function(t){o("#footer-social .social-btn.reddit").hover(function(n){""===t&&(t="transparent");var e=wp.customize.instance("afft-footer-plinth-reddit-border-color").get();""===e&&(t="transparent");var c=o(this);c.css("border-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-footer-plinth-menu-link-color",function(t){t.bind(function(t){o("#footer-plinth .menu-item a").css("color",t)})}),wp.customize("afft-footer-plinth-menu-link-color-hover",function(t){t.bind(function(t){o("#footer-plinth .menu-item a").hover(function(n){var e=wp.customize.instance("afft-footer-plinth-reddit-icon-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})})}(jQuery),function(o){wp.customize("afft-general-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-general-background-color-bottom").get(),e=o("body");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-general-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-general-background-color-top").get(),e=o("body");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-general-background-image",function(t){t.bind(function(t){var n=o("body");n.css("background-image","url("+t+")")})}),wp.customize("afft-general-background-repeat",function(t){t.bind(function(t){var n=o("body");n.css("background-repeat",t)})}),wp.customize("afft-general-background-attachment",function(t){t.bind(function(t){var n=o("body");n.css("background-attachment",t)})}),wp.customize("afft-general-background-size",function(t){t.bind(function(t){var n=o("body");if("custom"===t){var e=wp.customize.instance("afft-general-background-width").get(),c=wp.customize.instance("afft-general-background-height").get();n.css("background-size",e+" "+c)}else n.css("background-size",t)})}),wp.customize("afft-general-background-width",function(t){t.bind(function(t){var n=wp.customize.instance("afft-general-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-general-background-height").get(),c=o("body");c.css("background-size",t+" "+e)}})}),wp.customize("afft-general-background-height",function(t){t.bind(function(t){var n=wp.customize.instance("afft-general-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-general-background-width").get(),c=o("body");c.css("background-size",e+" "+t)}})})}(jQuery),function(o){wp.customize("afft-header-banner-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-banner-background-color-bottom").get(),e=o("#header");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-header-banner-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-banner-background-color-top").get(),e=o("#header");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-header-banner-background-image",function(t){t.bind(function(t){var n=o("#header");n.css("background-image","url("+t+")")})}),wp.customize("afft-header-banner-background-repeat",function(t){t.bind(function(t){var n=o("#header");n.css("background-repeat",t)})}),wp.customize("afft-header-banner-background-attachment",function(t){t.bind(function(t){var n=o("#header");n.css("background-attachment",t)})}),wp.customize("afft-header-banner-background-size",function(t){t.bind(function(t){var n=o("#header");if("custom"===t){var e=wp.customize.instance("afft-header-banner-background-width").get(),c=wp.customize.instance("afft-header-banner-background-height").get();n.css("background-size",e+" "+c)}else n.css("background-size",t)})}),wp.customize("afft-header-banner-background-width",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-banner-background-size").get();if("custom"===n){var e=wp.customize.instance("afft-header-banner-background-height").get(),c=o("#header");c.css("background-size",t+" "+e)}})}),wp.customize("afft-header-banner-background-height",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-banner-background-size").get();if("#header"===n){var e=wp.customize.instance("afft-header-banner-background-width").get(),c=o("header");c.css("background-size",e+" "+t)}})}),wp.customize("afft-header-banner-title-color",function(t){t.bind(function(t){o("#title").css("color",t)})}),wp.customize("afft-header-banner-title-shadow-color",function(t){t.bind(function(t){""!==t?o("#title").css("text-shadow","1px 1px 1px "+t):o("#title").css("text-shadow","0 0 0 rgba(0, 0, 0, 0)")})}),wp.customize("afft-header-banner-title-font-family",function(t){t.bind(function(t){o("#title").css("font-family",t)})}),wp.customize("afft-header-banner-tagline-color",function(t){t.bind(function(t){o("#tagline").css("color",t)})}),wp.customize("afft-header-banner-tagline-shadow-color",function(t){t.bind(function(t){""!==t?o("#tagline").css("text-shadow","1px 1px 1px "+t):o("#tagline").css("text-shadow","0 0 0 rgba(0, 0, 0, 0)")})}),wp.customize("afft-header-banner-tagline-font-family",function(t){t.bind(function(t){o("#tagline").css("font-family",t)})}),wp.customize("afft-header-main-menu-background-color-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-main-menu-background-color-bottom").get(),e=o("#main-menu");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-header-main-menu-background-color-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-main-menu-background-color-top").get(),e=o("#main-menu");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-header-main-menu-border-color",function(t){t.bind(function(t){o("#main-menu").css("border-color",t)})}),wp.customize("afft-header-main-menu-item-background-color-hover-top",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-main-menu-item-background-color-hover-bottom").get();o("#main-menu .navbar-nav > .menu-item a").on("hover click focus",function(e){var c=o(this);c.parent().hasClass("active")||(c.css("background-color",n),c.css("background","mouseenter"===e.type?"-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))":"transparent"),c.css("background","mouseenter"===e.type?"-webkit-linear-gradient(top, "+t+", "+n+")":"transparent"),c.css("background","mouseenter"===e.type?"-moz-linear-gradient(top, "+t+", "+n+")":"transparent"),c.css("background","mouseenter"===e.type?"-o-linear-gradient(top, "+t+", "+n+")":"transparent"),c.css("background","mouseenter"===e.type?"linear-gradient("+t+", "+n+")":"transparent"))});var e=o("#main-menu .navbar-nav > .menu-item.active > a, #main-menu .navbar-nav > .menu-item.open > a");e.css("background-color",n),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+t+"), to("+n+"))"),e.css("background","-webkit-linear-gradient(top, "+t+", "+n+")"),e.css("background","-moz-linear-gradient(top, "+t+", "+n+")"),e.css("background","-o-linear-gradient(top, "+t+", "+n+")"),e.css("background","linear-gradient("+t+", "+n+")")})}),wp.customize("afft-header-main-menu-item-background-color-hover-bottom",function(t){t.bind(function(t){var n=wp.customize.instance("afft-header-main-menu-item-background-color-hover-top").get();o("#main-menu .navbar-nav > .menu-item a").on("hover click focus",function(e){var c=o(this);c.parent().hasClass("active")||(c.css("background-color",t),c.css("background","mouseenter"===e.type?"-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))":"transparent"),c.css("background","mouseenter"===e.type?"-webkit-linear-gradient(top, "+n+", "+t+")":"transparent"),c.css("background","mouseenter"===e.type?"-moz-linear-gradient(top, "+n+", "+t+")":"transparent"),c.css("background","mouseenter"===e.type?"-o-linear-gradient(top, "+n+", "+t+")":"transparent"),c.css("background","mouseenter"===e.type?"linear-gradient("+n+", "+t+")":"transparent"))});var e=o("#main-menu .navbar-nav > .menu-item.active > a, #main-menu .navbar-nav > .menu-item.open > a");e.css("background-color",t),e.css("background","-webkit-gradient(linear, 0% 0%, 0% 100%, from("+n+"), to("+t+"))"),e.css("background","-webkit-linear-gradient(top, "+n+", "+t+")"),e.css("background","-moz-linear-gradient(top, "+n+", "+t+")"),e.css("background","-o-linear-gradient(top, "+n+", "+t+")"),e.css("background","linear-gradient("+n+", "+t+")")})}),wp.customize("afft-header-main-menu-link-color",function(t){t.bind(function(t){o("#main-menu .navbar-nav > .menu-item:not(.active) a, #main-menu .navbar-brand").css("color",t)})}),wp.customize("afft-header-main-menu-link-color-hover",function(t){t.bind(function(t){o("#main-menu .navbar-nav > .menu-item a, #main-menu .navbar-brand").hover(function(n){var e=wp.customize.instance("afft-header-main-menu-link-color").get(),c=o(this);c.parent().hasClass("active")||c.css("color","mouseenter"===n.type?t:e)}),o("#main-menu .navbar-nav > .menu-item.active a").css("color",t)})}),wp.customize("afft-header-main-menu-dropdown-background-color",function(t){t.bind(function(t){o("#main-menu .dropdown-menu").css("background-color",t)})}),wp.customize("afft-header-main-menu-dropdown-item-background-color-hover",function(t){t.bind(function(t){o("#main-menu .dropdown-menu > .menu-item > a").hover(function(n){var e=o(this);e.parent().hasClass("active")||e.css("background-color","mouseenter"===n.type?t:"transparent")}),o("#main-menu .dropdown-menu .menu-item.active > a").css("color",t)})}),wp.customize("afft-header-main-menu-dropdown-link-color",function(t){t.bind(function(t){o("#main-menu .dropdown-menu .menu-item > a").css("color",t)})}),wp.customize("afft-header-main-menu-dropdown-link-color-hover",function(t){t.bind(function(t){o("#main-menu .dropdown-menu .menu-item > a").hover(function(n){var e=wp.customize.instance("afft-header-main-menu-link-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-header-main-menu-toggle-background-color",function(t){t.bind(function(t){o("#main-menu .navbar-toggle").css("background-color",t)})}),wp.customize("afft-header-main-menu-toggle-background-color-hover",function(t){t.bind(function(t){o("#main-menu .navbar-toggle").hover(function(n){var e=wp.customize.instance("afft-header-main-menu-toggle-background-color").get();o(this).css("background-color","mouseenter"===n.type?t:e)})})}),wp.customize("afft-header-main-menu-toggle-border-color",function(t){t.bind(function(t){o("#main-menu .navbar-toggle").css("border-color",t),o("#main-menu .navbar-toggle .icon-bar").css("background-color",t)})}),wp.customize("afft-header-main-menu-toggle-border-color-hover",function(t){t.bind(function(t){o("#main-menu .navbar-toggle").hover(function(n){var e=wp.customize.instance("afft-header-main-menu-toggle-border-color").get();o("#main-menu .navbar-toggle").css("border-color","mouseenter"===n.type?t:e),o("#main-menu .navbar-toggle .icon-bar").css("background-color","mouseenter"===n.type?t:e)})})})}(jQuery),function(o){wp.customize("blogname",function(t){t.bind(function(t){o("#title").html(t)})}),wp.customize("blogdescription",function(t){t.bind(function(t){o("#tagline").html(t)})}),wp.customize("afft-information-copyright-text",function(t){t.bind(function(t){o("#footer-copyright").html(t)})})}(jQuery),function(o){wp.customize("afft-typography-headline-font-family",function(t){t.bind(function(t){o("main h1, main h2, main h3, main h4, main h5, main h6").css("font-family",t)})}),wp.customize("afft-typography-headline-color",function(t){t.bind(function(t){o("main h1, main h2, main h3, main h4, main h5, main h6").css("color",t)})}),wp.customize("afft-typography-text-font-family",function(t){t.bind(function(t){o("main, main p, main span, main li, main time").css("font-family",t)})}),wp.customize("afft-typography-text-color",function(t){t.bind(function(t){o("main, main p, main span, main li, main time").css("color",t)})}),wp.customize("afft-typography-link-font-family",function(t){t.bind(function(t){o("main a:not(.price, .btn), main a > span.unit").css("font-family",t)})}),wp.customize("afft-typography-link-color",function(t){t.bind(function(t){o("main a:not(.price, .btn), main a > span.unit").css("color",t)})}),wp.customize("afft-typography-link-color-hover",function(t){t.bind(function(t){o("main a:not(.price, .btn), main a > span.unit").hover(function(n){var e=wp.customize.instance("afft-typography-link-color").get(),c=o(this);c.css("color","mouseenter"===n.type?t:e)})})})}(jQuery);