
#module-workplaceconfigurator-detail main > .container{
    width : 100%;
    max-width: 100%;
}

#app {
    z-index: 0;
    background: white;
}

.draggable {
    padding: 0px;
    left: 0px;
    top: 0px;
    margin: 0;
    font-size: .9em;
    position: absolute;
    cursor: move;
    overflow: hidden;
    /* mix-blend-mode: multiply !important; */
    border: none !important;
}
.draggable.selected {
    overflow: visible;
}

.product-image {
    display: block;
    max-width: 100%;
}

.opener {
    height : 100%;
    padding: 0 5px;
    background-color: white;
    /*display: none;*/
}
.open .opener {
    display: block;
}
.app_row{
    width: 100%;
    position: relative;
    display: flex;
    height: 590px;
}
.left_side{
    width: 310px;
    height: 100%;
    border: 1px solid #c2c2c2;
    font-size: 12px;
    z-index: 99999999;
}

.left_side .product_list{
    display: flex;
    flex-wrap: wrap;
}

.left_side .scroll-area {
    height: calc(100% - 67px);
    overflow-y: scroll;
}

.left_side .category {
    text-align: center;
}

.left_side .item{
    padding: 10px;
    width : calc(50% - 6px);
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    border: 1px solid #c2c2c2;
    margin: 3px;
    transition: all .2s linear;
    background: #f7f7f7;
}
.left_side .item:hover{
    border: 1px solid #000;
}
.left_side .item img{
    width : auto;
    /* height: auto; */
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 5px;
    cursor: copy;
    height: 150px;
    object-fit: contain;
}



.workspace{
    height: 65px;
    width: 300px;
    display: flex;
    padding-bottom: 10px;
    padding-top: 10px;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    /* border-bottom: 1px solid #c2c2c2; */
    position: relative;
}
.workspace .workspace_inputs{
    position: absolute;
    background: #fff;
    width: 100%;
    height: 55px;
    border-bottom: 1px solid #c2c2c2;
    align-items: center;
    left: 0;
    /* top: 100%; */
    padding: 0 9px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    max-height: 0;
    transition: all .2s linear;
    opacity: 0;
}
.workspace .workspace_inputs.opened{
    max-height: 55px;
    opacity: 1;
}
.workspace_inputs input{
    width : 111px;
    height: 44px;
    border: 1px solid #000;
    text-align: center;
}
.workspace_inputs button{
    width: 49px;
    height: 44px;
    cursor: pointer;
    border: none;
    background: url(../img/success.svg) center / 30px no-repeat;
}
.workspace_inputs button:focus{
    outline: none;
}
.workspace .workspace_size{
    text-align: center;
    width : 110px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    font-size: 14px;
    color: #000;
    font-weight: 700;
    position: relative;
    height: 44px;
    margin-left: 10px;
    /*background: url(../img/wall.jpg) left top / 413px repeat;*/
}
.workspace input:focus{
    outline: none;
}
.workspace .workspace_size:before{
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    width : calc(100% + 4px);
    height : calc(100% + 4px);
    background: url(../img/size.svg) center / 100% no-repeat;
}
.workspace .change_workspace{
    text-align: center;
    padding: 10px;
    background: #5390CE;
    white-space: nowrap;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    border-radius: 2px;
}




.center_part{
    width: calc(100% - 610px);
    background: linear-gradient(
            45deg
            , rgba(0, 0, 0, 0) 49.9%, #e4d06d 49.9%, #e4d06d 60%, rgba(0, 0, 0, 0) 60%) fixed, linear-gradient(
            45deg
            , #e4d06d 10%, rgba(0, 0, 0, 0) 10%) fixed;
    background-size: 0.5em 0.5em;
}
.center_part #drag{
    background: url(../img/wall.jpg) left top / 770px repeat;
    border-top: 1px solid #c2c2c2;
    border-bottom: 1px solid #c2c2c2;
    margin: 0 auto;
    box-shadow: 0 0 50px rgb(0 0 0 / 31%) inset;
}
.right_side{
    width: 300px;
    height: 100%;
    overflow-y: auto;
    letter-spacing: 0;
    font-size: 12px;
    position: relative;
    border-left: 1px solid #c2c2c2;
    border-right: 1px solid #c2c2c2;
}
.right_side table{
    /* border: 1px solid #c2c2c2; */
    position: relative;
    width : 100%;
}
.right_side table.table_head{
    position: sticky;
    top: 0;
    z-index: 2;
    left: 0px;
}
.right_side table td,
.right_side table th{
    /* border-top: 1px solid #c2c2c2; */
    padding: 10px 0;
    text-align: center;
    position: relative;
}
.right_side table td:nth-child(1),
.right_side table th:nth-child(1){
    width : calc(100% - 85px);
    padding: 10px 10px 10px 15px;
    text-align: left;
}
.right_side table th{
    background: #505050;
    color: #fff;
    letter-spacing: 1px;
    border: 1px solid #505050;
    font-weight: 700;
}
.right_side table tr{
    transition: all .2s linear;
}
.right_side table tr:nth-child(2n){
    background: #f7f7f7;
}
.right_side table tr.delete_row{
    background: #ffe5d9;
}
.right_side table tr .product_additional_info{
    max-height: 0;
    overflow: hidden;
    transition: all .2s linear;
    opacity: 0;
}
.right_side table tr .product_additional_info.opened{
    margin-top: 10px;
    max-height: 250px;
    opacity: 1;
}

.right_side table i.delete_icon{
    color: #a5a5a5;
    cursor: pointer;
    font-size: 20px;
    float: none !important;
    transition: all .2s linear;
}
.right_side table i.delete_icon:hover{
    color: #000;
}
.right_side .table_head i.delete_icon{
    color: #fff;
    cursor: inherit;
}
.right_side .table_head i.delete_icon:hover{
    color: #fff;
}
.right_side table td .product_count{
    color: #5390CE;
    font-weight: bold;
    font-size: 14px;
    /* display: none; */
}
.right_side table td:nth-child(1){
    padding-right: 30px;
}
.right_side table td .arrow{
    position: absolute;
    right: 0;
    top: calc(50% - 13px);
    cursor: pointer;
    font-size: 18px;
}
.right_side table td .arrow i{
    transition: all .2s linear;
}
.right_side table td .arrow i.opened{
    transform: rotate(-180deg);
}
.right_side table td strong{
    font-weight: 700;
}
.right_side .buttons_wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 5px 0 5px;
    background: #fff;
    border-left: 1px solid #c2c2c2;
    /* border-right: 1px solid #c2c2c2; */
    border-bottom: 1px solid #c2c2c2;
    flex-wrap: wrap;
}
.right_side .buttons_wrap .btn{
    padding: 10px 12px;
    font-weight: 700;
    width: calc(50% - 10px);
    margin: 0 5px 10px;
    transition: all .2s linear;
    border-radius: 2px;
}
.right_side .buttons_wrap .btn.reset{
    background: #c5c5c5;
    color: #333;
    /* border: 2px solid #828282; */
}
.right_side .buttons_wrap .btn.save{
    background: #c5c5c5;
    color: #333;
}

.btn.back{
    background: #c5c5c5;
    color: #333;
}

.right_side .buttons_wrap .btn.add_to_cart{
    /*background: #3083c9;*/
    background : #000000;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.right_side .buttons_wrap .btn.add_to_cart:hover{

}
.right_side .buttons_wrap .btn.add_to_cart:before{
    background: url(../img/cart.svg) center / contain no-repeat;
    content: '';
    margin-right: 10px;
    width : 20px;
    height : 20px;
    display: inline-block;
}
.right_side .buttons_wrap .btn.reset:hover,
.right_side .buttons_wrap .btn.save:hover{
    background: #333;
    color: #fff;
}
.right_side .buttons_wrap .btn.add_to_cart:hover{
    background : #333;
}
.right_side .table_total{
    background: #fff;
    z-index: 3;
    font-size: 16px;
}
.right_side .table_total strong{
    font-weight: 700;
}
.right_side .bottom{
    position: absolute;
    bottom: 0px;
    left: -1px;
    width: calc(100% + 1px);
    box-shadow: 0 0 20px #00000017;
}
.right_side .table_wrap{
    width: calc(100% + 1px);
    max-height: calc(100% - 210px);
    overflow-y: auto;
    margin-left: -1px;
}
.add_product_button{
    display: none;
    position: absolute;
}
#module-workplaceconfigurator-detail #header {
    z-index: 100000000;
}
#hover_product {
    position: absolute;
    bottom: 91px;
    /* left: 38px; */
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    width: 200px;
    height: 100px;
    z-index: 10000;
}

@media(max-width: 1120px){
    .opener {
        display: none;
    }
    .add_product_button{
        display: inline-block;
        width: auto;
        background: rgb(255 255 255 / 72%);
        border-radius: 2px;
        margin: 10px;
        padding: 5px 10px;
    }
    .add_product_button span{
        background: green;
        display: inline-block;
        width : 24px;
        height : 24px;
        line-height: 24px;
        text-align: center;
        margin-right: 5px;
        border-radius: 50%;
        color: #fff;
    }
    .open .opener{
        display: block;
        height: calc(100% - 54px);
    }
    .left_side {
        border : none;
        height: fit-content;
        position: absolute;
        /* top: -65px; */
    }
    .left_side.open{
        height: calc(100% + 65px);
        max-height: calc(100% + 65px);
    }
    .center_part {
        width : calc(100% - 300px);
    }
    #module-workplaceconfigurator-detail .app_row {
        margin-top: 65px;
    }
    .workspace{
        border: none;
    }
    .workspace .workspace_size{
        margin-left: 0;
    }
    .workspace .workspace_inputs {
        padding       : 0 9px 0 0;
    }
}
@media(max-width: 767px){
    .center_part {
        width: 100%;
        /* height: 570px; */
    }
     .workspace {
        width : 309px;
        float: left;
    }

    .left_side {
        /* z-index: 10; */
        width: 100%;
        clear: both;
        max-height: 633px;
    }
    .add_product_button {
        margin: 14px 0 0 0;
    }
    .left_side .product_list {
        clear: both;
        height: calc(100% - 12px);
    }
    .left_side .item {
        width   : calc(25% - 6px);
    }
    .right_side{
        width : 100%;
        height : auto;
        margin-top: 20px;
    }
    #module-workplaceconfigurator-detail .app_row {
        flex-direction: column;
        height: auto;
    }
    .right_side .bottom{
        position: relative;
    }
    .right_side .table_wrap {
        max-height : fit-content;
    }
}
@media(max-width: 500px){
    .center_part {
        /* height: 490px; */
    }
    .left_side .item {
        width: calc(33% - 6px);
    }
    .add_product_button {
        margin: 0;
        clear: both;
        float: left;
    }
    .open .opener {
        /* margin-top: 108px; */
        height: 590px;
    }
    .left_side.open {
        max-height: 512px;
    }
}

@media(max-width: 360px){
    .left_side .item {
        width: calc(50% - 6px);
    }
}


.draggable {
    border: transparent solid 1px !important;
}
.draggable.selected {
    border-color: #5390CE !important;
}

.draggable .delete_icon{
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 15px;
    cursor: pointer;
}

.draggable.selected .delete_icon {
    display: block;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.draggable .msg{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 15px;
    cursor: pointer;
}

.draggable.selected .msg {
    display: block;
}

.draggable img {
    display: block;
}

.js-add-product img {
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none;
}


#app .ui-widget-content {
    background: none !important;
}

.series {
    height: 66px;
    display: flex;
    justify-content: start;
    align-items: center;
}


@media (min-width: 1120px) {
    .workspace {
        position: absolute;
        left: 312px;
        z-index: 1;
        padding-top: 13px;
    }
}

#save_modal {
    z-index: 999999999 !important;
}

.alert_workspace{
    width: 50%;
    position: absolute;
    left: 312px;
    text-align: center;
    padding: 10px;
    margin-top: 65px;
    background: #F76F2F;
    white-space: unset;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    border-radius: 2px;
    z-index: 1;
    display: none;
}