/**
 * 2023 DMConcept
 *
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement
 *
 * @author    DMConcept <support@dmconcept.fr>
 * @copyright 2023 DMConcept
 * @license   Commercial license (You can not resell or redistribute this software.)
 *
 */

/********************
      PRODUCT
********************/
#image-block,
#image-block-viewer2d,
#image-block-builder2d {
    margin-bottom: 10px;
}

.pb-left-column #thumbs_list {
    width: 200px;
}

.pb-left-column #image-block #view_full_size .span_link,
.pb-left-column #image-block-viewer2d #view_full_size-viewer2d .span_link {
    z-index: 5000;
}

.pb-left-column #image-block img,
.pb-left-column #image-block-viewer2d img {
    background: none !important;
}

/********************
    CONFIGURATOR
********************/
#configurator_preview {
    z-index: 6000;
}

#configurator_preview.loading:not(.scroll-to-fixed-fixed) {
    position: relative !important;
}

@media(max-width: 992px) {

    #configurator_preview_clear::before,
    #configurator_preview_clear::after {
        content: " ";
        display: table;
    }

    #configurator_preview_clear::after {
        clear: both;
    }

    #configurator_preview_clear::before,
    #configurator_preview_clear::after {
        content: " ";
        display: table;
    }
}

#configurator_preview {
    width: 100%;
}

#configurator_block .error-step:not(:empty) {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

#configurator_block .error-step p {
    font-weight: bold;
    color: #f13340;
    margin: 0;
}

#configurator_block .limits-error-step:not(:empty) {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

#configurator_block .limits-error-step p {
    font-weight: bold;
    color: #f13340;
    margin: 0;
}

#configurator_block .info_text p {
    color: #232323;
    margin-top: -10px;
}

#configurator_block .info-step p {
    font-weight: bold;
    color: #2fb5d2;
}

#configurator_block .step_list label.title {
    margin-bottom: 15px;
    display: block;
    float: left;
    padding-top: 5px;
}

#configurator_block .step_list label .step_title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1rem;
    margin-bottom: 0;
    padding: 7px 0;
    text-transform: uppercase;
}

#configurator_block .step_list label .step_title .material-icons {
    margin-left: -30px;
}

#configurator_block input[type=number]::-webkit-outer-spin-button #configurator_block input[type=number]::-webkit-outer-spin-button,
#configurator_block input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button !important;
}


.dmicons:after {
    content: "";
    background: url(../img/icon/chevron_right.png) no-repeat 0px 0px / 10px 10px;
    display: block;
    position: absolute;
    z-index: 1;
    width: 10px;
    height: 10px;
    left: -12px;
    top: 10px;
}

#configurator_block sup {
    font-weight: bold;
    color: #f13340;
    font-size: 17px;
    top: -3px;
}

#configurator_block .display-step-amount {
    background: white none repeat scroll 0 0;
    border: 1px solid #c8c8c8;
    border-radius: 3px;
    color: #333;
    display: inline-block;
    float: right;
    font-size: 14px;
    top: -2px;
    padding: 3px;
    position: relative;
    min-width: 100px;
    text-align: center;
}

#configurator_block .display-step-amount::before {
    background: rgba(0, 0, 0, 0) linear-gradient(to right, #fff 0%, #d2d2d2 100%) repeat scroll 0 0;
    content: "";
    display: block;
    height: 1px;
    position: absolute;
    right: 100%;
    top: 50%;
    width: 100%;
}

#configurator_block .page-heading {
    margin-top: 0;
}

#configurator_block .page-heading .required {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
}

#configurator_block .step_list div>span {
    top: 0;
}

#configurator_block .info,
#configurator_block .info-fb {
    cursor: pointer;
    padding: 2px 4px;
    margin-left: 3px;
    font-size: 12px;
    background: #2fb5d2;
    color: white;
    border-radius: 3px;
    font-weight: bold;
}

#configurator_block .option_block {
    background: #fff none repeat scroll 0 0;
    cursor: pointer;
    float: left;
    font-size: 14px;
    margin-bottom: 5px;
    margin-right: 8px;
    position: relative;
    text-align: center;
}

#configurator_block .option_block .configurator-zoom {
    position: absolute;
    background: #000;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 16px;
    padding: 4px 5px;
    cursor: pointer;
    display: none;
}

#configurator_block .option_block:hover .configurator-zoom {
    display: block;
}

#configurator_block .option_block.color:hover .configurator-zoom {
    display: none;
}

#configurator_block .quantity_wanted input {
    margin: -1px 0 auto;
    /*max-width: 65px;*/
    text-align: center;
}

#configurator_block .custom .quantity_wanted input {
    max-width: 175px;
}

#configurator_block .quantity_wanted input.qty-inline {
    margin: 0;
    display: inline-block;
}

#configurator_block .option label {
    cursor: pointer;
}

#configurator_block .option .quantity_wanted {
    display: inline-block;
    position: relative;
    top: 10px;
    margin: 0;
}

#configurator_block .option_block .quantity_wanted {
    margin-bottom: 0;
}

#configurator_block .label.totalprice {
    font-size: 92%;
}

#configurator_block .option_block .label.totalprice {
    margin-top: 15px;
}

#configurator_block .option_block.custom.selected .label.totalprice {
    margin-top: 11px;
}

#configurator_block .option_block.colortexture .label.totalprice {
    max-width: 113px;
}

#configurator_block .option_block .option_block_content {
    position: relative;
    margin: 0 auto;
}

#configurator_block .option_block .option_block_content .label {
    display: block;
    margin-left: 0;
    margin-top: 15px;
}

#configurator_block .option_block .option_block_content .label:empty {
    display: none;
}

#configurator_block .option_group .label {
    padding: 3px;
}

#configurator_block .option_group.disabled::after {
    content: '';
    background: #000;
    opacity: 0.1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    cursor: no-drop;
}

#configurator_block .option_block.colortexture .option_block_content .label {
    bottom: 1px;
    font-size: 12px;
    left: 1px;
    margin: 0;
    position: absolute;
    right: 1px;
    top: auto;
    z-index: 1;
    background: white;
    padding-right: 26px;
    font-weight: bold;
}

#configurator_block .option_block.colortexture.selected .option_block_content .label {
    bottom: 0;
    left: 0;
    right: 0;
}

#configurator_block .step_group .table .row-title {
    display: block;
    text-align: right;
}

#configurator_block .step_group .table .col-title {
    display: block;
    text-align: left;
}

#configurator_block .step_group .table thead>tr>td,
#configurator_block .step_group .table tbody>tr>td.table-cell {
    text-align: center;
    /*remove padding from bootstrap in order to have centered-text*/
    padding-left: 8px;
    vertical-align: middle;
    line-height: 9px;
}

#configurator_block .step_group td.selected {
    background-color: #ddf9e1;
    color: #35b33f;
}

#configurator_block .step_group td.table-cell {
    cursor: pointer;
}

#configurator_block .option_block.selected .option_block_content {
    /* border: #46a74e solid 1px;
    -moz-box-shadow: inset 0px 0px 20px -10px #656565;
    -webkit-box-shadow: inset 0px 0px 20px -10px #656565;
    -o-box-shadow: inset 0px 0px 20px -10px #656565;
    box-shadow: inset 0px 0px 20px -10px #656565;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=20);*/
}

#configurator_block .option_block.selected .option_block_content::after {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAAiElEQVQokaXPwQ3DMAgF0D9LVugKhItlxvBOHQBbynBeITm0qSKRpOAg/dvnCYDBYZXCml6j+wCAucnCTVauuZMmeobsqbmHLzPIHpXyK7FKIU1TFJmbLLb0+dlgMeTw8xFzIQDANXdT/GJuBABIE51iFzlFotgt4sVcyD8shFxhQ4jF8tu7swGui+otf3QUOQAAAABJRU5ErkJggg==);
    border-radius: 30px;
    bottom: -7px;
    color: #46a74e;
    content: " ";
    display: block;
    font-family: "FontAwesome";
    font-size: 25px;
    position: absolute;
    right: -9px;
    z-index: 1;
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
    border: 2px solid;
    background-color: white;
    background-position: center center;
}

.form-group.form-ok.quantity_wanted input.qty {
    background: none;
    background-color: #ddf9e1;
    /*padding: 3px 5px;*/
}

.form-group.form-error.quantity_wanted input.qty {
    background: none;
    background-color: #fff1f2;
    padding: 3px 5px;
}


#configurator_block .option_block.colortexture .option_block_content {
    height: 100px;
    width: 100%;
}

#configurator_block .option_block.colortexture img {
    width: 100%;
    height: 100px;
}

#configurator_block .option_block.custom {
    min-height: 175px;
    width: 125px;
}

#configurator_block .option_block .option_img>img {
    width: 100%;
}

#configurator_block .option_block.colortexture .option_img {
    width: 100px;
    height: 100%;
    border: 1px solid #d6d4d4;
}

#configurator_block .option_block.selected .option_img {
    border: none;
}

#configurator_block .option_block.custom .option_img {
    height: 120px;
    overflow: hidden;
}

#configurator_block .option_block.custom .option_block_content {
    border: 1px solid #d6d4d4;
}

#configurator_block .option_block.selected .option_block_content {
    border: 1px solid #46a74e;
}

#configurator_block .step-color-texture .option_block,
#configurator_block .step-color-texture .option_block .option_img {
    min-height: auto;
    width: 100px;
    height: 100px;
}

#configurator_block .option_block img {
    margin: 0 auto;
    max-height: 100%;
}

#configurator_block div.checker {
    display: inline-block;
}

#configurator_block .step_options hr {
    border-style: dashed none none;
}

#configurator_block .step_options.collapsing,
#configurator_block .step_options.in {
    padding-left: 25px;
}

#configurator_block .step_options.in {
    border-left: 2px solid #0074df;
}

/********************
    PREVIEW
********************/
#configurator_block>.col-md-3 {
    position: static;
}

#configurator_preview .dl-horizontal dt {
    text-align: left;
    width: 125px;
}

#configurator_preview .dl-horizontal dd {
    margin-left: 130px;
}

#configurator_preview .dl-final-price dt {
    margin-top: 4px;
}

#configurator_preview #final_price,
#configurator_preview #old_price {
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
}

#configurator_preview #old_price {
    text-decoration: line-through;
}

#configurator_preview .list-group {
    max-height: 300px;
    overflow: auto;
}

@media(max-width: 992px) {
    #configurator_preview #configurator-progress {
        display: none;
    }

    #configurator_preview .list-group {
        max-height: 100px;
    }

    #configurator_preview .list-group .list-group-item {
        padding: 0px 10px;
    }

    #configurator_preview .list-group .list-group-item strong {
        display: inline-block;
    }
}

#configurator_preview .list-group-item strong {
    /*text-transform: uppercase;*/
}

#configurator_preview .advantage {
    color: #b53930;
}

#configurator_preview dt.advantage {
    white-space: normal;
    margin-top: -5px;
}

#configurator_preview {
    background: #fff;
    padding: 20px;
    border-top: 1px solid rgb(170, 170, 170);
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, .2);
}

#configurator_preview .dl-final-price dt {
    display: inline-block;
    width: 50%;
}

#configurator_preview .dl-final-price dd {
    display: inline-block;
    width: 47%;
    text-align: right;
    margin: 0;
}

/********************
    PRICES BLOCK
********************/
.button.configure_link {
    font: 700 17px/21px Arial, Helvetica, sans-serif;
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    padding: 0;
    border: 1px solid;
    border-color: #0079b6 #006fa8 #012740 #006fa8;
    margin: 0 7px 10px;
}

.button.configure_link span {
    border: 1px solid;
    border-color: #06b2e6;
    padding: 10px 14px;
    display: block;
    background: #009ad0;
    background: -moz-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #009ad0), color-stop(100%, #007ab7));
    background: -webkit-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -o-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: -ms-linear-gradient(top, #009ad0 0%, #007ab7 100%);
    background: linear-gradient(to bottom, #009ad0 0%, #007ab7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#009ad0', endColorstr='#007ab7', GradientType=0);
}

.button.configure_link:hover {
    border-color: #01314e #004b74 #0079b6 #004b74;
}

.button.configure_link:hover span {
    filter: none;
    background: #0084bf;
}

#buy_block .configure_link {
    width: 80%;
    text-align: center;
    display: block;
    margin: 15px auto;
}

.our_price_display .from_price {
    display: block;
}

#quantity-configurator-label {
    display: inline-block;
    text-align: left;
    margin-top: 5px;
}

.configurator-qty {
    display: inline-block;
    width: calc(100% - 100px);
    float: right;
}

.configurator-qty .form-group {
    margin-bottom: 5px;
}

.configurator-add button {
    width: 100%;
}


/********************
    CART SUMMARY
********************/
#order .cart_description ul.configurator li strong {
    color: #525252;
}

/********************
    LOADER
********************/
.loading {
    position: relative;
}

.loading:before {
    content: "";
    display: block;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background-image: url("../img/loader.gif");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35% auto;
}

/********************
    PROGRESS BAR
********************/
#configurator-progress {
    height: 80px;
    margin: 25px auto;
    position: relative;
    width: 80px;
}

#configurator-progress:after {
    content: "";
    background: url('../img/progress-bg.png') no-repeat 0px 0px / 100px 100px;
    display: block;
    position: absolute;
    z-index: 1;
    width: 100px;
    height: 100px;
    top: -10px;
    left: -10px;
}

#configurator-progress strong,
#configurator-progress canvas {
    position: relative;
    z-index: 2;
    color: #8b7f76;
    text-shadow: 0px 1px 30px rgba(250, 245, 239, 0.5);
}

#configurator-progress strong {
    font-size: 25px;
    left: 0;
    position: absolute;
    text-align: center;
    top: 29px;
    width: 100%;
}

/********************
    TABS
********************/
#configurator-tabs {
    text-align: center;
    margin-bottom: 20px;
}

#configurator-tabs li:hover,
#configurator-tabs li:active,
#configurator-tabs li:focus {
    text-decoration: none;
}

#configurator-tabs li {
    background: #eee none repeat scroll 0 0;
    color: #333;
    cursor: pointer;
    display: inline-block;
    /*float: left;*/
    line-height: 45px;
    padding: 0;
    text-align: center;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #fff;
}

#configurator-tabs li:nth-last-child(-n + 1 of :not([data-display=false])) {
    border: none;
    border-radius: 0 7px 7px 0;
}

#configurator-tabs li:not([data-display=false]):first-child {
    border-radius: 7px 0 0 7px;
}

#configurator-tabs li:not([data-display=false]):only-child {
    border-radius: 7px 7px 7px 7px;
}

#configurator-tabs li[data-selected=true] {
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
    background: #0088C2;
    color: white;
}

#configurator-tabs li[disabled] {
    opacity: 0.5;
    cursor: default;
}

#configurator_block.tabs {
    margin: 0;
}

.accordion-opened {
    border-color: #3276b1;
}

.configurator-tab-page {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

.accordion-opened .configurator-tab-page {
    background: #3276b1;
    color: #fff;
}

.configurator-tab-page i {
    transform: rotate(90deg);
}

.accordion-opened .configurator-tab-page i {
    transform: rotate(-90deg);
}

.configurator-accordions-actions {
    text-align: center;
    margin: 1rem;
}

#configurator_block label span.label-default {
    /*border:1px solid rgba(0,0,0,.15);*/
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    background: #2fb5d2;
    color: white;
    display: inline-block;
    margin-left: 5px;
    padding: 0 3px !important;
}

#configurator_block h1 span {
    text-transform: none;
    font-weight: normal;
    font-size: 0.9375rem;
    display: inline-block;
    float: right;
    height: 1.5rem;
    line-height: 1.6rem;
}

#configurator_block .form-group.form-error .form-control,
.form-group.form-ok .form-control {
    padding-right: 30px;
}

#configurator_block .form-group.form-ok input,
.form-group.form-ok textarea {
    border: 1px solid #46a74e;
    margin: 0;
    border: none;
    color: #35b33f;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAAiElEQVQokaXPwQ3DMAgF0D9LVugKhItlxvBOHQBbynBeITm0qSKRpOAg/dvnCYDBYZXCml6j+wCAucnCTVauuZMmeobsqbmHLzPIHpXyK7FKIU1TFJmbLLb0+dlgMeTw8xFzIQDANXdT/GJuBABIE51iFzlFotgt4sVcyD8shFxhQ4jF8tu7swGui+otf3QUOQAAAABJRU5ErkJggg==) 98% no-repeat #ddf9e1;
}

#configurator_block .quantity_wanted.form-group.form-ok input:focus,
#configurator_block .quantity_wanted.form-group.form-error input:focus {
    outline: 0;
}

#configurator_block .form-group.form-error input,
.form-group.form-error textarea {
    border: 1px solid #f13340;
    color: #f13340;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAj0lEQVQokZWRsQ2AMAwEvVLsFuEUzMIKzMIKrMBO6JkAGiJMYiOI5CaXK3Imug5SP4E7oeCAdWw4RJdd8gHWDSkPjeTxclmmll3OnRBYNwusXEuGj4SUB0+OBqLL/YeP8kP6KruSSb6GolPbrRcF+yW5Mljn4NEarirc4xUiCobUTw2s673yAsE6u+EKN9IJydM/ZmaVOVAAAAAASUVORK5CYII=) 98% no-repeat #fff1f2;
}

#configurator_block .input-group-addon {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    background-color: #eeeeee;
    border: 1px solid #d6d4d4;
    border-radius: 0px;
    color: #777;
}

#configurator_block .option_input.form-group {
    height: auto;
}

#configurator_block .step_group.form-group {
    height: auto;
}

#configurator_block input {
    background: white;
    border: 1px solid #d6d4d4;
    margin-left: -1px;
}

#configurator_block .color,
.custom-checkbox input[type="checkbox"]+span.color {
    width: 100px;
    height: auto;
    margin-right: 2px;
    border-shadow: inherit !important;
}

#configurator_block .hidden {
    display: none;
}

#configurator_block .option_block.option_group.colortexture.color.selected {
    border: 1px solid #46a74e;
}

#configurator_block .option_block.option_group.colortexture.color.selected .option_block_content {
    border: none;
    /*border-bottom: 1px solid #46a74e;*/
}

#configurator_block .color:hover {
    /* border: 0px; */
    outline: 0;
    /* margin-top: 6px; */
    border: 0px solid;
    /* margin-top: 5px; */
}

#configurator_block .option_block.colortexture.selected .option_img {
    width: 98px;
}

#configurator_block .color,
#configurator_block .custom-checkbox input[type="checkbox"]+span.color {
    border: inherit;
}

#configurator_block .color.option_block.selected .option_block_content {
    height: 98px !important;
}

#configurator_block .step_group {
    border-left: 18px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding-left: 10px;
    padding-bottom: 10px;
    position: relative;
}

#configurator_block .step_group.info-on-this-step {
    border-color: #2fb5d2;
}

#configurator_block .step_group.error-on-this-step {
    border-color: #f13340;
}

/*#configurator_block .step_group.error-on-this-step label.title .step_title {
    color: #f13340;
}*/

#configurator_block .step_group.info-on-this-step label.title .step_title .material-icons,
#configurator_block .step_group.error-on-this-step label.title .step_title .material-icons {
    color: white;
}

#configurator_block .step_group {
    margin-bottom: 25px;
}

#add_configurator_to_cart {
    padding: .5rem .7rem;
}

#add_configurator_to_cart i {
    margin-right: 0;
}

#add_configurator_to_cart span {
    font-size: .9rem;
}

#tab-action-next-preview {
    margin-top: 1rem;
}


/* CONFIGURATOR STEP ERROR */
.configurator_step_error {
    background: url(../img/icon/form-error.png) no-repeat;
    width: 14px;
    display: inline-block;
    height: 14px;
    margin-right: 5px;
}


/* UPLOAD - WEBCAM */
.step_group .uploader-webcam-block {
    position: relative;
}

.step_group .uploader-webcam-block .uplaoder-webcam-actions {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 25px;
    z-index: 10;
}

.step_group .uploader-webcam-block .uplaoder-webcam-actions .uploader-webcam-picture-btn {
    font-size: 40px;
    border-radius: 50%;
    padding: 10px 30px;
}

.step_group .uploader-webcam-block.preview-on .uplaoder-webcam-actions .uploader-webcam-picture-btn {
    display: none;
}

.step_group .uploader-webcam-block .webcam-preview {
    position: absolute;
    left: 0;
    width: 100%;
}

.step_group .uploader-webcam-block.preview-on .uplaoder-webcam-actions .btn {
    padding: 5px 20px;
    font-size: 30px;
}

.step_group .uploader-webcam-block.preview-off .uplaoder-webcam-actions .btn {
    display: none;
}

.step_group .uploader-webcam-block.preview-off .uplaoder-webcam-actions .uploader-webcam-picture-btn {
    display: inline-block;
}

.step_group .uploader-thumb {
    max-height: 50px;
    padding: 0 10px 0;
}


/* UPLOAD - PROGRESS */
.step_group .configurator-progress {
    height: .5rem;
    background: #f6f6f6;
    margin-top: .5rem;
}

.step_group .configurator-progress .progress-bar {
    height: .5rem;
    background: #0087ff;
}

.step_group .configurator-progress.configurator-upload-finished .progress-bar {
    background: #b1df9e;
}

.step_group .alert-success .configurator-progress.configurator-upload-finished {
    display: none;
}


/* STEP PRODUCTS */
.option_block .option_block_content {
    border: 1px
}

.option_block .option_block_content .product-name {
    height: 80px;
    overflow: hidden;
    display: block;
    font-size: 13px;
}


/* VIEWER 2D */
.dmviewer2d-dropzone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999 !important;
}

.dmviewer2d-dropzone-item {
    border-radius: 50%;
    display: block;
    position: absolute;
    border: rgba(0, 100, 200, 0.5) dotted 1px;
    background: rgba(0, 100, 200, 0.05);
}

.dmviewer2d-dropzone-item img {
    vertical-align: top;
}

.dmviewer2d-dropzone-item-hover,
.dmviewer2d-dropzone-item-selected {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dmviewer2d-dropzone-hover {
    background: rgba(255, 0, 0, 0.2)
}

.dmviewer2d-step-dropzone .option_block .option_img {
    overflow: initial !important;
}

.dmviewer2d-step-dropzone .option_block .option_img .ui-draggable.ui-draggable-dragging {
    z-index: 10000;
    width: 18px !important;
}

.dmviewer2d-step-dropzone .quantity_wanted {
    display: none !important;
}

.configurator-custom-left-column .configurator-product-cover .images-container .product-cover {
    display: block;
}

.configurator-custom-left-column .viewer2d-cover-container,
.configurator-custom-left-column .builder2d-cover-container {
    display: none;
}

.configurator-custom-left-column #viewer2d-back-to-cover,
.configurator-custom-left-column #builder2d-back-to-cover {
    display: block;
}

.configurator-custom-left-column #viewer2d-back-to-cover button,
.configurator-custom-left-column #builder2d-back-to-cover button {
    margin: .5rem auto;
    display: inherit;
}

.configurator-custom-left-column[data-configurator-view="2d"] .configurator-product-cover .images-container .product-cover {
    display: none;
}

.configurator-custom-left-column[data-configurator-view="2d"] .viewer2d-cover-container,
.configurator-custom-left-column[data-configurator-view="2d"] .builder2d-cover-container {
    display: block;
}

.configurator-custom-left-column[data-configurator-view="2d"] #viewer2d-back-to-cover,
.configurator-custom-left-column[data-configurator-view="2d"] #builder2d-back-to-cover {
    display: none;
}

.hide-btn {
    display: none !important;
}

/* QUANTITY */
.configurator-quantity-minus,
.configurator-quantity-plus {
    padding: .625rem .7rem !important;
}

.quantity_wanted input::-webkit-outer-spin-button,
.quantity_wanted input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.quantity_wanted input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.btn-configurator {
    color: #000 !important;
    background: #ddd !important;
}

.configurator-ral-list li {
    float: left;
    width: 100px;
    padding: 10px;
}

.configurator-ral-attribute {
    width: 80px;
    height: 50px;
    cursor: pointer;
}

#configurator_block input[readonly=readonly] {
    background-color: #f6f6f6;
    cursor: pointer;
}

#configurator_block .btn-configurator-ral {
    cursor: pointer;
    background: #2fb5d2;
    color: white;
    font-weight: bold;
}

/* BADGE REDUCTION */
.badge-reduction {
    background-color: #f39d72;
    font-weight: 700;
    padding: .3125rem .4375rem;
    text-transform: uppercase;
    color: #fff;
    font-size: 1rem;
}