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

.mlr{
    width:20rem;
    padding-left: 0.75rem;
}
.mlr>div{
    padding: 0.25rem;
    border: 1px solid #eee;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}
.night .mlr>div{
    border:1px solid #444;
}
:root {
    --bgcolor:#393d49;
    --yincolor:#01aaed;
    --sp:3px;
    --cz:3px;
    --mh:7px;
}
.mlf{
    width:calc(100% - 20rem);
    height: 17rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #eee;
}
.night .mlf{
    border: 1px solid #444;
}
.demodiv{
    width: 60%;
    height: 40%;
    border: 0;
    border-radius: 6px;
    background-color: var(--bgcolor);
    box-shadow: var(--sp) var(--cz) var(--mh) var(--yincolor);
}
.demodiv.neis{
    box-shadow: var(--sp) var(--cz) var(--mh) var(--yincolor) inset;
}
.butdivbut{
    height: 1.8rem;
    line-height: 1.8rem;
    display: block;
    background-color: #06b672;
    border: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.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%;
        height: 8rem;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
}