.idl{
    width: calc(100% - 20rem);
    float: left;
    display: inline-block;
}

.idl_div{
    background-color: #f6f7fa;
    padding: 2.2rem 0;
    text-align: center;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC);
}

.idl_div canvas{
    max-width: 17rem;
    width: 100%;
    height: auto;
}
.night .idl_div{
    background-image: linear-gradient(to right, #333, #333);
}

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

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

.idr>div h2{
    height: 1.6rem;
    line-height: 1.6rem;
    font-size: 0.65rem;
    padding-left: 0.5rem;
    background-color: #e8e8fd;
    cursor: pointer;
}

.night .idr>div h2{
    background-color: #222;
}

.imglists{
    padding: 0.25rem;
    display: none;
    max-height: 365px;
    overflow: hidden;
    overflow-y: auto;
}

.imglists::-webkit-scrollbar {
    width: 0px;
}

.idr .act .imglists{
    display: block;
}

.night .idr .act .imglists{
    border-top: 1px solid #444;
}

.imglists>div{
    float: left;
    display: inline-block;
    width: calc(100% / 4);
    padding: 0.25rem;
    position: relative;
}

.imglists>div::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.imglists>div div{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.25rem;
}

.imglists>div div img{
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
}

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

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

.gbuts{
    padding: 0.5rem;
    border-radius: 3px;
    margin-top: 0.5rem;
    border: 1px solid #e8e8fd;
    background-color: #f6f7fa;
}

.night .gbuts{
    background-color: #444;
    border: 1px solid #222;
}

.gbuts span{
    height: 1.7rem;
    line-height: 1.7rem;
    background-color: #2196f3;
    display: inline-block;
    padding: 0 0.75rem;
    color: #fff;
    border-radius: 4px;
    float: left;
    cursor: pointer;
}

.gbuts span.le{
    float: right;
    background-color: #fff;
    color: #666;
    border: 1px solid #bbb;
}

.night .gbuts span.le{
    background-color: #333;
    color: #ccc;
    border: 1px solid #666;
}

.gbuts div{
    display: inline-block;
    height: 1.7rem;
    line-height: 1.7rem;
    background-color: #06b672;
    color: #fff;
    padding: 0 0.2rem;
    float: left;
    margin-left: 0.5rem;
    border-radius: 4px;
}

.gbuts div i{
    font-style: normal;
    display: inline-block;
    height: 1.3rem;
    line-height: 1.3rem;
    padding: 0 0.5rem;
    font-size: 0.6rem;
    color: #fff;
    cursor: pointer;
}

.gbuts div i:last-child{
    margin-left: 0.2rem;
}

.gbuts div i.act{
    color: #666;
    border-radius: 4px;
    background-color: #fff;
}

.canvas-container{
    margin:auto;
}

.cropper_buts{
    padding: 10px 5px;
}
.cropper_buts span{
    height: 1.4rem;
    line-height: 1.4rem;
    width: 1.8rem;
    display: inline-block;
    text-align: center;
    border: 1px solid #eee;
    font-weight: bold;
    font-size: 0.7rem;
    margin: 0 0 0 0.2rem;
    border-radius: 4px;
    cursor: pointer;
}
.night .cropper_buts span{
    border: 1px solid #555;
    color: #ccc;
}
.cropper_buts span.act{
    background-color: #2196f3;
    border: 1px solid #2196f3;
    color: #fff;
}
.cropper_buts span.lr{
    font-weight: unset;
    font-size: 0.6rem;
    margin-right: 0.25rem;
}


@media screen and (max-width: 1124px){
    .idl{
        width: 100%;
    }
    .idr{
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 0.75rem;
    }
}

@media screen and (max-width: 382px){
    .gbuts span{
        text-align: center;
        width: 100%;
    }
    .gbuts div{
        width: 100%;
        margin: 0.25rem 0;
        text-align: center;
    }
    .gbuts div i {
        width: calc(50% - 0.1rem);
    }
}