@font-face {
    font-family: "woocommerce-product-builder";
    src: url("../fonts/woocommerce-product-builder.eot");
    src: url("../fonts/woocommerce-product-builder.eot?#iefix") format("embedded-opentype"),
    url("../fonts/woocommerce-product-builder.woff") format("woff"),
    url("../fonts/woocommerce-product-builder.ttf") format("truetype"),
    url("../fonts/woocommerce-product-builder.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @font-face {
        font-family: "woocommerce-product-builder";
        src: url("../fonts/woocommerce-product-builder.svg") format("svg");
    }
}

/*Main Product Builder page*/

.vi-wpb-wrapper {
    width: 1170px;
    max-width: 100%;
    margin: 20px auto;
}

.vi-wpb-wrapper * {
    box-sizing: border-box;
}

.vi-wpb-wrapper select {
    margin: 0 5px;
}

.woocommerce-product-builder-sidebar a, .woopb-steps a {
    text-decoration: none !important;
}

.woopb-button {
    background: #fff;
    border-radius: 1px;
    border: 1px solid #eee;
    padding: 7px 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #212121;
    cursor: pointer;
    line-height: 1.5;
    margin: 0;
    letter-spacing: 0;
    vertical-align: top;
    min-height: 0;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-block;
    font-size: 14px;
    text-align: center;
}

.woopb-buttons-group {
    position: relative;
}

.woopb-button-group {
    display: inline-block;
    vertical-align: top;
}

.woopb-button-group.group-2 > * {
    margin-left: 5px;
}

.vi-wpb-wrapper .woopb-entry-content {
    display: inline-block;
    width: 100%;
    font-size: 0;
}

/*Steps*/
.vi-wpb-wrapper .woopb-entry-content .woopb-steps {
    display: inline-block;
    width: 20%;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    float: right;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step:hover {
    background: #f7f7f7;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step {
    /*border: 1px solid #eee;*/
    border-top: 0;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step, .vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-heading {
    display: inline-block;
    padding: 7px 15px;
    background: #eee;
    vertical-align: top;
    width: 100%;
    margin: 0;
    line-height: 1.5;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-total, .vi-wpb-wrapper .woopb-steps .woopb-step.woopb-step-remove,
.vi-wpb-wrapper .woopb-steps .woopb-add-to-cart-button, .vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-heading {
    margin: 12px 0 0;
}

.vi-wpb-wrapper .woopb-steps .woopb-add-to-cart-button {
    width: 100%;
    border: none;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-heading:first-child {
    margin: 0;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added-remove {
    display: block;
    line-height: 16px;
    cursor: pointer;
    right: 0;
    font-size: 10px;
    color: #ffa09c;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 20px;
    width: 16px;
    height: 16px;
    text-align: center;
    font-weight: bold;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added-remove:hover {
    color: #f93037;
    background-color: white;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added {
    font-size: 12px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added-wrapper {
    position: relative;
    padding-right: 24px;
    font-size: 0;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added-wrapper:not(:last-child) {
    margin-bottom: 10px;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-thumb img {
    width: 100%;
    height: auto;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-thumb {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    padding: 0 2% 0 0;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added {
    display: inline-block;
    max-width: 100%;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-thumb + .woopb-step-product-added {
    width: 75%;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added-title {
    font-size: 12px;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added-price {
    color: #212121;
    font-size: 12px;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-heading a.woopb-step-link {
    text-transform: uppercase;
    display: block;
}

/*.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-heading:before {*/
/*    content: "";*/
/*    width: 30px;*/
/*    position: absolute;*/
/*    height: 3px;*/
/*    background: #eee;*/
/*    top: 0px;*/
/*}*/

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step a {
    display: block;
    color: #212121;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step.woopb-step-total span.woocommerce-Price-amount.amount {
    font-weight: 700;
    float: right;
}

/*Main content*/
.vi-wpb-wrapper .woopb-products-pagination .woopb-page,
.vi-wpb-wrapper a,
.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .cart button,
.woopb-button, .woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li > a:before {
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;

}

.vi-wpb-wrapper .woocommerce-product-builder-sidebar {
    display: inline-block;
    width: 20%;
    font-size: 14px;
    vertical-align: top;
}

.vi-wpb-wrapper .woocommerce-product-builder-sidebar .woocommerce-product-builder-widget {
    margin: 0 0 20px;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper {
    display: inline-block;
    width: 80%;
    font-size: 14px;
    vertical-align: top;
    padding: 0 15px 0 0;
}

.vi-wpb-wrapper .woocommerce-product-builder-sidebar + .woocommerce-product-builder-wrapper {
    width: 60%;
    padding: 0 15px 0;

}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woocommerce-product-builder-content {
    font-size: 0;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woocommerce-product-builder-content .woopb-products,
.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woocommerce-product-builder-content .woopb-products-searched {
    margin: 15px 0 0;
    font-size: 14px;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product {
    display: inline-block;
    font-size: 0;
    width: 100%;
    padding: 0 0 20px;
    border-bottom: 1px solid #eee;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-left {
    display: inline-block;
    vertical-align: top;
    width: 20%;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right {
    font-size: 14px;
    display: inline-block;
    vertical-align: top;
    font-weight: 300;
    width: 80%;
    padding: 0 0 0 10px;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .woopb-product-title {
    font-size: 16px;
    display: inline-block;
    width: 60%;
    padding: 0 10px 0 0;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .woopb-product-price {
    display: inline-block;
    float: right;
    margin: 0;
    width: 40%;
    white-space: nowrap;
    text-align: right;
    font-size: 120%;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .woopb-product-short-description {
    margin: 10px 0 0;
    clear: both;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .woopb-product-short-description p {
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .cart {
    display: inline-block;
    margin: 10px 0 0;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .cart button {
    display: inline-block;
    border: 0;
    box-shadow: none;
    /*padding: .6180469716em 1.41575em;*/
    font-weight: 300;
    /*line-height: 1;*/
    vertical-align: top;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-product .woopb-product-right .cart .quantity {
    display: inline-block;
}

.vi-wpb-wrapper .woopb-products-pagination {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
}

.vi-wpb-wrapper .woopb-products-pagination .woopb-page span,
.vi-wpb-wrapper .woopb-products-pagination .woopb-page a {
    color: inherit;
    padding: 12px 15px;
    font-size: 14px;
    display: inline-block;
    font-weight: 300;
}

.vi-wpb-wrapper .woopb-products-pagination .woopb-page {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    margin: 0 1px;
    border-radius: 2px;
    background: #e5e5e5;
}

.vi-wpb-wrapper .woopb-products-pagination .woopb-page.woopb-active a {
    color: #fff;
}

.vi-wpb-wrapper .woopb-products-pagination .woopb-page.woopb-active {
    background: #212121;
}

/*Sort by*/

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-sort-by {
    text-align: right;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-sort-by .woopb-sort-by-inner {
    display: inline-block;
    position: relative;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-sort-by .woopb-sort-by-inner:before {
    position: absolute;
    content: "\f108";
    font-family: "woocommerce-product-builder";
    right: 8px;
    top: 8px;
    font-size: 10px;
}

.vi-wpb-wrapper .woocommerce-product-builder-wrapper .woopb-sort-by select {
    background: #fff;
    border-radius: 1px;
    border: 1px solid #eee;
    padding: 5px 25px 5px 15px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #212121;
    /*z-index: 9999;*/
    position: relative;
    margin: 0;
    background: transparent;
    height: auto;
}

.vi-wpb-wrapper .woopb-heading-navigation .woopb-heading {
    font-size: 24px;
    /*display: inline-block;*/
    line-height: 1;
    margin: 0 10px 0 0;
    text-transform: uppercase;
    flex-grow: 1;
}

.vi-wpb-wrapper .woopb-heading-navigation {
    margin: 0 0 12px;
    display: flex;
}

.vi-wpb-wrapper .woopb-navigation {
    display: flex;
    font-size: 0;
    box-sizing: border-box;
    width: 20%;
    min-width: 20%;
}

.vi-wpb-wrapper .woopb-steps .woopb-form-cart-now {
    vertical-align: top;
    margin: 0;
}

.vi-wpb-wrapper .woopb-steps .woopb-add-to-cart-button {
    font-size: 16px;
}

.vi-wpb-wrapper .woopb-navigation .woopb-navigation-previous,
.vi-wpb-wrapper .woopb-navigation .woopb-navigation-next,
.vi-wpb-wrapper .woopb-navigation .woopb-navigation-preview {
    width: 100%;
    text-align: center;
}

.vi-wpb-wrapper .woopb-navigation .woopb-navigation-next, .vi-wpb-wrapper .woopb-navigation .woopb-navigation-preview {
    margin-left: 2px;
}


.vi-wpb-wrapper .woopb-navigation form {
    display: inline-block;
    font-size: 0;
    margin: 0 2px;
}

.vi-wpb-wrapper .woopb-navigation a.woopb-link {
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    display: block;
    background: #eee;
}

.vi-wpb-wrapper .woopb-navigation a.woopb-link:hover {
    background: #ddd;
}

.vi-wpb-wrapper .woopb-navigation form .woopb-button {
    margin: 0;
}

/*Review page*/
.vi-wpb_review_page {
    font-size: 14px;
}


/*Share popup*/
#vi_wpb_popup_email {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    font-size: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    font-weight: 300;
}

#vi_wpb_popup_email:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#vi_wpb_popup_email .woopb-title {
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    /*padding: 0 28px 0 0;*/
}

#vi_wpb_popup_email .vi-wpb_overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}

#vi_wpb_popup_email .woopb-close {
    font-size: 18px;
    position: absolute;
    top: 8px;
    right: 5px;
    line-height: 1;
    cursor: pointer;
}

.woopb-close:before {
    font-family: "woocommerce-product-builder";
    content: "\f102";
}

#vi_wpb_popup_email .vi-wpb_popup {
    width: 100%;
    max-width: 760px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    padding: 20px 15px;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    z-index: 2;
}

#vi_wpb_popup_email .vi-wpb_popup .vi-wpb_send_email {
    display: inline-block;
    font-size: 0;
    width: 100%;
    color: #ababab;
}

#vi_wpb_popup_email .vi-wpb_popup .woopb-row {
    margin: 10px 0 0;
    display: inline-block;
    font-size: 14px;
    width: 50%;
}

#vi_wpb_popup_email .vi-wpb_popup .woopb-row.woopb-full-width {
    width: 100%;
}

#vi_wpb_popup_email .woopb-rows .woopb-row:first-child .woopb-field {
    padding-right: 10px;
}

#vi_wpb_popup_email .vi-wpb_popup .woopb-row .woopb-field textarea {
    overflow: auto;
    padding-left: .875em;
    vertical-align: top;
    width: 100%;
}

#vi_wpb_popup_email .vi-wpb_popup .woopb-row input[type="text"], #vi_wpb_popup_email .vi-wpb_popup .woopb-row input[type="email"] {
    width: 100%;
}

#vi_wpb_popup_email .vi-wpb_popup .woopb-row label {

}

.woocommerce-product-builder-table {
    font-size: 14px;
}

.woocommerce-product-builder-table td, .woocommerce-product-builder-table th {
    vertical-align: middle;
}

.woocommerce-product-builder-table .woopb-step-product-added-remove {
    display: block;
    font-size: 12px;
    font-family: "woocommerce-product-builder";
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #EF5350;
    color: #fff;
    text-align: center;
    line-height: 24px;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-remove {
    margin-top: 12px;
    width: 100%;
}

.vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step-remove .woopb-step-product-added-remove-all {
    color: red;
    text-align: center;
    text-transform: uppercase;
}

.woocommerce-product-builder-table .woopb-step-product-added-remove:before {
    content: "\f102";
}

.woocommerce-product-builder-table img {
    max-width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    width: auto;
}

/*Widget*/
/*Widget Layer Filter*/
.woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li:before {
    display: none;
}

.woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li {
    margin-left: 0;
    padding-left: 0;
}

.woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li > a:before {
    display: inline-block;
    font: normal normal normal 14px/1 "woocommerce-product-builder";
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f109";
    margin-right: .571em;
    font-size: 1.143em;
    vertical-align: middle;
    color: #dfdfdf;
}

.woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li > a:hover::before, .woocommerce-product-builder-widget .woocommerce-widget-layered-nav-list li.chosen > a:before {
    content: "\f10a";
    opacity: 1;
    height: auto;
    width: auto;
    border: 0;
    background: none;
    margin-right: .571em;
}

/*Filter price*/
.woocommerce-product-builder-widget .widget_price_filter .price_slider {
    margin-bottom: 1em;
}

.woocommerce-product-builder-widget .ui-slider-horizontal {
    height: 0.5em;
}

.woocommerce-product-builder-widget .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 15px;
    height: 15px;
    cursor: pointer;
    outline: none;
    top: -5px;
    border-radius: 999px;
    background-color: #666;
}

.woocommerce-product-builder-widget .ui-slider .ui-slider-range {
    top: 0;
    height: 100%;
    position: absolute;
    opacity: .5;
    border-radius: 99px;
    z-index: 1;
    font-size: 10px;
    display: block;
    border: 0;
    background-color: #666;
}

.woocommerce-product-builder-widget .ui-slider .ui-slider-handle:last-child {
    margin-left: -10px;
}

.woocommerce-product-builder-widget .price_slider {
    margin-bottom: 1em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
    background: rgba(0, 0, 0, .1);
    border: 0;
    position: relative;
    text-align: left;
    height: .5em;
}

.woocommerce-product-builder-wrapper .woopb-search-products-form {
    font-size: 14px;
    flex-grow: 1;
    margin-right: 15px;
}

.woocommerce-product-builder-wrapper .woopb-search-products-input {
    box-shadow: none;
    width: 100%;
    padding: 5px 25px 5px 15px;
}

.woocommerce-product-builder-wrapper .woopb-product-require-notice {
    font-size: 14px;
    color: red;
    text-align: center;
}

.woocommerce-product-builder .woopb-share {
    width: 100%;
    font-size: 14px;
    margin-bottom: 7px;
}

.woocommerce-product-builder .woopb-share * {
    font-size: 14px;
}

.woocommerce-product-builder .woopb-share .woopb-field {
    display: flex;
}

.woocommerce-product-builder .woopb-share .woopb-share-label {
    padding: 5px 10px;
    background: #e6e6e6;
    color: black;
    margin: 0;
}

.woocommerce-product-builder .woopb-share-link {
    width: 100%;
    padding: 5px;
    box-shadow: none;
    margin: 0;
}

.vi-wpb-wrapper .woopb-description {
    font-size: 14px;
    margin-bottom: 14px;
}

.woopb-mobile-control-bar, .woopb-mobile-filters-control {
    display: none;
}


.woopb-search-products-form {
    position: relative;
}

.woopb-search-products-form .woopb-spinner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.woopb-search-products-form .woopb-spinner .woopb-spinner-inner {
    position: relative;
    height: 100%;
}

.woopb-search-products-form .woopb-spinner .woopb-spinner-inner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    right: 6px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    /*border: 2px solid #ccc;*/
    /*border-top-color: #000;*/
    border-top: 2px solid #07d;
    border-right: 2px solid transparent;
    animation: button-spin .6s linear infinite;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

.woopb-hidden {
    display: none;
}

.woopb-product-left figure.woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.woopb-product-image .woocommerce-product-gallery {
    opacity: 1 !important;
    width: auto;
}

.woopb-get-short-share-link {
    display: inline-block;
}

.woopb-preview-product-col * {
    vertical-align: middle;
}

.woopb-preview-product-col {
    display: flex;
    align-items: center;
}

.woopb-preview-product-col a {
    padding-left: 20px;
}


.woopb-short-share-link {
    color: black;
    font-size: 14px;
    display: inline-block;
    margin-left: 5px;
}

.woopb-short-share-link-inner {
    background: white;
    padding: 7px 7px 7px 10px;
    border: 1px solid #ccc;
    position: relative;
}

.woopb-short-share-link .woopb-copy-short-link {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    outline: 4px solid white;
    background: white;
}

.woopb-previous-icon, .woopb-next-icon, .woopb-preview-icon {
    font-size: 20px;
}

.woopb-previous-icon.woopb-blur, .woopb-next-icon.woopb-blur {
    opacity: 0.2;
}

.woopb-previous-icon:before {
    font-family: 'woocommerce-product-builder';
    content: '\ea40';
    line-height: 1;
}

.woopb-next-icon:before {
    font-family: 'woocommerce-product-builder';
    content: '\ea3c';
    line-height: 1;
}

.woopb-preview-icon:before {
    font-family: 'woocommerce-product-builder';
    content: '\f10b';
    line-height: 1;
}

.woopb-close-modal {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    z-index: 9999999;
    text-align: center;
    display: none;
}

.woopb-close-modal .woopb-close {
    color: white;
}

.vi-wpb-wrapper .woopb-steps .woopb-add-to-cart-button .woopb-cart-icon {
    padding-right: 5px;
}

.woopb-cart-icon:before {
    font-family: "woocommerce-product-builder";
    content: '\f10c';
}

.woopb-bin-icon:before {
    font-family: "woocommerce-product-builder";
    content: '\e9ad';
}

.woopb-step-product-added-remove-all .woopb-bin-icon {
    padding-right: 5px;
    display: inline-block;
}

/*Zoom + LightBox*/


.woocommerce-product-builder-content .woocommerce-product-gallery--with-images {
    position: relative
}

.woocommerce-product-builder-content .woocommerce-product-gallery--with-images:hover .woocommerce-product-gallery__trigger {
    display: block;
}

.woocommerce-product-builder-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: #cccccc;
    width: 20px;
    height: 20px;
    z-index: 9;
    border-radius: 3px;
}

.woocommerce-product-builder-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
    background: #aaaaaa;
}

.woocommerce-product-builder-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    box-sizing: content-box;
    border: 2px solid #222222;
    border-radius: 20px;
    top: 3px;
    right: 5px;
    padding: 0;
}

.woocommerce-product-builder-content .woocommerce-product-gallery .woocommerce-product-gallery__trigger:after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 2px;
    bottom: 4px;
    border-width: 0;
    background-color: #222222;
    width: 7px;
    height: 2px;
    transform: rotate(45deg);
    padding: 0;
}


/*Responsive*/
@media (max-width: 1169px) {
    .vi-wpb-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vi-wpb-wrapper table td, .vi-wpb-wrapper table th {
        padding: 1em;
    }

    .woopb-preview-product-col {
        display: inline-block;
    }

    .vi-wpb-wrapper {
        padding: 0;
    }

    #vi_wpb_popup_email .woopb-close {
        font-size: 20px;
    }

    .vi-wpb-wrapper .woopb-entry-content .woopb-steps, .vi-wpb-wrapper .woocommerce-product-builder-sidebar {
        padding: 3%;
        width: 100%;
        position: fixed;
        top: calc(50% - 18px);
        transform: translateY(-50%);
        left: 0;
        right: 0;
        background-color: white;
        z-index: 9999999;
        max-height: calc(100vh - 36px);
        overflow: auto;
        display: none;
    }

    .woopb-has-sidebar .woopb-mobile-filters-control {
        display: block;
    }

    .vi-wpb-wrapper .woopb-overlay {
        position: fixed;
        background-color: black;
        opacity: 0.6;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        height: 100vh;
        z-index: 999999;
        display: none;
    }


    .vi-wpb-wrapper .woocommerce-product-builder-wrapper {
        width: 100% !important;
        padding: 0 !important;
    }


    .woopb-mobile-control-bar {
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 99999;
        left: 0;
        right: 0;
        font-size: 18px;
        display: flex;
        color: white;
        text-align: center;
        line-height: 1;
    }

    .woopb-mobile-steps-control {
        flex-grow: 1;
        display: flex;
    }

    .woopb-mobile-view-total {
        flex-grow: 1;
        padding: 10px;
    }

    .woopb-steps-detail-btn:before {
        font-family: "woocommerce-product-builder";
        content: '\e9bb';
    }

    .woopb-mobile-filters-control:before {
        font-family: "woocommerce-product-builder";
        content: '\ea5b';
    }

    .woopb-mobile-filters-control, .woopb-steps-detail-btn {
        padding: 10px;
    }

    .woopb-preview-product-col a {
        padding-left: 0;
        padding-top: 10px;
        text-align: center;
    }

    .woopb-button-group {
        display: block;
    }

    .woopb-button-group.group-2 {
        display: flex;
    }

    .woopb-button-group.group-2 > * {
        margin-left: 0;
        margin-top: 5px;
    }

    .woopb-button {
        /*text-transform: initial;*/
        font-size: 13px;
        flex-grow: 1;
        padding: 5px 7px;
    }

    .woopb-add-to-cart-btn {
        width: 100%;
        text-transform: uppercase;
        font-size: 14px;
    }

    .woocommerce-product-builder-table .woopb-step-product-added-remove {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 10px;
    }

    .woopb-short-share-link {
        position: absolute;
        display: block;
        top: 73px;
        left: 0;
        width: 100%;
        font-size: 13px;
        margin-left: 0;
    }

    .vi-wpb-wrapper .woopb-heading-navigation {
        display: block;
    }

    .vi-wpb-wrapper .woopb-navigation {
        width: 100%;
        margin-top: 10px;
    }

    .vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-thumb + .woopb-step-product-added .woopb-step-product-added-title {
        font-size: 16px;
    }

    .vi-wpb-wrapper .woopb-entry-content .woopb-steps .woopb-step .woopb-step-products-added .woopb-step-product-added-price {
        font-size: 15px;
    }

}

@media (max-width: 360px) {
    .woopb-button {
        font-size: 12px;
    }

    .woopb-add-to-cart-btn {
        font-size: 14px;
    }
}
