#woocommerce-product-data ul.wc-tabs li.role-specific-pricing-options_tab a::before {
    font-family: Dashicons;
    speak: none;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f307";
    text-decoration: none;
}

/** Role based pricing **/

.mbp-pricing-rule-block {
    padding: 0 9px 0 162px;
    position: relative;
    margin: 20px 0;
}

.mbp-pricing-rule-block--variation, .mbp-pricing-rule-block--global {
    padding: 0;
}

.mbp-pricing-rule__header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 13px;
    border: 1px solid #eee;
    border-bottom: none;
}

.mbp-add-new-rule-form {
    margin: 15px 0;
}

.mbp-pricing-rule:last-child .mbp-pricing-rule__header {
    border-bottom: 1px solid #eee;
}

.mbp-pricing-rule:last-child .mbp-pricing-rule__content {
    border-top: none;
    border-bottom: 1px solid #eee;
}

.mbp-pricing-rule__content {
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid #eee;
    display: none;
    border-bottom: none;
}

.mbp-pricing-rule-block--variation .mbp-pricing-rule__content {
    padding: 20px;
    background: #fafafa;
    border-color: #eee;
}

.mbp-pricing-rule-block--variation .mbp-pricing-rules {
    margin: 10px 0;
}

.mbp-pricing-rule-action--delete {
    color: red;
    font-weight: 400;
    text-decoration: none;
    position: relative;
}

.mbp-pricing-rule-action--delete:hover {
    color: #a20000;
}

.mbp-pricing-rule__action-toggle-view {
    padding: 10px;
    color: #888;
    cursor: pointer;
}

.mbp-pricing-rule__header .mbp-pricing-rule__actions {
    visibility: hidden;
}

.mbp-pricing-rule:hover .mbp-pricing-rule__actions {
    visibility: visible;
}

.mbp-pricing-rule__action-toggle-view:hover {
    color: #000;
}

.mbp-pricing-rule__action-toggle-view--open:before {
    content: "▼" !important;
}

.mbp-pricing-rule__action-toggle-view--close:before {
    content: "▲" !important;
}

.mbp-pricing-rule__name b {
    background: #ebeef3;
    padding: 5px 10px;
    border-radius: 5px;
}

.mbp-title-separator {
    margin: 30px 0;
    position: relative;
    border-color: #f6f6f6;
}

.mbp-title-separator::after {
    content: attr(data-title);
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fdfdfd;
    padding: 10px 20px;
    transform: translate(-50%, -50%);
    font-size: 1.1em;
}

.mbp-title-separator--light::after {
    background: #fff;
}

.mbp-pricing-rule-form .mbp-pricing-rule-form__pricing-type-label {
    width: auto;
    float: none;
    margin: 0 15px 0 5px;
}

.mbp-pricing-rule-form__flat-prices-warning {
    display: none;
}

.mbp-pricing-rule-block--simple .mbp-pricing-rule-form input[type=text], .mbp-pricing-rule-block--simple .mbp-pricing-rule-form input[type=number] {
    width: 80% !important;
}

.mbp-pricing-rule-block--variable .mbp-pricing-rule-form input[type=text], .mbp-pricing-rule-block--variable .mbp-pricing-rule-form input[type=number] {
    width: 80% !important;
}

.mbp-pricing-rule-block--variation .mbp-pricing-rule-form__pricing-type > p > label:first-child {
    display: block;
    margin-bottom: 5px;
}

.mbp-pricing-rule-block--global .mbp-pricing-rule-form__pricing-type > p > label:first-child {
    display: block;
    margin-bottom: 5px;
}

.mbp-pricing-rule-block--global .mbp-title-separator::after {
    background: #fff;
}

.mbp-pricing-rule-block--global .mbp-pricing-rule-form__flat-prices-warning {
    display: block;
}

.post-type-mbp-rule .column-is_valid {
    vertical-align: middle;
    width: 25px;
}

.post-type-mbp-rule #misc-publishing-actions {
    display: none;
}

.post-type-mbp-rule .column-status {
    width: 14ch;
}

.mbp-rule-suspend-status {
    display: inline-flex;
    line-height: 2.5em;
    color: #777;
    background: #e5e5e5;
    border-radius: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin: -.25em 0;
    cursor: inherit !important;
    white-space: nowrap;
    max-width: 100%;
}

.mbp-rule-suspend-status span {
    margin: 0 1em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mbp-rule-suspend-status--active {
    background: #c6e1c6;
    color: #5b841b;
}

.mbp-rule-suspend-status--suspended {
    background: #f8dda7;
    color: #94660c;
}

.mbp-rule-status {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
    text-align: center;
}

.mbp-rule-status--valid {
    background: green;
}

.mbp-rule-status--invalid {
    background: #d63638;
}

.variable_pricing .mbp-pricing-rule-form__flat-prices-warning {
    display: none !important;
}


/**
*******
SETTINGS
*******
**/


input[type="checkbox"].mbp-toggle-switch {
    opacity: 0;
    position: absolute;
    margin: 8px 0 0 16px;
}

input[type="checkbox"].mbp-toggle-switch + label {
    position: relative;
    padding: 5px 0 0 50px;
    line-height: 2.0em;
}

input[type="checkbox"].mbp-toggle-switch + label:before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 44px;
    height: 25px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d9d9d9;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

input[type="checkbox"].mbp-toggle-switch + label:after {
    content: "";
    position: absolute;
    display: block;
    left: 5px;
    top: 3px;
    width: 20px;
    height: 19px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #d9d9d9;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

input[type="checkbox"].mbp-toggle-switch:checked + label:after {
    margin-left: 16px;
    border-color: #935687;
}

input[type="checkbox"].mbp-toggle-switch:checked + label:before {
    background: #935687;
}

input[type="checkbox"].mbp-toggle-switch + label > [data-mbp-toggle-switch-on] {
    display: none;
}

input[type="checkbox"].mbp-toggle-switch:checked + label > [data-mbp-toggle-switch-on] {
    display: inline;
}

input[type="checkbox"].mbp-toggle-switch:checked + label > [data-mbp-toggle-switch-off] {
    display: none;
}

.forminp-mbp_template > div {
    margin-top: -25px;
}