.a-top-container,
.a-bottom-container,
.a-container{
    list-style-type: none;
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.a-top-container,
.a-bottom-container{
    min-height: 3rem;
    height: 3rem;
    line-height: 3rem;
    overflow-y: hidden;
    flex-grow: 0;
}

.a-box{
    list-style-type: none;
    padding: 0px;
    margin: 0px auto 6px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.a-box *{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    font-style: normal;
    font-weight: normal;
}

.a-block{
    list-style-type: none;
    display: block;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom: 0.3rem;
    padding: 0px;
}

.a-panel{
    padding: 0.6rem 1.2rem;
}
.a-line-panel{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.6rem;
    line-height: 2.6rem;
    padding: 0px;
    margin: 0.2rem auto;
}
.a-title{
    display: inline-block;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 2.6rem;
    line-height: 2.6rem;
}

.a-section{
    padding: 0.4rem 0.8rem;
    white-space: pre-wrap;
}

.a-inline-btn{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    padding: 0px;
}

.a-row-btn,
.a-row-nowrap,
.a-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0px;
    padding: 0.3rem 0.5rem;
}
.a-row-nowrap{
    flex-wrap: nowrap;
}

.a-row-nowrap>*{
    margin: 0px 3px !important;
}

.a-row-btn{
    justify-content: space-between;
}

.a-label{
    display: inline-block;
    height: 2rem;
    line-height: 2rem;
    width: 100%;
    flex-grow: 0;
    text-align: left;
}

.a-value,
.a-textarea,
.a-input{
    display: inline-block;
    height: 2rem;
    line-height: 1.4rem;
    width: 100%;
    flex-grow: 1;
    margin: 0px;
    padding: 0.3rem;
    border: none;
    text-align: right;
}
.a-textarea{
    height: auto;
}

.a-icon-small,
.a-icon-middle,
.a-icon-large{
    display: inline-block;
    margin: 0px;
    padding: 0px;
    border: none;
    height: 2rem;
    width: 2rem !important;
    overflow: hidden;
}
.a-icon-middle{
    height: 4.0rem;
    width: 4.0rem !important;
}
.a-icon-large{
    height: 6.0rem;
    width: 6.0rem !important;
}

.a-icon-small img,
.a-icon-middle img,
.a-icon-large img{
    height: 90%;
}

.a-row-btn .a-input,
.a-row-btn .a-value{
    max-width: 42%;
}

.a-row-image{
    height: 3rem;

}

.a-button-icon,
.a-button-circle,
.a-button-small,
.a-button-middle,
.a-button-long,
.a-button{
    box-sizing: border-box;
    display: inline-block;
    border: none;
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background-color: transparent;
}
.a-button-small{
    display: block;
    min-width: 3rem;
    width: 5rem;
    height: 2.6rem;
    line-height: 2.6rem;
    margin: 0px auto;
}
.a-button-middle{
    display: block;
    min-width: 5rem;
    width: 5rem;
    height: 2.6rem;
    line-height: 2.6rem;
    margin: 0px auto;
}
.a-button-long{
    display: block;
    min-width: 7rem;
    width: 7rem;
    height: 2.6rem;
    line-height: 2.6rem;
    margin: 0px auto;
}

.a-button-circle{
    border-radius: 50%;
    height: 1.5rem;
    line-height: 1.5rem;
    width: 1.5rem;
}
.a-circle{
    border-radius: 50%;
}



.a-two-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    border: none;
}

.a-three-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    border: none;
}

.a-search-head,
.a-search-items{
    list-style-type: none;
    display: block;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0px auto;
    padding: 0px;
}
.a-search-head{
    height: 3rem;
    min-height: 3rem;
}

.a-search-bar{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0px auto;
    padding: 0.5rem 0.8rem;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    overflow: hidden;
}
.a-search-bar .a-search-label, 
.a-search-bar .a-search-input,
.a-search-bar .a-search-button{
    display: inline-block;
    height: 2rem;
    line-height: 2rem;
    width: 18%;
    flex-grow: 0;
    text-align: center;
    border: none;
    background-color: transparent;
    padding: 2px 5px;
    margin: 0px;
}
.a-search-bar .a-search-input{
    background-color: beige;
    flex-grow: 1;
    text-align: left;
}

/** put into box or panel */
.a-table{
    list-style-type: none;
    padding: 0px;
    margin: 0px auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.a-table .a-th,
.a-table .a-tr{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0px;
    padding: 0px;
}
.a-table .a-tr{
    margin: 0px auto 0.3rem auto;
}

.a-table .a-th{
    display: none;
}

.a-table .a-tfoot,
.a-table .a-thead,
.a-table .a-tbody{
    list-style-type: none;
    padding: 0px;
    margin: 0px auto;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 3rem;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
.a-table .a-thead{
    overflow-y: hidden;
    height: auto;
}

.a-table .a-td{
    display: inline-block;
    margin: 0px auto;
    padding: 0.2rem 0.4rem;
    width: 100%;
}
.a-table .a-td-line,
.a-table .a-td-combo{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0px auto;
}
.a-table .a-td-combo .a-label{
    width: 70%;
    flex-grow: 1;
}
.a-table .a-td-combo .a-button{
    width: 20%;
    flex-grow: 0;
    padding: 0.3rem;
}

.a-table .a-td-line{
    flex-wrap: nowrap;
    padding: 0.2rem 0.4rem;
}
.a-table .a-td-line>*{
    width: 20%;
    flex-grow: 0;
}



.a-table  .a-button-small,
.a-table  .a-button-middle{
    margin: 0px 1rem;
    border: 1px solid #fff;
    border-radius: 5px;
    height: 2rem;
    line-height: 2rem;
}


.a-table .a-bottom-bar{
    width: 100%;
}

.a-table .a-bottom-bar .a-th{
    display: flex;
    flex-direction: row;
    padding: 0.3rem;
}
.a-table .a-bottom-bar .a-th .a-td{
    padding: 0.2rem 1px;
    width: auto;
}

.a-table  .a-bottom-bar .a-total-value{
    height: 2rem;
    line-height: 2rem;
    text-align: left !important;
}

.a-table  .a-bottom-bar .a-go-label,
.a-table  .a-bottom-bar .a-total-label{
    height: 2rem;
    line-height: 2rem;
    text-align: right !important;
}



.a-grow-0{
    flex-grow: 0 !important;
}

.a-grow{
    flex-grow: 1 !important;
}

.a-border-top{
    border-top: 1px solid #ccc;
}
.a-border-left{
    border-left: 1px solid #ccc;
}
.a-border-right{
    border-right: 1px solid #ccc;
}
.a-border-bottom{
    border-bottom: 1px solid #ccc;
}
.a-border{
    border: 1px solid #ccc;
}
.a-border-0{
    border: none;
}

.a-modal{
    z-index: 3;
    display: none;

    margin: 0px;
    padding: 0px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.6);
}

.a-modal-left-menu{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0px;
    position: relative;
    padding: 0;
    outline: 0;
    width: 80%;
    height: 80%;
}

.a-menu-header{
    display: block;
    width: 100%;
    height: 3rem;
    line-height: 2.4rem;
    padding: 0.3rem 0.6rem;
    text-align: right;
    flex-grow: 0;
}
.a-menu-box{
    display: block;
    width: 100%;
    height: 50%;
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
}

.a-menu-box .modRow{
    padding: 3px 6px !important;
}
.a-menu-box .modRow>*{
    margin: 0px auto;
    padding: 0px;
}

.a-text-left{
    text-align: left;
}
.a-text-right{
    text-align: right;
}
.a-text-center{
    text-align: center;
}

.a-text-pale-yellow{
    color: #ffff66!important;
}
.a-text-pale-red{
    color: #ff8888!important;
}

.a-text-pale-grey{
    color: #b1b1b1!important;
}

.a-load-countup{
    display: none;
    background-color: rgb(253, 245, 230, 0.85);
}


.a-load-countup .time-box{
    display: block;

    width: 60%;
    height: 5rem;
    margin: 5rem auto;
    text-align: center;
    color: #555;
    font-size: 1.5rem;
}

/**
desktop
*/
@media  screen and  (min-width: 601px) {
    .a-label{
        width: 25%;
    }
    .a-value,
    .a-input{
        width: 70%;
        flex-grow: 1;
    }

    .a-inline-btn{
        display: inline-block;
    }

    .a-search-bar{
        width: 40%;
    }

    .a-table .a-th{
        display: flex;
        flex-direction: row;
        margin: 0px auto;
    }
    .a-table .a-tr{
        flex-direction: row;
        margin: 0px auto;
    }
    .a-table .a-td-line .a-label,
    .a-table .a-td .a-label{
        display: none;
    }
    .a-table .a-td .a-input,
    .a-table .a-td .a-value{
        width: 100%;
    }

    .a-table .a-td-combo .a-value{
        width: 70%;
        flex-grow: 1;
    }
    .a-table .a-td-combo .a-button{
        width: 20%;
        flex-grow: 0;
    }
    .a-table .a-td-line .a-input,
    .a-table .a-td-line .a-value{
        width: 35%;
    }
    .a-table .a-td-line .a-value{
        flex-grow: 1;
    }

    .a-table-strip>.a-tr:nth-child(2n){
        background-color: #e6e6d7 !important;
    }

    .a-row-third{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .a-row-third>*{
        height: auto;
        width: 32%;
        margin: 0.3rem 0px 0px 0px;
    }
    .a-row-third>*:nth-child(3n+2){
        margin-left: 2%;
        margin-right: 2%;
    }

    .a-bottom-bar .a-prev-button{
        width: 6rem;
        min-width: 6rem;
    }

    .a-bottom-bar .a-next-button{
        width: 6rem;
        min-width: 6rem;
    }

    .a-bottom-bar .a-total-label{
        width: 8rem;
    }

    .a-bottom-bar .a-total-value{
        width: 8rem;
    }

    .a-bottom-bar .a-go-label{
        width: 8rem;
    }

    .a-bottom-bar .a-go-value{
        width: 8rem;
        flex-grow: 0;
    }

    .a-bottom-bar .a-go-button{
        width: 6rem;
        min-width: 6rem;
    }

    .a-bottom-bar .a-th{
        display: flex;
    }

    .a-hidden{
        display: none;
    }

}


/**
mobile
*/
@media  screen and  (max-width: 600px) {
    .a-table .a-bottom-bar .a-th{
        display: grid;
        grid-template-columns: repeat(5, 20%);
        grid-template-rows:  repeat(1, 3rem);
        width: 100%;
        gap: 0px;
        padding: 0px 2px;
    }

    .a-table .a-bottom-bar .a-th .a-input,
    .a-table .a-bottom-bar .a-th .a-td{
        margin: 0px 1px !important;
        padding: 0px 1px;
        width: 94% !important;
    }

    .a-table .a-bottom-bar .a-th .a-input,
    .a-table  .a-bottom-bar .a-button-small,
    .a-table  .a-bottom-bar .a-button-middle{
        margin: 0px 1px;
        border: 1px solid #fff;
        border-radius: 5px;
        height: 2rem;
        line-height: 2rem;
        overflow: hidden;
    }


    .a-table  .a-bottom-bar .a-prev-button{
        grid-area: 1/1/2/2;
    }
    .a-table  .a-bottom-bar .a-next-button{
        grid-area: 1/2/2/3;
    }
    .a-table  .a-bottom-bar .a-total-value{
        grid-area: 1/3/2/4;
    }
    .a-table  .a-bottom-bar .a-go-value{
        grid-area: 1/4/2/5;
    }
    .a-table  .a-bottom-bar .a-go-button{
        grid-area: 1/5/2/6;
    }

    .a-table  .a-bottom-bar .a-go-label,
    .a-table  .a-bottom-bar .a-total-label{
        display: none;
    }



    /* .a-table .a-search-bar .a-th{
        display: grid;
        grid-template-columns: repeat(5, 20%);
        grid-template-rows:  repeat(1, 3rem);
        width: 100%;
        gap: 0px;
        padding: 0px 2px;
    } */

    
}