jquery(window).load(function(){jquery(".tribe-tickets-order_status-row select").length&&(jquery(".tribe-tickets-order_status-row select").addclass("avada-select"),jquery(".tribe-tickets-order_status-row select").wrap('
').after('
'),jquery(".tribe-ticket-quantity").change(function(){settimeout(function(){calcselectarrowdimensions()},1)})),jquery(".woocommerce-billing-fields, .woocommerce-shipping-fields").addclass("avada-select"),jquery(".woocommerce.widget_product_categories select").length&&jquery(".woocommerce.widget_product_categories select").wrap('

').after('
'),jquery(".cart-collaterals select#calc_shipping_country, .widget_layered_nav select").wrap('

').after('
'),jquery(".cart-collaterals select#calc_shipping_state").after('
'),settimeout(function(){jquery("#billing_country_field .chosen-container").length||jquery("#billing_country_field .select2-container").length||(jquery("#billing_country_field select.country_select").wrap('

').after(''),!jquery("#billing_state_field select.state_select").length||jquery("#billing_state_field .chosen-container").length||jquery("#billing_state_field .select2-container").length||jquery("#billing_state_field").addclass("avada-select-parent").append('
'),jquery("#billing_country").change(function(){settimeout(function(){(jquery("#billing_state_field input#billing_state").length||jquery("#billing_state_field").is(":hidden"))&&(jquery("#billing_state_field .select-arrow").remove(),jquery("#billing_state_field").removeclass("avada-select-parent")),jquery("#billing_state_field select.state_select").length&&(jquery("#billing_state_field").addclass("avada-select-parent"),jquery("#billing_state_field .select-arrow").length||(jquery("#billing_state_field").append('
'),calcselectarrowdimensions()))},1)})),jquery("#shipping_country_field .chosen-container").length||jquery("#shipping_country_field .select2-container").length||(jquery("#shipping_country_field select.country_select").wrap('

').after(''),jquery("#shipping_state_field select.state_select").length&&jquery("#shipping_state_field").addclass("avada-select-parent").append('
'),jquery("#shipping_country").change(function(){settimeout(function(){(jquery("#shipping_state_field input#shipping_state").length||jquery("#shipping_state_field").is(":hidden"))&&(jquery("#shipping_state_field .select-arrow").remove(),jquery("#shipping_state_field").removeclass("avada-select-parent")),jquery("#shipping_state_field select.state_select").length&&(jquery("#shipping_state_field").addclass("avada-select-parent"),jquery("#shipping_state_field .select-arrow").length||(jquery("#shipping_state_field").append('
'),calcselectarrowdimensions()))},1)}))},1),jquery("#calc_shipping_country").change(function(){settimeout(function(){jquery(".avada-shipping-calculator-form select#calc_shipping_state").length&&!jquery(".avada-shipping-calculator-form #calc_shipping_state").parent().find(".select-arrow").length&&jquery(".avada-shipping-calculator-form select#calc_shipping_state").after('
'),(jquery(".avada-shipping-calculator-form input#calc_shipping_state").length||jquery(".avada-shipping-calculator-form #calc_shipping_state_field .select2").length)&&jquery(".avada-shipping-calculator-form #calc_shipping_state").parent().children(".select-arrow").remove(),calcselectarrowdimensions()},1)}),jquery("table.variations select, .variations-table select, .product-addon select").wrap('
'),jquery('
').appendto("table.variations .avada-select-parent, .variations-table .avada-select-parent, .product-addon .avada-select-parent"),jquery(".wpcf7-select:not([multiple])").wrap('
'),jquery('
').appendto(".wpcf7-select-parent"),jquery("#bbp_stick_topic_select, #bbp_topic_status_select, #bbp_forum_id, #bbp_destination_topic, #wpfc_sermon_sorting select").wrap('
').after('
'),jquery(".variations_form select").change(function(){jquery(".product #slider").length&&1