html {
    overflow-x: hidden;
    touch-action: pan-y; 
}
.idl{
    width: calc(100% - 20rem);
    float: left;
    display: inline-block;    
}

.idl #canvas{
    padding: 1%;
    text-align: center;
    height: auto;
    margin: auto;
    position: relative;
    overflow: auto;
    background-color: #f6f7fa;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
}

.night .idl #canvas{
    background-image: linear-gradient(to right, #333, #333);
}

.idr{
    width: 20rem;
    display: inline-block;
    float: right;
    padding: 0 0 0 0.75rem;
}

.idr>div{
    padding: 0.25rem;
    border: 1px solid #e8e8fd;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

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

.idr>div>.layui-form-radio{
    margin-left: 0 !important;
    margin-bottom: 0.5rem !important;
    margin-top: 0.25rem !important;
}

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

.butdivs{
    padding: 0.75rem 0;
    text-align: center;
    margin-bottom: 0;
    border: 1px solid #e8e8fd;
    margin-top: 0.75rem;
}

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

.butdivs span{
    padding: 0 0.75rem;
    display: inline-block;
    background-color: #06b672;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    height: 29px;
    line-height: 29px;
}

.layui-colorpicker{
    border-top: 0;
    border-bottom: 0;
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-right: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    float: left;
    clear: none !important;
}
.color_inp{
    border-top: 0;
    border-right: 0px;
    border-bottom: 0px;
    width: calc(100% - 1.9rem);
    float: left;
}

.repeat_c,.repeat_b{
    display: none;
}

@media screen and (max-width: 1500px){
    .idl{
        width: 100%;
    }
    .idr{
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 0.75rem;
    }
    .idr>div{
        width:calc(50% - 0.375rem);
        display: inline-block;
        float: left;
    }
    .idr>div.fiss{
        margin-left:0.75rem;
    }
}
@media screen and (max-width: 1200px){
    .idr>div{
        width:100%;
    }
    .idr>div.fiss{
        margin-left:0;
    }
}