*,
*:before,
*:after {
    box-sizing: border-box;
}

.iris-picker {
    position: absolute !important;
    z-index: 5;
}

.minicolors-input-swatch {
    display: none !important;
}

.minicolors-panel {
    top: 110% !important;
}

.vi_wpvs_global_setting_url {
}

.vi_wpvs_global_setting_url a {
    text-decoration: none;
}

.wc-metaboxes-wrapper#product_attributes .product_attributes.wc-metaboxes:not(.vi-wpvs-attribute-wrap-wrap),
.wc-metaboxes-wrapper#product_attributes .toolbar:not(.vi-wpvs-attribute-wrap-wrap):not(.toolbar-top):not(.adsw-toolbar) {
    display: none !important;
    visibility: hidden !important;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content {
    width: 100%;
    position: relative;
    background-color: #fdfdfd;
    padding: 1em;
    border-top: 1px solid #eee;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-info-wrap {
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: start;
    width: 100%;
    max-width: 100%;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-info-wrap .vi-wpvs-attribute-info-custom-open {
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-info-wrap > div,
.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-info-wrap > label {
    margin-right: 10px;
    margin-bottom: 5px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-name {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-content .vi-wpvs-attribute-name label {
    margin-right: 5px;
    text-align: left;
    display: block;
    line-height: 21px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap {
    clear: both;
    margin-top: 10px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-wrap {
    margin-bottom: 5px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-title-wrap {
    background: #f1f1f1;
    cursor: pointer;
    padding: .85em .75em .85em 1em;
    font-size: 1em;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-title-wrap .vi-wpvs-attribute-value-action-wrap {
    float: right;
    font-weight: 400;
    line-height: 26px;
    position: relative;
    text-decoration: none;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-title-wrap .vi-wpvs-attribute-value-name {
    font-weight: 600;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-wrap:not(.vi-wpvs-attribute-taxonomy-value-wrap) .vi-wpvs-attribute-value-title-wrap .vi-wpvs-attribute-value-name {
    border: 1px solid #d5d5d5;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-content-wrap {
    transition: height, margin, padding 200ms;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-content-wrap.vi-wpvs-attribute-value-content-open {
    display: block;
    height: auto;
    min-height: 100px;
    margin-top: 10px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-wrap-wrap .vi-wpvs-attribute-value-content-wrap.vi-wpvs-attribute-value-content-close {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    display: none;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap table {
    padding: 0;
    border-radius: 3px;
    border: none;
}

.wc-metaboxes-wrapper#product_attributes .vi_attribute_color_separator {
    width: auto !important;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap table.vi-wpvs-attribute-value-content-color-table,
.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-content-color-table tr,
.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-content-color-table th,
.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-wpvs-attribute-value-content-color-table td {
    align-items: center;
    text-align: center;
    border: 1px solid #c7c4c4;
    border-collapse: collapse;
    padding: 5px;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap table td {
    padding: 10px 5px;
    vertical-align: middle;
    width: auto;
}

.vi-attribute-image-wrap {
    position: relative;
    display: inline-flex;
    width: 152px;
    height: 152px;
    cursor: pointer;
    text-align: center;
}

.vi-attribute-image-wrap .vi-attribute-image-preview {
    border: 1px solid #d5d5d5;
    display: inline-flex;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.vi-attribute-image-wrap .vi-attribute-image-preview img {
    max-width: 150px;
    max-height: 150px;
    width: 150px;
    height: 150px;
    margin: auto;
}

.vi-attribute-image-wrap div {
    position: absolute;
    margin: auto;
    font-size: 16px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
    visibility: hidden;
    transition: all .3s linear;
}

.vi-attribute-image-wrap:hover .vi-attribute-image-preview {
    opacity: .50;
}

.vi-attribute-image-wrap:hover div.vi-attribute-image-add-new {
    visibility: visible;
}

.vi-attribute-image-remove:hover ~ .vi-attribute-image-add-new {
    visibility: hidden !important;
}

.vi-attribute-image-remove:hover {
    color: #464343;
}

.vi-attribute-image-remove {
    position: absolute;
    right: -10px;
    top: -10px;
    margin: 0 !important;
    font-size: 20px !important;
    z-index: 2;
    background: transparent;
    color: #bdbcbc;
}

.wc-metaboxes-wrapper#product_attributes .vi-wpvs-attribute-wrap-wrap .vi-attribute-name {
    max-width: 100%;
    min-width: 50px;
    padding: 0 8px;
    height: auto;
    line-height: 21px;
}


.vi-wpvs-hidden {
    display: none !important;
    visibility: hidden !important;
}

.vi-wpvs-attribute-edit-wrap-wrap {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
}

.vi-wpvs-attribute-edit-wrap-wrap .vi-wpvs-attribute-edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, .3);
    z-index: 10;
}

.vi-wpvs-attribute-edit-wrap-wrap .vi-wpvs-attribute-edit-wrap {
    margin: auto;
    z-index: 99;
    background: white;
    width: auto;
    max-width: 90%;
    position: relative;
    max-height: 80%;
    min-height: 100px;
    border-radius: 4px;
    padding: 15px 20px;
}

.vi-wpvs-attribute-edit-wrap-wrap .vi-wpvs-attribute-edit-buttons {
    margin-top: 15px;
    text-align: right;
}

.vi-wpvs-attribute-taxonomy-add-new-term-wrap {
    text-align: center;
}

.vi-wpvs-attribute-taxonomy-add-new-term-wrap .vi-wpvs-attribute-edit-taxonomy-add-new-term {
    width: 250px;
}
.vi-wpvs-attribute-taxonomy-add-new-term-wrap .select2-container-multi .select2-choices li.select2-search-field{
    float:left !important;
}
.vi-wpvs-attribute-taxonomy-add-new-term-wrap .select2-container-multi .select2-choices .select2-search-field input{
    width: auto !important;
}
.vi-wpvs-attribute-value-action-icon {
    color: #6d6f6f;
}

.vi-wvps-clear-both {
    clear: both;
}

.vi-wpvs-wrap-rtl .vi-wpvs-attribute-value-action-wrap {
    float: left !important;
}

.select2.select2-container.select2-container--default {
    width: auto !important;
    min-width: 100px;
}

.vi-wpvs-attribute-taxonomy-select-none.button {
    background: #dddddd;
}

.button.vi-wpvs-attribute-value-action-remove {
    color: #b32d2e;
}

.button.vi-wpvs-attribute-value-action-remove:hover {
    color: red;
}

.vi-wpvs-attribute-value-content-wrap .vi-wpvs-attribute-value-content-color-wrap td:first-child,
.vi-wpvs-attribute-value-content-wrap .vi-wpvs-attribute-value-content-image-wrap td {
    text-align: center !important;
}

/*Add new global attribute term*/
.vi-wpvs-attribute-taxonomy-action .vi-wpvs-attribute-taxonomy-create {
    float: right;
    margin-right: 0.75em !important;
}