/* Order list buttons: */

.type-shop_order .column-wc_actions a.button.wpo_wcpdf {

	padding: 2px !important;

}



.type-shop_order .column-wc_actions a.button.wpo_wcpdf.exists::after {

	content: "\f147";

	position:absolute;

	font-size:16px;

	left:7px;

	color:#2aad2a;

}



.wpo_wcpdf-actions a.button.exists::after {

	font-family: Dashicons;

	content: "\f147";

	font-size: 16px;

	margin-left: 4px;

	color: #2aad2a;

	vertical-align: middle;

}



.type-shop_order .column-wc_actions a.button.wpo_wcpdf img,

.type-shop_order .column-order_actions a.button.wpo_wcpdf img /* legacy: 3.2 & older */ {

	width: 16px;

}



.widefat .column-pdf_invoice_number {

	width: 110px;

}



@media screen and (max-width: 782px) {

	.wp-list-table .column-pdf_invoice_number, .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number:not(.check-column) {

		display: none;

	}

	.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-pdf_invoice_number {

		padding: 3px 8px 3px 35%

	}

}



#wpo_wcpdf-data-input-box h4 {

	font-size: 14px;

	line-height: 1.4;

	margin: 1.5em 0 0 0;

}



#wpo_wcpdf-data-input-box p {

	margin: 0.5em 0;

}



#wpo_wcpdf-data-input-box .form-field input {

	width: auto;

}



.wcpdf-data-fields .read-only {

	height:auto;

	display:block;

}



.wcpdf-data-fields .editable {

	height:auto;

	display:none;

}



/* Edit buttons Invoice, Proforma and Credit */

.wcpdf-data-fields h4 .dashicons:first-of-type {

	margin-left:20px!important;	

}



.wcpdf-data-fields .wpo-wcpdf-edit-date-number,

.wcpdf-data-fields .wpo-wcpdf-delete-document,

.wcpdf-data-fields .wpo-wcpdf-regenerate-document {

	opacity:0.5;

}



.wcpdf-data-fields .wpo-wcpdf-edit-date-number:hover,

.wcpdf-data-fields .wpo-wcpdf-delete-document:hover,

.wcpdf-data-fields .wpo-wcpdf-regenerate-document:hover {

	opacity:1;

	cursor:pointer;

}



.wcpdf-data-fields h4 .wcpdf-regenerate-spin {

	opacity: 1;

 	-webkit-animation: spin 1.6s linear infinite; /* Safari */

 	animation: spin 1.6s linear infinite;

 	pointer-events: none;

}



/* Safari */

@-webkit-keyframes wcpdf-regenerate-spin {

	0% { -webkit-transform: rotate(0deg); }

	100% { -webkit-transform: rotate(-360deg); }

}



@keyframes wcpdf-regenerate-spin {

	0% { transform: rotate(0deg); }

	100% { transform: rotate(-360deg); }

}



.wcpdf-data-fields .document-action-success,

.wcpdf-data-fields .document-action-failed {

	display: none;

	vertical-align: middle;

}



.wcpdf-data-fields .document-action-success {

	color: #2aad2a;

}



.wcpdf-data-fields .document-action-failed {

	color: red;

}

