table.shop_table tr.order td.order-actions a.print-invoice,
table.shop_table tr.order td.order-actions a.print-pro-forma-invoice {
	background-image: url('../images/invoice_view.png');
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-left: 30px;
	margin-left: 10px;
}

#yith-pdf-invoice-box div.invoice-information a {
	background-repeat: no-repeat;
	background-position: 5px center;
	text-indent: 20px;
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_create_invoice {
	background-image: url('../images/invoice_add.png');
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_view_invoice {
	background-image: url('../images/invoice_view.png');
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_cancel_invoice {
	background-image: url('../images/invoice_cancel.png');
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_create_packing_slip {
	background-image: url('../images/shipping_list_add.png');
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_view_packing_slip {
	background-image: url('../images/shipping_list_view.png');
}

#yith-pdf-invoice-box div.invoice-information a.ywpi_cancel_packing_slip {
	background-image: url('../images/shipping_list_cancel.png');
}

.widefat .column-order_actions a.button.ywpi_create_invoice,
.widefat .column-order_actions a.button.ywpi_view_invoice,
.widefat .column-order_actions a.button.ywpi_create_packing_slip,
.widefat .column-order_actions a.button.ywpi_view_packing_slip,
.widefat .column-wc_actions a.button.ywpi_create_invoice,
.widefat .column-wc_actions a.button.ywpi_view_invoice,
.widefat .column-wc_actions a.button.ywpi_create_packing_slip,
.widefat .column-wc_actions a.button.ywpi_view_packing_slip{
	background-repeat: no-repeat;
	background-position: center center;
}

.widefat .column-order_actions a.button.ywpi_create_invoice,
.widefat .column-wc_actions a.button.ywpi_create_invoice{
	background-image: url('../images/invoice_add.png');
}

.widefat .column-order_actions a.button.ywpi_view_invoice,
.widefat .column-wc_actions a.button.ywpi_view_invoice{
	background-image: url('../images/invoice_view.png');
}

.widefat .column-order_actions a.button.ywpi_regenerate_invoice,
.widefat .column-wc_actions a.button.ywpi_regenerate_invoice{
	background-image: url('../images/invoice_regenerate.png');
	background-repeat: no-repeat;
	background-position: center;
}

.ywpi-invoiced-order a {
	background-image: url('../images/invoice_view.png');
	background-repeat: no-repeat;
	padding-left: 25px;
	height: 25px;
	display: inline-block;
}

.ywpi-invoiced-order .ywpi-invoice-information {
	font-size: smaller;
	color: #999;
}

.widefat .column-order_actions a.button.ywpi_create_packing_slip,
.widefat .column-wc_actions a.button.ywpi_create_packing_slip{
	background-image: url('../images/shipping_list_add.png');
}

.widefat .column-order_actions a.button.ywpi_view_packing_slip,
.widefat .column-wc_actions a.button.ywpi_view_packing_slip {
	background-image: url('../images/shipping_list_view.png');
}

.widefat .column-order_actions a.button.ywpi_regenerate_packing_slip,
.widefat .column-wc_actions a.button.ywpi_regenerate_packing_slip{
	background-image: url('../images/shipping_list_regenerate.png');
	background-repeat: no-repeat;
	background-position: center;
}

.widefat .column-order_actions a.button.ywpi_buttons,
.widefat .column-wc_actions a.button.ywpi_buttons{
	display: inline-block;
	text-indent: -9999px;
	position: relative;
	padding: 0 !important;
	height: 2em !important;
	width: 2em;

	position: relative;
}

.widefat .column-order_actions a.button.ywpi_buttons:after,
.widefat .column-wc_actions a.button.ywpi_buttons:after{
	display: none;
}

table.multi_vendor_invoice thead tr.multi_vendor_invoice_header {
	border-bottom: 1px solid #e2e2e2;
}

table.multi_vendor_invoice thead tr.multi_vendor_invoice_header th {
	text-transform: uppercase;
}

/** Backend */
.ywpi-refund-table {
	width: 100%;
	border: none;
	border-collapse: collapse;

}

.ywpi-refund-table thead td {
	text-align: center;
	background-color: #0cb0ff;
	color: white;
	text-transform: uppercase;
}

.ywpi-refund-table tbody td {
	border:1px solid lightgrey;
	padding: 3px;
}

.ywpi-refund-table .ywpi-refund-actions {
	text-align: right;
}

.ywpi-document-section{
	border: 1px solid lightgray;
	margin-bottom: 20px;
}

.ywpi-section-title {
	display: inline-block;
	width: 100%;
	text-align: center;
	background-color: #00779B;
	color: white;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	padding: 10px 0;
	font-weight: 600;
}

.ywpi-left-label {
	display: inline-block;
	width: 45%;
}

.ywpi-right-value {
	display: inline-block;
	width: 50%;
	text-align: right;
	font-weight: bold;
}

.ywpi-section-row {
	padding: 5px;
}

.ywpi-section-row .ywpi-subtitle{
	font-weight: 700;
	width: 100%;
	display: block;
	margin-bottom: 5px;
}
.ywpi-document-section .ywpi-section-row a.button, .ywpi-document-section .ywpi-refund-actions a.button {
	margin: 2.5px 0px 2.5px 0px;
}

.ywpi-document-section .ywpi-section-row div.ywpi_view_documents, div.ywpi_view_documents.credit_notes_view_all{
	padding: 10px 0px 10px 0px;
}
div.ywpi_view_documents.credit_notes_view_all{
	margin: 0px 0px 5px 5px;
}

table.ywpi-refund-table tr td.ywpi-refund-actions{
	border-right: none;
}
table.ywpi-refund-table tr td.ywpi-refund-label{
	border-left: none;
}

.wrap-input.ywpi-disabled{
	position: relative;
}

.wrap-input.ywpi-disabled:after{
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	background: rgba( 255, 255, 255, 0.5 )!important;
	border-color: rgba( 222, 222, 222, 0.75 )!important;
	box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 )!important;
	color: rgba( 51, 51, 51, 0.5 )!important;
	cursor: not-allowed;
}

.yith-disabled{
	pointer-events: none;
}

#billing_receiver_type_field .woocommerce-input-wrapper input {
	display: inline-block;
	float: left;
	clear: both;
}

#billing_receiver_type_field .woocommerce-input-wrapper label {
	display: inline-block;
	float: left;
	top: -10px;
	position: relative;
}

#billing_receiver_type_field > label {
	margin-bottom: 10px;
}

/** INVOICE LIST TABLE **/

.alignleft.invoice_date_pickers {
	display: flex;
}
.alignleft.invoice_date_pickers input, .alignleft.invoice_date_pickers .yith-plugin-fw-datepicker-field-wrapper input{
	max-height: 35px;
	vertical-align:top;
}
.documents_date_from_label, .documents_date_to_label{
	display: flex;
	align-items: center;
	margin-right: 5px;
}

#yith-ywpi-list-table .yith-plugin-fw-wp-page__sub-tab-wrap {
	border: none;
}

.yith-ywpi-list-table-container {
	border: 1px solid #ccc;
	border-top: none;
	margin-top: -20px;
}
.yith-ywpi-list-table-elements {
	padding: 20px;
}

.yith-ywpi-actions-container{
	display: flex;
}

.yith-plugin-fw-panel-custom-tab-container h1.wp-heading-inline {
	color       : #2a8db0;
	font-size   : 16px;
	font-weight : 600;
}

.ywpi-documents-table table.wp-list-table{
	margin-top: 40px;
}

.ywpi-documents-table .tablenav .tablenav-pages .displaying-num{
	display:none;
}

#yith-ywpi-list-table .tablenav.bottom, #yith-ywpi-list-table .tablenav.bottom .tablenav-pages {
	display:block;
}

.ywpi-documents-table .tablenav .search-box #search-submit{
	display:none;
}
#yith-ywpi-list-table .tablenav.top .tablenav-pages{
	display:none;
}
#yith-ywpi-list-table .tablenav.bottom .bulkactions{
	display:none;
}

#yith-ywpi-list-table .ywpi_empty_state_documents {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
#yith-ywpi-list-table .ywpi_empty_state{
	height: 600px;
}
#yith-ywpi-list-table .yith-plugin-fw__list-table-blank-state .yith-plugin-fw__list-table-blank-state__icon {
	width: 60px;
	margin: 0 auto 30px;
}

/** Invoice List Table Responsive **/
@media only screen and (min-width: 2100px) {
	#yith-ywpi-list-table .manage-column.column-document_number{
		width: 15em;
	}
	#yith-ywpi-list-table .manage-column.column-date{
		width: 11em;
	}
	#yith-ywpi-list-table .manage-column.column-order{
		width: 10em;
	}
	#yith-ywpi-list-table .manage-column.column-customer{
		width: 20em;
	}
	#yith-ywpi-list-table .manage-column.column-subtotal{
		width: 20em;
	}
}
@media only screen and (max-width: 1755px) {

	#yith-ywpi-list-table .manage-column.column-actions{
		width: 8em;
	}
}
@media (max-width: 768px) {
	.invoice_date_pickers {
		flex-direction: column;
	}
	#yith-ywpi-list-table .yith-ywpi-list-table-container .invoice_date_pickers input[type="submit"]{
		margin-top: 7px;
	}
	#yith-ywpi-list-table .yith-ywpi-list-table-container .search-box{
		position: initial;
	}
	.ywpi-documents-table .tablenav .search-box #search-submit{
		display:block;
	}
}

/** OPTIONS */

.yith-plugin-ui #plugin-fw-wc h2 + #yith_ywpi_yith_ywcdd-description p{
	background: none;
	width: 100%;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.yith-plugin-ui #plugin-fw-wc h2 + #yith_ywpi_yith_ywcdd-description p:before{
	content: '';
}

.yith-plugin-fw-panel-wc-row.checkbox .forminp-checkbox span.description{
	margin-top: 0px;
}

#ywpi_document_template_selected-wrapper .yith-plugin-fw-select-images__item {
	width: 200px;
}

div#ywpi_impostazioni_generali-description p::before{
	margin-top: 10px !important;
}
div#ywpi_impostazioni_generali-description p{
	width: 75% !important;
}
