.idl{
    width: calc(100% - 20rem);
    float: left;
    display: flex;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e8e8fd;
    justify-content: center;
    align-items: center;
    min-height: 10rem;
    overflow: hidden;
}

.demos{
    width: 250px;
    height: 250px;
    max-width: 100%;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
}


.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;
}
.idr>div{
    padding: 0.25rem 0.25rem 0 0.25rem;
    border: 1px solid #e8e8fd;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

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

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

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

.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;
}

@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;
    }
}
@media screen and (max-width: 314px){
    .idr>div span {
        padding: 5px 5px;
    }
}