.idl{
    width: calc(100% - 20rem);
    float: left;
    display: flex;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #eee;
    justify-content: center;
    align-items: center;
    height: 12.2rem;
    overflow: hidden;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
}

.idl canvas {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.dld{
    display: block;
    margin-top: 0.25rem;
}

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

.night .idl{
    border: 1px solid #444;
    background-image: unset;
    background-color: #181a1b;
}

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

.idr>.butdivs{
    padding: 0.25rem;
    margin-bottom: 0;
}

.idr>.butdivs button{
    display: block;
    background-color: #2196F3;
    border:0;
    width: 100%;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    height: 1.9rem;
    line-height: 1.9rem;
    font-size: 0.7rem;
    cursor: pointer;
}

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

.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: 1284px){
    .idl{
        width: 100%;
        min-height: 8rem;
    }
    .idr{
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 0.75rem;
    }
}
@media screen and (max-width: 360px){
    .idl {
        padding: 1rem 0;
    }
}
