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

/***************************************************/

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

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

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

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

.calc_csrres div strong{
    font-weight: unset;
}

.calc_csrres div span{
    float: right;
    color: #888;
    cursor: pointer;
    margin-left: 0.5rem;
}

.calc_csrres textarea{
    border: 1px solid #eee;
    color: rgba(0, 0, 0, .85);
    width: 100%;
    height: 8rem;
    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;
    }
}

/***************************************************/

.setupdivs>div {
    width: 50%;
    float: left;
}

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

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

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

/***************************************************/

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

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