#pers_body, h1, h2, h3, h4, h5, p {
    font-size: 1.2em;
    line-height: 1.5em;
}

#pers_body {
    background-color: #f5f5f5;
    padding: 25px;
}

/*Modal window*/

#ModalAddAbon {
    width: 600px;
    height: 300px;
    padding: 18px 10px;
    border-radius: 4px;
    background: #fafafa;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: auto;
    display: none;
    opacity: 0;
    z-index: 38;
    text-align: center;
}


#ModalAddAbonBody {
    margin-top: 50px;
}

#ModalAddAbon #ModalAddAbon__close {
    width: 21px; height: 21px;
    position: absolute;
    font-size: 29px;
    top: 7px;
    right: 10px;
    cursor: pointer;
    display: block;
}

#win_loading {
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 38;
    display: none;
    align-items: center;
    align-content: center;
    justify-content: center;
    overflow: auto;
}

#win_loading div {

}

#ModalOverlay {
    z-index: 37;
    position: fixed;
    background: rgba(0,0,0,.3);
    width: 100%; height: 100%;
    top: 0; left: 0;
    cursor: pointer;
    display: none;
}

/*******/

.table_form {
    width: 400px;
    margin: auto;
    text-align: left;
}

/*Сисок доданих абонентів*/

#list_abon{
    margin-top: 30px;
    width: 100%;
    height: auto;
}

.table_abon {
    width: 95%;
}

.table_abon td {

    cursor: pointer;
    text-align: left;
}

.bill_table {
    width: 100%;
    height: auto;
}

.bill_table table{
    width: 100%;
    font-size: 0.73em;
    text-align: center;
}

.bill_table table td {
    border: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
}

.bill_table thead td {
    border: 1px solid black;
    background-color: lightskyblue;
}

.select_bill {
    width: auto;
    height: auto;
}

#new_count {
    width: 120px;
    font-size: 1em;
}


@media screen and (max-device-width: 900px) {
    #pers_body, h1, h2, h3, h4, h5{
        font-size: 1em;
        line-height: 1.2em;
    }

    #pers_body p, td{
        font-size: 1.1em;
    }

    #pers_body .btn btn-primary {
        font-size: 0.8em;
    }

    #ModalAddAbon {
        width: 250px;
        height: 200px;
        padding: 6px 3px;
        border-radius: 1px;
        background: #fafafa;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        margin: auto;
        display: none;
        opacity: 0;
        z-index: 38;
        text-align: center;
    }

    #ModalAddAbonBody {
        margin-top: 30px;
    }

    #ModalAddAbon #ModalAddAbon__close {
        width: 21px; height: 21px;
        position: absolute;
        font-size: 19px;
        top: 7px;
        right: 10px;
        cursor: pointer;
        display: block;
    }


    #ModalAddAbon input {
        width: 75%;
        height: 75%;
        font-size: 0.9em;
    }
    .table_form {
        width: 220px;
        margin: auto;
        text-align: left;
    }

}

@media screen and (max-device-width: 560px) {
    #pers_body, h1, h2, h3, h4, h5 {
        font-size: 0.8em;
        line-height: 1em;
    }

    #pers_body p, td{
        font-size: 0.9em;
    }

    #bill_print {
        display: none;
    }

    #pers_body .btn btn-primary {
        font-size: 0.8em;
    }

    #ModalAddAbon {
        width: 220px;
        height: 200px;
        padding: 6px 3px;
        border-radius: 1px;
        background: #fafafa;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        margin: auto;
        display: none;
        opacity: 0;
        z-index: 38;
        text-align: center;
    }

    #ModalAddAbonBody {
        margin-top: 30px;
    }

    #ModalAddAbon #ModalAddAbon__close {
        width: 21px; height: 21px;
        position: absolute;
        font-size: 19px;
        top: 7px;
        right: 10px;
        cursor: pointer;
        display: block;
    }


    #ModalAddAbon input {
        width: 60%;
        height: 75%;
        font-size: 0.9em;
    }

    .table_form {
        width: 200px;
        margin: auto;
        text-align: left;
    }

    .table_bill {
        max-width: 400px;
    }

    .table_bill td {
        font-size: 0.5em;
    }
}