﻿table.grid {
    width: 100%;
}

    table.grid th {
        border: 1px solid #ddd;
        border-bottom: 1px solid #333;
        border-top: 0px;
        cursor: default;
        background: #eee;
        height: 30px;
        overflow: hidden;
        line-height: 20px;
        color: #333;
        font-size: 11px;
        padding: 0 0 0 4px;
        font-weight: bold;
    }

        table.grid th:hover {
            border-bottom: 1px solid #ddd;
            border-left: 1px solid #ddd;
            cursor: default;
            background: #ddd url(horizontal.png) repeat-x 0 -47px;
        }

/*
    table.grid .odd {
        height: 30px;
        overflow: hidden;
        line-height: 24px;
        font-size: 11px;
    }

    table.grid .even {
        height: 30px;
        overflow: hidden;
        line-height: 24px;
        font-size: 11px;
    }*/

    table.grid .row-over {
        height: 30px;
        overflow: hidden;
        line-height: 24px;
        font-size: 11px;
        cursor: pointer;
    }

    table.grid tr td {
        /*border-bottom: 1px solid #ddd;*/
        border: 1px solid #ddd;
        cursor: default;
        color: #333;
        padding: 4px 7px 4px 4px;
    }

    table.grid .row-over td {
        border-bottom-color: #649ec6;
        background: #e3eef8;
        cursor: pointer;
    }

    table.grid .row-selected {
        background: #eee;
        border-bottom-color: #ddd;
    }

    table.grid .even {
        background-color: #f2f2f2;
        /* Hellgrau */
        height: 30px;
        overflow: hidden;
        line-height: 24px;
        font-size: 11px;
    }



    table.grid .odd {
        background-color: #ffffff;
        /* Weiß */
        height: 30px;
        overflow: hidden;
        line-height: 24px;
        font-size: 11px;
    }


table.grid tr:has(input:focus) {
    background-color: #add8e6 !important;
    /* Hellblau / color: black;
     Textfarbe bleibt Schwarz */
}



.grid_wrapper div {
    /*min-height: 100%;*/
    position: relative;
}

.grid_wrapper .list-group {
    overflow: auto;
    padding-bottom: 150px;
}

.pagination {
    background-color: #ddd;
    position: fixed;
    width: 100%;
    height: 25px;
    left: 0%;
    bottom: 0%;
    margin-bottom: 0px;
}

/* ========================================================= */
/* SCROLLING TABLE and PAGINATION FOR */

.grid_wrapper_sidebar {
    padding: 0px;
    padding-bottom: 40px;
    background: #fff;
    position: relative;
    top: 0px;
    bottom: 10px;
    width: 100%;
    height: 200px;
    overflow: scroll;
}

    .grid_wrapper_sidebar div:first {
        overflow-y: scroll;
        height: 100%;
    }

.grid_wrapper_sidebar_full {
    height: calc(100vh - 200px) !important;
}


.grid_wrapper_sidebar_100_full {
    height: calc(100vh - 100px) !important;
}

.grid_wrapper_sidebar_150_full {
    height: calc(100vh - 150px) !important;
}

.grid_wrapper_sidebar_200_full {
    height: calc(100vh - 200px) !important;
}

.grid_wrapper_sidebar_250_full {
    height: calc(100vh - 250px) !important;
}

.grid_wrapper_sidebar_260_full {
    height: calc(100vh - 260px) !important;
}

.grid_wrapper_sidebar_300_full {
    height: calc(100vh - 300px) !important;
}

.grid_wrapper_sidebar_350_full {
    height: calc(100vh - 350px) !important;
}

.grid_wrapper_sidebar_400_full {
    height: calc(100vh - 400px) !important;
}

.grid_wrapper_sidebar_450_full {
    height: calc(100vh - 450px) !important;
}

.grid_wrapper_sidebar_500_full {
    height: calc(100vh - 500px) !important;
}

.pagenav {
    background: #cacaca;
    padding: 0px;
    color: #fff;
    bottom: 0px;
    position: absolute;
    width: 100%;
}

    .pagenav tr td a {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #dd4814;
        background-color: #cacaca;
        border-left: 1px solid #dddddd;
        margin-left: -1px;
        height: 30px;
        width: 32px;
    }

    .pagenav .__pagerCommand {
        background: #cacaca;
        width: 32px;
    }

    .pagenav .__pagerInfo {
        background: #f5f5f5;
        text-align: center;
    }

    .pagenav tr td a:last {
        border-right: 1px solid #dddddd;
    }

    .pagenav tr td span {
        position: relative;
        padding: 5px 3px;
        line-height: 1.42857143;
        text-decoration: none;
        margin-left: -1px;
        z-index: 2;
        color: #aea79f;
        background-color: #f5f5f5;
        border-color: #dddddd;
        cursor: default;
        font-size: 12px;
        width: 133px;
        text-align: center;
        height: 30px;
    }


/* ========================================================= */
/* DEFAULT PAGINATION */

.pagination-ys {
    padding-left: 0;
    margin: 0px 0;
    border-radius: 4px;
    position: fixed;
    bottom: 0px;
    width: 260px;
    z-index: 100000;
}

    .pagination-ys table tbody tr td {
        display: block;
    }

    .pagination-ys tr td a, .pagination-ys tr td span {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #dd4814;
        background-color: #ffffff;
        border-left: 1px solid #dddddd;
        margin-left: -1px;
        height: 30px;
        width: 32px;
    }

        .pagination-ys tr td a:last {
            border-right: 1px solid #dddddd;
        }

    .pagination-ys tr td span {
        position: relative;
        float: left;
        padding: 5px 3px;
        line-height: 1.42857143;
        text-decoration: none;
        margin-left: -1px;
        z-index: 2;
        color: #aea79f;
        background-color: #f5f5f5;
        border-color: #dddddd;
        cursor: default;
        font-size: 12px;
        width: 133px;
        text-align: center;
        height: 30px;
    }

    .pagination-ys tr td:first-child > a, .pagination-ys table tbody tr td:first-child > span {
        margin-left: 0;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
    }

    .pagination-ys table > tbody > tr > td:last-child > a, .pagination-ys table > tbody > tr > td:last-child > span {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
    }

    .pagination-ys table > tbody > tr > td > a:hover, .pagination-ys table > tbody > tr > td > span:hover, .pagination-ys table > tbody > tr > td > a:focus, .pagination-ys table > tbody > tr > td > span:focus {
        color: #97310e;
        background-color: #eeeeee;
        border-color: #dddddd;
    }

.right {
    right: 0px;
}
/* pagination xs */
.pagination-xs {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 0px;
    border-radius: 4px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 10000000;
    border: 1px solid #fafafa;
    background-color: #ddd;
    padding-right: 10px;
}

    .pagination-xs table tbody tr td {
        display: block;
    }

    .pagination-xs tr td {
        margin-right: 280px;
        float: right;
    }

        .pagination-xs tr td a, .pagination-xs tr td span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #dd4814;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-xs tr td span {
            position: relative;
            float: left;
            padding: 5px 3px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
            font-size: 12px;
            width: 133px;
            text-align: center;
        }

        .pagination-xs tr td:first-child > a, .pagination-xs table tbody tr td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

    .pagination-xs table > tbody > tr > td:last-child > a, .pagination-xs table > tbody > tr > td:last-child > span {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
    }

    .pagination-xs table > tbody > tr > td > a:hover, .pagination-xs table > tbody > tr > td > span:hover, .pagination-xs table > tbody > tr > td > a:focus, .pagination-xs table > tbody > tr > td > span:focus {
        color: #97310e;
        background-color: #eeeeee;
        border-color: #dddddd;
    }

/* ====================================================================== */
/* PAGINATION ZX, numeric */

.pagination-zs {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-zs table > tbody > tr > td {
        display: inline;
        padding: 0px;
        border: 0px;
    }

        .pagination-zs table > tbody > tr > td > a,
        .pagination-zs table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #fff;
            background-color: #008FC3;
            border: 1px solid #008FC3;
            margin-left: -1px;
        }

        .pagination-zs table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-zs table > tbody > tr > td:first-child > a,
        .pagination-zs table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
            content: "<<";
        }

        .pagination-zs table > tbody > tr > td:last-child > a,
        .pagination-zs table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-zs table > tbody > tr > td > a:hover,
        .pagination-zs table > tbody > tr > td > span:hover,
        .pagination-zs table > tbody > tr > td > a:focus,
        .pagination-zs table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

/* ====================================================================== */
/* PAGINATION ZX, numeric */

.pagination-zs-pos {
    /*display: inline-block;*/
    padding: 0;
    border-radius: 4px;
    position: fixed;
    bottom: 0px;
    margin: 0px;
    width: 100%
}

    .pagination-zs-pos td {
        /*display: inline-block;*/
        padding: 0;
    }

    .pagination-zs-pos table > tbody > tr > td {
        display: inline;
        padding: 0px;
        border: 0px;
    }

        .pagination-zs-pos table > tbody > tr > td > a,
        .pagination-zs-pos table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #fff;
            background-color: #008FC3;
            border: 1px solid #008FC3;
            margin-left: 1px;
        }

        .pagination-zs-pos table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-zs-pos table > tbody > tr > td:first-child > a,
        .pagination-zs-pos table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
            content: "<<";
        }

        .pagination-zs-pos table > tbody > tr > td:last-child > a,
        .pagination-zs-pos table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-zs-pos table > tbody > tr > td > a:hover,
        .pagination-zs-pos table > tbody > tr > td > span:hover,
        .pagination-zs-pos table > tbody > tr > td > a:focus,
        .pagination-zs-pos table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }
