/**
 * Hides the WooCommerce Tax Status/Tax Class fields
 */
.form-field._tax_status_field, .form-field._tax_class_field {
    display: none !important;
}

.woocommerce_variable_attributes .data > div:nth-of-type(5) p:nth-of-type(2), p[class*="variable_tax_class"] {
    display: none !important;
}

/**
 * Tax category select
 */
.wp-core-ui .button.mt-select-category {
    vertical-align: middle;
    margin-left: 8px;
}

.wp-core-ui .button.mt-reset-category {
    vertical-align: middle;
}

.mt-selected-category {
    display: inline-block;
    vertical-align: middle;
}

.mt-category-search {
    height: 32px;
}

p.variation-category label {
    display: block;
    margin-bottom: 5px;
}

/**
 * Vendor tax settings page
 */
.form-table th.full-width-field {
    font-weight: normal;
    margin-bottom: 9px;
    padding: 15px 10px 15px 0;
}

.form-table #nexus_addresses_table th {
    padding: 1em;
    line-height: 24px;
    font-weight: normal;
}

#nexus_addresses_table .address-field {
    padding: 4px 6px;
}

table#nexus_addresses_table select, table#nexus_addresses_table input[type=text] {
    width: 100% !important;
    min-width: 150px !important;
}

/**
 * Bulk editing
 */
.inline-edit-row fieldset label span.title {
    width: 7em;
}

.inline-edit-row fieldset label span.input-text-wrap {
    margin-left: 7em;
}

/**
 * Admin notices.
 *
 * Styles borrowed from WC Vendors (wcv-activation.css)
 */
div.mt-message {
    overflow: hidden;
    position: relative;
    border-left-color: #005580 !important;
}

p.mt-actions .button-primary, .mt-message .button-primary {
    background: #005580;
    border-color: #005580;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
    color: #fff;
    text-shadow: 0 -1px 1px #005580, 1px 0 1px #005580, 0 1px 1px #005580, -1px 0 1px #005580;
}

p.mt-actions .button-primary:hover, p.mt-actions .button-primary:focus, p.mt-actions .button-primary:active, .mt-message .button-primary:hover, .mt-message .button-primary:focus, .mt-message .button-primary:active {
    background: #005580;
    border-color: #005580;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #005580;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #005580;
}

p.mt-actions a.mt-message-close, .mt-message a.mt-message-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px 10px 21px;
    font-size: 13px;
    line-height: 1.23076923;
    text-decoration: none;
}

p.mt-actions a.mt-message-close::before, .mt-message a.mt-message-close::before {
    position: absolute;
    top: 8px;
    right: 10px;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

p.mt-actions .button-primary, p.mt-actions .button-secondary, .mt-message .button-primary, .mt-message .button-secondary {
    text-decoration: none !important;
}

p.mt-actions .twitter-share-button, .mt-message .twitter-share-button {
    margin-top: -3px;
    margin-left: 3px;
    vertical-align: middle;
}

p.mt-actions, .mt-about-text {
    margin-bottom: 1em !important;
}

.mt-message .mt-message-close ~ p {
    max-width: 700px;
    padding-right: 46px;
}
