.tool_a textarea{
    margin-bottom: 0;
}

.divbuts{
    text-align: center;
    margin: 1rem 0 0 0;
    margin-bottom: 0;
}

.divbuts button{
    padding: 0.4rem 0.8rem;
    background-color: #4CAF50;
    border: 1px solid #4caf50;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.2rem;
}

.divbuts button.demo_buts {
    background-color: #fff;
    border: 1px solid #FF9800;
    color: #ff9800;
}

.night .divbuts button.demo_buts{
    background-color: #030712;
    border: 1px solid #374151;
    color: #8ba0c3;
}

.divbuts button.clear_buts {
    background-color: #fff;
    color: #888;
    border: 1px solid #eee;
}

.night .divbuts button.clear_buts {
    border: 1px solid #374151;
    color: #4c5d78;
    background-color: #141822;
}

.res{
    margin-top: 1rem;
    border: 1px solid #a0e5c6;
    background: #f8fafe;
    border-radius: 3px;
    padding: 1rem 0;
    text-align: center;
}

.night .res{
    border: 1px solid #374151;
    background-color: #0f1827;
}

.res img{
    width: 40%;
}

.res div.tip{
    font-size: 1rem;
    padding: 1rem 0;
    color: #cbe3d8;
}

.night .res div.tip{
    color: #374151;
}

.res div.but{
    margin-top: 1rem;
}

.res div button{
    height: 1.6rem;
    line-height: 1.6rem;
    padding: 0 1.5rem;
    border: 1px solid #a0e5c6;
    background-color: #ffffff;
    border-radius: 3px;
    color: #07814b;
}

.night .res div button{
    background-color: #141822;
    border: 1px solid #374151;
    color: #888;
}

@media screen and (max-width: 890px) {
    .res img {
        width: 80%;
    }
}