.sm4{
    padding: 0.25rem;
    border: 1px solid #eeeeee;
    margin-top: 0.75rem;
    border-radius: 3px 3px 0 0;
}

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

.sm4>div{
    padding: 0.25rem;
    width: 50%;
    float: left;
}

.sm4>div>div{
    margin-bottom: 0 !important;
}


.divbuts{
    padding: 0.5rem;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.night .divbuts{
    border:1px solid #444;
    border-top:0;
}

.divbuts button{
    padding: 0.4rem 1rem;
    text-align: center;
    border: 0;
    background-color: #607D8B;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.divbuts button:nth-child(1) {
    background-color: #009688;
}

.divbuts button:nth-child(2) {
    background-color: #795548;
}

.divbuts button:last-child{
    background-color: #37474F;
}

@media screen and (max-width: 1023px){
    .sm4>div{
        width: 100%;
        float: unset;
    }
}

@media screen and (max-width: 886px){
    .sm4>div{
        width: 50%;
        float: left;
    }
}

@media screen and (max-width: 728px){
    .sm4>div{
        width: 100%;
        float: unset;
    }
}

@media screen and (max-width: 510px){
    .divbuts button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .divbuts button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .divbuts button:nth-child(3){
        width: calc(50% - 0.25rem);
        float: left;
        margin-top: 0.5rem;
    }
    .divbuts button:nth-child(4){
        width: calc(50% - 0.25rem);
        float: right;
        margin-top: 0.5rem;
    }
    .divbuts button:nth-child(5){
        width: 100%;
        margin-top: 0.5rem;
    }
}


.sm4rem{
    border: 1px solid #e8e8fd;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.75rem;
    display: none;
}

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

.sm4rem h3{
    margin-bottom: 0.5rem;
    font-size: 0.6rem;
}

.sm4rem textarea{
    border: 1px solid #e8e8fd;
    color: rgba(0, 0, 0, .85);
    width: 100%;
    height: 6rem;
    padding: 0.5rem;
    font-size: 0.65rem;
    display: block;
}

input[name="iv"],input[name="key"]{
    width: calc(100% - 38px - 0.5rem);
    float: left;
}

.sm4 .icons{
    height: 38px;
    line-height: 38px;
    width: 38px;
    text-align: center;
    font-size: 1rem;
    float: right;
    color: #696969;
    border: 1px solid #eee;
    cursor: pointer;
}

.night .sm4 .icons{
    color: #aaa;
    border: 1px solid #444;
    background-color: #181a1b;
}