/* General admin.css for all users */

/* language switcher */
#wp-admin-bar-salc-current-deutsch-osterreich,
#wp-admin-bar-salc-current-deutsch-oesterreich,
#wp-admin-bar-salc-current-site-default,
#wp-admin-bar-salc-current-website-einstellung,
#wp-admin-bar-salc-current-lingua-predefinita-del-sito {
    display: none;
}

/* orders table */
.post-type-shop_order .wc-action-button-complete,
.post-type-shop_order .wc-action-button-processing {
    display: none !important;
}
.post-type-shop_order .wpo_wcpdf.invoice,
.post-type-shop_order .wpo_wcpdf.packing-slip {
    visibility: hidden;
}
.post-type-shop_order .wpo_wcpdf.invoice.visible,
.post-type-shop_order .wpo_wcpdf.packing-slip.visible {
    visibility: visible !important;
}
.post-type-shop_order .bff-actions a {
    display: inline-block;
    visibility: hidden;
}
.post-type-shop_order .bff-actions a.visible {
    visibility: visible !important;
}
.post-type-shop_order .payment-method {
    display: block;
    margin-top: -10px;
}
.post-type-shop_order .order-view {
    margin-right: 50px;
}
.post-type-shop_order .order-preview {
    margin-top: 0px;
}
.post-type-shop_order .payment-title-hint {
    display: none;
}

/* orders table - layout */
.post-type-shop_order table.posts {
    table-layout: auto;
    display: none;
}
.post-type-shop_order .tablenav.bottom {
    display: none;
}
.post-type-shop_order table th,
.post-type-shop_order table th *,
.post-type-shop_order table td:not(.bff-actions) {
    white-space: nowrap;
}
.post-type-shop_order table td.column-billing_address,
.post-type-shop_order table td.column-shipping_address {
    white-space: normal;
}
.post-type-shop_order table th a {
    display: flex;
}
.post-type-shop_order th#pdf_invoice_number {
    
}
.post-type-shop_order th#order_total {
    
}
.post-type-shop_order td.bff-actions {
    width: 100%;
}
.post-type-shop_order #pdf_invoice_number,
.post-type-shop_order .column-pdf_invoice_number {
    text-align: right;
}
.post-type-shop_order #pdf_invoice_number a span {
    float: right;
}

.post-type-shop_order th#invoice_number_column,
.post-type-shop_order td.invoice_number_column {
    width: auto !important;
}
.post-type-shop_order th#column-order_total,
.post-type-shop_order td.column-order_total {
    width: auto !important;
}

.post-type-shop_order .wp-list-table th {
	padding: .75em .75em !important;
}

/* orders table - actions */
.post-type-shop_order .order-action {
    color: #2271b1;
    border: solid 1px #2271b1;
    background: #fff;
    vertical-align: middle;
    border-radius: 3px;
    padding: 2px 12px 3px 12px;
    margin: 0 4px 4px 0;
}
.post-type-shop_order .order-action {
    position: relative;
}
.post-type-shop_order .order-action.disabled {
    color: #8C8C8C;
    border-color: #8C8C8C;
}
.post-type-shop_order .order-action.done {
    color: #2aad2a;
    border-color: #2aad2a;
}
.post-type-shop_order .order-action.done::after {
    font-family: Dashicons;
	content: "\f147";
	position: absolute;
	font-size: 16px;
    top: -4px;
    right: 1px;
	color: #2aad2a;
}

/* modal size */
.post-type-shop_order #TB_ajaxContent {
    height: auto !important;
    max-height: calc(100vh - 100px);
}

/* shipment modal */
.woocommerce-gzd-order-shipments.modal .germanized-shipments #panel-order-shipments .panel-footer {
    display: block;
}
.woocommerce-gzd-order-shipments.modal .germanized-shipments #panel-order-shipments .panel-footer #order-shipments-save {
	display: block;
}
.woocommerce-gzd-order-shipments.modal .germanized-shipments #panel-order-shipments .order-shipment .shipment-content-wrapper {
	display: block;
}

.woocommerce-gzd-order-shipments.modal .shipment-footer-action.remove-shipment.delete {
    display: none;
}
.woocommerce-gzd-order-shipments.modal .panel-order-return-title {
    display: none;
}
.woocommerce-gzd-order-shipments.modal .shipment-header .right {
    display: none;
}
.woocommerce-gzd-order-shipments.modal .order-return-shipment-add {
    display: none;
}
.woocommerce-gzd-order-shipments.modal .shipment-item-actions {
    display: none !important;
}
.woocommerce-gzd-order-shipments.modal .shipment-item-action {
    display: none !important;
}
.woocommerce-gzd-order-shipments.modal .item-quantity {
    border: none;
    -moz-appearance: textfield;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events:none;
}
.woocommerce-gzd-order-shipments.modal .item-quantity::-webkit-outer-spin-button,
.woocommerce-gzd-order-shipments.modal .item-quantity ::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce-gzd-order-shipments.modal .shipment-content > .columns > .column:nth-child(1) {
    
}
.woocommerce-gzd-order-shipments.modal .shipment-content > .columns > .column:nth-child(4) {
    display: none !important;
}
.woocommerce-gzd-order-shipments.modal .form-row.dimensions_field {
    display: none !important;
}

.woocommerce-gzd-order-shipments.modal .shipping-info {
    font-weight: 600;
    margin-top: -22px;
    margin-bottom: -40px;
}

.woocommerce-gzd-order-shipments.modal .wc-gzd-shipment-packaging-wrapper {
    display: flex;
    flex-direction: column;
    display: none !important;
}
.woocommerce-gzd-order-shipments.modal .wc-gzd-shipment-packaging-wrapper select {
    width: fit-content;
    padding-right: 24px;
}

.woocommerce-gzd-order-shipments.modal .shipment-item-list-wrapper .col-3 {
    width: 50%;
    text-align: right;
}
.woocommerce-gzd-order-shipments.modal .shipment-items {
    margin-top: 40px;
}

.woocommerce-gzd-order-shipments.modal .wc-gzd-shipment-weight {
    border: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events:none;
    font-weight: 600;
    margin-top: 4px;
}

/* invoice modal */
.print-invoice-modal iframe {
    height: 600px;
    width: 795px;
}
.print-invoice-modal .shipment-actions-right {
    text-align: right;
}
.print-invoice-modal .germanized-shipments #panel-order-shipments .panel-footer {
	display: block;
}

/* jquery UI modal */
.ui-dialog {
    font-family: inherit !important;
    border-radius: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
}
.ui-dialog .ui-icon-closethick,
.ui-dialog .ui-dialog-titlebar-close {
    display: none !important;
}
.ui-dialog .ui-dialog-titlebar {
    background: #f8f8f8 !important;
    padding: 0.5em 1em 0em 1em !important;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #dfdfdf;
    font-size: 14px;
    font-weight: 600;
}
.ui-dialog .ui-dialog-buttonpane {
    background: #f8f8f8 !important;
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 1px solid #dfdfdf;
}
.ui-dialog p {
    font-size: 14px !important;
    font-family: inherit !important;
}
.ui-dialog button {
    box-shadow: none !important;
    font-weight: normal;
    font-size: 14px !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

/* order form */

.form-field._weight_field .woocommerce-help-tip {
    position: relative;
    top: -10px;
}
.weight-hint {
    display: inline-block;
    width: calc(50% - 100px);
    line-height: 1.2em;
}

/* notices */

.woocommerce-layout__notice-list-hide {
    display: block !important;
}
.woocommerce-layout__notice-list-hide .notice {
    display: none !important;
}
.custom-notice {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-left-width: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	margin: 20px 0px 2px;
	padding: 1px 12px;
}
.woocommerce-admin-page .custom-notice {
    margin: 20px 15px 2px; 
}
.custom-notice.notice-error {
    border-color: #d63638;
}