:root {
    --divdemo:#000000;
   --fontsize:25px;
   --niebian:10px;
   --wyuanjiao:0px;

   --acolor:#fff;
   --abgcolor:#000000;
   --abr:6px;

   --bcolor:#000;
   --bbgcolor:#ff9903;
   --bbr:6px;
}

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

.demos{
    background-color: var(--divdemo);
    border:1px solid var(--divdemo);
    padding: var(--niebian);
    font-size: var(--fontsize);
    border-radius: var(--wyuanjiao);
}

.demos_a{
    font-weight: bold;
    padding: 0 5px;
    border:0;
    color: var(--acolor);
    border-radius: var(--abr);
    background-color: var(--abgcolor);
}

.demos_b{
    font-weight: bold;
    padding: 0 5px;
    border:0;
    color: var(--bcolor);
    border-radius: var(--bbr);
    background-color: var(--bbgcolor);
}

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