* {
    box-sizing: border-box;
}
.wheel-settings .wheel-slices .wheel-slices-weight{
    border-left: 1px solid rgba(34, 36, 38, .1) !important;
}
.vi-ui.tab .accordion {
    margin-bottom: 30px;
}
.wlwl-wheel-fields-accordion .form-table td, .wlwl-wheel-fields-accordion .form-table th, .wlwl-wheel-fields-accordion .form-table td p {
    border: 1px solid #ebebeb;
    text-align: center;
}
.vi-ui.top.tabular.menu {
    display: flex;
    flex-wrap: wrap;
}
.vi-ui.secondary.pointing.menu{
    padding-top: 0;
    position: sticky;
    top: 32px;
    background: #fff;
    z-index: 9;
}

.iris-picker {
    position: absolute !important;
    z-index: 5;
}

.select2-search__field {
    width: 100% !important;
}

.select2-container {
    z-index: 99999;
}

div[data-tab="custom-fields"] .form-table td, div[data-tab="custom-fields"] .form-table th, div[data-tab="custom-fields"] .form-table td p {
    border: 1px solid #ebebeb;
    text-align: center;
}
div[data-tab="custom-fields"] .form-table th {
    text-align: center;
}

.form-table p {
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
}
.form-table td{
    vertical-align: top !important;
}

table.vi-ui.table .wheel-slices th {
    text-align: center;
    white-space: nowrap;
}

table.vi-ui.table .wheel_col td {
    text-align: center;
    padding: 6px 4px;
}

table.vi-ui.table .wheel_col:hover {
    cursor: move;
}
.wheel_col_coupons_label .custom_type_label{
    min-width: 200px;
}
.auto_color_ok_cancel {
    display: none;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.auto_color_ok_cancel > .auto_color_ok,
.auto_color_ok_cancel > .auto_color_cancel {
    margin: 10px;
}

.col_add_new {
    text-align: center;
}

.wlwl-image-container, .wlwl-image-container1 {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.wlwl-image-container img, .wlwl-image-container1 img{
    max-width: 300px;
}

.wlwl-remove-image.negative.vi-ui.button {
    margin-left: 20px;
}

.wlwl-remove-image1.negative.vi-ui.button {
    margin-left: 20px;
}

.custom_type div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coupon-label-readonly, .coupon-amount-readonly {
    color: rgba(0, 0, 0, 0.2) !important;
}

.coupon-label-readonly, .coupon-amount-readonly:hover {
    cursor: not-allowed;
}

.vi-ui.top.attached.tabular.menu .item:hover {
    cursor: pointer;
}

.color_palette {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 200px;
}
.color_palette .wlwl_color_palette {
    width: 20px;
    height: 20px;
    float: left;
    border: 1px solid #ffffff;
    cursor: pointer;
}
table .ui-sortable .wheel_col .remove_field i,
table .ui-sortable .wheel_col .clone_piece i {
    margin: 0 !important;
}

table .ui-sortable .wheel_col .remove_field {
    padding: 3px;
    position: absolute;
    top: 5px;
    left: 0;
    display: none;
}

table .ui-sortable .wheel_col .clone_piece {
    padding: 3px;
    position: absolute;
    bottom: 5px;
    left: 0;
    display: none;
}

.wheel-settings .remove_field_wrap {
    position: sticky;
    left: 0;
    z-index: 9;
    background: #ffffff;
}
.wheel-settings .wheel-slices .wheel-index-th {
    position: sticky;
    left: 0;
    z-index: 9;
    background: #f9fafb;
}

.wheel_col:nth-child(n):hover .clone_piece:nth-child(n),
.wheel_col:nth-child(n):hover .remove_field:nth-child(n) {
    display: inline-block;
}

.wheel-slices td {
    text-align: center;
}

.wheel_col .wheel_col_index {
    text-align: center;
}
.wheel_col-dynamic_coupon .wlwl_existing_coupon,
.wheel_col-dynamic_coupon .custom_type_value,
.wheel_col-percent .custom_type_value,
.wheel_col-percent .wlwl_existing_coupon,
.wheel_col-fixed_cart .custom_type_value,
.wheel_col-fixed_cart .wlwl_existing_coupon,
.wheel_col-fixed_product .custom_type_value,
.wheel_col-fixed_product .wlwl_existing_coupon,
.wheel_col-existing_coupon .coupon_amount,
.wheel_col-existing_coupon .custom_type_value,
.wheel_col-custom .coupon_amount,
.wheel_col-custom .wlwl_existing_coupon,
.wheel_col-non .wlwl_existing_coupon,
.wheel_col-non .wheel_email_template *,
.wheel_col-non .prize_quantity,
.wheel_col-non .custom_type_value {
    display: none !important;
}

.wheel-settings-container .wheel-settings {
    min-width: 1024px;
}

.wheel-settings-container {
    width: 100%;
    overflow: auto;
}

/*remove font*/
.wlwl-google-font-select-remove.wlwl-cancel {
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    vertical-align: bottom;
    margin-left: 3px;
    margin-bottom: 4px;
}

.wlwl-google-font-select-remove.wlwl-cancel:before {
    font-size: 20px;
}

/*text editor iframe*/
.wp-editor-container textarea.wp-editor-area,
.wp-editor-container iframe {
    min-height: 200px;
}

/*preview emails*/
.preview-html-hidden {
    display: none !important;
}

.preview-emails-html-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.preview-emails-html-container .preview-emails-html-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, 0.3);
}

.preview-emails-html-container .preview-emails-html {
    position: relative;
    z-index: 99;
    width: 50%;
    max-height: 90%;
    overflow: auto;
}

/*preview wheel*/
.preview-lucky-wheel {
    position: fixed !important;
    top: 80px;
    right: 50px;
    z-index: 9999;
}

.woocommerce-lucky-wheel-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.woocommerce-lucky-wheel-preview .woocommerce-lucky-wheel-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, 0.3);
}

.woocommerce-lucky-wheel-preview .woocommerce-lucky-wheel-preview-html {
    position: relative;
    z-index: 99;
    max-height: 90%;
    overflow: auto;
    width: 400px;
    height: 400px;
}

#wlwl_canvas,
#wlwl_canvas1,
#wlwl_canvas2 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    display: block;
    vertical-align: middle;
}

.vi-ui.tab {
    height: unset !important;
    float: unset !important;
    background: white !important;
}

/*Select icons*/
.wheel-popup-icons-container .wheel-popup-icon {
    font-size: 20px;
    padding: 5px;
    margin: 5px;
    opacity: .4;
}

.wheel-popup-icons-container .wheel-popup-icon.wheel-popup-icon-selected {
    background: unset;
    border-radius: 0;
    opacity: 1;
    transform: scale3d(1.2, 1.2, 1.2);
}

.wlwl-button-save-settings-container {
    position: sticky;
    bottom: 20px;
    z-index: 9;
    display: inline-block;
}

@media screen and (max-width: 480px) {
    .wlwl-button-save-settings-container {
        bottom: 0;
    }

    .wlwl-button-save-settings-container .vi-ui.button {
        font-size: .85rem !important;
    }
}