@keyframes wpc-spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes wpc-spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes woobt-spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes woobt-spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.woobt_table .woocommerce-help-tip {
    margin: 0 !important;
    font-size: 16px;
}

.woobt_notice_default {
    margin-bottom: 10px;
}

.woobt_results, .woobt_selected {
    width: 100%;
}

.woobt_results {
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    width: 100%;
    height: 100%;
    min-height: 200px;
    z-index: 9999999;
    overflow-y: auto;
}

.woobt_selected {
    display: inline-block;
}

.woobt_results ul {
    margin: 0;
    padding: 0;
}

.woobt_results ul li.disabled, .woobt_selected ul li.disabled {
    pointer-events: none;
    opacity: .5;
}

.woobt_results li.out-of-stock .data, .woobt_selected li.out-of-stock .data {
    text-decoration: line-through;
}

.woobt_results ul > span {
    display: block;
    padding: 5px 10px;
}

.woobt_results ul li .woobt-move, .woobt_results ul li .price, .woobt_results ul li .qty {
    display: none;
}

.woobt_selected ul {
    margin: 0;
    padding: 0;
}

.woobt_selected ul li {
    padding: 5px 0;
    margin-left: -3px;
    margin-right: -3px;
}

.woobt_results ul li {
    padding: 5px 10px;
    margin-left: -3px;
    margin-right: -3px;
}

.woobt_selected ul li > span, .woobt_results ul li > span {
    margin-left: 3px;
    margin-right: 3px;
}

.woobt_selected ul li.woobt_default {
    padding: 5px 3px;
    height: 30px;
    line-height: 30px;
    display: block;
}

.woobt_selected li span.img, .woobt_results li span.img {
    width: 30px;
    flex: 0 0 30px;
}

.woobt_selected li span.img img, .woobt_results li span.img img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: block;
}

.woobt_selected ul li .woobt-move {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 2px;
    text-align: center;
    flex: 0 0 30px;
    background-color: #eeeeee;
    cursor: move;
}

.woobt_selected ul li .woobt-move:before {
    content: '\f545';
    font-family: dashicons;
    font-size: 10px;
    color: #999999;
}

.woobt_selected ul li input {
    width: 50px !important;
}

.woobt_selected li, .woobt_results li {
    padding: 5px;
    margin: 0;
    border-bottom: 1px dotted #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.woobt_selected li:hover, .woobt_results li:hover {
    background-color: #fafafa;
}

.woobt_selected li:hover .woobt-remove, .woobt_results li:hover .woobt-remove {
    background-color: #ff6600;
    color: #ffffff;
}

.woobt_selected li span.price, .woobt_selected li span.qty {
    display: inline-block;
    width: 50px;
    flex: 0 0 50px;
}

.woobt_selected li span.data, .woobt_results li span.data {
    flex-grow: 1;
}

.woobt_selected li span.data span.info, .woobt_results li span.data span.info {
    font-size: 12px;
    font-style: italic;
    height: 18px;
    line-height: 18px;
    color: #999;
    background-color: #fafafa;
    text-decoration: none;
    padding: 0 6px;
    border-radius: 2px;
}

.woobt_selected li span.data span.info *, .woobt_results li span.data span.info * {
    font-size: 12px;
}

.woobt_selected li span.data *, .woobt_results li span.data * {
    font-size: 13px;
}

.woobt_selected li span.data {
    margin-left: 5px;
}

.woobt_selected li del, .woobt_results li del {
    opacity: .5;
}

.woobt_selected li ins, .woobt_results li ins {
    text-decoration: none;
}

.woobt_selected li .woobt-remove, .woobt_results li .woobt-remove {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    line-height: 30px;
    border-radius: 2px;
    text-align: center;
    background-color: #eeeeee;
    cursor: pointer;
}

.woobt_selected li .woobt-remove {
    right: 0;
}

.woobt_selected li span.type, .woobt_results li span.type {
    font-size: 10px;
    color: #999;
    text-align: end;
}

.woobt_results li span.type a {
    color: #999;
    text-decoration: none;
    pointer-events: none;
}

.woobt_selected li.woobt-li-text span.tag {
    width: 106px;
    flex: 0 0 106px;
}

.woobt_selected li.woobt-li-text span.data {
    margin-left: 3px;
}

.woobt_selected li.woobt-li-text input, .woobt_selected li.woobt-li-text select {
    width: 100% !important;
}

.woobt_selected.woobt_selected_loading {
    position: relative;
}

.woobt_selected.woobt_selected_loading:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-width: 4px;
    border-style: solid;
    border-radius: 100%;
    border-top-color: rgba(0, 0, 0, 0.5);
    border-left-color: rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-right-color: rgba(0, 0, 0, 0.1);
    animation: woobt-spinner 1s linear infinite;
    -webkit-animation: woobt-spinner 1s linear infinite;
}

.woobt_selected.woobt_selected_loading:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    pointer-events: none;
}

#woobt_regular_price {
    min-width: 60px;
    display: inline-block;
}

/* Settings */

#woobt_settings input[type="search"], #woobt_settings input[type="text"], #woobt_settings input[type="number"] {
    font-size: 13px;
    height: 30px;
    line-height: 1;
}

#woobt_settings label {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
}

#woobt_settings .w100 {
    position: relative;
    display: inline-block;
    width: 100%;
}

#woobt_settings .w100 input {
    width: 100%;
}

#woobt_settings .loading {
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 998;
}

.woobt_table table {
    width: 100%;
    padding: 10px;
    border-spacing: 0;
    border-collapse: separate;
}

.woobt_table table tr.woobt_tr_space th, .woobt_table table tr.woobt_tr_space td {
    padding-top: 15px;
}

.woobt_table table tr th {
    font-size: 12px;
    font-weight: 400;
    text-align: start;
    width: 150px;
}

.woobt_table table tr td {
    text-align: start;
}

.woobt_table table.woobt_table_enable {
    padding-top: 0;
}

#woobt_set_regular_price, #woobt_set_sale_price {
    cursor: pointer;
}

.woobt-parent .woocommerce-help-tip, .woobt-child .woocommerce-help-tip {
    display: none !important;
}

table.wp-list-table span.product-type.woobt:before {
    content: '\e003';
    color: #96588a;
}

.woobt_tab a:before {
    content: '\f103' !important;
}

.woobt-state {
    font-weight: normal;
    font-style: italic;
}

.wpc-premium, .wpc-premium a, .active[data-slug="woo-bought-together"] .premium a {
    color: #c9356e;
}

.woobt_displaying:after {
    content: '↓';
    margin-left: 5px;
}

.woobt_displaying.woobt_displaying_open:after {
    content: '↑';
}

.woobt_show_if_displaying {
    display: none;
}

.woobt_options .count {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.woobt_inner_lines .woobt_inner_line {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.woobt_inner_lines .woobt_inner_line .woobt_inner_label {
    width: 100px;
    flex: 0 0 100px;
}

.woobt_inner_lines .woobt_inner_line .woobt_inner_value {
    flex-grow: 1;
}

/* WPC Dialog */

.ui-dialog.wpc-dialog {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100102;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 0;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #3c434a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4em;
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar {
    background: #fcfcfc;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #dfdfdf;
    border-radius: 0;
    height: 36px;
    font-size: 16px;
    font-weight: 600;
    line-height: 36px;
    padding: 0 36px 0 16px
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar .ui-dialog-title {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    height: 36px;
    line-height: 36px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
    background: 0 0;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #666;
    cursor: pointer;
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    outline: none;
    overflow: hidden;
    font-size: 0;
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:before {
    font: 400 20px/1 dashicons;
    vertical-align: top;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    width: 36px;
    height: 36px;
    content: '\f158';
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover {
    color: #00a0d2;
}

.ui-dialog.wpc-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close span {
    display: none;
}

.ui-dialog.wpc-dialog .ui-dialog-content {
    padding: 16px;
    overflow: auto;
}

/* Search settings */

#woobt_search_settings table {
    margin-left: -5px;
    margin-right: -5px;
}

#woobt_search_settings table th, #woobt_search_settings table td {
    font-weight: 400;
    text-align: start;
    padding: 5px;
}

#woobt_search_settings input, #woobt_search_settings select {
    min-width: 70px;
}

.woobt_search_settings_updating:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-width: 4px;
    border-style: solid;
    border-radius: 100%;
    border-top-color: rgba(0, 0, 0, .5);
    border-left-color: rgba(0, 0, 0, .1);
    border-bottom-color: rgba(0, 0, 0, .1);
    border-right-color: rgba(0, 0, 0, .1);
    animation: woobt-spinner 1s linear infinite;
    -webkit-animation: woobt-spinner 1s linear infinite;
}

.woobt_search_settings_updating:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .05);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    pointer-events: none;
}

/* Smart Rules */

.woobt_rules {
    box-sizing: border-box;
    padding: 10px 10px 0 10px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
    position: relative;
}

.woobt_rules.woobt_rules_loading:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .05);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.woobt_rules.woobt_rules_loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    display: block;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-width: 4px;
    border-style: solid;
    border-radius: 100%;
    border-top-color: rgba(0, 0, 0, .5);
    border-left-color: rgba(0, 0, 0, .1);
    border-bottom-color: rgba(0, 0, 0, .1);
    border-right-color: rgba(0, 0, 0, .1);
    animation: woobt-spinner 1s linear infinite;
    -webkit-animation: woobt-spinner 1s linear infinite;
}

.woobt_disabled {
    cursor: not-allowed;
    opacity: .5;
    pointer-events: none;
    filter: grayscale(100%);
}

.woobt_rules * {
    box-sizing: border-box;
}

.woobt_rules input[type="search"], .woobt_rules input[type="text"], .woobt_rules input[type="number"], .woobt_rules select {
    box-shadow: none;
    border-radius: 4px;
    height: 30px;
    line-height: 28px;
    padding: 0 10px;
    margin: 0 5px 0 0;
    border: 1px solid #ddd;
    box-sizing: border-box;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: left center;
    cursor: pointer;
    outline: none;
    -webkit-transition: all .2s;
    transition: all .2s;
    -webkit-appearance: none;
}

.woobt_rules select {
    display: inline-block;
    margin-right: 5px !important;
    padding-right: 30px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMS8yOC8xNvemAy8AAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAASklEQVQImW3MQQ2AMADF0DcMIAELSEACcibhy0ICEkACDrgAWcJ6bdOS5MCkzzlgxdWRF9YCSWZsGBu51Fr38uZN5JW/Z5L5CT9uO00UkFukHloAAAAASUVORK5CYII=") !important;
    background-size: auto;
    background-repeat: no-repeat !important;
    background-position: right 10px center;
}

.woobt_rules .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
    display: inline-block !important;
}

.woobt_rules .select2-search__field {
    width: auto !important;
    min-height: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.woobt_rules .select2-container--default .select2-selection--multiple {
    border: 1px solid #dddddd;
}

.woobt_rules .select2-selection__rendered {
    padding: 0 2px !important;
    display: block !important;
}

.woobt_rules .select2-selection__rendered li {
    height: 24px !important;
    line-height: 22px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    margin-right: 2px !important;
}

.woobt_rules .select2-selection__rendered li:last-child {
    margin-bottom: 0;
}

.woobt_rules .woobt_rule {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
    background-color: #ffffff;
    border: 1px solid #eee;
    position: relative;
}

.woobt_rules .woobt_rule:hover {
    border: 1px solid #2271b1;
}

.woobt_rule_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    line-height: 40px;
    padding: 0 40px 0 0;
    border: none;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.woobt_rule_heading:after {
    content: "\f140";
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    font: normal 16px/40px dashicons;
    position: absolute;
    top: 0;
    right: 0;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none !important;
}

.woobt_rule.open .woobt_rule_heading:after {
    content: "\f142";
}

.woobt_rule .woobt_rule_heading .woobt_rule_label {
    opacity: 0.5;
}

.woobt_rule .woobt_rule_heading .woobt_rule_label:before {
    content: '';
    display: inline-block;
    margin-right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: #999999;
}

.woobt_rule.active .woobt_rule_heading .woobt_rule_label {
    opacity: 1;
}

.woobt_rule.active .woobt_rule_heading .woobt_rule_label:before {
    background-color: #458746;
}

.woobt_rule_heading .woobt_rule_move {
    cursor: move;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    text-align: center;
}

.woobt_rule_heading .woobt_rule_move:before {
    content: "\f545";
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    font: normal 12px/40px dashicons;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none !important;
}

.woobt_rule_heading .woobt_rule_label {
    font-weight: 700;
    flex-grow: 1;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
}

.woobt_rule_heading .woobt_rule_label span {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    background-color: rgba(0, 0, 0, .07);
    padding: 4px 8px;
    margin: 0 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.woobt_rule_heading .woobt_rule_label .woobt_rule_name {
    font-weight: 700;
}

.woobt_rule_heading .woobt_rule_duplicate, .woobt_rule_heading .woobt_rule_remove {
    text-decoration: underline;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.woobt_rule_heading .woobt_rule_remove {
    color: #ff4f3b;
}

.woobt_rule:hover .woobt_rule_duplicate, .woobt_rule:hover .woobt_rule_remove {
    opacity: 1;
    visibility: visible;
}

.woobt_rule_content {
    padding: 10px;
    display: none;
    border-top: 1px solid #eee;
}

.woobt_rule_content input[type="number"] {
    max-width: 80px;
}

.woobt_rule.open .woobt_rule_content {
    display: block;
}

.woobt_rule_content p.description {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-style: italic !important;
}

.woobt_rules .woobt_rule .woobt_tr {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #dddddd;
}

.woobt_rules .woobt_rule .woobt_tr.woobt_tr_stripes {
    background: repeating-linear-gradient(45deg, #ffffff, #ffffff 10px, #fafafa 10px, #fafafa 20px);
}

.woobt_rules .woobt_rule .woobt_tr:last-child {
    border-bottom: none;
}

.woobt_rules .woobt_rule .woobt_tr .woobt_th {
    width: 150px;
    flex: 0 0 150px;
    font-weight: 500;
}

.woobt_rules .woobt_rule .woobt_tr .woobt_th.woobt_th_full {
    width: 100%;
    flex: 0 0 100%;
    background-color: #fafafa;
}

.woobt_rules .woobt_rule .woobt_tr .woobt_td {
    flex-grow: 1;
}

.woobt_add_rule {
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woobt_add_rule > div {
    display: flex;
    align-items: center;
}

.woobt_add_rule a {
    margin: 0 5px !important;
}

.woobt_rules .woobt_rule .woobt_hide {
    display: none;
}

.woobt_rules .woobt_rule .woobt_tr .woobt_th, .woobt_rules .woobt_rule .woobt_tr .woobt_td {
    padding: 10px 5px;
    text-align: start;
}

.woobt_rules .woobt_rule .woobt_tr .woobt_td div {
    display: inline-block;
    width: 100%;
}

.woobt_rules .woobt_conditional_remove {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    cursor: pointer;
}

.woobt_rules .woobt_conditional_remove:hover {
    color: #e14d43;
}

.woobt_rules .woobt_conditionals {
    margin-bottom: 5px;
}

.woobt_rules .woobt_conditionals .woobt_conditional_item {
    padding: 5px 30px 5px 0;
    display: flex !important;
    align-items: center !important;
    position: relative;
}

.woobt_rules .woobt_conditionals .woobt_conditional_item:nth-child(2n+2) {
    background-color: #fafafa;
}

.woobt_rules .woobt_conditionals .woobt_conditional_item:first-child .woobt_conditional_remove {
    display: none;
}

.woobt_combinations {
    margin-bottom: 5px;
}

.woobt_combinations .woobt_combination {
    margin: 0;
    padding: 5px 30px 5px 0;
    display: flex !important;
    align-items: center !important;
    position: relative;
}

.woobt_combinations .woobt_combination > span:last-child, .woobt_combinations .woobt_combination .woobt_combination_val_wrap, .woobt_combinations .woobt_combination .woobt_combination_same_wrap {
    flex-grow: 1;
}

.woobt_combinations .woobt_combination:nth-child(2n+1) {
    background-color: #fafafa;
}

.woobt_combinations .woobt_combination .woobt_combination_remove {
    position: absolute;
    right: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    margin-top: -10px;
    cursor: pointer;
}

.woobt_combinations .woobt_combination .woobt_combination_remove:hover {
    color: #e14d43;
}

.hide_apply, .hide_get {
    display: none;
}