html {
overflow-x: hidden;
touch-action: pan-y; 
}
.mdiv{
    display: flex;
}

.mlf{
    width: calc(100% - 20rem);
    border: 1px solid #eee;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.mlf div.tuxings{
    width: 300px;
    height: 300px;
}

.mlf div.tuxings canvas{
    width:100%;
    height: 100%;
}

.mlr{
    width:20rem;
    padding-left: 0.75rem;
    float:right;
}
.mlr>div{
    padding: 0.25rem;
    border: 1px solid #eee;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.mlr>div:last-child{
    margin-bottom: 0rem;
}

.mlr>div>span{
    display: block;
    padding: 0.5rem 0;
    font-size: 0.65rem;
    cursor: pointer;
}

.mlr>div>span i{
    font-size: 0.65rem;
    margin-right: 0.25rem;
    font-weight: bold;
}

.mlr>div>div{
    display: none;
}

.repeat_c{
    display: none;
}

.night .mlr>div{
    border:1px solid #444;
}

.night .mlf{
    border: 1px solid #444;
}

.butdivbut{
    height: 1.8rem;
    line-height: 1.8rem;
    border: 1px solid #06b672;
    text-align: center;
    margin: 0.5rem 0 0.5rem 0;
    cursor: pointer;
    background-color: #06b672;
    color: #fff;
    border-radius: 3px;
}

.color_inp{
    width: calc(100% - 1.9rem);
    float: left;
}
.layui-colorpicker{
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-left: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-left: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    clear: none !important;
    float: left;
}
@media screen and (max-width: 1290px){
    .mdiv {
        display:block;
    }
    .mlf {
        width:100%;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
    .mlf div.tuxings{
        margin: 1rem auto;
    }
}

@media screen and (max-width: 360px) {
    .mlf div.tuxings{
        width: 100%;
        padding-top: 100%;
        height: unset;
        position: relative;
    }

    .mlf div.tuxings canvas{
        position: absolute;
        left: 0;
        top: 0;
    }
}