#yith_wccl_value {
    width: 70px;
}

.yith-wccl-form-field__container .description.inline {
    display:inherit !important;
}

#term_value[data-type=colorpicker],
#term_value + .wp-picker-clear,
#yith_wccl_dialog_form .ywccl.wp-color-picker,
#term_value_button {
    width: 80px;
}

.yith-wccl-color {
    border: 1px solid #ccc;
    background: #fff;
    display: inline-block;
    min-width: 50px;
    height: 50px;
    overflow: hidden;
}
.yith-wccl-label {
    border: 1px solid #ccc;
    background: #fff;
    display: inline-block;
    min-width: 20px;
    height: 20px;
    overflow: hidden;
}


.yith-wccl-label {
    padding: 2px;
    line-height: 20px;
    font-weight: bold;
    text-align: center;
}

.yith-wccl-image {
    width: 50px;
}

.yith_wccl_dialog_modal .ui-dialog-titlebar-close:before {
    display: none;
}
.yith_wccl_dialog_modal .ui-dialog-titlebar-close {
    width: 25px;
}
#yith_wccl_dialog_form label,
#yith_wccl_dialog_form .label-input {
    display: block;
    margin: 10px 0;
    font-size: 90%
}
#yith_wccl_dialog_form label > input[type="text"],
#yith_wccl_dialog_form .label-input > input[type="text"] {
    margin-top: 5px;
    width: 100%;
}
#yith_wccl_dialog_form .dialog_error {
    font-size: 90%;
    color: #ff0000;
}
#yith_wccl_dialog_form .wp-picker-container {
    display: block;
    margin-top: 5px;
}
#yith_wccl_dialog_form .wp-picker-container label {
    display: inline-block;
    margin: 0;
}
#yith_wccl_dialog_form .wp-picker-container label > input {
    margin: 0;
}

.yith-wccl-bicolor {
width:0;
height:0;
border-bottom: 50px solid;
border-left: 50px solid;
display: block;
}

#addtag .wp-picker-container,
#edittag .wp-picker-container {
vertical-align: middle;
}
/* fix color picker open */
#addtag .wp-picker-container .iris-picker,
#edittag .wp-picker-container .iris-picker,
#yith_wccl_dialog_form .wp-picker-container .iris-picker {
    display: none !important;
}
#addtag .wp-picker-container.wp-picker-active .iris-picker,
#edittag .wp-picker-container.wp-picker-active .iris-picker,
#yith_wccl_dialog_form .wp-picker-container.wp-picker-active .iris-picker,
#addtag .wp-picker-container.wp-picker-open .iris-picker,
#edittag .wp-picker-container.wp-picker-open .iris-picker,
#yith_wccl_dialog_form .wp-picker-container.wp-picker-open .iris-picker {
    display: block !important;
}
.ywccl_add_color_icon,
.ywccl_add_color_icon {
    width: 15px;
    height: 15px;
    border: 1px solid #777;
    border-radius: 50%;
    text-align: center;
    line-height: 12px;
    font-weight: bold;
    color: #777;
    display: inline-block;
    vertical-align: middle;
    margin: 0 6px 6px 6px;
    cursor: pointer;
}
#addtag .wp-picker-container.wp-picker-active + .ywccl_add_color_icon,
#edittag .wp-picker-container.wp-picker-active + .ywccl_add_color_icon,
#addtag .wp-picker-container.wp-picker-open + .ywccl_add_color_icon,
#edittag .wp-picker-container.wp-picker-open + .ywccl_add_color_icon {
    display: none;
}

.ui-dialog.yith_wccl_dialog_modal {
    z-index: 100 !important;
}

/* Variation Gallery */

.yith-wccl-variation-gallery-images:after, .yith-wccl-variation-gallery-images:before {
    content: '';
    display: table;
    clear: both;
}

.yith-wccl-variation-gallery-images .image img {
    width: 100%;
    height: auto;
}
.yith-wccl-variation-gallery-images .image,
.yith-wccl-variation-gallery-images .yith-wccl-sortable-placeholder {
    display: block;
    width: 64px;
    height: 64px;
    float: left;
    margin-right: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
    cursor: move;
}
.yith-wccl-variation-gallery-images .image.add,
.yith-wccl-variation-gallery-images .yith-wccl-sortable-placeholder {
    border: 2px dashed #ccc;
}
.yith-wccl-variation-gallery-images .image.add {
    cursor: pointer;
}
.yith-wccl-variation-gallery-images .image.add:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/add-icon.png') no-repeat center;
    pointer-events: none;
}

.yith-wccl-variation-gallery-images .image.add a {
    display: block;
    height: 100%;
    box-shadow: none;
    position: relative;
}
.yith-wccl-variation-gallery-images .image .remove {
    display: block;
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: 0;
    height: 16px;
    width: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.yith-wccl-variation-gallery-images .image .remove:before {
    font-family: Dashicons;
    speak: none;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: '\f153';
    color: #999;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: color 0.5s ease;
}
.yith-wccl-variation-gallery-images .image:hover .remove {
    opacity: 1;
    transition: opacity 0.2s ease;
}
.yith-wccl-variation-gallery-images .image .remove:hover:before {
    color: #ff0000;
    transition: color 0.2s ease;
}

#yith_wccl_panel_single-variations .yith-plugin-fw-field-wrapper:not(.yith-plugin-fw-title-field-wrapper){
    width: auto;
}

/* Selector width */
.yith-wccl-form-field .yith-plugin-fw-select-field-wrapper .select2 {
    width:95% !important;
}

.yith-wccl-form-field .yith-plugin-fw-media {
    max-width:40% !important;
}

/*Product page*/

#woocommerce-product-data ul.wc-tabs li.yith_wccl_variations_style_tab a:before, .yith-wccl-blank-state-icon:before {
    font-family: yith-wccl-font;
    content:'\e900' !important;
}

i.yith-wccl-blank-state-icon {
    font-style: inherit;
    font-size: 55px;
    color:grey;
}
.yith-wccl-blank-variation-style {
    padding: 30px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
}

/* Product page variation style Attributes*/
.yith-wccl-title-section {
    margin: 20px;
}
.yith-wccl-attribute-row-box {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin: 20px;
}

.yith-wccl-section-row-title {
    background: #F4F4F4;
    padding     : 20px 66px 20px 40px;
    display:flex;
    align-items:center;
}
.yith-wccl-attribute-section-row-content {
    padding     : 20px;
}

.yith-wccl-section-row-title h4 {
    margin      : 0;
    display     : inline-block;
    position    : relative;
    min-width   : 173px;
    box-sizing  : border-box;
    font-weight : 400;
    font-size   : 16px;
}
.yith-wccl-box-toggle {
    width: 25px;
    height: 25px;
    position:absolute;
    right: 40px;
    border-radius: 50%;
    padding: 5px;
}

.yith-wccl-box-toggle:hover, .yith-wccl-box-toggle-term:hover {
    background : rgba(0, 0, 0, 0.05);
}

.yith-wccl-toggle-disable {
    display:none;
}

.yith-wccl-closed .yith-wccl-attribute-section-row-content, .yith-wccl-closed .yith-wccl-term-section-row-content {
    display: none;
}

/* Product page variation style term */

.yith-wccl-term-section-row-title, .yith-wccl-section-row-title{
    cursor:pointer;
}
.yith-wccl-term-section-row-title:hover{
    background:#F4F4F4;
}
.yith-wccl-term-row-box {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin: 20px;
}
.yith-wccl-term-section-row-title {
    padding     : 10px 66px 10px 20px;
    display:flex;
    align-items:center;
}
.yith-wccl-box-toggle-term {
    width: 25px;
    height: 25px;
    position:absolute;
    right: 70px;
    border-radius: 50%;
    padding: 5px;
}
.yith-wccl-term-section-row-title svg {
    transform : rotate(180deg);
}

/*Terms in product page*/
.yith-wccl-form-field__description {
    display: block;
    padding: 0;
    font-size: 12px;
    clear: both;
    line-height: 1.4em;
    margin-top: 7px;
}

.yith-wccl-term-section-row-content {
    padding: 20px 0px;
}

.yith-wccl-term-section-row-content .yith-wccl-hide-if-product {
    display:none !important;
}
.yith-wccl-term-section-row-content .yith-wccl-form-field {
    display:flex;
    margin: 20px 10px;
    align-items:baseline;
}

.yith-wccl-term-section-row-content label.yith-wccl-form-field__label {
    margin:inherit;
    display:block !important;
}
.yith-wccl-term-section-row-content .yith-wccl-form-field .yith-single-colorpicker label {
    width:inherit !important;
    margin:inherit !important;
}
.yith-wccl-term-section-row-content .yith-wccl-form-field__container {
    flex:1;
    margin:auto;
}