.jtablewrapper{
    position: absolute;
    top:10px;
    left:10px;
    right:10px;
    bottom:10px;
    overflow:auto;
}

.jtablesearchdiv{
    height: 40px;
    background-color: #2e5283;
    color: #d2d2d2;
    font-weight: bold;
    text-align: left;
    position: absolute;
    line-height: 50px;
    top: 0;
    left: 0;
    right:0;
    border:1px solid #ddd;

}
.jtablesearchfield{
    margin-left:5px;
    float:left;
    display:inline-block;
    border: 1px solid #ddd;
    height: 22px;
    margin-top: 10px;
    box-sizing: border-box;
    text-indent: 5px;
    font-size:13px;
    color:black;
    line-height:22px;
}
.jtablesearchdeletebutton{
    height: 20px;
    width: 20px;
    position: absolute;
    /*right: 80px;*/
    left: 170px;
    top: -3px;
    cursor:pointer;
}
.jtablesearchdeletebutton:hover {
    font-size: 15px;
}

.jtableaddbutton{
    margin-left:5px;
    float:left;
    display:inline-block;
    cursor:pointer;
    color:#303030;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    padding-left:10px;
    padding-right:10px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtableaddbutton:hover{
    background-color: #e7e7e7;
}
.jtablesearchfielddiv{
    height:100%;
    width:50%;
    float:left;
}
.jtablesearchbutton{
    margin-left:5px;
    float:left;
    display:inline-block;
    cursor:pointer;
    color:#73879C;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    padding-left:10px;
    padding-right:10px;
    padding-bottom: 0;
    padding-top: 0;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtablesearchbutton:hover {
    background-color: #e7e7e7;
}

.jtablepaginationdiv{
    height:100%;
    /*width:50%;*/
    float:right;
}

.jtabletotalelems{
    color: #73879C;
    margin-left: 10px;
    float: left;
    display: inline-block;
    height: 22px;
    text-align: center;
    line-height: 22px;
    font-weight:normal;
    font-size: 16px;
    margin-top: 10px;
}
.jtablenextpage{
    cursor:pointer;
    color:#73879C;
    margin-left: 5px;
    float: left;
    display: inline-block;
    right: 0;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    width: 30px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtablenextpage:hover {
    background-color: #e7e7e7;
}
.jtablepreviouspage{
    cursor:pointer;
    color:#73879C;
    margin-left: 5px;
    float: left;
    display: inline-block;
    right: 0;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    width: 30px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtablepreviouspage:hover {
    background-color: #e7e7e7;
}
.jtablelastpage{
    cursor:pointer;
    color:#73879C;
    margin-left: 5px;
    float: left;
    display: inline-block;
    right: 0;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    width: 30px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtablelastpage:hover {
    background-color: #e7e7e7;
}
.jtablefirstpage{
    cursor:pointer;
    color:#73879C;
    margin-left: 5px;
    float: left;
    display: inline-block;
    right: 0;
    border: 1px solid #cecccc;
    box-sizing: border-box;
    height: 22px;
    width: 30px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
    background-color: #fff;
}
.jtablefirstpage:hover {
    background-color: #e7e7e7;
}
.jtablecurrentpage{

    margin-left: 5px;
    float: left;
    display: inline-block;
    right: 0;
    border: 1px solid #ddd;
    box-sizing: border-box;
    height: 22px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 10px;
}
.jtableeditbutton{
    height: 16px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    border: 1px solid #cecccc;
    background-color: #fff;
    cursor: pointer;
    font-weight: bold;
}
.jtableeditbutton:hover{
    background-color: #e7e7e7;
    color:#9B9F7E;
}
.jtabletable {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
}
.jtableiconbutton{
    height: 16px;
    width: 16px;
    margin-left:7px;
    cursor: pointer;
}
.jtableiconbutton:hover {
    height: 18px;
    width: 18px;
}
.jtablemenudiv{
    height: 32px;
    background-color: #2e5283;
    color: #d3d3d3;
    font-weight: bold;
    text-align: left;
    position: absolute;
    line-height: 32px;
    top: 0;
    left: 0;
    right:0;
    border-top: 1px solid #ddd;
    border-bottom: 3px solid #ddd;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
    display:block;
}
.jtablemenucol{
    height: 32px;
    display: inline-block;
    text-indent: 5px;
    cursor: pointer;
    float: left;
    /*box-sizing: border-box;*/
}
.jtableimg {
    height:20px;
    width:20px;
    vertical-align: middle;
}
.jtabletablediv {
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    bottom: 0;
    right: 0;
    overflow-y: auto;
}
.jtable{
    margin-top: -33px;
    width:100%;
    border:1px solid #ddd;
    mso-cellspacing: 0;
    border-collapse: collapse;
}
.jtable tr {
    border:1px solid #ddd;
    line-height:30px;
    height:30px;
}
.jtable tr:nth-child(even){
    background-color: #2e5283;
}
.jtable tr:hover{
    background-color: #7a7a7a;
}
.jtable th{
    border:1px solid #ddd;
    background-color:#2e5283;
    color:white;
    text-align:left;
    text-indent: 5px;
    height:30px;
    white-space: nowrap;
}
.jtable td{
    border:1px solid #ddd;
    text-align:left;
    line-height:30px;
    height:30px;
    text-indent: 5px;
    color: #ccc;
}
.jtablebuttonblack{
     background-color:#fff;
 }
.jtablebuttonblack:hover{
    background-color:#e7e7e7;
}
.jtablelabel {
    line-height:30px;
    height:30px;
    width:120px;
}
.jtableinput {
    border:none;
    border-bottom:1px solid #ddd;
    width:300px;
    text-align:left;
    line-height:30px;
    height:30px;
    text-indent: 5px;
}
.jtablesubmit {
    width: 100px;
    border: 1px solid #ddd;
    line-height: 25px;
    height: 29px;
    cursor: pointer;
    background-color: #01FFD8;
    color: white;
    float: right;
    margin-right: 80px;
    font-weight: bold;
    font-size: 16px;
}
.jtablesubmit:hover {
    color:#E700FF;
}
.jtableshowingdiv {
    position:absolute;
    bottom:5px;
    left:0;
    width:100%;
    height:30px;
    line-height:30px;
    background-color: #2e5283;
    color: #cccc;
    font-size: 13px;
    font-weight: 400;
}
.jbcheck {
    width:20px;
    height:20px;
}


/*https://codepen.io/AllThingsSmitty/pen/MyqmdM*/

@media only screen and (max-width: 600px) {
    .jtablesearchdiv {
        height: 80px;
    }
    .jtabletable {
        top: 90px;
    }
    .jtablesearchfielddiv {
        height: 50%;
        width: 100%;
        float: right;
    }
    .jtablepaginationdiv {
        height: 50%;
        width: auto;
        float: right;
    }
    .jtablemenudiv {
        display:none;
    }
    .jtabletablediv {
        top:0;
    }

    .jtable {
        max-width:100%;
        font-size:13px;
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }

    .jtable thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .jtable tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
        height:auto;
        line-height:100%;
    }

    .jtable td {
        border:none;
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        height:auto;
        line-height:20px;
        padding-right:5px;
    }

    .jtable td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    .jtable td:last-child {
        border-bottom: 0;
    }
}