.calc_csr{
    padding: 0.25rem;
    border: 1px solid #eeeeee;
    border-radius: 3px 3px 0 0;
}

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

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

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

.rsacentdiv{
    padding: 0.5rem;
    border: 1px solid #eee;
    margin-bottom: 0.75rem;
}

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

.rsacentdiv>div{
    width: calc(50% - 0.25rem);
    display: inline-block;
    float: left;
}

.rsacentdiv>div:last-child{
    float: right;
}

.rsacentdiv h4{
    font-size: 0.6rem;
    margin-bottom: 0.4rem;
}

.rsacentdiv i{
    margin-left: 0.5rem;
    font-size: 0.6rem;
    color: #05b672;
    cursor: pointer;
}

.rsacentdiv textarea{
    height: 10rem;
    display: block;
    resize: none !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;
}

@media screen and (max-width: 980px){
    .calc_csr>div {
        width: 100%;
    }
}

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

@media screen and (max-width: 560px){
    .calc_csr>div {
        width: 100%;
    }
}

@media screen and (max-width: 420px){
    .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);
        margin-top: 0.5rem;
        float: left;
    }
    .divbuts button:nth-child(4){
        width: calc(50% - 0.25rem);
        margin-top: 0.5rem;
        float: right;
    }
}

.ipdivsres{
    display: block;
    margin-top: 0;
    max-width: 100%;
}

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

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

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

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


@media screen and (max-width: 495px){
    .rsacentdiv>div {
        width: 100%;
        display: inline-block;
    }
    .rsacentdiv>div:nth-child(2) {
        float: right;
        margin-top: 0.5rem;
    }
}
