diff --git a/admin/post-types/writepanels/writepanel-order_data.php b/admin/post-types/writepanels/writepanel-order_data.php index ab8f63a6806..ea7fe30a048 100644 --- a/admin/post-types/writepanels/writepanel-order_data.php +++ b/admin/post-types/writepanels/writepanel-order_data.php @@ -410,7 +410,7 @@ function woocommerce_order_items_meta_box($post) { - + diff --git a/assets/css/admin.css b/assets/css/admin.css index 7ed1ff552d0..8a173052bd5 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1 +1 @@ -.woocommerce-message{position:relative;z-index:100;border:1px solid #b76ca9!important;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,0.04);-moz-box-shadow:inset 0 0 15px rgba(0,0,0,0.04);box-shadow:inset 0 0 15px rgba(0,0,0,0.04);overflow:hidden;padding:10px 0 10px!important;background:#cc99c2 url(../images/message.png) no-repeat right bottom!important}.woocommerce-message .squeezer{max-width:960px;margin:0;padding:0 10px;text-align:left;overflow:hidden}.woocommerce-message h4{margin:0 10px 0 0;font-size:18px;line-height:36px;font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;font-weight:normal;color:#fff;text-shadow:0 1px 1px #b574a8;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;float:left;vertical-align:middle}.woocommerce-message p{margin:0!important;padding:2px 0!important;float:left!important;line-height:32px;vertical-align:middle}.woocommerce-message p a.button-primary{font-size:16px!important;line-height:16px!important;margin:0 5px 0 0;padding:6px 15px;vertical-align:middle;color:#fff;text-align:center;text-decoration:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #88537e;background:#a46497;-moz-box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);text-shadow:0 -1px 0 rgba(0,0,0,0.3);-webkit-transition-duration:.3s;-moz-transition-duration:.3s;cursor:pointer;font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif}.woocommerce-message p a.button-primary:hover,.woocommerce-message p a.button-primary:active{background-color:#f0a000;border-color:#c87800;-webkit-transition-duration:.3s;outline:0;opacity:1}.woocommerce-message p a.skip,.woocommerce-message p a.docs{opacity:.5}.woocommerce-message .twitter-share-button{vertical-align:middle}#variable_product_options #message{margin:10px}#woocommerce_extensions{background:#f1f1f1 url(../images/icons/wc_icon.png) no-repeat 4px 4px;padding:4px 18px 4px 28px;-webkit-border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;border-radius:4px;width:220px;float:right;margin:9px 0 -40px;position:relative;text-shadow:0 1px 0 rgba(255,255,255,0.8);color:#555}#woocommerce_extensions a{color:#555}#woocommerce_extensions a.hide{color:#ccc;float:right;text-decoration:none;position:absolute;top:0;right:0;line-height:20px;padding:2px 8px;font-size:11px;text-align:center}#wc_get_started{position:relative;margin:1em 0 2em;padding:15px 15px 15px 90px;border:1px solid #d9d9d9;background:#f5f5f5 url(../images/gear.png) no-repeat 15px 15px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff;-moz-box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff;-webkit-box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff}#wc_get_started span{display:block;text-shadow:1px 1px 0 #fff;font-size:14px;line-height:22px;color:#595959}#wc_get_started span.main{margin-top:2px;font-weight:bold;font-size:16px}#wc_get_started .main-button{position:absolute;right:20px;top:27px}#wc_get_started p{margin:1em 0 .5em}#wc_get_started.mijireh{background:#5bc0de url(../images/mijireh-logo.png) no-repeat 15px 18px;border:1px solid #339bb9;padding:15px 15px 15px 152px;box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5);-moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5);-webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5)}#wc_get_started.mijireh span{color:#fff;text-shadow:0 1px 0 #4a94ac}#wc_get_started.mijireh span a{color:#fff}#wc_get_started.mijireh a.button{border-color:#fff;box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b;-moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b;-webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b}#wc_get_started.mijireh a.button-primary{background:#2b7e9f;border-color:#266e8b}#icon-woocommerce,.woocommerce_icon,.icon32-posts-product,.icon32-posts-shop_order,.icon32-posts-shop_coupon,.icon32-posts-product_variation{background-image:url(../images/icons/woocommerce-icons.png)!important;background-position:-11px -5px;background-size:auto!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#icon-woocommerce,.woocommerce_icon,.icon32-posts-product,.icon32-posts-shop_order,.icon32-posts-shop_coupon,.icon32-posts-product_variation{background-image:url(../images/icons/woocommerce-icons-x2.png)!important;background-size:986px 45px!important}}.icon32-posts-product{background-position:-69px -5px!important}.icon32-posts-shop_order{background-position:-127px -5px!important}.icon32-attributes{background-position:-185px -5px!important}.icon32-woocommerce-settings{background-position:-359px -5px!important}.icon32-posts-shop_coupon{background-position:-475px -5px!important}.icon32-posts-product_variation{background-position:-533px -5px!important}.icon32-woocommerce-reports{background-position:-591px -5px!important}.icon32-woocommerce-status{background-position:-417px -5px!important}.icon32-woocommerce-delivery{background-position:-649px -5px!important}.icon32-woocommerce-compose{background-position:-708px -5px!important}.icon32-woocommerce-telephone{background-position:-766px -5px!important}.icon32-woocommerce-users{background-position:-824px -5px!important}.icon32-woocommerce-nav{background-position:-882px -5px!important}.icon32-woocommerce-email{background-position:-940px -5px!important}.wrap.woocommerce div.updated,.wrap.woocommerce div.error{margin-top:10px}mark.amount{background:transparent none;color:inherit}input.wc-error{color:#d8000c;background-color:#ffbaba}table.wc_status_table th{font-weight:bold}table.wc_status_table td{padding:5px 7px}table.wc_status_table td mark{background:transparent none}table.wc_status_table td mark.yes{color:green}table.wc_status_table td mark.no{color:#999}table.wc_status_table td mark.error{color:red}table.wc_status_table td ul{margin:0}#debug-report{font-family:monospace;display:none;width:100%;margin-bottom:20px;height:200px}.inline-edit-product.quick-edit-row .inline-edit-col-center,.inline-edit-product.quick-edit-row .inline-edit-col-right{float:right!important}#woocommerce-fields.inline-edit-col{clear:left}#woocommerce-fields.inline-edit-col label.featured,#woocommerce-fields.inline-edit-col label.manage_stock{margin-left:10px}#woocommerce-fields.inline-edit-col .dimensions div{display:block;margin:.2em 0}#woocommerce-fields.inline-edit-col .dimensions div span.title{display:block;float:left;width:5em}#woocommerce-fields.inline-edit-col .dimensions div span.input-text-wrap{display:block;margin-left:5em}#woocommerce-fields.inline-edit-col .text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:99%;float:left;margin:1px 1% 1px 1px}#woocommerce-fields.inline-edit-col .length,#woocommerce-fields.inline-edit-col .width,#woocommerce-fields.inline-edit-col .height{width:32.33%}#woocommerce-fields.inline-edit-col .height{margin-right:0}#woocommerce-fields-bulk.inline-edit-col label{clear:left}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group label,#woocommerce-fields-bulk.inline-edit-col .inline-edit-group div.alignright{clear:none;width:49%;margin:.2em 0}#woocommerce-fields-bulk.inline-edit-col .regular_price,#woocommerce-fields-bulk.inline-edit-col .sale_price,#woocommerce-fields-bulk.inline-edit-col .weight,#woocommerce-fields-bulk.inline-edit-col .stock{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .width,#woocommerce-fields-bulk.inline-edit-col .height{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:32%}.alignleft.actions .chzn-container-single{display:inline-block;vertical-align:middle}#order_data{padding:0 10px 9px}#order_data .order_data_left{width:48%;float:left}#order_data .order_data_left h2{margin-top:11px;margin-bottom:0}#order_data .order_data_left p{padding:0!important}#order_data .order_data_left .form-field{float:left;width:48%;padding:0;margin:9px 0 0 0}#order_data .order_data_left .form-field label{display:block;padding:0 0 3px}#order_data .order_data_left .form-field input,#order_data .order_data_left .form-field textarea{width:100%}#order_data .order_data_left .form-field select{width:100%}#order_data .order_data_left .form-field #order_status_chzn .chzn-search{display:none}#order_data .order_data_left .form-field .chzn-container{width:100%!important}#order_data .order_data_left .form-field .date-picker-field{width:9em}#order_data .order_data_left .form-field .hour,#order_data .order_data_left .form-field .minute{width:2.5em}#order_data .order_data_left .form-field.last{float:right}#order_data .order_data_left .form-field-wide{width:100%;clear:both}#order_data .order_data_left .form-field-wide input,#order_data .order_data_left .form-field-wide textarea{width:100%}#order_data .order_data_left .form-field-wide select{width:100%}#order_data .order_data_right{width:48%;float:right}#order_data .order_data_right .order_data{overflow:hidden;zoom:1;width:49%;float:left}#order_data .order_data_right .order_data_alt{float:right}#order_data .order_data_right h2{margin-top:11px;margin-bottom:0}#order_data .order_data_right p{padding:0!important}#order_data .order_data_right p.none_set{color:#999}#order_data .order_data_right .form-field{float:left;width:50%;padding:0;margin:9px 0 0 0}#order_data .order_data_right .form-field label{display:block;padding:0 0 3px}#order_data .order_data_right .form-field input,#order_data .order_data_right .form-field select{width:95%}#order_data .order_data_right ._billing_company_field,#order_data .order_data_right ._shipping_company_field{clear:both;width:100%}#order_data .order_data_right ._billing_company_field input,#order_data .order_data_right ._shipping_company_field input{width:97.5%}#order_data .order_data_right ._billing_email_field{clear:left}#order_data .order_data_right div.edit_address{display:none;overflow:hidden;zoom:1}.order_actions{color:#999;font-size:11px;margin:0;overflow:hidden;zoom:1}.order_actions li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:6px 0;margin:0;line-height:1.6em;float:left;width:50%;text-align:center}.order_actions li a{float:none;text-align:center}.order_actions li.wide{width:auto;float:none;clear:both;padding:6px;text-align:left}#woocommerce-order-items .inside{margin:0;padding:0;background:#fefefe}#woocommerce-order-items .buttons{float:left;padding-left:12px;vertical-align:top}#woocommerce-order-items .buttons .add_item_id,#woocommerce-order-items .buttons .chzn-container{margin-right:9px;vertical-align:top;float:left}#woocommerce-order-items .buttons .add_item_id .search-field input,#woocommerce-order-items .buttons .chzn-container .search-field input{min-width:100px}#woocommerce-order-items .buttons button{margin:2px 0 0 0}#woocommerce-order-items .buttons-alt{float:right;padding-right:12px}#woocommerce-order-items .add_meta{margin-left:0!important}#woocommerce-order-items h3 small{color:#999}#woocommerce-order-items .row-actions{float:right;padding:0;color:#999}#woocommerce-order-items .row-actions a{color:#999}#woocommerce-order-items .row-actions a.remove_row:hover{color:red}#woocommerce-order-downloads .buttons{float:left;padding:0;margin:0;vertical-align:top}#woocommerce-order-downloads .buttons .add_item_id,#woocommerce-order-downloads .buttons .chzn-container{width:400px!important;margin-right:9px;vertical-align:top;float:left}#woocommerce-order-downloads .buttons button{margin:2px 0 0 0}#woocommerce-order-downloads h3 small{color:#999}#poststuff #woocommerce-order-actions .inside{margin:0;padding:0}#poststuff #woocommerce-order-actions .inside ul.order_actions li{padding:6px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#poststuff #woocommerce-order-actions .inside ul.order_actions li:last-child{border-bottom:0}#poststuff #woocommerce-order-totals .inside{margin:0;padding:0}#poststuff #woocommerce-order-totals h4{margin:0!important}#poststuff #woocommerce-order-totals h4 a.add_tax_row{display:block;padding-bottom:10px}#poststuff #woocommerce-order-totals .totals_group{border-top:1px solid white;border-bottom:1px solid #DDD;padding:10px 10px 0 10px}#poststuff #woocommerce-order-totals .totals_group:first-child{border-top:0}#poststuff #woocommerce-order-totals .totals_group:last-child{border-bottom:0}#poststuff #woocommerce-order-totals ul.totals{margin:6px 0 0;float:left}#poststuff #woocommerce-order-totals ul.totals li{float:left;clear:both;width:100%;font-size:1.2em;font-weight:bold;line-height:1.2em;margin:0;padding:0 0 10px}#poststuff #woocommerce-order-totals ul.totals li label{font-weight:normal;display:block;font-size:.8em;color:#333}#poststuff #woocommerce-order-totals ul.totals li input,#poststuff #woocommerce-order-totals ul.totals li select{width:100%;vertical-align:middle;font-size:1em;margin:0!important;font-weight:normal;color:#555}#poststuff #woocommerce-order-totals ul.totals li input.first{width:49%;float:left}#poststuff #woocommerce-order-totals ul.totals li input.last{width:49%;float:right}#poststuff #woocommerce-order-totals ul.totals li.left{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.left input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.right{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals ul.totals li.right input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.wide{float:left;width:100%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.wide input{width:100%}#poststuff #woocommerce-order-totals ul.totals .calculated{border-color:#ae8ca2;border-style:dotted}#poststuff #woocommerce-order-totals #tax_rows{margin:6px 0 0}#poststuff #woocommerce-order-totals .tax_row{margin:0 0 9px;border:1px solid #dfdfdf;background:#fff;padding:6px 6px 0;position:relative;opacity:.75}#poststuff #woocommerce-order-totals .tax_row:hover,#poststuff #woocommerce-order-totals .tax_row:focus{opacity:1}#poststuff #woocommerce-order-totals .tax_row p{margin:0 0 6px}#poststuff #woocommerce-order-totals .tax_row label{color:#555}#poststuff #woocommerce-order-totals .tax_row label .checkbox{line-height:26px}#poststuff #woocommerce-order-totals .tax_row p.first{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals .tax_row p.first input,#poststuff #woocommerce-order-totals .tax_row p.first select{width:100%}#poststuff #woocommerce-order-totals .tax_row p.last{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals .tax_row p.last input,#poststuff #woocommerce-order-totals .tax_row p.last select{width:100%}#poststuff #woocommerce-order-totals .tax_row a.delete_tax_row{padding:0;text-decoration:none;font-size:11px;line-height:16px;width:16px;height:16px;text-align:center;color:#999;float:right;background:#ddd;border:1px solid #eee;-webkit-box-shadow:0 0 0 1px #ccc;-webkit-border-radius:8px;-moz-border-radius:8px;-o-border-radius:8px;border-radius:8px;position:absolute;top:0;right:0;margin:-8px -8px 0 0;display:none}#poststuff #woocommerce-order-totals .tax_row:hover a.delete_tax_row,#poststuff #woocommerce-order-totals .tax_row:focus a.delete_tax_row{display:block}#poststuff #woocommerce-order-notes .inside{margin:0;padding:0}#poststuff #woocommerce-order-notes .inside ul.order_notes li{padding:0 10px}.woocommerce_order_items_wrapper{margin:0}.woocommerce_order_items_wrapper table.woocommerce_order_items{width:100%;background:#fff}.woocommerce_order_items_wrapper table.woocommerce_order_items thead th{background:#ececec;padding:8px;font-size:11px;text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items td{padding:8px;text-align:left;line-height:26px;vertical-align:top;border-bottom:1px dotted #ececec}.woocommerce_order_items_wrapper table.woocommerce_order_items td input,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items td select{width:50%}.woocommerce_order_items_wrapper table.woocommerce_order_items td input,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{font-size:14px;padding:4px;color:#555}.woocommerce_order_items_wrapper table.woocommerce_order_items .name{min-width:200px}.woocommerce_order_items_wrapper table.woocommerce_order_items .center,.woocommerce_order_items_wrapper table.woocommerce_order_items .variation-id{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class{text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label{display:block;white-space:nowrap;color:#999;font-size:.833em}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label input{display:inline}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class input{width:60px;vertical-align:middle;text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax select,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class select{width:85px;height:26px;vertical-align:middle}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input{text-align:center;width:40px}.woocommerce_order_items_wrapper table.woocommerce_order_items td.tax_class,.woocommerce_order_items_wrapper table.woocommerce_order_items th.tax_class{text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items .calculated{border-color:#ae8ca2;border-style:dotted}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td{padding:1px 4px 1px 0;border:0}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input{min-width:100px}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb a{display:block}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:46px;height:46px}.widefat .column-order_title time{display:block;color:#999;margin:3px 0}.widefat .column-order_actions{width:110px}.widefat .column-order_actions a.button{float:left;margin:0 4px 2px 0;cursor:pointer;padding:3px 6px}.widefat .column-order_actions a.button img{display:block}.widefat small.meta{display:block;color:#999;font-size:inherit;margin:3px 0}.widefat .column-total_cost,.widefat .column-order_date{width:9%}.widefat .column-order_status{width:75px;text-align:center}.widefat .column-order_status mark{display:block;text-align:center;white-space:nowrap;padding:0 2px;background:#999;font-size:11px;line-height:1.75;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin:0;color:#fff;font-weight:bold}.widefat .column-order_status mark.pending{background-color:#999}.widefat .column-order_status mark.completed{background-color:#a0658b}.widefat .column-order_status mark.on-hold{background-color:#e66f00}.widefat .column-order_status mark.failed{background-color:red}.widefat .column-order_status mark.cancelled{background-color:#ccc}.widefat .column-order_status mark.processing{background-color:#2184c2}.widefat .column-order_status mark.refunded{background-color:#ccc}ul.order_notes{padding:2px 0 0 0}ul.order_notes li .note_content{padding:10px;background:#efefef;position:relative}ul.order_notes li .note_content p{margin:0;padding:0}ul.order_notes li p.meta{padding:10px;color:#999;margin:0;font-size:11px}ul.order_notes li a.delete_note{color:#f00}ul.order_notes li .note_content:after{content:"";display:block;position:absolute;bottom:-15px;left:30px;width:0;height:0;border-width:15px 15px 0 0;border-style:solid;border-color:#efefef transparent}ul.order_notes li.customer-note .note_content{background:#d7cad2}ul.order_notes li.customer-note .note_content:after{border-color:#d7cad2 transparent}.add_note{border-top:1px solid #ddd;padding:10px 10px 0}.add_note h4{margin-top:5px!important}.add_note #add_order_note{width:100%;height:50px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag{width:11%!important}table.wp-list-table .column-sku,table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag,table.wp-list-table .column-is_in_stock,table.wp-list-table .column-price,table.wp-list-table .column-product_date{width:9%}table.wp-list-table .column-featured,table.wp-list-table .column-product_type{width:46px;text-align:left!important}table.wp-list-table .column-note{width:46px;text-align:center}table.wp-list-table .column-note img{margin:0 auto;padding-top:0!important}table.wp-list-table .column-order_comments{width:3em!important}table.wp-list-table .column-order_comments .post-com-count{float:left}table.wp-list-table th.column-note img,table.wp-list-table th.column-order_comments img{padding-top:1px!important}table.wp-list-table .manage-column.column-featured img,table.wp-list-table .manage-column.column-product_type img{padding-left:2px}table.wp-list-table img{margin:1px 2px}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}table.wp-list-table span.na{color:#999}table.wp-list-table .column-is_in_stock{text-align:left!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){table.wp-list-table span.product-type{background-image:url(../images/product_types-x2.png)!important;background-size:96px 16px!important}}table.wp-list-table span.product-type{width:16px;height:16px;margin:1px 2px;display:block;background:url(../images/product_types.png) no-repeat -16px 0}table.wp-list-table span.product-type.grouped{background-position:0 0}table.wp-list-table span.product-type.external{background-position:-32px 0}table.wp-list-table span.product-type.variable{background-position:-48px 0}table.wp-list-table span.product-type.downloadable{background-position:-64px 0}table.wp-list-table span.product-type.virtual{background-position:-80px 0}table.wp-list-table mark.instock{font-weight:bold;color:green;background:transparent none;line-height:1}table.wp-list-table mark.outofstock{font-weight:bold;color:#a44;background:transparent none;line-height:1}ul.woocommerce_stats{overflow:hidden;zoom:1}ul.woocommerce_stats li{width:22%;padding:0 1.4%;float:left;font-size:.8em;border-left:1px solid #fff;border-right:1px solid #ececec;text-align:center}ul.woocommerce_stats li:first-child{border-left:0}ul.woocommerce_stats li:last-child{border-right:0}ul.woocommerce_stats strong{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:4em;line-height:1.2em;font-weight:normal;text-align:center;display:block}#woocommerce_dashboard_right_now p.sub,#woocommerce_dashboard_right_now .table,#woocommerce_dashboard_right_now .versions{margin:-12px}#woocommerce_dashboard_right_now .inside{font-size:12px;margin-bottom:0;padding-top:20px}#woocommerce_dashboard_right_now p.sub{padding:5px 0 15px;color:#8f8f8f;font-size:14px;position:absolute;top:-17px;left:15px}#woocommerce_dashboard_right_now .table{margin:0;padding:0;position:relative}#woocommerce_dashboard_right_now .table_shop_content{float:left;border-top:#ececec 1px solid;width:45%}#woocommerce_dashboard_right_now .table_orders{float:right;border-top:#ececec 1px solid;width:45%}#woocommerce_dashboard_right_now table td{padding:3px 0;white-space:nowrap}#woocommerce_dashboard_right_now table tr.first td{border-top:0}#woocommerce_dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:14px;width:1%}#woocommerce_dashboard_right_now td.b a{font-size:18px}#woocommerce_dashboard_right_now td.b a:hover{color:#d54e21}#woocommerce_dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777}#woocommerce_dashboard_right_now .t a{white-space:nowrap}#woocommerce_dashboard_right_now .on-hold a{color:red}#woocommerce_dashboard_right_now .pending a{color:#e66f00}#woocommerce_dashboard_right_now .completed a{color:green}#woocommerce_dashboard_right_now .versions{padding:6px 10px 12px;clear:both}#woocommerce_dashboard_right_now .versions .b{font-weight:bold}#woocommerce_dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px}#woocommerce_dashboard_sales h3 a{float:right;margin-left:8px}ul.recent-orders li,ul.stock_list li{overflow:hidden;zoom:1;border-bottom:#ececec 1px solid;padding:0 0 8px;margin:0 0 8px}ul.recent-orders li .order-status,ul.stock_list li .order-status{float:right}ul.recent-orders li small,ul.stock_list li small{color:#999}ul.recent-orders li .order-cost,ul.stock_list li .order-cost,ul.recent-orders li .order-customer,ul.stock_list li .order-customer{margin-left:8px}ul.recent-orders li .completed,ul.stock_list li .completed{color:green}ul.recent-orders li .on-hold,ul.stock_list li .on-hold{color:red}ul.recent-orders li .processing,ul.stock_list li .processing{color:#21759b}ul.recent-orders li .pending,ul.stock_list li .pending{color:#e66f00}ul.recent-orders li .refunded,ul.stock_list li .refunded,ul.recent-orders li .cancelled,ul.stock_list li .cancelled{color:#999}ul.recent-orders.stock_list small,ul.stock_list.stock_list small{float:right}ul.recent-orders.stock_list a,ul.stock_list.stock_list a{text-decoration:none}#woocommerce_dashboard_recent_reviews li{line-height:1.5em;margin-bottom:12px}#woocommerce_dashboard_recent_reviews h4.meta{line-height:1.4;margin:-0.2em 0 0 0;font-weight:normal;color:#999}#woocommerce_dashboard_recent_reviews blockquote{padding:0;margin:0}#woocommerce_dashboard_recent_reviews .avatar{float:left;margin:0 10px 5px 0}#woocommerce_dashboard_recent_reviews .star-rating{float:right;width:50px;height:10px;margin:3px 0 0 0;background:url(../images/admin-star.png) repeat-x left -10px}#woocommerce_dashboard_recent_reviews .star-rating span{background:url(../images/admin-star.png) repeat-x left 0;height:0;padding-top:10px;overflow:hidden;float:left}mark.notice{background:#fff;color:red;margin:0 0 0 10px}a.export_rates,a.import_rates{float:right;margin-left:9px;margin-top:-2px;margin-bottom:0}.woocommerce table.shippingrows td,.woocommerce table.taxrows td,.woocommerce table.shippingrows th,.woocommerce table.taxrows th{vertical-align:top;line-height:25px;margin-bottom:9px}.woocommerce table.shippingrows a.remove,.woocommerce table.taxrows a.remove{margin:0!important}.woocommerce table.shippingrows .dupe,.woocommerce table.taxrows .dupe,.woocommerce table.shippingrows .remove,.woocommerce table.taxrows .remove{float:right;margin-left:9px}.woocommerce table.shippingrows tbody .check-column,.woocommerce table.taxrows tbody .check-column{padding-top:8px}.woocommerce table.shippingrows tbody .check-column input,.woocommerce table.taxrows tbody .check-column input{margin:0 0 0 8px}.woocommerce table.shippingrows input,.woocommerce table.taxrows input{width:auto}.woocommerce table.shippingrows td.apply_to_shipping,.woocommerce table.taxrows td.apply_to_shipping{padding-top:8px}.woocommerce table.shippingrows td.country,.woocommerce table.taxrows td.country{overflow:visible!important}.woocommerce table.shippingrows td.country p,.woocommerce table.taxrows td.country p{line-height:25px;margin:0;color:#666}.woocommerce table.shippingrows td.country button.edit_options,.woocommerce table.taxrows td.country button.edit_options{float:right}.woocommerce table.shippingrows td.country select,.woocommerce table.taxrows td.country select{margin:9px 0;width:100%;height:160px!important}.woocommerce table.shippingrows td.country p.edit,.woocommerce table.taxrows td.country p.edit,.woocommerce table.shippingrows td.country .options,.woocommerce table.taxrows td.country .options{min-width:400px}.woocommerce table.shippingrows td.country .chzn-container,.woocommerce table.taxrows td.country .chzn-container{width:100%!important;margin:9px 0 5px}.woocommerce table.shippingrows td.country .chzn-container .chzn-drop,.woocommerce table.taxrows td.country .chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce table.shippingrows td.country .chzn-container .search-field input,.woocommerce table.taxrows td.country .chzn-container .search-field input{width:150px!important}.woocommerce table.shippingrows td.local_country,.woocommerce table.taxrows td.local_country{overflow:visible!important;width:400px!important}.woocommerce table.shippingrows td.local_country select,.woocommerce table.taxrows td.local_country select{width:400px!important;margin-bottom:3px}.woocommerce table.shippingrows td.local_country textarea,.woocommerce table.taxrows td.local_country textarea{height:60px;width:400px;font-size:13px;line-height:16px;display:block}.woocommerce table.shippingrows td.rate,.woocommerce table.taxrows td.rate{white-space:nowrap}table.wc_gateways,table.wc_shipping{position:relative}table.wc_gateways td,table.wc_shipping td{vertical-align:middle;cursor:move;padding:4px 7px 2px}table.wc_gateways td p,table.wc_shipping td p{margin:0 0 2px}table.wc_gateways .radio,table.wc_shipping .radio{text-align:center}img.help_tip{vertical-align:middle;margin:0 0 0 9px}.postbox img.help_tip{margin-top:-4px}.woocommerce #template div{margin:0}.woocommerce #template div p .button{float:right;margin-left:10px;margin-top:-4px}.woocommerce #template div .editor textarea{margin-bottom:8px}.woocommerce textarea[disabled="disabled"]{background:#dfdfdf!important}.woocommerce table.form-table{margin:0}.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.woocommerce table.form-table input.regular-input{width:25em}.woocommerce table.form-table textarea.wide-input{width:100%}.woocommerce table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.woocommerce table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.woocommerce table.form-table .color_box{border:1px solid #ccc;box-shadow:1px 1px 3px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.2);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:4px 6px;float:left;width:80px;margin:0 10px 0 0}.woocommerce table.form-table .color_box strong{text-align:left;display:block;padding:0 0 2px;font-size:.92em}.woocommerce table.form-table .color_box strong img{float:right;margin:1px 0 0 0}.woocommerce table.form-table .color_box input{width:100%;margin:0;font-family:monospace;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce table.form-table .color_box .colorpickdiv{z-index:100;background:#eee;border:1px solid #ccc;position:absolute;display:none}.woocommerce table.form-table .color_box_clear{display:block;clear:both;padding-bottom:10px}.woocommerce #tabs-wrap table a.remove{margin-left:4px}.woocommerce #tabs-wrap table p{margin:0 0 4px!important;overflow:hidden;zoom:1}.woocommerce #tabs-wrap table p a.add{float:left}#wp-excerpt-editor-container{background:#fff}#product_variation-parent #parent_id{width:100%}#woocommerce-product-data h3.hndle{padding:4px 10px}#woocommerce-product-data h3.hndle span{display:block;vertical-align:middle;line-height:24px}#woocommerce-product-data h3.hndle span span{display:inline;line-height:inherit;vertical-align:baseline}#woocommerce-product-data h3.hndle select{font-family:sans-serif;margin:0}#woocommerce-product-data h3.hndle label{padding-right:1em;font-size:12px;vertical-align:baseline}#woocommerce-product-data h3.hndle label:first-child{margin-right:1em;border-right:1px solid #dfdfdf}#woocommerce-product-data h3.hndle input,#woocommerce-product-data h3.hndle select{margin:-3px 0 0 .5em;vertical-align:middle}#woocommerce-product-data ul.product_data_tabs,.woocommerce ul.wc-tabs{background:#f9f9f9;border-top:1px solid #fff;padding:3px 9px 0;margin:0;overflow:hidden;zoom:1;line-height:1em;-webkit-box-shadow:inset 0 -1px 0 0 #d5d5d5;-moz-box-shadow:inset 0 -1px 0 0 x #d5d5d5;box-shadow:inset 0 -1px 0 0 #d5d5d5}#woocommerce-product-data ul.product_data_tabs li,.woocommerce ul.wc-tabs li{float:left;padding:0;margin:0 6px 0 0}#woocommerce-product-data ul.product_data_tabs li a,.woocommerce ul.wc-tabs li a{padding:0;margin:0;border:0;border:1px solid #d5d5d5;border-bottom:0;float:left;padding:9px 9px;background:#f1f1f1;text-decoration:none;color:#555;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;-webkit-box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5);box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5)}#woocommerce-product-data ul.product_data_tabs li.active a,.woocommerce ul.wc-tabs li.active a{background:#f8f8f8;color:#555;background-image:linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-moz-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-webkit-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-ms-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(1,#f8f8f8))}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#woocommerce-product-data ul.product_data_tabs li.general_options a,#woocommerce-product-data ul.product_data_tabs li.tax_options a,#woocommerce-product-data ul.product_data_tabs li.inventory_options a,#woocommerce-product-data ul.product_data_tabs li.shipping_options a,#woocommerce-product-data ul.product_data_tabs li.related_product_options a,#woocommerce-product-data ul.product_data_tabs li.attribute_options a,#woocommerce-product-data ul.product_data_tabs li.variation_options a,#woocommerce-product-data ul.product_data_tabs li.advanced_options a{background-image:url(../images/icons/wc-tab-icons-x2.png)!important;background-size:17px 720px!important}}#woocommerce-product-data ul.product_data_tabs li.general_options a,#woocommerce-product-data ul.product_data_tabs li.tax_options a,#woocommerce-product-data ul.product_data_tabs li.inventory_options a,#woocommerce-product-data ul.product_data_tabs li.shipping_options a,#woocommerce-product-data ul.product_data_tabs li.related_product_options a,#woocommerce-product-data ul.product_data_tabs li.attribute_options a,#woocommerce-product-data ul.product_data_tabs li.variation_options a,#woocommerce-product-data ul.product_data_tabs li.advanced_options a{padding:9px 9px 9px 31px;line-height:16px;border-bottom:1px solid #d5d5d5;text-shadow:0 1px 1px #fff;color:#555;background:#f1f1f1 url(../images/icons/wc-tab-icons.png) no-repeat 9px 9px}#woocommerce-product-data ul.product_data_tabs li.general_options a{background-position:9px 9px}#woocommerce-product-data ul.product_data_tabs li.tax_options a{background-position:9px -55px}#woocommerce-product-data ul.product_data_tabs li.inventory_options a{background-position:9px -119px}#woocommerce-product-data ul.product_data_tabs li.shipping_options a{background-position:9px -631px}#woocommerce-product-data ul.product_data_tabs li.related_product_options a{background-position:9px -567px}#woocommerce-product-data ul.product_data_tabs li.attribute_options a{background-position:9px -247px}#woocommerce-product-data ul.product_data_tabs li.advanced_options a{background-position:9px -695px}#woocommerce-product-data ul.product_data_tabs li.variation_options a{background-position:9px -439px}#woocommerce-product-data ul.product_data_tabs li.active a{background-color:#f8f8f8;border-bottom:1px solid #f8f8f8}#woocommerce-product-data .inside,#woocommerce-product-type-options .inside,#woocommerce-order-data .inside,#woocommerce-order-downloads .inside,#woocommerce-coupon-data .inside{padding:0;margin:0}.woocommerce_options_panel,.panel{padding:9px 9px 9px 9px;color:#555}.woocommerce_page_settings .woocommerce_options_panel,.panel{padding:0}#woocommerce-product-type-options .panel,#woocommerce-product-specs .inside{padding:9px;margin:0}.woocommerce_options_panel p,#woocommerce-product-type-options .panel p{margin:0 0 9px;font-size:12px;padding:5px 9px;line-height:24px}.woocommerce_options_panel p:after,#woocommerce-product-type-options .panel p:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce_options_panel .checkbox,table.woocommerce_variable_attributes .checkbox{vertical-align:middle;margin:7px 0;width:auto}.woocommerce_options_panel p{margin:9px 0 9px}.woocommerce_options_panel label{float:left;width:150px;padding:0}.woocommerce_options_panel label .req{font-weight:bold;font-style:normal;color:red}.woocommerce_options_panel .description{padding:0;margin:0 0 0 7px}.woocommerce_options_panel .description-block{margin-left:0;display:block}.woocommerce_options_panel textarea,.woocommerce_options_panel input,.woocommerce_options_panel select{margin:0}.woocommerce_options_panel textarea{vertical-align:top;height:3.5em;line-height:1.5em}.woocommerce_options_panel input{width:50%;float:left}.woocommerce_options_panel input.button{width:auto;margin-left:8px}.woocommerce_options_panel select{float:left}.woocommerce_options_panel .short{width:20%}.woocommerce_options_panel .sized{width:auto!important;margin-right:6px}.woocommerce_options_panel .options_group{border-top:1px solid white;border-bottom:1px solid #dfdfdf}.woocommerce_options_panel .options_group:first-child{border-top:0}.woocommerce_options_panel .dimensions_field .wrap input{margin-right:.2%;width:6.6%}.woocommerce_options_panel .dimensions_field .wrap .last{margin-right:0}.woocommerce_options_panel .upload_file_button{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAQ0lEQVQYV3WPUQoAMAhC1+E6tYdrFBgiW185X7biSAGolpkZfN6GJg1CA7ip0CYo+FzxBTqeE/7J1qGAXsTEAdxQfQHJTymZe4oqiAAAAABJRU5ErkJggg==) no-repeat 8px 5px}#woocommerce-product-data input.dp-applied{float:left}#grouped_product_options,#virtual_product_options,#simple_product_options{padding:12px;font-style:italic;color:#666}.wc-metaboxes-wrapper .expand_all,.wc-metaboxes-wrapper .close_all{float:right;margin-left:9px;line-height:22px}.wc-metaboxes-wrapper .expand_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAI0lEQVQYV2PcvXv3fwY8gJEoBa6urozYDAFpBpswGBTg8yYA3kYtiYVhDhIAAAAASUVORK5CYII=) no-repeat left}.wc-metaboxes-wrapper .close_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAHUlEQVQYV2NkIAAYd+/e/R+fGsIKCFpBUAHt3QAASf0MyQbFJwoAAAAASUVORK5CYII=) no-repeat left}.wc-metaboxes-wrapper .toolbar{margin:0!important;border-top:1px solid white;border-bottom:1px solid #dfdfdf;padding:9px 12px!important}.wc-metaboxes-wrapper .toolbar:first-child{border-top:0}.wc-metaboxes-wrapper p.toolbar{overflow:hidden;zoom:1}.wc-metaboxes-wrapper select.attribute_taxonomy,.wc-metaboxes-wrapper button.add_attribute,.wc-metaboxes-wrapper button.add_variable_attribute,.wc-metaboxes-wrapper .fr{float:right;margin:0 0 0 6px}.wc-metaboxes-wrapper .wc-metaboxes{border-bottom:1px solid #dfdfdf;padding:0 12px 0}.wc-metaboxes-wrapper .wc-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}.wc-metaboxes-wrapper .wc-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.wc-metaboxes-wrapper .wc-metabox.closed{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.wc-metaboxes-wrapper .wc-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}.wc-metaboxes-wrapper .wc-metabox h3 button{float:right}.wc-metaboxes-wrapper .wc-metabox h3 strong{font-weight:normal;line-height:24px}.wc-metaboxes-wrapper .wc-metabox h3 select{font-family:sans-serif}.wc-metaboxes-wrapper .wc-metabox h3 .handlediv{background-position:6px 5px!important;display:none;height:24px}.wc-metaboxes-wrapper .wc-metabox h3.fixed{cursor:pointer!important}.wc-metaboxes-wrapper .wc-metabox:hover h3 .handlediv{display:block}.wc-metaboxes-wrapper .wc-metabox table{width:100%;position:relative;background:#fff;padding:3px}.wc-metaboxes-wrapper .wc-metabox table td{text-align:left;padding:6px 6px;vertical-align:top;border:0}.wc-metaboxes-wrapper .wc-metabox table td label{text-align:left;display:block;line-height:21px}.wc-metaboxes-wrapper .wc-metabox table td input{float:left;min-width:200px}.wc-metaboxes-wrapper .wc-metabox table td input,.wc-metaboxes-wrapper .wc-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}.wc-metaboxes-wrapper .wc-metabox table td select,.wc-metaboxes-wrapper .wc-metabox table td .chzn-container{width:100%!important}.wc-metaboxes-wrapper .wc-metabox table td input.short{width:200px}.wc-metaboxes-wrapper .wc-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}.wc-metaboxes-wrapper .wc-metabox table td.attribute_name{width:200px}.wc-metaboxes-wrapper .wc-metabox table .plus,.wc-metaboxes-wrapper .wc-metabox table .minus{margin-top:6px}.wc-metaboxes-wrapper .wc-metabox table .fl{float:left}.wc-metaboxes-wrapper .wc-metabox table .fr{float:right}.wc-metaboxes-wrapper .plus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px}.wc-metaboxes-wrapper .minus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px}#variable_product_options p.toolbar strong{margin:0 6px 0 0;float:left;line-height:23px}#variable_product_options p.toolbar .button,#variable_product_options p.toolbar select{margin:0 6px 0 0;float:left}#variable_product_options p.toolbar a.set{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px}#variable_product_options p.toolbar a.toggle{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWUlEQVQYGY3QAQrAIAgFUB07mrfWu7kc+2JRsiA0fJnE7k5m5tQsEWFS1WGduh3mahpNLx3hOs4WAr2zfU8mRBGxorAJ4wAU+boS1g41x4UbScQdQJ3/fvgDtStDiI0qoDcAAAAASUVORK5CYII=) no-repeat 7px 5px}#variable_product_options p.toolbar a.delete_variations{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px}#variable_product_options p.toolbar .add_variation,#variable_product_options p.toolbar .link_all_variations,#variable_product_options p.toolbar .fr{float:right;margin:0 0 0 6px}#variable_product_options .woocommerce_variation table{background:#f5f5f5;padding:6px}#variable_product_options .woocommerce_variation table td input{min-width:inherit!important}#variable_product_options .woocommerce_variation table td.dimensions_field input{width:32%;margin-right:2%}#variable_product_options .woocommerce_variation table td.dimensions_field .last{margin-right:0}#variable_product_options .woocommerce_variation table td.options{width:150px}#variable_product_options .woocommerce_variation table td.options label{margin-bottom:6px}#variable_product_options .woocommerce_variation table td.data{padding:0 0 0 12px}#variable_product_options .woocommerce_variation table td.data table{width:100%;padding:0 12px 6px 12px;background:#fff;border:1px solid #dfdfdf;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table td{width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table:before{content:"";display:block;position:absolute;top:33px;left:0;margin:0 0 0 -1px;border:7px solid #dfdfdf;border-color:transparent transparent transparent #dfdfdf}#variable_product_options .woocommerce_variation table td.data table:after{content:"";display:block;position:absolute;top:34px;left:0;margin:0 0 0 -1px;border:6px solid #f5f5f5;border-color:transparent transparent transparent #f5f5f5}#variable_product_options .woocommerce_variation table td.upload_image{white-space:nowrap;width:75px}#variable_product_options .woocommerce_variation table td.upload_image img{float:none;width:73px;border:1px solid #dfdfdf}#variable_product_options .woocommerce_variation table td.upload_image .button{margin:0;padding:4px 10px;width:auto;float:none;vertical-align:middle}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button{display:block;position:relative}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button .overlay{display:none;width:75px;height:75px;position:absolute;top:0;left:0;margin:0;padding:0;opacity:.5;background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAXklEQVQYGW2OUQrAMAhDFy8+dnKnwiuh2I+aJulDZebDkfSie1b28Q7EXWrfvSm60RQnkQUC8ja7owpmL6d4GdDZ0cNNHyIhZEj4QYCxze6orsluAh8AnR0xKPR07weXJi8JGd3qqwAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button:hover .overlay{display:block}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button.remove .overlay{background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWElEQVQYGY2OUQ6AMAxCZdm9jSev65K3YKNm+6EFBlVEHDxJJ3Pi0C72xlBNyTs3jU7wEUTTIB51GCp2CL8HLpHEdaOLb/N2dfuq9NT0zOo/M9q6EaImsd/uViMLVuD4KAAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table td .file_path_field .upload_file_button{text-align:center;width:auto;margin:5px 0 0 0;padding:3px 8px 3px 20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAQ0lEQVQYV3WPUQoAMAhC1+E6tYdrFBgiW185X7biSAGolpkZfN6GJg1CA7ip0CYo+FzxBTqeE/7J1qGAXsTEAdxQfQHJTymZe4oqiAAAAABJRU5ErkJggg==) no-repeat 8px 5px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0 0}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;padding:4px 8px;background:#a2678c;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;box-shadow:1px 1px 3px rgba(0,0,0,0.1);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.1);text-align:center}#tiptip_content code{background:#855c76;padding:1px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#a2678c}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#a2678c}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#a2678c}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#a2678c}img.ui-datepicker-trigger{vertical-align:middle;margin-top:-1px;cursor:pointer}.woocommerce_options_panel img.ui-datepicker-trigger,.wc-metabox-content img.ui-datepicker-trigger{float:left;margin-right:8px;margin-top:4px;margin-left:4px}#ui-datepicker-div{display:none}.woocommerce-reports-wrap{margin-left:300px;padding-top:18px}.woocommerce-reports-wrap.halved{margin:0;overflow:hidden;zoom:1}.woocommerce-reports-wrap .postbox h3{cursor:default!important}.woocommerce-reports-wrap .postbox .stat{font-size:1.5em!important;font-weight:bold;text-align:center}.woocommerce-reports-wrap .postbox .chart{padding:16px}.woocommerce-reports-wrap .woocommerce-reports-main{float:left;min-width:100%}.woocommerce-reports-wrap .woocommerce-reports-main table td{padding:9px}.woocommerce-reports-wrap .woocommerce-reports-sidebar{display:inline;width:281px;margin-left:-300px;clear:both;float:left}.woocommerce-reports-wrap .woocommerce-reports-left{width:49.5%;float:left}.woocommerce-reports-wrap .woocommerce-reports-right{width:49.5%;float:right}.woocommerce-wide-reports-wrap{padding-bottom:11px}.woocommerce-wide-reports-wrap .widefat .export-data{float:right}.woocommerce-wide-reports-wrap .widefat th,.woocommerce-wide-reports-wrap .widefat td{vertical-align:middle;padding:7px}form.report_filters p{vertical-align:middle}form.report_filters label,form.report_filters input,form.report_filters div{vertical-align:middle}#tooltip{color:#fff;font-size:12px;-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;opacity:.80}table.bar_chart{width:100%}table.bar_chart thead th{text-align:left;color:#ccc;padding:6px 0}table.bar_chart tbody th{padding:6px 0;width:25%;text-align:left!important;font-weight:normal!important;border-bottom:1px solid #fee}table.bar_chart tbody td{text-align:right;line-height:24px;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td span{color:#8a4b75;display:block}table.bar_chart tbody td span.alt{color:#47a03e;margin-top:6px}table.bar_chart tbody td.bars{position:relative;text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td.bars span,table.bar_chart tbody td.bars a{text-decoration:none;clear:both;background:#8a4b75;float:left;display:block;line-height:24px;height:24px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}table.bar_chart tbody td.bars span.alt{clear:both;background:#47a03e}table.bar_chart tbody td.bars span.alt span{margin:0;color:#c5dec2!important;text-shadow:0 1px 0 #47a03e;background:transparent}#woocommerce_allowed_countries_chzn .chzn-search,#woocommerce_file_download_method_chzn .chzn-search{display:none}.chzn-container-single .chzn-single{height:24px;line-height:25px}.chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 0!important}.chzn-container-active .chzn-single-with-drop div b{background-position:-18px 1px!important}.chzn-container-single .chzn-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container-multi .chzn-choices .search-field input{height:21px!important}.woocommerce_options_panel .chzn-container-multi{width:50%!important;float:left}.woocommerce_options_panel .chzn-container-multi .search-field{min-width:50%}.woocommerce_options_panel .chzn-container-multi .search-field input{min-width:100%}.woocommerce-checkout .form-row .chzn-container{width:100%!important}.woocommerce-checkout .form-row .chzn-container-single .chzn-single{height:28px;line-height:29px}.woocommerce-checkout .form-row .chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 3px!important}.woocommerce-checkout .form-row .chzn-container-active .chzn-single-with-drop div b{background-position:-18px 4px!important}.woocommerce-checkout .form-row .chzn-container-single .chzn-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce-checkout .form-row .chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container{font-size:13px;position:relative;display:inline-block;zoom:1;*display:inline}.chzn-container .chzn-drop{background:#fff;border:1px solid #aaa;border-top:0;position:absolute;top:29px;left:0;-webkit-box-shadow:0 4px 5px rgba(0,0,0,0.15);-moz-box-shadow:0 4px 5px rgba(0,0,0,0.15);-o-box-shadow:0 4px 5px rgba(0,0,0,0.15);box-shadow:0 4px 5px rgba(0,0,0,0.15);z-index:999}.chzn-container-single .chzn-single{background-color:#fff;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff',endColorstr='#eeeeee',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background-image:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-ms-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #aaa;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);-moz-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);display:block;overflow:hidden;white-space:nowrap;position:relative;padding:0 0 0 8px;color:#444;text-decoration:none}.chzn-container-single .chzn-default{color:#999}.chzn-container-single .chzn-single span{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.chzn-container-single .chzn-single abbr{display:block;position:absolute;right:26px;top:6px;width:12px;height:13px;font-size:1px;background:url('../images/chosen-sprite.png') right top no-repeat}.chzn-container-single .chzn-single abbr:hover{background-position:right -11px}.chzn-container-single .chzn-single div{position:absolute;right:0;top:0;display:block;height:100%;width:18px}.chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 0;display:block;width:100%;height:100%}.chzn-container-single .chzn-search{padding:3px 4px;position:relative;margin:0;white-space:nowrap;z-index:1010}.chzn-container-single .chzn-search input{background:#fff url('../images/chosen-sprite.png') no-repeat 100% -22px;background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-webkit-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-moz-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-o-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-ms-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,linear-gradient(top,#eee 1%,#fff 15%);margin:1px 0;padding:4px 20px 4px 5px;outline:0;border:1px solid #aaa;font-family:sans-serif;font-size:1em}.chzn-container-single .chzn-drop{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.chzn-container-single-nosearch .chzn-search input{position:absolute;left:-9000px}.chzn-container-multi .chzn-choices{background-color:#fff;background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(top,#eee 1%,#fff 15%);background-image:-moz-linear-gradient(top,#eee 1%,#fff 15%);background-image:-o-linear-gradient(top,#eee 1%,#fff 15%);background-image:-ms-linear-gradient(top,#eee 1%,#fff 15%);background-image:linear-gradient(top,#eee 1%,#fff 15%);border:1px solid #aaa;margin:0;padding:0;cursor:text;overflow:hidden;height:auto!important;height:1%;position:relative}.chzn-container-multi .chzn-choices li{float:left;list-style:none}.chzn-container-multi .chzn-choices .search-field{white-space:nowrap;margin:0;padding:0}.chzn-container-multi .chzn-choices .search-field input{color:#666;background:transparent!important;border:0!important;font-family:sans-serif;font-size:100%;height:15px;padding:5px;margin:1px 0;outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;-o-box-shadow:none;box-shadow:none}.chzn-container-multi .chzn-choices .search-field .default{color:#999}.chzn-container-multi .chzn-choices .search-choice{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#e4e4e4;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#eeeeee',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-ms-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);-moz-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);color:#333;border:1px solid #aaa;line-height:13px;padding:3px 20px 3px 5px;margin:3px 0 3px 5px;position:relative;cursor:default}.chzn-container-multi .chzn-choices .search-choice-focus{background:#d4d4d4}.chzn-container-multi .chzn-choices .search-choice .search-choice-close{display:block;position:absolute;right:3px;top:4px;width:12px;height:13px;font-size:1px;background:url('../images/chosen-sprite.png') right top no-repeat}.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover{background-position:right -11px}.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close{background-position:right -11px}.chzn-container .chzn-results{margin:0 4px 4px 0;max-height:240px;padding:0 0 0 4px;position:relative;overflow-x:hidden;overflow-y:auto}.chzn-container-multi .chzn-results{margin:-1px 0 0;padding:0}.chzn-container .chzn-results li{display:none;line-height:15px;padding:5px 6px;margin:0;list-style:none}.chzn-container .chzn-results .active-result{cursor:pointer;display:list-item}.chzn-container .chzn-results .highlighted{background-color:#3875d7;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#3875d7',endColorstr='#2a62bc',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-ms-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(top,#3875d7 20%,#2a62bc 90%);color:#fff}.chzn-container .chzn-results li em{background:#feffde;font-style:normal}.chzn-container .chzn-results .highlighted em{background:transparent}.chzn-container .chzn-results .no-results{background:#f4f4f4;display:list-item}.chzn-container .chzn-results .group-result{cursor:default;color:#999;font-weight:bold}.chzn-container .chzn-results .group-option{padding-left:15px}.chzn-container-multi .chzn-drop .result-selected{display:none}.chzn-container .chzn-results-scroll{background:white;margin:0 4px;position:absolute;text-align:center;width:321px;z-index:1}.chzn-container .chzn-results-scroll span{display:inline-block;height:17px;text-indent:-5000px;width:9px}.chzn-container .chzn-results-scroll-down{bottom:0}.chzn-container .chzn-results-scroll-down span{background:url('../images/chosen-sprite.png') no-repeat -4px -3px}.chzn-container .chzn-results-scroll-up span{background:url('../images/chosen-sprite.png') no-repeat -22px -3px}.chzn-container-active .chzn-single{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);-o-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3);border:1px solid #5897fb}.chzn-container-active .chzn-single-with-drop{border:1px solid #aaa;-webkit-box-shadow:0 1px 0 #fff inset;-moz-box-shadow:0 1px 0 #fff inset;-o-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background-color:#eee;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#eeeeee',endColorstr='#ffffff',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(top,#eee 20%,#fff 80%);background-image:-moz-linear-gradient(top,#eee 20%,#fff 80%);background-image:-o-linear-gradient(top,#eee 20%,#fff 80%);background-image:-ms-linear-gradient(top,#eee 20%,#fff 80%);background-image:linear-gradient(top,#eee 20%,#fff 80%);-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.chzn-container-active .chzn-single-with-drop div{background:transparent;border-left:none}.chzn-container-active .chzn-single-with-drop div b{background-position:-18px 1px}.chzn-container-active .chzn-choices{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);-o-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3);border:1px solid #5897fb}.chzn-container-active .chzn-choices .search-field input{color:#111!important}.chzn-disabled{cursor:default;opacity:.5!important}.chzn-disabled .chzn-single{cursor:default}.chzn-disabled .chzn-choices .search-choice .search-choice-close{cursor:default}.chzn-rtl{text-align:right}.chzn-rtl .chzn-single{padding:0 8px 0 0;overflow:visible}.chzn-rtl .chzn-single span{margin-left:26px;margin-right:0;direction:rtl}.chzn-rtl .chzn-single div{left:3px;right:auto}.chzn-rtl .chzn-single abbr{left:26px;right:auto}.chzn-rtl .chzn-choices .search-field input{direction:rtl}.chzn-rtl .chzn-choices li{float:right}.chzn-rtl .chzn-choices .search-choice{padding:3px 5px 3px 19px;margin:3px 5px 3px 0}.chzn-rtl .chzn-choices .search-choice .search-choice-close{left:4px;right:auto;background-position:right top}.chzn-rtl.chzn-container-single .chzn-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chzn-rtl .chzn-results .group-option{padding-left:0;padding-right:15px}.chzn-rtl.chzn-container-active .chzn-single-with-drop div{border-right:0}.chzn-rtl .chzn-search input{background:#fff url('../images/chosen-sprite.png') no-repeat -38px -22px;background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-webkit-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-moz-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-o-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-ms-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,linear-gradient(top,#eee 1%,#fff 15%);padding:4px 5px 4px 20px;direction:rtl} \ No newline at end of file +.woocommerce-message{position:relative;z-index:100;border:1px solid #b76ca9!important;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 0 15px rgba(0,0,0,0.04);-moz-box-shadow:inset 0 0 15px rgba(0,0,0,0.04);box-shadow:inset 0 0 15px rgba(0,0,0,0.04);overflow:hidden;padding:10px 0 10px!important;background:#cc99c2 url(../images/message.png) no-repeat right bottom!important}.woocommerce-message .squeezer{max-width:960px;margin:0;padding:0 10px;text-align:left;overflow:hidden}.woocommerce-message h4{margin:0 10px 0 0;font-size:18px;line-height:36px;font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif;font-weight:normal;color:#fff;text-shadow:0 1px 1px #b574a8;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;float:left;vertical-align:middle}.woocommerce-message p{margin:0!important;padding:2px 0!important;float:left!important;line-height:32px;vertical-align:middle}.woocommerce-message p a.button-primary{font-size:16px!important;line-height:16px!important;margin:0 5px 0 0;padding:6px 15px;vertical-align:middle;color:#fff;text-align:center;text-decoration:none;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #88537e;background:#a46497;-moz-box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 2px #fff,0 1px 1px rgba(0,0,0,0.1);text-shadow:0 -1px 0 rgba(0,0,0,0.3);-webkit-transition-duration:.3s;-moz-transition-duration:.3s;cursor:pointer;font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",Verdana,"Bitstream Vera Sans",sans-serif}.woocommerce-message p a.button-primary:hover,.woocommerce-message p a.button-primary:active{background-color:#f0a000;border-color:#c87800;-webkit-transition-duration:.3s;outline:0;opacity:1}.woocommerce-message p a.skip,.woocommerce-message p a.docs{opacity:.5}.woocommerce-message .twitter-share-button{vertical-align:middle}#variable_product_options #message{margin:10px}#woocommerce_extensions{background:#f1f1f1 url(../images/icons/wc_icon.png) no-repeat 4px 4px;padding:4px 18px 4px 28px;-webkit-border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;border-radius:4px;width:220px;float:right;margin:9px 0 -40px;position:relative;text-shadow:0 1px 0 rgba(255,255,255,0.8);color:#555}#woocommerce_extensions a{color:#555}#woocommerce_extensions a.hide{color:#ccc;float:right;text-decoration:none;position:absolute;top:0;right:0;line-height:20px;padding:2px 8px;font-size:11px;text-align:center}#wc_get_started{position:relative;margin:1em 0 2em;padding:15px 15px 15px 90px;border:1px solid #d9d9d9;background:#f5f5f5 url(../images/gear.png) no-repeat 15px 15px;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff;-moz-box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff;-webkit-box-shadow:inset 1px 1px 0 #fff,inset -1px -1px 0 #fff}#wc_get_started span{display:block;text-shadow:1px 1px 0 #fff;font-size:14px;line-height:22px;color:#595959}#wc_get_started span.main{margin-top:2px;font-weight:bold;font-size:16px}#wc_get_started .main-button{position:absolute;right:20px;top:27px}#wc_get_started p{margin:1em 0 .5em}#wc_get_started.mijireh{background:#5bc0de url(../images/mijireh-logo.png) no-repeat 15px 18px;border:1px solid #339bb9;padding:15px 15px 15px 152px;box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5);-moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5);-webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.5),inset -1px -1px 0 rgba(255,255,255,0.5)}#wc_get_started.mijireh span{color:#fff;text-shadow:0 1px 0 #4a94ac}#wc_get_started.mijireh span a{color:#fff}#wc_get_started.mijireh a.button{border-color:#fff;box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b;-moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b;-webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.1),inset -1px -1px 0 rgba(255,255,255,0.1),0 1px 3px #206d8b}#wc_get_started.mijireh a.button-primary{background:#2b7e9f;border-color:#266e8b}#icon-woocommerce,.woocommerce_icon,.icon32-posts-product,.icon32-posts-shop_order,.icon32-posts-shop_coupon,.icon32-posts-product_variation{background-image:url(../images/icons/woocommerce-icons.png)!important;background-position:-11px -5px;background-size:auto!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#icon-woocommerce,.woocommerce_icon,.icon32-posts-product,.icon32-posts-shop_order,.icon32-posts-shop_coupon,.icon32-posts-product_variation{background-image:url(../images/icons/woocommerce-icons-x2.png)!important;background-size:986px 45px!important}}.icon32-posts-product{background-position:-69px -5px!important}.icon32-posts-shop_order{background-position:-127px -5px!important}.icon32-attributes{background-position:-185px -5px!important}.icon32-woocommerce-settings{background-position:-359px -5px!important}.icon32-posts-shop_coupon{background-position:-475px -5px!important}.icon32-posts-product_variation{background-position:-533px -5px!important}.icon32-woocommerce-reports{background-position:-591px -5px!important}.icon32-woocommerce-status{background-position:-417px -5px!important}.icon32-woocommerce-delivery{background-position:-649px -5px!important}.icon32-woocommerce-compose{background-position:-708px -5px!important}.icon32-woocommerce-telephone{background-position:-766px -5px!important}.icon32-woocommerce-users{background-position:-824px -5px!important}.icon32-woocommerce-nav{background-position:-882px -5px!important}.icon32-woocommerce-email{background-position:-940px -5px!important}.wrap.woocommerce div.updated,.wrap.woocommerce div.error{margin-top:10px}mark.amount{background:transparent none;color:inherit}input.wc-error{color:#d8000c;background-color:#ffbaba}table.wc_status_table th{font-weight:bold}table.wc_status_table td{padding:5px 7px}table.wc_status_table td mark{background:transparent none}table.wc_status_table td mark.yes{color:green}table.wc_status_table td mark.no{color:#999}table.wc_status_table td mark.error{color:red}table.wc_status_table td ul{margin:0}#debug-report{font-family:monospace;display:none;width:100%;margin-bottom:20px;height:200px}.inline-edit-product.quick-edit-row .inline-edit-col-center,.inline-edit-product.quick-edit-row .inline-edit-col-right{float:right!important}#woocommerce-fields.inline-edit-col{clear:left}#woocommerce-fields.inline-edit-col label.featured,#woocommerce-fields.inline-edit-col label.manage_stock{margin-left:10px}#woocommerce-fields.inline-edit-col .dimensions div{display:block;margin:.2em 0}#woocommerce-fields.inline-edit-col .dimensions div span.title{display:block;float:left;width:5em}#woocommerce-fields.inline-edit-col .dimensions div span.input-text-wrap{display:block;margin-left:5em}#woocommerce-fields.inline-edit-col .text{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:99%;float:left;margin:1px 1% 1px 1px}#woocommerce-fields.inline-edit-col .length,#woocommerce-fields.inline-edit-col .width,#woocommerce-fields.inline-edit-col .height{width:32.33%}#woocommerce-fields.inline-edit-col .height{margin-right:0}#woocommerce-fields-bulk.inline-edit-col label{clear:left}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group label,#woocommerce-fields-bulk.inline-edit-col .inline-edit-group div.alignright{clear:none;width:49%;margin:.2em 0}#woocommerce-fields-bulk.inline-edit-col .regular_price,#woocommerce-fields-bulk.inline-edit-col .sale_price,#woocommerce-fields-bulk.inline-edit-col .weight,#woocommerce-fields-bulk.inline-edit-col .stock{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .width,#woocommerce-fields-bulk.inline-edit-col .height{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:32%}.alignleft.actions .chzn-container-single{display:inline-block;vertical-align:middle}#order_data{padding:0 10px 9px}#order_data .order_data_left{width:48%;float:left}#order_data .order_data_left h2{margin-top:11px;margin-bottom:0}#order_data .order_data_left p{padding:0!important}#order_data .order_data_left .form-field{float:left;width:48%;padding:0;margin:9px 0 0 0}#order_data .order_data_left .form-field label{display:block;padding:0 0 3px}#order_data .order_data_left .form-field input,#order_data .order_data_left .form-field textarea{width:100%}#order_data .order_data_left .form-field select{width:100%}#order_data .order_data_left .form-field #order_status_chzn .chzn-search{display:none}#order_data .order_data_left .form-field .chzn-container{width:100%!important}#order_data .order_data_left .form-field .date-picker-field{width:9em}#order_data .order_data_left .form-field .hour,#order_data .order_data_left .form-field .minute{width:2.5em}#order_data .order_data_left .form-field.last{float:right}#order_data .order_data_left .form-field-wide{width:100%;clear:both}#order_data .order_data_left .form-field-wide input,#order_data .order_data_left .form-field-wide textarea{width:100%}#order_data .order_data_left .form-field-wide select{width:100%}#order_data .order_data_right{width:48%;float:right}#order_data .order_data_right .order_data{overflow:hidden;zoom:1;width:49%;float:left}#order_data .order_data_right .order_data_alt{float:right}#order_data .order_data_right h2{margin-top:11px;margin-bottom:0}#order_data .order_data_right p{padding:0!important}#order_data .order_data_right p.none_set{color:#999}#order_data .order_data_right .form-field{float:left;width:50%;padding:0;margin:9px 0 0 0}#order_data .order_data_right .form-field label{display:block;padding:0 0 3px}#order_data .order_data_right .form-field input,#order_data .order_data_right .form-field select{width:95%}#order_data .order_data_right ._billing_company_field,#order_data .order_data_right ._shipping_company_field{clear:both;width:100%}#order_data .order_data_right ._billing_company_field input,#order_data .order_data_right ._shipping_company_field input{width:97.5%}#order_data .order_data_right ._billing_email_field{clear:left}#order_data .order_data_right div.edit_address{display:none;overflow:hidden;zoom:1}.order_actions{color:#999;font-size:11px;margin:0;overflow:hidden;zoom:1}.order_actions li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:6px 0;margin:0;line-height:1.6em;float:left;width:50%;text-align:center}.order_actions li a{float:none;text-align:center}.order_actions li.wide{width:auto;float:none;clear:both;padding:6px;text-align:left}#woocommerce-order-items .inside{margin:0;padding:0;background:#fefefe}#woocommerce-order-items .buttons{float:left;padding-left:12px;vertical-align:top}#woocommerce-order-items .buttons .add_item_id,#woocommerce-order-items .buttons .chzn-container{margin-right:9px;vertical-align:top;float:left}#woocommerce-order-items .buttons .add_item_id .search-field input,#woocommerce-order-items .buttons .chzn-container .search-field input{min-width:100px}#woocommerce-order-items .buttons button{margin:2px 0 0 0}#woocommerce-order-items .buttons-alt{float:right;padding-right:12px}#woocommerce-order-items .add_meta{margin-left:0!important}#woocommerce-order-items h3 small{color:#999}#woocommerce-order-items .row-actions{float:right;padding:0;color:#999}#woocommerce-order-items .row-actions a{color:#999}#woocommerce-order-items .row-actions a.remove_row:hover{color:red}#woocommerce-order-downloads .buttons{float:left;padding:0;margin:0;vertical-align:top}#woocommerce-order-downloads .buttons .add_item_id,#woocommerce-order-downloads .buttons .chzn-container{width:400px!important;margin-right:9px;vertical-align:top;float:left}#woocommerce-order-downloads .buttons button{margin:2px 0 0 0}#woocommerce-order-downloads h3 small{color:#999}#poststuff #woocommerce-order-actions .inside{margin:0;padding:0}#poststuff #woocommerce-order-actions .inside ul.order_actions li{padding:6px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#poststuff #woocommerce-order-actions .inside ul.order_actions li:last-child{border-bottom:0}#poststuff #woocommerce-order-totals .inside{margin:0;padding:0}#poststuff #woocommerce-order-totals h4{margin:0!important}#poststuff #woocommerce-order-totals h4 a.add_tax_row{display:block;padding-bottom:10px}#poststuff #woocommerce-order-totals .totals_group{border-top:1px solid white;border-bottom:1px solid #DDD;padding:10px 10px 0 10px}#poststuff #woocommerce-order-totals .totals_group:first-child{border-top:0}#poststuff #woocommerce-order-totals .totals_group:last-child{border-bottom:0}#poststuff #woocommerce-order-totals ul.totals{margin:6px 0 0;float:left}#poststuff #woocommerce-order-totals ul.totals li{float:left;clear:both;width:100%;font-size:1.2em;font-weight:bold;line-height:1.2em;margin:0;padding:0 0 10px}#poststuff #woocommerce-order-totals ul.totals li label{font-weight:normal;display:block;font-size:.8em;color:#333}#poststuff #woocommerce-order-totals ul.totals li input,#poststuff #woocommerce-order-totals ul.totals li select{width:100%;vertical-align:middle;font-size:1em;margin:0!important;font-weight:normal;color:#555}#poststuff #woocommerce-order-totals ul.totals li input.first{width:49%;float:left}#poststuff #woocommerce-order-totals ul.totals li input.last{width:49%;float:right}#poststuff #woocommerce-order-totals ul.totals li.left{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.left input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.right{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals ul.totals li.right input{width:100%}#poststuff #woocommerce-order-totals ul.totals li.wide{float:left;width:100%;clear:left}#poststuff #woocommerce-order-totals ul.totals li.wide input{width:100%}#poststuff #woocommerce-order-totals ul.totals .calculated{border-color:#ae8ca2;border-style:dotted}#poststuff #woocommerce-order-totals #tax_rows{margin:6px 0 0}#poststuff #woocommerce-order-totals .tax_row{margin:0 0 9px;border:1px solid #dfdfdf;background:#fff;padding:6px 6px 0;position:relative;opacity:.75}#poststuff #woocommerce-order-totals .tax_row:hover,#poststuff #woocommerce-order-totals .tax_row:focus{opacity:1}#poststuff #woocommerce-order-totals .tax_row p{margin:0 0 6px}#poststuff #woocommerce-order-totals .tax_row label{color:#555}#poststuff #woocommerce-order-totals .tax_row label .checkbox{line-height:26px}#poststuff #woocommerce-order-totals .tax_row p.first{float:left;width:49%;clear:left}#poststuff #woocommerce-order-totals .tax_row p.first input,#poststuff #woocommerce-order-totals .tax_row p.first select{width:100%}#poststuff #woocommerce-order-totals .tax_row p.last{float:right;width:49%;clear:none}#poststuff #woocommerce-order-totals .tax_row p.last input,#poststuff #woocommerce-order-totals .tax_row p.last select{width:100%}#poststuff #woocommerce-order-totals .tax_row a.delete_tax_row{padding:0;text-decoration:none;font-size:11px;line-height:16px;width:16px;height:16px;text-align:center;color:#999;float:right;background:#ddd;border:1px solid #eee;-webkit-box-shadow:0 0 0 1px #ccc;-webkit-border-radius:8px;-moz-border-radius:8px;-o-border-radius:8px;border-radius:8px;position:absolute;top:0;right:0;margin:-8px -8px 0 0;display:none}#poststuff #woocommerce-order-totals .tax_row:hover a.delete_tax_row,#poststuff #woocommerce-order-totals .tax_row:focus a.delete_tax_row{display:block}#poststuff #woocommerce-order-notes .inside{margin:0;padding:0}#poststuff #woocommerce-order-notes .inside ul.order_notes li{padding:0 10px}.woocommerce_order_items_wrapper{margin:0}.woocommerce_order_items_wrapper table.woocommerce_order_items{width:100%;background:#fff}.woocommerce_order_items_wrapper table.woocommerce_order_items thead th{background:#ececec;padding:8px;font-size:11px;text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items td{padding:8px;text-align:left;line-height:26px;vertical-align:top;border-bottom:1px dotted #ececec}.woocommerce_order_items_wrapper table.woocommerce_order_items td input,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items td select{width:50%}.woocommerce_order_items_wrapper table.woocommerce_order_items td input,.woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{font-size:14px;padding:4px;color:#555}.woocommerce_order_items_wrapper table.woocommerce_order_items .name{min-width:200px}.woocommerce_order_items_wrapper table.woocommerce_order_items .center,.woocommerce_order_items_wrapper table.woocommerce_order_items .variation-id{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class{text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total label,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal label,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label{display:block;white-space:nowrap;color:#999;font-size:.833em}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal label input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label input{display:inline}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax input,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total input,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal input,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class input{width:60px;vertical-align:middle;text-align:right}.woocommerce_order_items_wrapper table.woocommerce_order_items .cost select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax select,.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_total select,.woocommerce_order_items_wrapper table.woocommerce_order_items .line_subtotal select,.woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class select{width:85px;height:26px;vertical-align:middle}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input{text-align:center;width:50px}.woocommerce_order_items_wrapper table.woocommerce_order_items td.tax_class,.woocommerce_order_items_wrapper table.woocommerce_order_items th.tax_class{text-align:left}.woocommerce_order_items_wrapper table.woocommerce_order_items .calculated{border-color:#ae8ca2;border-style:dotted}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{width:100%}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td{padding:1px 4px 1px 0;border:0}.woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input{min-width:100px}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb{text-align:center}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb a{display:block}.woocommerce_order_items_wrapper table.woocommerce_order_items .thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:46px;height:46px}.widefat .column-order_title time{display:block;color:#999;margin:3px 0}.widefat .column-order_actions{width:110px}.widefat .column-order_actions a.button{float:left;margin:0 4px 2px 0;cursor:pointer;padding:3px 6px}.widefat .column-order_actions a.button img{display:block}.widefat small.meta{display:block;color:#999;font-size:inherit;margin:3px 0}.widefat .column-total_cost,.widefat .column-order_date{width:9%}.widefat .column-order_status{width:75px;text-align:center}.widefat .column-order_status mark{display:block;text-align:center;white-space:nowrap;padding:0 2px;background:#999;font-size:11px;line-height:1.75;-webkit-border-radius:3px;-moz-border-radius:3px;-o-border-radius:3px;border-radius:3px;margin:0;color:#fff;font-weight:bold}.widefat .column-order_status mark.pending{background-color:#999}.widefat .column-order_status mark.completed{background-color:#a0658b}.widefat .column-order_status mark.on-hold{background-color:#e66f00}.widefat .column-order_status mark.failed{background-color:red}.widefat .column-order_status mark.cancelled{background-color:#ccc}.widefat .column-order_status mark.processing{background-color:#2184c2}.widefat .column-order_status mark.refunded{background-color:#ccc}ul.order_notes{padding:2px 0 0 0}ul.order_notes li .note_content{padding:10px;background:#efefef;position:relative}ul.order_notes li .note_content p{margin:0;padding:0}ul.order_notes li p.meta{padding:10px;color:#999;margin:0;font-size:11px}ul.order_notes li a.delete_note{color:#f00}ul.order_notes li .note_content:after{content:"";display:block;position:absolute;bottom:-15px;left:30px;width:0;height:0;border-width:15px 15px 0 0;border-style:solid;border-color:#efefef transparent}ul.order_notes li.customer-note .note_content{background:#d7cad2}ul.order_notes li.customer-note .note_content:after{border-color:#d7cad2 transparent}.add_note{border-top:1px solid #ddd;padding:10px 10px 0}.add_note h4{margin-top:5px!important}.add_note #add_order_note{width:100%;height:50px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag{width:11%!important}table.wp-list-table .column-sku,table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag,table.wp-list-table .column-is_in_stock,table.wp-list-table .column-price,table.wp-list-table .column-product_date{width:9%}table.wp-list-table .column-featured,table.wp-list-table .column-product_type{width:46px;text-align:left!important}table.wp-list-table .column-note{width:46px;text-align:center}table.wp-list-table .column-note img{margin:0 auto;padding-top:0!important}table.wp-list-table .column-order_comments{width:3em!important}table.wp-list-table .column-order_comments .post-com-count{float:left}table.wp-list-table th.column-note img,table.wp-list-table th.column-order_comments img{padding-top:1px!important}table.wp-list-table .manage-column.column-featured img,table.wp-list-table .manage-column.column-product_type img{padding-left:2px}table.wp-list-table img{margin:1px 2px}table.wp-list-table .column-thumb img{padding:2px;margin:0;border:1px solid #dfdfdf;vertical-align:middle;width:32px;height:32px}table.wp-list-table span.na{color:#999}table.wp-list-table .column-is_in_stock{text-align:left!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5){table.wp-list-table span.product-type{background-image:url(../images/product_types-x2.png)!important;background-size:96px 16px!important}}table.wp-list-table span.product-type{width:16px;height:16px;margin:1px 2px;display:block;background:url(../images/product_types.png) no-repeat -16px 0}table.wp-list-table span.product-type.grouped{background-position:0 0}table.wp-list-table span.product-type.external{background-position:-32px 0}table.wp-list-table span.product-type.variable{background-position:-48px 0}table.wp-list-table span.product-type.downloadable{background-position:-64px 0}table.wp-list-table span.product-type.virtual{background-position:-80px 0}table.wp-list-table mark.instock{font-weight:bold;color:green;background:transparent none;line-height:1}table.wp-list-table mark.outofstock{font-weight:bold;color:#a44;background:transparent none;line-height:1}ul.woocommerce_stats{overflow:hidden;zoom:1}ul.woocommerce_stats li{width:22%;padding:0 1.4%;float:left;font-size:.8em;border-left:1px solid #fff;border-right:1px solid #ececec;text-align:center}ul.woocommerce_stats li:first-child{border-left:0}ul.woocommerce_stats li:last-child{border-right:0}ul.woocommerce_stats strong{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:4em;line-height:1.2em;font-weight:normal;text-align:center;display:block}#woocommerce_dashboard_right_now p.sub,#woocommerce_dashboard_right_now .table,#woocommerce_dashboard_right_now .versions{margin:-12px}#woocommerce_dashboard_right_now .inside{font-size:12px;margin-bottom:0;padding-top:20px}#woocommerce_dashboard_right_now p.sub{padding:5px 0 15px;color:#8f8f8f;font-size:14px;position:absolute;top:-17px;left:15px}#woocommerce_dashboard_right_now .table{margin:0;padding:0;position:relative}#woocommerce_dashboard_right_now .table_shop_content{float:left;border-top:#ececec 1px solid;width:45%}#woocommerce_dashboard_right_now .table_orders{float:right;border-top:#ececec 1px solid;width:45%}#woocommerce_dashboard_right_now table td{padding:3px 0;white-space:nowrap}#woocommerce_dashboard_right_now table tr.first td{border-top:0}#woocommerce_dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:14px;width:1%}#woocommerce_dashboard_right_now td.b a{font-size:18px}#woocommerce_dashboard_right_now td.b a:hover{color:#d54e21}#woocommerce_dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777}#woocommerce_dashboard_right_now .t a{white-space:nowrap}#woocommerce_dashboard_right_now .on-hold a{color:red}#woocommerce_dashboard_right_now .pending a{color:#e66f00}#woocommerce_dashboard_right_now .completed a{color:green}#woocommerce_dashboard_right_now .versions{padding:6px 10px 12px;clear:both}#woocommerce_dashboard_right_now .versions .b{font-weight:bold}#woocommerce_dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px}#woocommerce_dashboard_sales h3 a{float:right;margin-left:8px}ul.recent-orders li,ul.stock_list li{overflow:hidden;zoom:1;border-bottom:#ececec 1px solid;padding:0 0 8px;margin:0 0 8px}ul.recent-orders li .order-status,ul.stock_list li .order-status{float:right}ul.recent-orders li small,ul.stock_list li small{color:#999}ul.recent-orders li .order-cost,ul.stock_list li .order-cost,ul.recent-orders li .order-customer,ul.stock_list li .order-customer{margin-left:8px}ul.recent-orders li .completed,ul.stock_list li .completed{color:green}ul.recent-orders li .on-hold,ul.stock_list li .on-hold{color:red}ul.recent-orders li .processing,ul.stock_list li .processing{color:#21759b}ul.recent-orders li .pending,ul.stock_list li .pending{color:#e66f00}ul.recent-orders li .refunded,ul.stock_list li .refunded,ul.recent-orders li .cancelled,ul.stock_list li .cancelled{color:#999}ul.recent-orders.stock_list small,ul.stock_list.stock_list small{float:right}ul.recent-orders.stock_list a,ul.stock_list.stock_list a{text-decoration:none}#woocommerce_dashboard_recent_reviews li{line-height:1.5em;margin-bottom:12px}#woocommerce_dashboard_recent_reviews h4.meta{line-height:1.4;margin:-0.2em 0 0 0;font-weight:normal;color:#999}#woocommerce_dashboard_recent_reviews blockquote{padding:0;margin:0}#woocommerce_dashboard_recent_reviews .avatar{float:left;margin:0 10px 5px 0}#woocommerce_dashboard_recent_reviews .star-rating{float:right;width:50px;height:10px;margin:3px 0 0 0;background:url(../images/admin-star.png) repeat-x left -10px}#woocommerce_dashboard_recent_reviews .star-rating span{background:url(../images/admin-star.png) repeat-x left 0;height:0;padding-top:10px;overflow:hidden;float:left}mark.notice{background:#fff;color:red;margin:0 0 0 10px}a.export_rates,a.import_rates{float:right;margin-left:9px;margin-top:-2px;margin-bottom:0}.woocommerce table.shippingrows td,.woocommerce table.taxrows td,.woocommerce table.shippingrows th,.woocommerce table.taxrows th{vertical-align:top;line-height:25px;margin-bottom:9px}.woocommerce table.shippingrows a.remove,.woocommerce table.taxrows a.remove{margin:0!important}.woocommerce table.shippingrows .dupe,.woocommerce table.taxrows .dupe,.woocommerce table.shippingrows .remove,.woocommerce table.taxrows .remove{float:right;margin-left:9px}.woocommerce table.shippingrows tbody .check-column,.woocommerce table.taxrows tbody .check-column{padding-top:8px}.woocommerce table.shippingrows tbody .check-column input,.woocommerce table.taxrows tbody .check-column input{margin:0 0 0 8px}.woocommerce table.shippingrows input,.woocommerce table.taxrows input{width:auto}.woocommerce table.shippingrows td.apply_to_shipping,.woocommerce table.taxrows td.apply_to_shipping{padding-top:8px}.woocommerce table.shippingrows td.country,.woocommerce table.taxrows td.country{overflow:visible!important}.woocommerce table.shippingrows td.country p,.woocommerce table.taxrows td.country p{line-height:25px;margin:0;color:#666}.woocommerce table.shippingrows td.country button.edit_options,.woocommerce table.taxrows td.country button.edit_options{float:right}.woocommerce table.shippingrows td.country select,.woocommerce table.taxrows td.country select{margin:9px 0;width:100%;height:160px!important}.woocommerce table.shippingrows td.country p.edit,.woocommerce table.taxrows td.country p.edit,.woocommerce table.shippingrows td.country .options,.woocommerce table.taxrows td.country .options{min-width:400px}.woocommerce table.shippingrows td.country .chzn-container,.woocommerce table.taxrows td.country .chzn-container{width:100%!important;margin:9px 0 5px}.woocommerce table.shippingrows td.country .chzn-container .chzn-drop,.woocommerce table.taxrows td.country .chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce table.shippingrows td.country .chzn-container .search-field input,.woocommerce table.taxrows td.country .chzn-container .search-field input{width:150px!important}.woocommerce table.shippingrows td.local_country,.woocommerce table.taxrows td.local_country{overflow:visible!important;width:400px!important}.woocommerce table.shippingrows td.local_country select,.woocommerce table.taxrows td.local_country select{width:400px!important;margin-bottom:3px}.woocommerce table.shippingrows td.local_country textarea,.woocommerce table.taxrows td.local_country textarea{height:60px;width:400px;font-size:13px;line-height:16px;display:block}.woocommerce table.shippingrows td.rate,.woocommerce table.taxrows td.rate{white-space:nowrap}table.wc_gateways,table.wc_shipping{position:relative}table.wc_gateways td,table.wc_shipping td{vertical-align:middle;cursor:move;padding:4px 7px 2px}table.wc_gateways td p,table.wc_shipping td p{margin:0 0 2px}table.wc_gateways .radio,table.wc_shipping .radio{text-align:center}img.help_tip{vertical-align:middle;margin:0 0 0 9px}.postbox img.help_tip{margin-top:-4px}.woocommerce #template div{margin:0}.woocommerce #template div p .button{float:right;margin-left:10px;margin-top:-4px}.woocommerce #template div .editor textarea{margin-bottom:8px}.woocommerce textarea[disabled="disabled"]{background:#dfdfdf!important}.woocommerce table.form-table{margin:0}.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.woocommerce table.form-table input.regular-input{width:25em}.woocommerce table.form-table textarea.wide-input{width:100%}.woocommerce table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.woocommerce table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.woocommerce table.form-table .color_box{border:1px solid #ccc;box-shadow:1px 1px 3px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.2);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:4px 6px;float:left;width:80px;margin:0 10px 0 0}.woocommerce table.form-table .color_box strong{text-align:left;display:block;padding:0 0 2px;font-size:.92em}.woocommerce table.form-table .color_box strong img{float:right;margin:1px 0 0 0}.woocommerce table.form-table .color_box input{width:100%;margin:0;font-family:monospace;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce table.form-table .color_box .colorpickdiv{z-index:100;background:#eee;border:1px solid #ccc;position:absolute;display:none}.woocommerce table.form-table .color_box_clear{display:block;clear:both;padding-bottom:10px}.woocommerce #tabs-wrap table a.remove{margin-left:4px}.woocommerce #tabs-wrap table p{margin:0 0 4px!important;overflow:hidden;zoom:1}.woocommerce #tabs-wrap table p a.add{float:left}#wp-excerpt-editor-container{background:#fff}#product_variation-parent #parent_id{width:100%}#woocommerce-product-data h3.hndle{padding:4px 10px}#woocommerce-product-data h3.hndle span{display:block;vertical-align:middle;line-height:24px}#woocommerce-product-data h3.hndle span span{display:inline;line-height:inherit;vertical-align:baseline}#woocommerce-product-data h3.hndle select{font-family:sans-serif;margin:0}#woocommerce-product-data h3.hndle label{padding-right:1em;font-size:12px;vertical-align:baseline}#woocommerce-product-data h3.hndle label:first-child{margin-right:1em;border-right:1px solid #dfdfdf}#woocommerce-product-data h3.hndle input,#woocommerce-product-data h3.hndle select{margin:-3px 0 0 .5em;vertical-align:middle}#woocommerce-product-data ul.product_data_tabs,.woocommerce ul.wc-tabs{background:#f9f9f9;border-top:1px solid #fff;padding:3px 9px 0;margin:0;overflow:hidden;zoom:1;line-height:1em;-webkit-box-shadow:inset 0 -1px 0 0 #d5d5d5;-moz-box-shadow:inset 0 -1px 0 0 x #d5d5d5;box-shadow:inset 0 -1px 0 0 #d5d5d5}#woocommerce-product-data ul.product_data_tabs li,.woocommerce ul.wc-tabs li{float:left;padding:0;margin:0 6px 0 0}#woocommerce-product-data ul.product_data_tabs li a,.woocommerce ul.wc-tabs li a{padding:0;margin:0;border:0;border:1px solid #d5d5d5;border-bottom:0;float:left;padding:9px 9px;background:#f1f1f1;text-decoration:none;color:#555;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;-webkit-box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5);-moz-box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5);box-shadow:inset 0 1px 0 1px rgba(255,255,255,0.5)}#woocommerce-product-data ul.product_data_tabs li.active a,.woocommerce ul.wc-tabs li.active a{background:#f8f8f8;color:#555;background-image:linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-moz-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-webkit-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-ms-linear-gradient(bottom,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(1,#f8f8f8))}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#woocommerce-product-data ul.product_data_tabs li.general_options a,#woocommerce-product-data ul.product_data_tabs li.tax_options a,#woocommerce-product-data ul.product_data_tabs li.inventory_options a,#woocommerce-product-data ul.product_data_tabs li.shipping_options a,#woocommerce-product-data ul.product_data_tabs li.related_product_options a,#woocommerce-product-data ul.product_data_tabs li.attribute_options a,#woocommerce-product-data ul.product_data_tabs li.variation_options a,#woocommerce-product-data ul.product_data_tabs li.advanced_options a{background-image:url(../images/icons/wc-tab-icons-x2.png)!important;background-size:17px 720px!important}}#woocommerce-product-data ul.product_data_tabs li.general_options a,#woocommerce-product-data ul.product_data_tabs li.tax_options a,#woocommerce-product-data ul.product_data_tabs li.inventory_options a,#woocommerce-product-data ul.product_data_tabs li.shipping_options a,#woocommerce-product-data ul.product_data_tabs li.related_product_options a,#woocommerce-product-data ul.product_data_tabs li.attribute_options a,#woocommerce-product-data ul.product_data_tabs li.variation_options a,#woocommerce-product-data ul.product_data_tabs li.advanced_options a{padding:9px 9px 9px 31px;line-height:16px;border-bottom:1px solid #d5d5d5;text-shadow:0 1px 1px #fff;color:#555;background:#f1f1f1 url(../images/icons/wc-tab-icons.png) no-repeat 9px 9px}#woocommerce-product-data ul.product_data_tabs li.general_options a{background-position:9px 9px}#woocommerce-product-data ul.product_data_tabs li.tax_options a{background-position:9px -55px}#woocommerce-product-data ul.product_data_tabs li.inventory_options a{background-position:9px -119px}#woocommerce-product-data ul.product_data_tabs li.shipping_options a{background-position:9px -631px}#woocommerce-product-data ul.product_data_tabs li.related_product_options a{background-position:9px -567px}#woocommerce-product-data ul.product_data_tabs li.attribute_options a{background-position:9px -247px}#woocommerce-product-data ul.product_data_tabs li.advanced_options a{background-position:9px -695px}#woocommerce-product-data ul.product_data_tabs li.variation_options a{background-position:9px -439px}#woocommerce-product-data ul.product_data_tabs li.active a{background-color:#f8f8f8;border-bottom:1px solid #f8f8f8}#woocommerce-product-data .inside,#woocommerce-product-type-options .inside,#woocommerce-order-data .inside,#woocommerce-order-downloads .inside,#woocommerce-coupon-data .inside{padding:0;margin:0}.woocommerce_options_panel,.panel{padding:9px 9px 9px 9px;color:#555}.woocommerce_page_settings .woocommerce_options_panel,.panel{padding:0}#woocommerce-product-type-options .panel,#woocommerce-product-specs .inside{padding:9px;margin:0}.woocommerce_options_panel p,#woocommerce-product-type-options .panel p{margin:0 0 9px;font-size:12px;padding:5px 9px;line-height:24px}.woocommerce_options_panel p:after,#woocommerce-product-type-options .panel p:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce_options_panel .checkbox,table.woocommerce_variable_attributes .checkbox{vertical-align:middle;margin:7px 0;width:auto}.woocommerce_options_panel p{margin:9px 0 9px}.woocommerce_options_panel label{float:left;width:150px;padding:0}.woocommerce_options_panel label .req{font-weight:bold;font-style:normal;color:red}.woocommerce_options_panel .description{padding:0;margin:0 0 0 7px}.woocommerce_options_panel .description-block{margin-left:0;display:block}.woocommerce_options_panel textarea,.woocommerce_options_panel input,.woocommerce_options_panel select{margin:0}.woocommerce_options_panel textarea{vertical-align:top;height:3.5em;line-height:1.5em}.woocommerce_options_panel input{width:50%;float:left}.woocommerce_options_panel input.button{width:auto;margin-left:8px}.woocommerce_options_panel select{float:left}.woocommerce_options_panel .short{width:20%}.woocommerce_options_panel .sized{width:auto!important;margin-right:6px}.woocommerce_options_panel .options_group{border-top:1px solid white;border-bottom:1px solid #dfdfdf}.woocommerce_options_panel .options_group:first-child{border-top:0}.woocommerce_options_panel .dimensions_field .wrap input{margin-right:.2%;width:6.6%}.woocommerce_options_panel .dimensions_field .wrap .last{margin-right:0}.woocommerce_options_panel .upload_file_button{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAQ0lEQVQYV3WPUQoAMAhC1+E6tYdrFBgiW185X7biSAGolpkZfN6GJg1CA7ip0CYo+FzxBTqeE/7J1qGAXsTEAdxQfQHJTymZe4oqiAAAAABJRU5ErkJggg==) no-repeat 8px 5px}#woocommerce-product-data input.dp-applied{float:left}#grouped_product_options,#virtual_product_options,#simple_product_options{padding:12px;font-style:italic;color:#666}.wc-metaboxes-wrapper .expand_all,.wc-metaboxes-wrapper .close_all{float:right;margin-left:9px;line-height:22px}.wc-metaboxes-wrapper .expand_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAI0lEQVQYV2PcvXv3fwY8gJEoBa6urozYDAFpBpswGBTg8yYA3kYtiYVhDhIAAAAASUVORK5CYII=) no-repeat left}.wc-metaboxes-wrapper .close_all{padding-left:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAHUlEQVQYV2NkIAAYd+/e/R+fGsIKCFpBUAHt3QAASf0MyQbFJwoAAAAASUVORK5CYII=) no-repeat left}.wc-metaboxes-wrapper .toolbar{margin:0!important;border-top:1px solid white;border-bottom:1px solid #dfdfdf;padding:9px 12px!important}.wc-metaboxes-wrapper .toolbar:first-child{border-top:0}.wc-metaboxes-wrapper p.toolbar{overflow:hidden;zoom:1}.wc-metaboxes-wrapper select.attribute_taxonomy,.wc-metaboxes-wrapper button.add_attribute,.wc-metaboxes-wrapper button.add_variable_attribute,.wc-metaboxes-wrapper .fr{float:right;margin:0 0 0 6px}.wc-metaboxes-wrapper .wc-metaboxes{border-bottom:1px solid #dfdfdf;padding:0 12px 0}.wc-metaboxes-wrapper .wc-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}.wc-metaboxes-wrapper .wc-metabox{background:#ececec;border:1px solid #ececec;margin:9px 0!important;-moz-border-radius-topleft:3px;-moz-border-radius-topright:3px;-webkit-border-top-left-radius:3px;-webkit-border-top-right-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px}.wc-metaboxes-wrapper .wc-metabox.closed{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.wc-metaboxes-wrapper .wc-metabox h3{margin:0!important;padding:6px!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}.wc-metaboxes-wrapper .wc-metabox h3 button{float:right}.wc-metaboxes-wrapper .wc-metabox h3 strong{font-weight:normal;line-height:24px}.wc-metaboxes-wrapper .wc-metabox h3 select{font-family:sans-serif}.wc-metaboxes-wrapper .wc-metabox h3 .handlediv{background-position:6px 5px!important;display:none;height:24px}.wc-metaboxes-wrapper .wc-metabox h3.fixed{cursor:pointer!important}.wc-metaboxes-wrapper .wc-metabox:hover h3 .handlediv{display:block}.wc-metaboxes-wrapper .wc-metabox table{width:100%;position:relative;background:#fff;padding:3px}.wc-metaboxes-wrapper .wc-metabox table td{text-align:left;padding:6px 6px;vertical-align:top;border:0}.wc-metaboxes-wrapper .wc-metabox table td label{text-align:left;display:block;line-height:21px}.wc-metaboxes-wrapper .wc-metabox table td input{float:left;min-width:200px}.wc-metaboxes-wrapper .wc-metabox table td input,.wc-metaboxes-wrapper .wc-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}.wc-metaboxes-wrapper .wc-metabox table td select,.wc-metaboxes-wrapper .wc-metabox table td .chzn-container{width:100%!important}.wc-metaboxes-wrapper .wc-metabox table td input.short{width:200px}.wc-metaboxes-wrapper .wc-metabox table td input.checkbox{width:auto;min-width:inherit;vertical-align:middle;display:inline;float:none}.wc-metaboxes-wrapper .wc-metabox table td.attribute_name{width:200px}.wc-metaboxes-wrapper .wc-metabox table .plus,.wc-metaboxes-wrapper .wc-metabox table .minus{margin-top:6px}.wc-metaboxes-wrapper .wc-metabox table .fl{float:left}.wc-metaboxes-wrapper .wc-metabox table .fr{float:right}.wc-metaboxes-wrapper .plus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px}.wc-metaboxes-wrapper .minus{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px}#variable_product_options p.toolbar strong{margin:0 6px 0 0;float:left;line-height:23px}#variable_product_options p.toolbar .button,#variable_product_options p.toolbar select{margin:0 6px 0 0;float:left}#variable_product_options p.toolbar a.set{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAARklEQVQYGWP8//8/AzGACV3Rnj17/oMwujiGQnQFMD7RChlBbsRmFcwkEO3i4sJImonIumGmg0xBFifaRKIVgj2DbAUuNgCfThpracSKqwAAAABJRU5ErkJggg==) no-repeat 7px 5px}#variable_product_options p.toolbar a.toggle{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWUlEQVQYGY3QAQrAIAgFUB07mrfWu7kc+2JRsiA0fJnE7k5m5tQsEWFS1WGduh3mahpNLx3hOs4WAr2zfU8mRBGxorAJ4wAU+boS1g41x4UbScQdQJ3/fvgDtStDiI0qoDcAAAAASUVORK5CYII=) no-repeat 7px 5px}#variable_product_options p.toolbar a.delete_variations{padding-left:20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAKUlEQVQYlWP8//8/Az7AhFeWGAUsDAwMDHv27MFqj4uLCyNBExhp70gAohwKC5KJ+HQAAAAASUVORK5CYII=) no-repeat 7px 6px}#variable_product_options p.toolbar .add_variation,#variable_product_options p.toolbar .link_all_variations,#variable_product_options p.toolbar .fr{float:right;margin:0 0 0 6px}#variable_product_options .woocommerce_variation table{background:#f5f5f5;padding:6px}#variable_product_options .woocommerce_variation table td input{min-width:inherit!important}#variable_product_options .woocommerce_variation table td.dimensions_field input{width:32%;margin-right:2%}#variable_product_options .woocommerce_variation table td.dimensions_field .last{margin-right:0}#variable_product_options .woocommerce_variation table td.options{width:150px}#variable_product_options .woocommerce_variation table td.options label{margin-bottom:6px}#variable_product_options .woocommerce_variation table td.data{padding:0 0 0 12px}#variable_product_options .woocommerce_variation table td.data table{width:100%;padding:0 12px 6px 12px;background:#fff;border:1px solid #dfdfdf;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table td{width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#variable_product_options .woocommerce_variation table td.data table:before{content:"";display:block;position:absolute;top:33px;left:0;margin:0 0 0 -1px;border:7px solid #dfdfdf;border-color:transparent transparent transparent #dfdfdf}#variable_product_options .woocommerce_variation table td.data table:after{content:"";display:block;position:absolute;top:34px;left:0;margin:0 0 0 -1px;border:6px solid #f5f5f5;border-color:transparent transparent transparent #f5f5f5}#variable_product_options .woocommerce_variation table td.upload_image{white-space:nowrap;width:75px}#variable_product_options .woocommerce_variation table td.upload_image img{float:none;width:73px;border:1px solid #dfdfdf}#variable_product_options .woocommerce_variation table td.upload_image .button{margin:0;padding:4px 10px;width:auto;float:none;vertical-align:middle}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button{display:block;position:relative}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button .overlay{display:none;width:75px;height:75px;position:absolute;top:0;left:0;margin:0;padding:0;opacity:.5;background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAXklEQVQYGW2OUQrAMAhDFy8+dnKnwiuh2I+aJulDZebDkfSie1b28Q7EXWrfvSm60RQnkQUC8ja7owpmL6d4GdDZ0cNNHyIhZEj4QYCxze6orsluAh8AnR0xKPR07weXJi8JGd3qqwAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button:hover .overlay{display:block}#variable_product_options .woocommerce_variation table td.upload_image .upload_image_button.remove .overlay{background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAWElEQVQYGY2OUQ6AMAxCZdm9jSev65K3YKNm+6EFBlVEHDxJJ3Pi0C72xlBNyTs3jU7wEUTTIB51GCp2CL8HLpHEdaOLb/N2dfuq9NT0zOo/M9q6EaImsd/uViMLVuD4KAAAAABJRU5ErkJggg==) no-repeat center center}#variable_product_options .woocommerce_variation table td .file_path_field .upload_file_button{text-align:center;width:auto;margin:5px 0 0 0;padding:3px 8px 3px 20px;background:#fefefe url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAQ0lEQVQYV3WPUQoAMAhC1+E6tYdrFBgiW185X7biSAGolpkZfN6GJg1CA7ip0CYo+FzxBTqeE/7J1qGAXsTEAdxQfQHJTymZe4oqiAAAAABJRU5ErkJggg==) no-repeat 8px 5px}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0 0}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;padding:4px 8px;background:#a2678c;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;box-shadow:1px 1px 3px rgba(0,0,0,0.1);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:1px 1px 3px rgba(0,0,0,0.1);text-align:center}#tiptip_content code{background:#855c76;padding:1px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#a2678c}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#a2678c}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#a2678c}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#a2678c}img.ui-datepicker-trigger{vertical-align:middle;margin-top:-1px;cursor:pointer}.woocommerce_options_panel img.ui-datepicker-trigger,.wc-metabox-content img.ui-datepicker-trigger{float:left;margin-right:8px;margin-top:4px;margin-left:4px}#ui-datepicker-div{display:none}.woocommerce-reports-wrap{margin-left:300px;padding-top:18px}.woocommerce-reports-wrap.halved{margin:0;overflow:hidden;zoom:1}.woocommerce-reports-wrap .postbox h3{cursor:default!important}.woocommerce-reports-wrap .postbox .stat{font-size:1.5em!important;font-weight:bold;text-align:center}.woocommerce-reports-wrap .postbox .chart{padding:16px}.woocommerce-reports-wrap .woocommerce-reports-main{float:left;min-width:100%}.woocommerce-reports-wrap .woocommerce-reports-main table td{padding:9px}.woocommerce-reports-wrap .woocommerce-reports-sidebar{display:inline;width:281px;margin-left:-300px;clear:both;float:left}.woocommerce-reports-wrap .woocommerce-reports-left{width:49.5%;float:left}.woocommerce-reports-wrap .woocommerce-reports-right{width:49.5%;float:right}.woocommerce-wide-reports-wrap{padding-bottom:11px}.woocommerce-wide-reports-wrap .widefat .export-data{float:right}.woocommerce-wide-reports-wrap .widefat th,.woocommerce-wide-reports-wrap .widefat td{vertical-align:middle;padding:7px}form.report_filters p{vertical-align:middle}form.report_filters label,form.report_filters input,form.report_filters div{vertical-align:middle}#tooltip{color:#fff;font-size:12px;-moz-border-radius:4px;-webkit-border-radius:4px;-o-border-radius:4px;-khtml-border-radius:4px;border-radius:4px;opacity:.80}table.bar_chart{width:100%}table.bar_chart thead th{text-align:left;color:#ccc;padding:6px 0}table.bar_chart tbody th{padding:6px 0;width:25%;text-align:left!important;font-weight:normal!important;border-bottom:1px solid #fee}table.bar_chart tbody td{text-align:right;line-height:24px;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td span{color:#8a4b75;display:block}table.bar_chart tbody td span.alt{color:#47a03e;margin-top:6px}table.bar_chart tbody td.bars{position:relative;text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td.bars span,table.bar_chart tbody td.bars a{text-decoration:none;clear:both;background:#8a4b75;float:left;display:block;line-height:24px;height:24px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}table.bar_chart tbody td.bars span.alt{clear:both;background:#47a03e}table.bar_chart tbody td.bars span.alt span{margin:0;color:#c5dec2!important;text-shadow:0 1px 0 #47a03e;background:transparent}#woocommerce_allowed_countries_chzn .chzn-search,#woocommerce_file_download_method_chzn .chzn-search{display:none}.chzn-container-single .chzn-single{height:24px;line-height:25px}.chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 0!important}.chzn-container-active .chzn-single-with-drop div b{background-position:-18px 1px!important}.chzn-container-single .chzn-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container-multi .chzn-choices .search-field input{height:21px!important}.woocommerce_options_panel .chzn-container-multi{width:50%!important;float:left}.woocommerce_options_panel .chzn-container-multi .search-field{min-width:50%}.woocommerce_options_panel .chzn-container-multi .search-field input{min-width:100%}.woocommerce-checkout .form-row .chzn-container{width:100%!important}.woocommerce-checkout .form-row .chzn-container-single .chzn-single{height:28px;line-height:29px}.woocommerce-checkout .form-row .chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 3px!important}.woocommerce-checkout .form-row .chzn-container-active .chzn-single-with-drop div b{background-position:-18px 4px!important}.woocommerce-checkout .form-row .chzn-container-single .chzn-search input{line-height:13px;width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocommerce-checkout .form-row .chzn-container .chzn-drop{width:100%!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.chzn-container{font-size:13px;position:relative;display:inline-block;zoom:1;*display:inline}.chzn-container .chzn-drop{background:#fff;border:1px solid #aaa;border-top:0;position:absolute;top:29px;left:0;-webkit-box-shadow:0 4px 5px rgba(0,0,0,0.15);-moz-box-shadow:0 4px 5px rgba(0,0,0,0.15);-o-box-shadow:0 4px 5px rgba(0,0,0,0.15);box-shadow:0 4px 5px rgba(0,0,0,0.15);z-index:999}.chzn-container-single .chzn-single{background-color:#fff;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff',endColorstr='#eeeeee',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#fff),color-stop(50%,#f6f6f6),color-stop(52%,#eee),color-stop(100%,#f4f4f4));background-image:-webkit-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-moz-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-o-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:-ms-linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-image:linear-gradient(top,#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #aaa;-webkit-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);-moz-box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,0.1);display:block;overflow:hidden;white-space:nowrap;position:relative;padding:0 0 0 8px;color:#444;text-decoration:none}.chzn-container-single .chzn-default{color:#999}.chzn-container-single .chzn-single span{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.chzn-container-single .chzn-single abbr{display:block;position:absolute;right:26px;top:6px;width:12px;height:13px;font-size:1px;background:url('../images/chosen-sprite.png') right top no-repeat}.chzn-container-single .chzn-single abbr:hover{background-position:right -11px}.chzn-container-single .chzn-single div{position:absolute;right:0;top:0;display:block;height:100%;width:18px}.chzn-container-single .chzn-single div b{background:url('../images/chosen-sprite.png') no-repeat 0 0;display:block;width:100%;height:100%}.chzn-container-single .chzn-search{padding:3px 4px;position:relative;margin:0;white-space:nowrap;z-index:1010}.chzn-container-single .chzn-search input{background:#fff url('../images/chosen-sprite.png') no-repeat 100% -22px;background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-webkit-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-moz-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-o-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,-ms-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat 100% -22px,linear-gradient(top,#eee 1%,#fff 15%);margin:1px 0;padding:4px 20px 4px 5px;outline:0;border:1px solid #aaa;font-family:sans-serif;font-size:1em}.chzn-container-single .chzn-drop{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.chzn-container-single-nosearch .chzn-search input{position:absolute;left:-9000px}.chzn-container-multi .chzn-choices{background-color:#fff;background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(top,#eee 1%,#fff 15%);background-image:-moz-linear-gradient(top,#eee 1%,#fff 15%);background-image:-o-linear-gradient(top,#eee 1%,#fff 15%);background-image:-ms-linear-gradient(top,#eee 1%,#fff 15%);background-image:linear-gradient(top,#eee 1%,#fff 15%);border:1px solid #aaa;margin:0;padding:0;cursor:text;overflow:hidden;height:auto!important;height:1%;position:relative}.chzn-container-multi .chzn-choices li{float:left;list-style:none}.chzn-container-multi .chzn-choices .search-field{white-space:nowrap;margin:0;padding:0}.chzn-container-multi .chzn-choices .search-field input{color:#666;background:transparent!important;border:0!important;font-family:sans-serif;font-size:100%;height:15px;padding:5px;margin:1px 0;outline:0;-webkit-box-shadow:none;-moz-box-shadow:none;-o-box-shadow:none;box-shadow:none}.chzn-container-multi .chzn-choices .search-field .default{color:#999}.chzn-container-multi .chzn-choices .search-choice{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;background-color:#e4e4e4;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#f4f4f4',endColorstr='#eeeeee',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-o-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-ms-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);-moz-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);color:#333;border:1px solid #aaa;line-height:13px;padding:3px 20px 3px 5px;margin:3px 0 3px 5px;position:relative;cursor:default}.chzn-container-multi .chzn-choices .search-choice-focus{background:#d4d4d4}.chzn-container-multi .chzn-choices .search-choice .search-choice-close{display:block;position:absolute;right:3px;top:4px;width:12px;height:13px;font-size:1px;background:url('../images/chosen-sprite.png') right top no-repeat}.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover{background-position:right -11px}.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close{background-position:right -11px}.chzn-container .chzn-results{margin:0 4px 4px 0;max-height:240px;padding:0 0 0 4px;position:relative;overflow-x:hidden;overflow-y:auto}.chzn-container-multi .chzn-results{margin:-1px 0 0;padding:0}.chzn-container .chzn-results li{display:none;line-height:15px;padding:5px 6px;margin:0;list-style:none}.chzn-container .chzn-results .active-result{cursor:pointer;display:list-item}.chzn-container .chzn-results .highlighted{background-color:#3875d7;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#3875d7',endColorstr='#2a62bc',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#3875d7),color-stop(90%,#2a62bc));background-image:-webkit-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-moz-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-o-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:-ms-linear-gradient(top,#3875d7 20%,#2a62bc 90%);background-image:linear-gradient(top,#3875d7 20%,#2a62bc 90%);color:#fff}.chzn-container .chzn-results li em{background:#feffde;font-style:normal}.chzn-container .chzn-results .highlighted em{background:transparent}.chzn-container .chzn-results .no-results{background:#f4f4f4;display:list-item}.chzn-container .chzn-results .group-result{cursor:default;color:#999;font-weight:bold}.chzn-container .chzn-results .group-option{padding-left:15px}.chzn-container-multi .chzn-drop .result-selected{display:none}.chzn-container .chzn-results-scroll{background:white;margin:0 4px;position:absolute;text-align:center;width:321px;z-index:1}.chzn-container .chzn-results-scroll span{display:inline-block;height:17px;text-indent:-5000px;width:9px}.chzn-container .chzn-results-scroll-down{bottom:0}.chzn-container .chzn-results-scroll-down span{background:url('../images/chosen-sprite.png') no-repeat -4px -3px}.chzn-container .chzn-results-scroll-up span{background:url('../images/chosen-sprite.png') no-repeat -22px -3px}.chzn-container-active .chzn-single{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);-o-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3);border:1px solid #5897fb}.chzn-container-active .chzn-single-with-drop{border:1px solid #aaa;-webkit-box-shadow:0 1px 0 #fff inset;-moz-box-shadow:0 1px 0 #fff inset;-o-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background-color:#eee;filter:progid:dximagetransform.microsoft.gradient(startColorstr='#eeeeee',endColorstr='#ffffff',GradientType=0);background-image:-webkit-gradient(linear,0% 0,0% 100%,color-stop(20%,#eee),color-stop(80%,#fff));background-image:-webkit-linear-gradient(top,#eee 20%,#fff 80%);background-image:-moz-linear-gradient(top,#eee 20%,#fff 80%);background-image:-o-linear-gradient(top,#eee 20%,#fff 80%);background-image:-ms-linear-gradient(top,#eee 20%,#fff 80%);background-image:linear-gradient(top,#eee 20%,#fff 80%);-webkit-border-bottom-left-radius:0;-webkit-border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;-moz-border-radius-bottomright:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.chzn-container-active .chzn-single-with-drop div{background:transparent;border-left:none}.chzn-container-active .chzn-single-with-drop div b{background-position:-18px 1px}.chzn-container-active .chzn-choices{-webkit-box-shadow:0 0 5px rgba(0,0,0,0.3);-moz-box-shadow:0 0 5px rgba(0,0,0,0.3);-o-box-shadow:0 0 5px rgba(0,0,0,0.3);box-shadow:0 0 5px rgba(0,0,0,0.3);border:1px solid #5897fb}.chzn-container-active .chzn-choices .search-field input{color:#111!important}.chzn-disabled{cursor:default;opacity:.5!important}.chzn-disabled .chzn-single{cursor:default}.chzn-disabled .chzn-choices .search-choice .search-choice-close{cursor:default}.chzn-rtl{text-align:right}.chzn-rtl .chzn-single{padding:0 8px 0 0;overflow:visible}.chzn-rtl .chzn-single span{margin-left:26px;margin-right:0;direction:rtl}.chzn-rtl .chzn-single div{left:3px;right:auto}.chzn-rtl .chzn-single abbr{left:26px;right:auto}.chzn-rtl .chzn-choices .search-field input{direction:rtl}.chzn-rtl .chzn-choices li{float:right}.chzn-rtl .chzn-choices .search-choice{padding:3px 5px 3px 19px;margin:3px 5px 3px 0}.chzn-rtl .chzn-choices .search-choice .search-choice-close{left:4px;right:auto;background-position:right top}.chzn-rtl.chzn-container-single .chzn-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chzn-rtl .chzn-results .group-option{padding-left:0;padding-right:15px}.chzn-rtl.chzn-container-active .chzn-single-with-drop div{border-right:0}.chzn-rtl .chzn-search input{background:#fff url('../images/chosen-sprite.png') no-repeat -38px -22px;background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-webkit-gradient(linear,0% 0,0% 100%,color-stop(1%,#eee),color-stop(15%,#fff));background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-webkit-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-moz-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-o-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,-ms-linear-gradient(top,#eee 1%,#fff 15%);background:url('../images/chosen-sprite.png') no-repeat -38px -22px,linear-gradient(top,#eee 1%,#fff 15%);padding:4px 5px 4px 20px;direction:rtl} \ No newline at end of file diff --git a/assets/css/admin.less b/assets/css/admin.less index 985f3c3d5c9..2851bdea554 100644 --- a/assets/css/admin.less +++ b/assets/css/admin.less @@ -739,7 +739,7 @@ table.wc_status_table { text-align: center; input { text-align: center; - width: 40px; + width: 50px; } } td.tax_class, th.tax_class { diff --git a/assets/js/admin/accounting.js b/assets/js/admin/accounting.js new file mode 100644 index 00000000000..d9e12eba4df --- /dev/null +++ b/assets/js/admin/accounting.js @@ -0,0 +1,412 @@ +/*! + * accounting.js v0.3.2 + * Copyright 2011, Joss Crowcroft + * + * Freely distributable under the MIT license. + * Portions of accounting.js are inspired or borrowed from underscore.js + * + * Full details and documentation: + * http://josscrowcroft.github.com/accounting.js/ + */ + +(function(root, undefined) { + + /* --- Setup --- */ + + // Create the local library object, to be exported or referenced globally later + var lib = {}; + + // Current version + lib.version = '0.3.2'; + + + /* --- Exposed settings --- */ + + // The library's settings configuration object. Contains default parameters for + // currency and number formatting + lib.settings = { + currency: { + symbol : "$", // default currency symbol is '$' + format : "%s%v", // controls output: %s = symbol, %v = value (can be object, see docs) + decimal : ".", // decimal point separator + thousand : ",", // thousands separator + precision : 2, // decimal places + grouping : 3 // digit grouping (not implemented yet) + }, + number: { + precision : 0, // default precision on numbers is 0 + grouping : 3, // digit grouping (not implemented yet) + thousand : ",", + decimal : "." + } + }; + + + /* --- Internal Helper Methods --- */ + + // Store reference to possibly-available ECMAScript 5 methods for later + var nativeMap = Array.prototype.map, + nativeIsArray = Array.isArray, + toString = Object.prototype.toString; + + /** + * Tests whether supplied parameter is a string + * from underscore.js + */ + function isString(obj) { + return !!(obj === '' || (obj && obj.charCodeAt && obj.substr)); + } + + /** + * Tests whether supplied parameter is a string + * from underscore.js, delegates to ECMA5's native Array.isArray + */ + function isArray(obj) { + return nativeIsArray ? nativeIsArray(obj) : toString.call(obj) === '[object Array]'; + } + + /** + * Tests whether supplied parameter is a true object + */ + function isObject(obj) { + return obj && toString.call(obj) === '[object Object]'; + } + + /** + * Extends an object with a defaults object, similar to underscore's _.defaults + * + * Used for abstracting parameter handling from API methods + */ + function defaults(object, defs) { + var key; + object = object || {}; + defs = defs || {}; + // Iterate over object non-prototype properties: + for (key in defs) { + if (defs.hasOwnProperty(key)) { + // Replace values with defaults only if undefined (allow empty/zero values): + if (object[key] == null) object[key] = defs[key]; + } + } + return object; + } + + /** + * Implementation of `Array.map()` for iteration loops + * + * Returns a new Array as a result of calling `iterator` on each array value. + * Defers to native Array.map if available + */ + function map(obj, iterator, context) { + var results = [], i, j; + + if (!obj) return results; + + // Use native .map method if it exists: + if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context); + + // Fallback for native .map: + for (i = 0, j = obj.length; i < j; i++ ) { + results[i] = iterator.call(context, obj[i], i, obj); + } + return results; + } + + /** + * Check and normalise the value of precision (must be positive integer) + */ + function checkPrecision(val, base) { + val = Math.round(Math.abs(val)); + return isNaN(val)? base : val; + } + + + /** + * Parses a format string or object and returns format obj for use in rendering + * + * `format` is either a string with the default (positive) format, or object + * containing `pos` (required), `neg` and `zero` values (or a function returning + * either a string or object) + * + * Either string or format.pos must contain "%v" (value) to be valid + */ + function checkCurrencyFormat(format) { + var defaults = lib.settings.currency.format; + + // Allow function as format parameter (should return string or object): + if ( typeof format === "function" ) format = format(); + + // Format can be a string, in which case `value` ("%v") must be present: + if ( isString( format ) && format.match("%v") ) { + + // Create and return positive, negative and zero formats: + return { + pos : format, + neg : format.replace("-", "").replace("%v", "-%v"), + zero : format + }; + + // If no format, or object is missing valid positive value, use defaults: + } else if ( !format || !format.pos || !format.pos.match("%v") ) { + + // If defaults is a string, casts it to an object for faster checking next time: + return ( !isString( defaults ) ) ? defaults : lib.settings.currency.format = { + pos : defaults, + neg : defaults.replace("%v", "-%v"), + zero : defaults + }; + + } + // Otherwise, assume format was fine: + return format; + } + + + /* --- API Methods --- */ + + /** + * Takes a string/array of strings, removes all formatting/cruft and returns the raw float value + * alias: accounting.`parse(string)` + * + * Decimal must be included in the regular expression to match floats (defaults to + * accounting.settings.number.decimal), so if the number uses a non-standard decimal + * separator, provide it as the second argument. + * + * Also matches bracketed negatives (eg. "$ (1.99)" => -1.99) + * + * Doesn't throw any errors (`NaN`s become 0) but this may change in future + */ + var unformat = lib.unformat = lib.parse = function(value, decimal) { + // Recursively unformat arrays: + if (isArray(value)) { + return map(value, function(val) { + return unformat(val, decimal); + }); + } + + // Fails silently (need decent errors): + value = value || 0; + + // Return the value as-is if it's already a number: + if (typeof value === "number") return value; + + // Default decimal point comes from settings, but could be set to eg. "," in opts: + decimal = decimal || lib.settings.number.decimal; + + // Build regex to strip out everything except digits, decimal point and minus sign: + var regex = new RegExp("[^0-9-" + decimal + "]", ["g"]), + unformatted = parseFloat( + ("" + value) + .replace(/\((.*)\)/, "-$1") // replace bracketed values with negatives + .replace(regex, '') // strip out any cruft + .replace(decimal, '.') // make sure decimal point is standard + ); + + // This will fail silently which may cause trouble, let's wait and see: + return !isNaN(unformatted) ? unformatted : 0; + }; + + + /** + * Implementation of toFixed() that treats floats more like decimals + * + * Fixes binary rounding issues (eg. (0.615).toFixed(2) === "0.61") that present + * problems for accounting- and finance-related software. + */ + var toFixed = lib.toFixed = function(value, precision) { + precision = checkPrecision(precision, lib.settings.number.precision); + var power = Math.pow(10, precision); + + // Multiply up by precision, round accurately, then divide and use native toFixed(): + return (Math.round(lib.unformat(value) * power) / power).toFixed(precision); + }; + + + /** + * Format a number, with comma-separated thousands and custom precision/decimal places + * + * Localise by overriding the precision and thousand / decimal separators + * 2nd parameter `precision` can be an object matching `settings.number` + */ + var formatNumber = lib.formatNumber = function(number, precision, thousand, decimal) { + // Resursively format arrays: + if (isArray(number)) { + return map(number, function(val) { + return formatNumber(val, precision, thousand, decimal); + }); + } + + // Clean up number: + number = unformat(number); + + // Build options object from second param (if object) or all params, extending defaults: + var opts = defaults( + (isObject(precision) ? precision : { + precision : precision, + thousand : thousand, + decimal : decimal + }), + lib.settings.number + ), + + // Clean up precision + usePrecision = checkPrecision(opts.precision), + + // Do some calc: + negative = number < 0 ? "-" : "", + base = parseInt(toFixed(Math.abs(number || 0), usePrecision), 10) + "", + mod = base.length > 3 ? base.length % 3 : 0; + + // Format the number: + return negative + (mod ? base.substr(0, mod) + opts.thousand : "") + base.substr(mod).replace(/(\d{3})(?=\d)/g, "$1" + opts.thousand) + (usePrecision ? opts.decimal + toFixed(Math.abs(number), usePrecision).split('.')[1] : ""); + }; + + + /** + * Format a number into currency + * + * Usage: accounting.formatMoney(number, symbol, precision, thousandsSep, decimalSep, format) + * defaults: (0, "$", 2, ",", ".", "%s%v") + * + * Localise by overriding the symbol, precision, thousand / decimal separators and format + * Second param can be an object matching `settings.currency` which is the easiest way. + * + * To do: tidy up the parameters + */ + var formatMoney = lib.formatMoney = function(number, symbol, precision, thousand, decimal, format) { + // Resursively format arrays: + if (isArray(number)) { + return map(number, function(val){ + return formatMoney(val, symbol, precision, thousand, decimal, format); + }); + } + + // Clean up number: + number = unformat(number); + + // Build options object from second param (if object) or all params, extending defaults: + var opts = defaults( + (isObject(symbol) ? symbol : { + symbol : symbol, + precision : precision, + thousand : thousand, + decimal : decimal, + format : format + }), + lib.settings.currency + ), + + // Check format (returns object with pos, neg and zero): + formats = checkCurrencyFormat(opts.format), + + // Choose which format to use for this value: + useFormat = number > 0 ? formats.pos : number < 0 ? formats.neg : formats.zero; + + // Return with currency symbol added: + return useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(number), checkPrecision(opts.precision), opts.thousand, opts.decimal)); + }; + + + /** + * Format a list of numbers into an accounting column, padding with whitespace + * to line up currency symbols, thousand separators and decimals places + * + * List should be an array of numbers + * Second parameter can be an object containing keys that match the params + * + * Returns array of accouting-formatted number strings of same length + * + * NB: `white-space:pre` CSS rule is required on the list container to prevent + * browsers from collapsing the whitespace in the output strings. + */ + lib.formatColumn = function(list, symbol, precision, thousand, decimal, format) { + if (!list) return []; + + // Build options object from second param (if object) or all params, extending defaults: + var opts = defaults( + (isObject(symbol) ? symbol : { + symbol : symbol, + precision : precision, + thousand : thousand, + decimal : decimal, + format : format + }), + lib.settings.currency + ), + + // Check format (returns object with pos, neg and zero), only need pos for now: + formats = checkCurrencyFormat(opts.format), + + // Whether to pad at start of string or after currency symbol: + padAfterSymbol = formats.pos.indexOf("%s") < formats.pos.indexOf("%v") ? true : false, + + // Store value for the length of the longest string in the column: + maxLength = 0, + + // Format the list according to options, store the length of the longest string: + formatted = map(list, function(val, i) { + if (isArray(val)) { + // Recursively format columns if list is a multi-dimensional array: + return lib.formatColumn(val, opts); + } else { + // Clean up the value + val = unformat(val); + + // Choose which format to use for this value (pos, neg or zero): + var useFormat = val > 0 ? formats.pos : val < 0 ? formats.neg : formats.zero, + + // Format this value, push into formatted list and save the length: + fVal = useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(val), checkPrecision(opts.precision), opts.thousand, opts.decimal)); + + if (fVal.length > maxLength) maxLength = fVal.length; + return fVal; + } + }); + + // Pad each number in the list and send back the column of numbers: + return map(formatted, function(val, i) { + // Only if this is a string (not a nested array, which would have already been padded): + if (isString(val) && val.length < maxLength) { + // Depending on symbol position, pad after symbol or at index 0: + return padAfterSymbol ? val.replace(opts.symbol, opts.symbol+(new Array(maxLength - val.length + 1).join(" "))) : (new Array(maxLength - val.length + 1).join(" ")) + val; + } + return val; + }); + }; + + + /* --- Module Definition --- */ + + // Export accounting for CommonJS. If being loaded as an AMD module, define it as such. + // Otherwise, just add `accounting` to the global object + if (typeof exports !== 'undefined') { + if (typeof module !== 'undefined' && module.exports) { + exports = module.exports = lib; + } + exports.accounting = lib; + } else if (typeof define === 'function' && define.amd) { + // Return the library as an AMD module: + define([], function() { + return lib; + }); + } else { + // Use accounting.noConflict to restore `accounting` back to its original value. + // Returns a reference to the library's `accounting` object; + // e.g. `var numbers = accounting.noConflict();` + lib.noConflict = (function(oldAccounting) { + return function() { + // Reset the value of the root's `accounting` variable: + root.accounting = oldAccounting; + // Delete the noConflict method: + lib.noConflict = undefined; + // Return reference to the library to re-assign it: + return lib; + }; + })(root.accounting); + + // Declare `fx` on the root (global/window) object: + root['accounting'] = lib; + } + + // Root will be `window` in browser or `global` on the server: +}(this)); diff --git a/assets/js/admin/write-panels.js b/assets/js/admin/write-panels.js index cdf67771ada..cd5bb2411f5 100644 --- a/assets/js/admin/write-panels.js +++ b/assets/js/admin/write-panels.js @@ -151,7 +151,102 @@ jQuery( function($){ } return false; }); + + $('#order_items_list').on( 'init_row', 'tr.item', function() { + var $row = $(this); + var $qty = $row.find('input.quantity'); + var qty = $qty.val(); + + var line_subtotal = $row.find('input.line_subtotal').val(); + var line_total = $row.find('input.line_total').val(); + var line_tax = $row.find('input.line_tax').val(); + var line_subtotal_tax = $row.find('input.line_subtotal_tax').val(); + + if ( qty ) { + unit_subtotal = accounting.toFixed( ( line_subtotal / qty ), 2 ); + unit_subtotal_tax = accounting.toFixed( ( line_subtotal_tax / qty ), 2 ); + unit_total = accounting.toFixed( ( line_total / qty ), 2 ); + unit_total_tax = accounting.toFixed( ( line_tax / qty ), 2 ); + } else { + unit_subtotal = unit_subtotal_tax = unit_total = unit_total_tax = 0; + } + + $qty.attr( 'data-o_qty', qty ); + $row.attr( 'data-unit_subtotal', unit_subtotal ); + $row.attr( 'data-unit_subtotal_tax', unit_subtotal_tax ); + $row.attr( 'data-unit_total', unit_total ); + $row.attr( 'data-unit_total_tax', unit_total_tax ); + }); + + // When the page is loaded, store the unit costs + $('#order_items_list tr.item').each( function() { + $(this).trigger('init_row'); + } ); + + // When the qty is changed, increase or decrease costs + $('#order_items_list').on( 'change', 'input.quantity', function() { + var $row = $(this).closest('tr.item'); + var qty = $(this).val(); + + var unit_subtotal = $row.attr('data-unit_subtotal'); + var unit_subtotal_tax = $row.attr('data-unit_subtotal_tax'); + var unit_total = $row.attr('data-unit_total'); + var unit_total_tax = $row.attr('data-unit_total_tax'); + var o_qty = $(this).attr('data-o_qty'); + + var subtotal = accounting.formatNumber( unit_subtotal * qty, 2, '' ); + var tax = accounting.formatNumber( unit_subtotal_tax * qty, 2, '' ); + var total = accounting.formatNumber( unit_total * qty, 2, '' ); + var total_tax = accounting.formatNumber( unit_total_tax * qty, 2, '' ); + + $row.find('input.line_subtotal').val( subtotal ); + $row.find('input.line_total').val( total ); + $row.find('input.line_subtotal_tax').val( tax ); + $row.find('input.line_tax').val( total_tax ); + }); + + // When subtotal is changed, update the unit costs + $('#order_items_list').on( 'change', 'input.line_subtotal', function() { + var $row = $(this).closest('tr.item'); + var $qty = $row.find('input.quantity'); + var qty = $qty.val(); + var value = ( qty ) ? accounting.toFixed( ( $(this).val() / qty ), 2 ) : 0; + + $row.attr( 'data-unit_subtotal', value ); + }); + + // When total is changed, update the unit costs + discount amount + $('#order_items_list').on( 'change', 'input.line_total', function() { + var $row = $(this).closest('tr.item'); + var $qty = $row.find('input.quantity'); + var qty = $qty.val(); + var value = ( qty ) ? accounting.toFixed( ( $(this).val() / qty ), 2 ) : 0; + + $row.attr( 'data-unit_total', value ); + }); + // When total is changed, update the unit costs + discount amount + $('#order_items_list').on( 'change', 'input.line_subtotal_tax', function() { + var $row = $(this).closest('tr.item'); + var $qty = $row.find('input.quantity'); + var qty = $qty.val(); + var value = ( qty ) ? accounting.toFixed( ( $(this).val() / qty ), 2 ) : 0; + + $row.attr( 'data-unit_subtotal_tax', value ); + }); + + // When total is changed, update the unit costs + discount amount + $('#order_items_list').on( 'change', 'input.line_tax', function() { + var $row = $(this).closest('tr.item'); + var $qty = $row.find('input.quantity'); + var qty = $qty.val(); + var value = ( qty ) ? accounting.toFixed( ( $(this).val() / qty ), 2 ) : 0; + + $row.attr( 'data-unit_total_tax', value ); + }); + + + // Calculate totals $('button.calc_line_taxes').live('click', function(){ // Block write panel $('.woocommerce_order_items_wrapper').block({ message: null, overlayCSS: { background: '#fff url(' + woocommerce_writepanel_params.plugin_url + '/assets/images/ajax-loader.gif) no-repeat center', opacity: 0.6 } }); @@ -191,8 +286,8 @@ jQuery( function($){ $.post( woocommerce_writepanel_params.ajax_url, data, function(response) { result = jQuery.parseJSON( response ); - $row.find('input.line_subtotal_tax').val( result.line_subtotal_tax ); - $row.find('input.line_tax').val( result.line_tax ); + $row.find('input.line_subtotal_tax').val( result.line_subtotal_tax ).change(); + $row.find('input.line_tax').val( result.line_tax ).change(); if (idx == ($items.size() - 1)) { $('.woocommerce_order_items_wrapper').unblock(); @@ -227,9 +322,9 @@ jQuery( function($){ var line_totals = 0; var cart_discount = 0; var cart_tax = 0; - var order_shipping = parseFloat( $('#_order_shipping').val() ); - var order_shipping_tax = parseFloat( $('#_order_shipping_tax').val() ); - var order_discount = parseFloat( $('#_order_discount').val() ); + var order_shipping = accounting.unformat( $('#_order_shipping').val() ); + var order_shipping_tax = accounting.unformat( $('#_order_shipping_tax').val() ); + var order_discount = accounting.unformat( $('#_order_discount').val() ); if ( ! order_shipping ) order_shipping = 0; if ( ! order_shipping_tax ) order_shipping_tax = 0; @@ -237,42 +332,43 @@ jQuery( function($){ $('#order_items_list tr.item').each(function(){ - var line_subtotal = parseFloat( $(this).find('input.line_subtotal').val() ); - var line_subtotal_tax = parseFloat( $(this).find('input.line_subtotal_tax').val() ); - var line_total = parseFloat( $(this).find('input.line_total').val() ); - var line_tax = parseFloat( $(this).find('input.line_tax').val() ); + var line_subtotal = accounting.unformat( $(this).find('input.line_subtotal').val() ); + var line_subtotal_tax = accounting.unformat( $(this).find('input.line_subtotal_tax').val() ); + var line_total = accounting.unformat( $(this).find('input.line_total').val() ); + var line_tax = accounting.unformat( $(this).find('input.line_tax').val() ); if ( ! line_subtotal ) line_subtotal = 0; if ( ! line_subtotal_tax ) line_subtotal_tax = 0; if ( ! line_total ) line_total = 0; if ( ! line_tax ) line_tax = 0; - line_subtotals = parseFloat( line_subtotals + line_subtotal ); - line_subtotal_taxes = parseFloat( line_subtotal_taxes + line_subtotal_tax ); - line_totals = parseFloat( line_totals + line_total ); + line_subtotals = line_subtotals + line_subtotal; + line_subtotal_taxes = line_subtotal_taxes + line_subtotal_tax; + line_totals = line_totals + line_total; - if (woocommerce_writepanel_params.round_at_subtotal=='no') { - line_tax = parseFloat( line_tax.toFixed( 2 ) ); + if ( woocommerce_writepanel_params.round_at_subtotal=='no' ) { + line_tax = accounting.toFixed( line_tax, 2 ); } - cart_tax = parseFloat( cart_tax + line_tax ); + cart_tax = cart_tax + line_tax; }); // Tax if (woocommerce_writepanel_params.round_at_subtotal=='yes') { - cart_tax = parseFloat( cart_tax.toFixed( 2 ) ); + cart_tax = accounting.toFixed( cart_tax, 2 ); } // Cart discount var cart_discount = ( (line_subtotals + line_subtotal_taxes) - (line_totals + cart_tax) ); - if (cart_discount<0) cart_discount = 0; - cart_discount = cart_discount.toFixed( 2 ); + if ( cart_discount < 0 ) cart_discount = 0; + cart_discount = accounting.toFixed( cart_discount, 2 ); // Total var order_total = line_totals + cart_tax + order_shipping + order_shipping_tax - order_discount; - order_total = order_total.toFixed( 2 ); - + order_total = accounting.toFixed( order_total, 2 ); + cart_tax = accounting.toFixed( cart_tax, 2 ); + // Set fields $('#_cart_discount').val( cart_discount ); $('#_order_tax').val( cart_tax ); @@ -280,7 +376,6 @@ jQuery( function($){ // Since we currently cannot calc shipping from the backend, ditch the rows. They must be manually calculated. $('#tax_rows').empty(); - $('#woocommerce-order-totals').unblock(); } else { @@ -329,6 +424,8 @@ jQuery( function($){ $('select#add_item_id').trigger("liszt:updated"); $('table.woocommerce_order_items').unblock(); } + + $('#order_items_list tr.new_row').trigger('init_row').removeClass('new_row'); }); size++; @@ -874,4 +971,9 @@ jQuery( function($){ } -}); \ No newline at end of file +}); + +/*! + * accounting.js v0.3.2, copyright 2011 Joss Crowcroft, MIT license, http://josscrowcroft.github.com/accounting.js + */ +(function(p,z){function q(a){return!!(""===a||a&&a.charCodeAt&&a.substr)}function m(a){return u?u(a):"[object Array]"===v.call(a)}function r(a){return"[object Object]"===v.call(a)}function s(a,b){var d,a=a||{},b=b||{};for(d in b)b.hasOwnProperty(d)&&null==a[d]&&(a[d]=b[d]);return a}function j(a,b,d){var c=[],e,h;if(!a)return c;if(w&&a.map===w)return a.map(b,d);for(e=0,h=a.length;ea?"-":"",g=parseInt(y(Math.abs(a||0),h),10)+"",l=3a?g.neg:g.zero).replace("%s",f.symbol).replace("%v",t(Math.abs(a),n(f.precision),f.thousand,f.decimal))};c.formatColumn=function(a,b,d,i,e,h){if(!a)return[];var f=s(r(b)?b:{symbol:b,precision:d,thousand:i,decimal:e,format:h},c.settings.currency),g=x(f.format),l=g.pos.indexOf("%s")a?g.neg:g.zero).replace("%s",f.symbol).replace("%v",t(Math.abs(a),n(f.precision),f.thousand,f.decimal));if(a.length>k)k=a.length;return a});return j(a,function(a){return q(a)&&a.length');return!1});e("button.remove_meta").live("click",function(){var t=confirm("Remove this meta key?");t&&e(this).closest("tr").remove();return!1});e("button.load_customer_billing").live("click",function(){var t=confirm(woocommerce_writepanel_params.load_billing);if(t){var n=e("#customer_user").val();if(!n){alert(woocommerce_writepanel_params.no_customer_selected);return!1}var r={user_id:n,type_to_load:"billing",action:"woocommerce_get_customer_details",security:woocommerce_writepanel_params.get_customer_details_nonce};e(this).closest(".edit_address").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});e.ajax({url:woocommerce_writepanel_params.ajax_url,data:r,type:"POST",success:function(t){var n=jQuery.parseJSON(t);if(n){e("input#_billing_first_name").val(n.billing_first_name);e("input#_billing_last_name").val(n.billing_last_name);e("input#_billing_company").val(n.billing_company);e("input#_billing_address_1").val(n.billing_address_1);e("input#_billing_address_2").val(n.billing_address_2);e("input#_billing_city").val(n.billing_city);e("input#_billing_postcode").val(n.billing_postcode);e("#_billing_country").val(n.billing_country);e("input#_billing_state").val(n.billing_state);e("input#_billing_email").val(n.billing_email);e("input#_billing_phone").val(n.billing_phone)}e(".edit_address").unblock()}})}return!1});e("button.load_customer_shipping").live("click",function(){var t=confirm(woocommerce_writepanel_params.load_shipping);if(t){var n=e("#customer_user").val();if(!n){alert(woocommerce_writepanel_params.no_customer_selected);return!1}var r={user_id:n,type_to_load:"shipping",action:"woocommerce_get_customer_details",security:woocommerce_writepanel_params.get_customer_details_nonce};e(this).closest(".edit_address").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});e.ajax({url:woocommerce_writepanel_params.ajax_url,data:r,type:"POST",success:function(t){var n=jQuery.parseJSON(t);if(n){e("input#_shipping_first_name").val(n.shipping_first_name);e("input#_shipping_last_name").val(n.shipping_last_name);e("input#_shipping_company").val(n.shipping_company);e("input#_shipping_address_1").val(n.shipping_address_1);e("input#_shipping_address_2").val(n.shipping_address_2);e("input#_shipping_city").val(n.shipping_city);e("input#_shipping_postcode").val(n.shipping_postcode);e("#_shipping_country").val(n.shipping_country);e("input#_shipping_state").val(n.shipping_state)}e(".edit_address").unblock()}})}return!1});e("button.billing-same-as-shipping").live("click",function(){var t=confirm(woocommerce_writepanel_params.copy_billing);if(t){e("input#_shipping_first_name").val(e("input#_billing_first_name").val());e("input#_shipping_last_name").val(e("input#_billing_last_name").val());e("input#_shipping_company").val(e("input#_billing_company").val());e("input#_shipping_address_1").val(e("input#_billing_address_1").val());e("input#_shipping_address_2").val(e("input#_billing_address_2").val());e("input#_shipping_city").val(e("input#_billing_city").val());e("input#_shipping_postcode").val(e("input#_billing_postcode").val());e("#_shipping_country").val(e("#_billing_country").val());e("input#_shipping_state").val(e("input#_billing_state").val())}return!1});e("a.add_tax_row").live("click",function(){var t=e("#tax_rows .tax_row").size();e("#tax_rows").append('

×
');return!1});e("a.delete_tax_row").live("click",function(){$tax_row=e(this).closest(".tax_row");$tax_row.find("input").val("");$tax_row.hide();return!1});e("select#product-type").change(function(){var t=e(this).val();e(".hide_if_grouped, .hide_if_external").show();e(".show_if_simple, .show_if_variable, .show_if_grouped, .show_if_external").hide();if(t=="simple"){e(".show_if_simple").show();e("input#_manage_stock").change()}else if(t=="variable"){e(".show_if_variable").show();e("input#_manage_stock").change();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change()}else if(t=="grouped"){e(".show_if_grouped").show();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change();e(".hide_if_grouped").hide()}else if(t=="external"){e(".show_if_external").show();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change();e(".hide_if_external").hide()}e("ul.wc-tabs li:visible").eq(0).find("a").click();e("body").trigger("woocommerce-product-type-change",t,e(this))}).change();e("input#_downloadable").change(function(){e(".show_if_downloadable").hide();e("input#_downloadable").is(":checked")&&e(".show_if_downloadable").show();e(".downloads_tab").is(".active")&&e("ul.wc-tabs li:visible").eq(0).find("a").click()}).change();e("input#_virtual").change(function(){e(".show_if_virtual").hide();e(".hide_if_virtual").show();if(e("input#_virtual").is(":checked")){e(".show_if_virtual").show();e(".hide_if_virtual").hide()}}).change();var t=!1;e(".sale_price_dates_fields input").each(function(){e(this).val()!=""&&(t=!0)});if(t){e(".sale_schedule").hide();e(".sale_price_dates_fields").show()}else{e(".sale_schedule").show();e(".sale_price_dates_fields").hide()}e(".sale_schedule").click(function(){e(this).hide();e(".sale_price_dates_fields").show();return!1});e(".cancel_sale_schedule").click(function(){e(this).closest("p").find("input").val("");e(".sale_schedule").show();e(".sale_price_dates_fields").hide();return!1});e("input#_manage_stock").change(function(){e(this).is(":checked")?e("div.stock_fields").show():e("div.stock_fields").hide()}).change();var n=e("#_sale_price_dates_from, #_sale_price_dates_to").datepicker({defaultDate:"",dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,showOn:"button",buttonImage:woocommerce_writepanel_params.calendar_image,buttonImageOnly:!0,onSelect:function(t){var r=this.id=="_sale_price_dates_from"?"minDate":"maxDate",i=e(this).data("datepicker"),s=e.datepicker.parseDate(i.settings.dateFormat||e.datepicker._defaults.dateFormat,t,i.settings);n.not(this).datepicker("option",r,s)}});e(".date-picker").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,showOn:"button",buttonImage:woocommerce_writepanel_params.calendar_image,buttonImageOnly:!0});e(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0});jQuery(".expand_all").click(function(){jQuery(this).closest(".wc-metaboxes-wrapper").find(".wc-metabox > table").show();return!1});jQuery(".close_all").click(function(){jQuery(this).closest(".wc-metaboxes-wrapper").find(".wc-metabox > table").hide();return!1});jQuery(".wc-metaboxes-wrapper").on("click",".wc-metabox h3",function(t){if(e(t.target).filter(":input, option").length)return;jQuery(this).next(".wc-metabox-content").toggle()});jQuery(".wc-metabox.closed").each(function(){jQuery(this).find(".wc-metabox-content").hide()});e(".woocommerce_attributes select.multiselect").chosen();var r=e(".woocommerce_attributes").find(".woocommerce_attribute").get();r.sort(function(t,n){var r=parseInt(e(t).attr("rel")),i=parseInt(e(n).attr("rel"));return ri?1:0});e(r).each(function(t,n){e(".woocommerce_attributes").append(n)});e("button.add_attribute").on("click",function(){var t=e(".woocommerce_attributes .woocommerce_attribute").size(),n=e("select.attribute_taxonomy").val();if(!n){var r=e("select#product-type").val();r!="variable"?enable_variation='style="display:none;"':enable_variation="";e(".woocommerce_attributes").append('

")}else{var s=e(".woocommerce_attributes .woocommerce_attribute."+n);e(".woocommerce_attributes").append(e(s));e(s).show().find(".woocommerce_attribute_data").show();i()}e("select.attribute_taxonomy").val("")});e(".woocommerce_attributes").on("blur","input.attribute_name",function(){e(this).closest(".woocommerce_attribute").find("strong.attribute_name").text(e(this).val())});e(".woocommerce_attributes").on("click","button.select_all_attributes",function(){e(this).closest("td").find("select option").attr("selected","selected");e(this).closest("td").find("select").trigger("liszt:updated");return!1});e(".woocommerce_attributes").on("click","button.select_no_attributes",function(){e(this).closest("td").find("select option").removeAttr("selected");e(this).closest("td").find("select").trigger("liszt:updated");return!1});e(".woocommerce_attributes").on("click","button.remove_row",function(){var t=confirm(woocommerce_writepanel_params.remove_attribute);if(t){var n=e(this).parent().parent();if(n.is(".taxonomy")){n.find("select, input[type=text]").val("");n.hide()}else{n.find("select, input[type=text]").val("");n.hide();i()}}return!1});e(".woocommerce_attributes").sortable({items:".woocommerce_attribute",cursor:"move",axis:"y",handle:"h3",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"wc-metabox-sortable-placeholder",start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style");i()}});e(".woocommerce_attributes").on("click","button.add_new_attribute",function(){e(".woocommerce_attributes").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var t=e(this).attr("data-attribute"),n=e(this).closest(".woocommerce_attribute_data"),r=prompt(woocommerce_writepanel_params.new_attribute_prompt);if(r){var i={action:"woocommerce_add_new_attribute",taxonomy:t,term:r,security:woocommerce_writepanel_params.add_attribute_nonce};e.post(woocommerce_writepanel_params.ajax_url,i,function(t){result=jQuery.parseJSON(t);if(result.error)alert(result.error);else if(result.slug){n.find("select.attribute_values").append('");n.find("select.attribute_values").trigger("liszt:updated")}e(".woocommerce_attributes").unblock()})}else e(".woocommerce_attributes").unblock();return!1});var s;window.send_to_editor_default=window.send_to_editor;jQuery(".upload_file_button").live("click",function(){s=jQuery(this).parent().find(".file_paths");formfield=jQuery(s).attr("name");window.send_to_editor=window.send_to_download_url;tb_show("","media-upload.php?post_id="+woocommerce_writepanel_params.post_id+"&type=downloadable_product&from=wc01&TB_iframe=true");return!1});window.send_to_download_url=function(e){file_url=jQuery(e).attr("href");file_url&&jQuery(s).val(jQuery(s).val()?jQuery(s).val()+"\n"+file_url:file_url);tb_remove();window.send_to_editor=window.send_to_editor_default}}); \ No newline at end of file +jQuery(function(e){function i(){e(".woocommerce_attributes .woocommerce_attribute").each(function(t,n){e(".attribute_position",n).val(parseInt(e(n).index(".woocommerce_attributes .woocommerce_attribute")))})}e("#upsell_product_data").bind("keypress",function(e){if(e.keyCode==13)return!1});e(".type_box").appendTo("#woocommerce-product-data h3.hndle span");e(function(){e("#woocommerce-product-data h3.hndle").unbind("click.postboxes");jQuery("#woocommerce-product-data").on("click","h3.hndle",function(t){if(e(t.target).filter("input, option, label, select").length)return;e("#woocommerce-product-data").toggleClass("closed")})});e("#catalog-visibility .edit-catalog-visibility").click(function(){if(e("#catalog-visibility-select").is(":hidden")){e("#catalog-visibility-select").slideDown("fast");e(this).hide()}return!1});e("#catalog-visibility .save-post-visibility").click(function(){e("#catalog-visibility-select").slideUp("fast");e("#catalog-visibility .edit-catalog-visibility").show();var t=e("input[name=_visibility]:checked").val(),n=e("input[name=_visibility]:checked").attr("data-label");if(e("input[name=_featured]").is(":checked")){n=n+", "+woocommerce_writepanel_params.featured_label;e("input[name=_featured]").attr("checked","checked")}e("#catalog-visibility-display").text(n);return!1});e("#catalog-visibility .cancel-post-visibility").click(function(){e("#catalog-visibility-select").slideUp("fast");e("#catalog-visibility .edit-catalog-visibility").show();var t=e("#current_visibilty").val(),n=e("#current_featured").val();e("input[name=_visibility]").removeAttr("checked");e("input[name=_visibility][value="+t+"]").attr("checked","checked");var r=e("input[name=_visibility]:checked").attr("data-label");if(n=="yes"){r=r+", "+woocommerce_writepanel_params.featured_label;e("input[name=_featured]").attr("checked","checked")}else e("input[name=_featured]").removeAttr("checked");e("#catalog-visibility-display").text(r);return!1});e("ul.wc-tabs").show();e("div.panel-wrap").each(function(){e("div.panel:not(div.panel:first)",this).hide()});e("ul.wc-tabs a").click(function(){var t=e(this).closest("div.panel-wrap");e("ul.wc-tabs li",t).removeClass("active");e(this).parent().addClass("active");e("div.panel",t).hide();e(e(this).attr("href")).show();return!1});jQuery("select.chosen_select").chosen();jQuery("select.chosen_select_nostd").chosen({allow_single_deselect:"true"});jQuery("select.ajax_chosen_select_products").ajaxChosen({method:"GET",url:woocommerce_writepanel_params.ajax_url,dataType:"json",afterTypeDelay:100,data:{action:"woocommerce_json_search_products",security:woocommerce_writepanel_params.search_products_nonce}},function(t){var n={};e.each(t,function(e,t){n[e]=t});return n});jQuery("select.ajax_chosen_select_products_and_variations").ajaxChosen({method:"GET",url:woocommerce_writepanel_params.ajax_url,dataType:"json",afterTypeDelay:100,data:{action:"woocommerce_json_search_products_and_variations",security:woocommerce_writepanel_params.search_products_nonce}},function(t){var n={};e.each(t,function(e,t){n[e]=t});return n});jQuery("#woocommerce-order-actions input, #woocommerce-order-actions a").click(function(){window.onbeforeunload=""});e("a.edit_address").click(function(t){e(this).hide();e(this).closest(".order_data").find("div.address").hide();e(this).closest(".order_data").find("div.edit_address").show();t.preventDefault()});e("#order_items_list .remove_row").live("click",function(){var t=confirm(woocommerce_writepanel_params.remove_item_notice);if(t){e(this).closest("tr.item").hide();e("input",e(this).closest("tr.item")).val("")}return!1});e("#order_items_list").on("init_row","tr.item",function(){var t=e(this),n=t.find("input.quantity"),r=n.val(),i=t.find("input.line_subtotal").val(),s=t.find("input.line_total").val(),o=t.find("input.line_tax").val(),u=t.find("input.line_subtotal_tax").val();if(r){unit_subtotal=accounting.toFixed(i/r,2);unit_subtotal_tax=accounting.toFixed(u/r,2);unit_total=accounting.toFixed(s/r,2);unit_total_tax=accounting.toFixed(o/r,2)}else unit_subtotal=unit_subtotal_tax=unit_total=unit_total_tax=0;n.attr("data-o_qty",r);t.attr("data-unit_subtotal",unit_subtotal);t.attr("data-unit_subtotal_tax",unit_subtotal_tax);t.attr("data-unit_total",unit_total);t.attr("data-unit_total_tax",unit_total_tax)});e("#order_items_list tr.item").each(function(){e(this).trigger("init_row")});e("#order_items_list").on("change","input.quantity",function(){var t=e(this).closest("tr.item"),n=e(this).val(),r=t.attr("data-unit_subtotal"),i=t.attr("data-unit_subtotal_tax"),s=t.attr("data-unit_total"),o=t.attr("data-unit_total_tax"),u=e(this).attr("data-o_qty"),a=accounting.formatNumber(r*n,2,""),f=accounting.formatNumber(i*n,2,""),l=accounting.formatNumber(s*n,2,""),c=accounting.formatNumber(o*n,2,"");t.find("input.line_subtotal").val(a);t.find("input.line_total").val(l);t.find("input.line_subtotal_tax").val(f);t.find("input.line_tax").val(c)});e("#order_items_list").on("change","input.line_subtotal",function(){var t=e(this).closest("tr.item"),n=t.find("input.quantity"),r=n.val(),i=r?accounting.toFixed(e(this).val()/r,2):0;t.attr("data-unit_subtotal",i)});e("#order_items_list").on("change","input.line_total",function(){var t=e(this).closest("tr.item"),n=t.find("input.quantity"),r=n.val(),i=r?accounting.toFixed(e(this).val()/r,2):0;t.attr("data-unit_total",i)});e("#order_items_list").on("change","input.line_subtotal_tax",function(){var t=e(this).closest("tr.item"),n=t.find("input.quantity"),r=n.val(),i=r?accounting.toFixed(e(this).val()/r,2):0;t.attr("data-unit_subtotal_tax",i)});e("#order_items_list").on("change","input.line_tax",function(){var t=e(this).closest("tr.item"),n=t.find("input.quantity"),r=n.val(),i=r?accounting.toFixed(e(this).val()/r,2):0;t.attr("data-unit_total_tax",i)});e("button.calc_line_taxes").live("click",function(){e(".woocommerce_order_items_wrapper").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var t=confirm(woocommerce_writepanel_params.calc_line_taxes);if(t){var n=e("#order_items_list tr.item"),r=e("#_shipping_country").val();if(r)var i=e("#_shipping_state").val(),s=e("#_shipping_postcode").val();else{r=e("#_billing_country").val();var i=e("#_billing_state").val(),s=e("#_billing_postcode").val()}n.each(function(t){var o=e(this),u={action:"woocommerce_calc_line_taxes",item_id:o.find("input.item_id").val(),line_subtotal:o.find("input.line_subtotal").val(),line_total:o.find("input.line_total").val(),tax_class:o.find("select.tax_class").val(),country:r,state:i,postcode:s,security:woocommerce_writepanel_params.calc_totals_nonce};e.post(woocommerce_writepanel_params.ajax_url,u,function(r){result=jQuery.parseJSON(r);o.find("input.line_subtotal_tax").val(result.line_subtotal_tax).change();o.find("input.line_tax").val(result.line_tax).change();t==n.size()-1&&e(".woocommerce_order_items_wrapper").unblock()})})}else e(".woocommerce_order_items_wrapper").unblock();return!1}).hover(function(){e("#order_items_list input.line_subtotal_tax, #order_items_list input.line_tax").css("background-color","#d8c8d2")},function(){e("#order_items_list input.line_subtotal_tax, #order_items_list input.line_tax").css("background-color","")});e("button.calc_totals").live("click",function(){e("#woocommerce-order-totals").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var t=confirm(woocommerce_writepanel_params.calc_totals);if(t){var n=0,r=0,i=0,s=0,o=0,u=accounting.unformat(e("#_order_shipping").val()),a=accounting.unformat(e("#_order_shipping_tax").val()),f=accounting.unformat(e("#_order_discount").val());u||(u=0);a||(a=0);f||(f=0);e("#order_items_list tr.item").each(function(){var t=accounting.unformat(e(this).find("input.line_subtotal").val()),s=accounting.unformat(e(this).find("input.line_subtotal_tax").val()),u=accounting.unformat(e(this).find("input.line_total").val()),a=accounting.unformat(e(this).find("input.line_tax").val());t||(t=0);s||(s=0);u||(u=0);a||(a=0);n+=t;r+=s;i+=u;woocommerce_writepanel_params.round_at_subtotal=="no"&&(a=accounting.toFixed(a,2));o+=a});woocommerce_writepanel_params.round_at_subtotal=="yes"&&(o=accounting.toFixed(o,2));var s=n+r-(i+o);s<0&&(s=0);s=accounting.toFixed(s,2);var l=i+o+u+a-f;l=accounting.toFixed(l,2);o=accounting.toFixed(o,2);e("#_cart_discount").val(s);e("#_order_tax").val(o);e("#_order_total").val(l);e("#tax_rows").empty();e("#woocommerce-order-totals").unblock()}else e("#woocommerce-order-totals").unblock();return!1}).hover(function(){e("#woocommerce-order-totals .calculated").css("background-color","#d8c8d2")},function(){e("#woocommerce-order-totals .calculated").css("background-color","")});e("button.add_shop_order_item").click(function(){var t=e("select#add_item_id").val();if(t){count=t.length;e("table.woocommerce_order_items").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var n=e("table.woocommerce_order_items tbody tr.item").size();e.each(t,function(t,r){var i={action:"woocommerce_add_order_item",item_to_add:r,index:n,security:woocommerce_writepanel_params.add_order_item_nonce};e.post(woocommerce_writepanel_params.ajax_url,i,function(t){e("table.woocommerce_order_items tbody#order_items_list").append(t);if(!--count){e("select#add_item_id, #add_item_id_chzn .chzn-choices").css("border-color","").val("");jQuery(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200});e("select#add_item_id").trigger("liszt:updated");e("table.woocommerce_order_items").unblock()}e("#order_items_list tr.new_row").trigger("init_row").removeClass("new_row")});n++})}else e("select#add_item_id, #add_item_id_chzn .chzn-choices").css("border-color","red")});e("button.add_meta").live("click",function(){var t=e(this).closest("tr.item").attr("rel");e(this).closest("table.meta").find(".meta_items").append('');return!1});e("button.remove_meta").live("click",function(){var t=confirm("Remove this meta key?");t&&e(this).closest("tr").remove();return!1});e("button.load_customer_billing").live("click",function(){var t=confirm(woocommerce_writepanel_params.load_billing);if(t){var n=e("#customer_user").val();if(!n){alert(woocommerce_writepanel_params.no_customer_selected);return!1}var r={user_id:n,type_to_load:"billing",action:"woocommerce_get_customer_details",security:woocommerce_writepanel_params.get_customer_details_nonce};e(this).closest(".edit_address").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});e.ajax({url:woocommerce_writepanel_params.ajax_url,data:r,type:"POST",success:function(t){var n=jQuery.parseJSON(t);if(n){e("input#_billing_first_name").val(n.billing_first_name);e("input#_billing_last_name").val(n.billing_last_name);e("input#_billing_company").val(n.billing_company);e("input#_billing_address_1").val(n.billing_address_1);e("input#_billing_address_2").val(n.billing_address_2);e("input#_billing_city").val(n.billing_city);e("input#_billing_postcode").val(n.billing_postcode);e("#_billing_country").val(n.billing_country);e("input#_billing_state").val(n.billing_state);e("input#_billing_email").val(n.billing_email);e("input#_billing_phone").val(n.billing_phone)}e(".edit_address").unblock()}})}return!1});e("button.load_customer_shipping").live("click",function(){var t=confirm(woocommerce_writepanel_params.load_shipping);if(t){var n=e("#customer_user").val();if(!n){alert(woocommerce_writepanel_params.no_customer_selected);return!1}var r={user_id:n,type_to_load:"shipping",action:"woocommerce_get_customer_details",security:woocommerce_writepanel_params.get_customer_details_nonce};e(this).closest(".edit_address").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});e.ajax({url:woocommerce_writepanel_params.ajax_url,data:r,type:"POST",success:function(t){var n=jQuery.parseJSON(t);if(n){e("input#_shipping_first_name").val(n.shipping_first_name);e("input#_shipping_last_name").val(n.shipping_last_name);e("input#_shipping_company").val(n.shipping_company);e("input#_shipping_address_1").val(n.shipping_address_1);e("input#_shipping_address_2").val(n.shipping_address_2);e("input#_shipping_city").val(n.shipping_city);e("input#_shipping_postcode").val(n.shipping_postcode);e("#_shipping_country").val(n.shipping_country);e("input#_shipping_state").val(n.shipping_state)}e(".edit_address").unblock()}})}return!1});e("button.billing-same-as-shipping").live("click",function(){var t=confirm(woocommerce_writepanel_params.copy_billing);if(t){e("input#_shipping_first_name").val(e("input#_billing_first_name").val());e("input#_shipping_last_name").val(e("input#_billing_last_name").val());e("input#_shipping_company").val(e("input#_billing_company").val());e("input#_shipping_address_1").val(e("input#_billing_address_1").val());e("input#_shipping_address_2").val(e("input#_billing_address_2").val());e("input#_shipping_city").val(e("input#_billing_city").val());e("input#_shipping_postcode").val(e("input#_billing_postcode").val());e("#_shipping_country").val(e("#_billing_country").val());e("input#_shipping_state").val(e("input#_billing_state").val())}return!1});e("a.add_tax_row").live("click",function(){var t=e("#tax_rows .tax_row").size();e("#tax_rows").append('

×
');return!1});e("a.delete_tax_row").live("click",function(){$tax_row=e(this).closest(".tax_row");$tax_row.find("input").val("");$tax_row.hide();return!1});e("select#product-type").change(function(){var t=e(this).val();e(".hide_if_grouped, .hide_if_external").show();e(".show_if_simple, .show_if_variable, .show_if_grouped, .show_if_external").hide();if(t=="simple"){e(".show_if_simple").show();e("input#_manage_stock").change()}else if(t=="variable"){e(".show_if_variable").show();e("input#_manage_stock").change();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change()}else if(t=="grouped"){e(".show_if_grouped").show();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change();e(".hide_if_grouped").hide()}else if(t=="external"){e(".show_if_external").show();e("input#_downloadable").prop("checked",!1).change();e("input#_virtual").removeAttr("checked").change();e(".hide_if_external").hide()}e("ul.wc-tabs li:visible").eq(0).find("a").click();e("body").trigger("woocommerce-product-type-change",t,e(this))}).change();e("input#_downloadable").change(function(){e(".show_if_downloadable").hide();e("input#_downloadable").is(":checked")&&e(".show_if_downloadable").show();e(".downloads_tab").is(".active")&&e("ul.wc-tabs li:visible").eq(0).find("a").click()}).change();e("input#_virtual").change(function(){e(".show_if_virtual").hide();e(".hide_if_virtual").show();if(e("input#_virtual").is(":checked")){e(".show_if_virtual").show();e(".hide_if_virtual").hide()}}).change();var t=!1;e(".sale_price_dates_fields input").each(function(){e(this).val()!=""&&(t=!0)});if(t){e(".sale_schedule").hide();e(".sale_price_dates_fields").show()}else{e(".sale_schedule").show();e(".sale_price_dates_fields").hide()}e(".sale_schedule").click(function(){e(this).hide();e(".sale_price_dates_fields").show();return!1});e(".cancel_sale_schedule").click(function(){e(this).closest("p").find("input").val("");e(".sale_schedule").show();e(".sale_price_dates_fields").hide();return!1});e("input#_manage_stock").change(function(){e(this).is(":checked")?e("div.stock_fields").show():e("div.stock_fields").hide()}).change();var n=e("#_sale_price_dates_from, #_sale_price_dates_to").datepicker({defaultDate:"",dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,showOn:"button",buttonImage:woocommerce_writepanel_params.calendar_image,buttonImageOnly:!0,onSelect:function(t){var r=this.id=="_sale_price_dates_from"?"minDate":"maxDate",i=e(this).data("datepicker"),s=e.datepicker.parseDate(i.settings.dateFormat||e.datepicker._defaults.dateFormat,t,i.settings);n.not(this).datepicker("option",r,s)}});e(".date-picker").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0,showOn:"button",buttonImage:woocommerce_writepanel_params.calendar_image,buttonImageOnly:!0});e(".date-picker-field").datepicker({dateFormat:"yy-mm-dd",numberOfMonths:1,showButtonPanel:!0});jQuery(".expand_all").click(function(){jQuery(this).closest(".wc-metaboxes-wrapper").find(".wc-metabox > table").show();return!1});jQuery(".close_all").click(function(){jQuery(this).closest(".wc-metaboxes-wrapper").find(".wc-metabox > table").hide();return!1});jQuery(".wc-metaboxes-wrapper").on("click",".wc-metabox h3",function(t){if(e(t.target).filter(":input, option").length)return;jQuery(this).next(".wc-metabox-content").toggle()});jQuery(".wc-metabox.closed").each(function(){jQuery(this).find(".wc-metabox-content").hide()});e(".woocommerce_attributes select.multiselect").chosen();var r=e(".woocommerce_attributes").find(".woocommerce_attribute").get();r.sort(function(t,n){var r=parseInt(e(t).attr("rel")),i=parseInt(e(n).attr("rel"));return ri?1:0});e(r).each(function(t,n){e(".woocommerce_attributes").append(n)});e("button.add_attribute").on("click",function(){var t=e(".woocommerce_attributes .woocommerce_attribute").size(),n=e("select.attribute_taxonomy").val();if(!n){var r=e("select#product-type").val();r!="variable"?enable_variation='style="display:none;"':enable_variation="";e(".woocommerce_attributes").append('

")}else{var s=e(".woocommerce_attributes .woocommerce_attribute."+n);e(".woocommerce_attributes").append(e(s));e(s).show().find(".woocommerce_attribute_data").show();i()}e("select.attribute_taxonomy").val("")});e(".woocommerce_attributes").on("blur","input.attribute_name",function(){e(this).closest(".woocommerce_attribute").find("strong.attribute_name").text(e(this).val())});e(".woocommerce_attributes").on("click","button.select_all_attributes",function(){e(this).closest("td").find("select option").attr("selected","selected");e(this).closest("td").find("select").trigger("liszt:updated");return!1});e(".woocommerce_attributes").on("click","button.select_no_attributes",function(){e(this).closest("td").find("select option").removeAttr("selected");e(this).closest("td").find("select").trigger("liszt:updated");return!1});e(".woocommerce_attributes").on("click","button.remove_row",function(){var t=confirm(woocommerce_writepanel_params.remove_attribute);if(t){var n=e(this).parent().parent();if(n.is(".taxonomy")){n.find("select, input[type=text]").val("");n.hide()}else{n.find("select, input[type=text]").val("");n.hide();i()}}return!1});e(".woocommerce_attributes").sortable({items:".woocommerce_attribute",cursor:"move",axis:"y",handle:"h3",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"wc-metabox-sortable-placeholder",start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style");i()}});e(".woocommerce_attributes").on("click","button.add_new_attribute",function(){e(".woocommerce_attributes").block({message:null,overlayCSS:{background:"#fff url("+woocommerce_writepanel_params.plugin_url+"/assets/images/ajax-loader.gif) no-repeat center",opacity:.6}});var t=e(this).attr("data-attribute"),n=e(this).closest(".woocommerce_attribute_data"),r=prompt(woocommerce_writepanel_params.new_attribute_prompt);if(r){var i={action:"woocommerce_add_new_attribute",taxonomy:t,term:r,security:woocommerce_writepanel_params.add_attribute_nonce};e.post(woocommerce_writepanel_params.ajax_url,i,function(t){result=jQuery.parseJSON(t);if(result.error)alert(result.error);else if(result.slug){n.find("select.attribute_values").append('");n.find("select.attribute_values").trigger("liszt:updated")}e(".woocommerce_attributes").unblock()})}else e(".woocommerce_attributes").unblock();return!1});var s;window.send_to_editor_default=window.send_to_editor;jQuery(".upload_file_button").live("click",function(){s=jQuery(this).parent().find(".file_paths");formfield=jQuery(s).attr("name");window.send_to_editor=window.send_to_download_url;tb_show("","media-upload.php?post_id="+woocommerce_writepanel_params.post_id+"&type=downloadable_product&from=wc01&TB_iframe=true");return!1});window.send_to_download_url=function(e){file_url=jQuery(e).attr("href");file_url&&jQuery(s).val(jQuery(s).val()?jQuery(s).val()+"\n"+file_url:file_url);tb_remove();window.send_to_editor=window.send_to_editor_default}});(function(e,t){function n(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function r(e){return c?c(e):"[object Array]"===h.call(e)}function i(e){return"[object Object]"===h.call(e)}function s(e,t){var n,e=e||{},t=t||{};for(n in t)t.hasOwnProperty(n)&&null==e[n]&&(e[n]=t[n]);return e}function o(e,t,n){var r=[],i,s;if(!e)return r;if(l&&e.map===l)return e.map(t,n);for(i=0,s=e.length;ie?"-":"",m=parseInt(d(Math.abs(e||0),c),10)+"",g=3e?g.neg:g.zero).replace("%s",d.symbol).replace("%v",v(Math.abs(e),u(d.precision),d.thousand,d.decimal))};f.formatColumn=function(e,t,l,c,h,d){if(!e)return[];var m=s(i(t)?t:{symbol:t,precision:l,thousand:c,decimal:h,format:d},f.settings.currency),g=a(m.format),y=g.pos.indexOf("%s")e?g.neg:g.zero).replace("%s",m.symbol).replace("%v",v(Math.abs(e),u(m.precision),m.thousand,m.decimal));e.length>b&&(b=e.length);return e});return o(e,function(e){return n(e)&&e.lengthID ); endif; ?> - + - +