
.configurator-selects {
    font-size: 0;
}

.configurator-selects .checkboxradio-container {
    padding-right: 0;
}

.configurator-selects .shop-conf-chkEle {
    font-size: 1rem;
}

.shop-conf-chkEle {
    position: relative;
    display: inline-block;
    vertical-align: top;
    max-width: calc(33.33333% - 20px);
    width: 100%;
    margin: 2px;
}

.shop-conf-chkEle:not(.noImage) ~ .shop-conf-chkEle,
.shop-conf-chkEle:not(.noImage) {
    max-width: calc(25% - 28px);
}

.shop-conf-chkEle label {
    cursor: pointer;
    display: block;
}

.shop-conf-chkEle:not(.noImage) label {
    padding: 0 !important;
}

.shop-conf-chkEle-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 4px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.shop-conf-chkEle-img::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.shop-conf-chkEle-img img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    max-wdith: 100%;
    max-height: 100%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
}

.shop-conf-chkEle-imgWrap ~ .icheckbox_minimal-custom.icheckbox_minimal-custom,
.shop-conf-chkEle-imgWrap ~ .iradio_minimal-custom.iradio_minimal-custom {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
}

.shop-conf-chkEle-imgWrap ~ .form-element-option-text {
    font-size: 12px;
    color: #707173;
}

.shop-configurator-btn-toggle{
    display: none;
}
.shop-configurator .shop-configurator-popup-close,
.shop-configurator .configurator-footer{
    visibility: hidden;
}

@media screen and (min-width: 1160px) {
    .body--scrollLock {
        position: fixed;
        width: 100%;
    }

    .shop-configurator-btn-toggle{
        display: inline-block;
    }

    .shop-configurator-preview {
        position: absolute;
        background: #fff;
        z-index: 1500;
        padding: 24px;
        right: 900px;
    }

    .shop-configurator.shop-configurator-popup .configurator-container {
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 1035;
        top: 0;
        right: 0;
        bottom: 0;
        width: 900px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        background: #fff;
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
    }

    .shop-configurator.shop-configurator-popup.active .configurator-container {
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.4);
        transition: all 0.3s;
        margin-bottom: 0;
    }

    .shop-configurator.shop-configurator-popup .shop-configurator-shadow {
        content: "";
        display: block;
        position: fixed;
        z-index: 1025;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        pointer-events: none;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
        transition: all 0.4s;
    }

    .shop-configurator.shop-configurator-popup.active .shop-configurator-shadow {
        opacity: 1;
        pointer-events: all;
    }

    .shop-configurator.shop-configurator-popup .shop-configurator-popup-close {
        position: absolute;
        right: 40px;
        font-size: 20px;
        visibility: visible;
    }

    .shop-configurator.shop-configurator-popup .configurator-body {

        position: absolute;
        top: 70px;
        bottom: 90px;
        margin: 0;
        /*overflow: auto;*/
        width: 100%;
    }

    .shop-configurator.shop-configurator-popup .configurator-footer {
        position: absolute;
        bottom: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        visibility: visible;
        padding: 20px;
        background-color: #ececec;
    }

    .shop-configurator.shop-configurator-popup .configurator-footer .shop-configurator-price {
        text-align: center;
        line-height: 50px;
    }

    .shop-configurator.shop-configurator-popup .configurator-footer .shop-configurator-price label,
    .shop-configurator.shop-configurator-popup .configurator-footer .shop-configurator-price .shop-product-price {
        display: inline-block;
    }

    .shop-configurator-preview-name {
        font-weight: 700;
        font-size: 14px;
    }
    .shop-configurator-preview-desc {
        font-size: 13px;
    }
}
@media screen and (max-width: 1440px) and (min-width: 1160px) {
    .shop-configurator.shop-configurator-popup .configurator-container {
        width: 800px;
    }
}


.popover {
    z-index: 10000;
}

@media screen and (min-width: 1160px) {
    .configurator-body {
        position: relative;
    }

    .configurator-body .viewport {
        overflow: hidden;
        position: relative;
        max-height: 100%;
        height: 100%;
    }

    .configurator-body .viewport .overview {
        position: relative;
        width: 100%;
    }
    .configurator-body .viewport .overview,
    .configurator-body .configurator-selects {
        min-height: 100%;
    }

    .configurator-body .scrollbar.disable {
        display: none;
    }

    .configurator-body .scrollbar {
        position: absolute;
        top: 0;
        right: 19px;
    }

    .configurator-body .scrollbar .track {
        position: relative;
        width: 1px;
        background: rgba(0, 0, 0, 0.1);
    }

    .configurator-body .scrollbar .track .thumb {
        background: var(--color-accent);
        margin: 0 -1px;
        width: 3px;
        position: absolute;
    }

    .configurator-body .row > .form-element-container {
        display: flex;
        flex-direction: column;
    }
    .shop-configurator-label-collapse {
        flex-shrink: 0;
    }
    .shop-configurator-options-tinyscrollbar {
        height: 100%;
        position: relative;
    }
    .shop-configurator-options-panel {
        position: relative;
        overflow: hidden;
        flex-grow: 1;
    }
    .shop-configurator-options-panel .row {
        margin: 0;
    }
    .shop-configurator-options-panel .scrollbar.scrollbar {
        top: 0;
        right: -10px;
    }
    .shop-configurator-options-panel .scrollbar .overview {
        top: 0!important;
    }
    .configurator-body .row.active > .form-element-container {
        z-index: 10;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #f9f9f9;
    }
    .configurator-body .row.active > .form-element-container {
        margin: 0 0 20px 0;
    }
    .configurator-body .row.active .shop-configurator-options-panel {
        background-color: transparent;
    }
}

@media screen and (max-width: 1159px) {
    .shop-configurator .configurator-footer {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .shop-configurator-label-aside.shop-configurator-label-aside {
        display: block;
        float: none;
        margin-top: 3px;
        font-size: 12px;
        font-style: italic;
    }
}