﻿/*-------------------Grids Css----------------------*/
.grid-page {
    padding: 17px 26px;
}

    .grid-page > .grid-toolbar {
        background-color: #E9F6FF;
        /*padding: 8px;*/
        border: 1px solid #B49C9C;
    }

/*.grid-toolbar > ul > li {
    background-color: white;
    border: 1px solid #DDE7EF;
}*/

.grid-toolbar {
    display: block;
    background-color: #DDE7EF;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

    .grid-toolbar > ul {
        margin: 0;
        padding: 0;
        font-size: 0;
    }

        .grid-toolbar > ul > li {
            font-size: 11px;
            list-style-type: none;
            background-color: #FFF;
            padding: 5px 18px 4px 18px;
            display: inline-block;
            border: 1px solid #D2DBE1;
            color: #000000;
            text-align: center;
            margin: -1px -2px;
            vertical-align: middle;
            min-width: 30px;
        }

            .grid-toolbar > ul > li.excelPane {
                height: 44px;
            }

                .grid-toolbar > ul > li.excelPane > span {
                    margin-top: 9px;
                    display: inline-block;
                }

                    .grid-toolbar > ul > li.excelPane > span > select {
                        width: 60px;
                    }

                    .grid-toolbar > ul > li.excelPane > span > a {
                        padding: 0px 3px;
                    }

    .grid-toolbar.custom > ul > li {
        background-color: rgb(248, 194, 169);
    }


        .grid-toolbar.custom > ul > li.disabled {
            background-color: #f3f0f0;
        }

    /*.grid-toolbar > ul:last-child {
            background-color: initial;
            border: none;
            
        }*/


    .grid-toolbar > ul > li:last-child {
        background-color: initial;
        border: none;
    }


    .grid-toolbar > ul > li.Searchbox {
        background-color: initial;
        border: none;
    }

    .grid-toolbar > ul > li.drop-box {
        line-height: 41px;
        background-color: initial;
        border: none !important;
    }

        .grid-toolbar > ul > li.drop-box > select {
            width: 117px;
        }


    .grid-toolbar > ul li:hover:not(:last-child):not(.drop-box):not(.Searchbox) {
        background: #E4EFF6;
        color: #00F;
    }


.grid-page > .grid-wrapper {
    width: 100%;
    height: 340px;
    border: 1px solid #7E7474;
    margin: 4px auto;
    background-color: white;
    position: relative;
    padding-top: 30px;
    overflow-x: auto;
    overflow-y: hidden;
}

.grid-page > .grid-footer {
    background-color: #D9E0E6;
    padding: 10px 11px;
    border: 1px solid #B1B0B0;
    border-radius: 3px;
    margin-top: 7px;
}

.grid-wrapper > .grid-topheader {
    border-bottom: 2px solid #988888;
}

.grid-wrapper > .grid-topheader {
    /*background-color: #ffd800;*/
    background: transparent -moz-linear-gradient(center top, #FFF, #E6E6E6) repeat scroll 0% 0%;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.grid-wrapper > .grid-container {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin-bottom: 4px;
}

    .grid-wrapper > .grid-container > table {
        background-color: white;
        width: 100%;
        overflow-x: scroll;
        overflow-y: auto;
        border-spacing: 0;
        border-collapse: collapse;
    }

        /*.grid-wrapper > .grid-container > table td + td {
                border-left: 1px solid #ccc;
            }*/

        .grid-wrapper > .grid-container > table td {
            border-bottom: 1px solid #ccc;
            padding: 5px;
        }

        .grid-wrapper > .grid-container > table > thead > tr > th {
            padding: 0 5px;
            width: initial !important;
        }

            .grid-wrapper > .grid-container > table > thead > tr > th > .th-inner {
                position: absolute;
                top: 0;
                line-height: 30px; /* height of header */
                text-align: center;
            }

            .grid-wrapper > .grid-container > table > thead > tr > th > .rtl-attribute {
                border-right: 1px solid #988888;
                padding-right: 5px;
                margin-right: -5px;
            }

            .grid-wrapper > .grid-container > table > thead > tr > th > .ltr-attribute {
                border-left: 1px solid #988888;
                padding-left: 5px;
                margin-left: -5px;
            }

        .grid-wrapper > .grid-container > table > thead > tr :first-child > .th-inner {
            border-right: none;
            padding-right: 6px;
        }

        .grid-wrapper > .grid-container > table tbody tr:nth-child(even) {
            background-color: #E1EAED;
        }

        .grid-wrapper > .grid-container > table tbody tr:nth-child(odd) {
            background-color: #ffffff;
        }

        .grid-wrapper > .grid-container > table tbody tr:hover {
            background-color: #c8c4c4;
            color: red;
            cursor: pointer;
        }

.grid-filterbar {
    border-radius: 3px;
    padding: 5px;
    display: inline-block;
}

    .grid-filterbar > div:not(.report-type):not(#divTafsiliDetail) {
        background-color: #E1ECF5;
        vertical-align: middle;
        height: 37px;
        border-radius: 2px;
        display: inline-block;
        padding: 6px 4px 1px 4px;
        margin: 5px 0px;
    }

    .grid-filterbar > div > span {
        margin: 2px 1px;
    }


#ReportList tbody td {
    text-align: center !important;
}

.total-footer {
    background-color: rgb(234, 222, 222) !important;
    font-weight: bold !important;
    height: 30px;
}



table.center tr td {
    text-align: center;
}



div.SumFooter {
    margin-top: 8px;
}



.SumFooter table thead {
    height: 23px;
    background: #ddd !important;
}

    .SumFooter table thead tr th {
        padding: 7px 13px;
        border: 1px solid #a7a1a1;
    }

.SumFooter table tbody {
    background-color: rgb(252, 247, 247) !important;
}


    .SumFooter table tbody tr td {
        padding: 5px 13px;
        border: 1px solid #a7a1a1;
        background-color: rgb(252, 247, 247) !important;
    }

.total-footer {
    background-color: rgb(234, 222, 222) !important;
    font-weight: bold !important;
    height: 30px;
}

table.center tr td {
    text-align: center;
}

.total-footer {
    background-color: #ccc !important;
}

    .total-footer > td {
        border: 1px solid blue !important;
    }

i.Facilities-Icon-Size {
    font-size: 1.5em;
    cursor: pointer;
}

.grid-pager ul.row-count li a:active {
    background-color: lightblue;
}

.grid-pager ul.row-count li a:hover {
    text-decoration: none;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.grid-pager ul.page-numbers li a > i {
    margin-top: 7px;
}

.grid-pager ul.page-numbers li a:hover {
    text-decoration: none;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}


.grid-pager ul.row-count li a {
    background-color: #f8f0f0;
    display: inline-block;
    width: 38px;
    text-align: center;
    height: 31px;
    line-height: 3;
    color: #337ab7;
    border-radius: 2px;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.grid-pager ul.page-numbers li a {
    background-color: #f8f0f0;
    display: inline-block;
    width: 38px;
    text-align: center;
    height: 31px;
    line-height: 3;
    color: #337ab7;
    border-radius: 2px;
}

.grid-pager label #total-page, .grid-pager label #from, .grid-pager label #to {
    color: red;
    text-underline-position: auto;
    text-decoration: underline;
}


.grid-pager ul > li {
    display: inline-block;
    line-height: 0 !important;
}

.h-rtl .grid-pager ul.row-count {
    float: left;
    margin-top: 2px;
}

.h-ltr .grid-pager ul.row-count {
    float: right;
    margin-top: 2px;
}

.grid-pager label {
    display: inline-block;
    margin: 9px 11px;
    color: #131e32;
}

.h-ltr .grid-pager {
    text-align: left;
}

.h-rtl .grid-pager {
    text-align: right;
    line-height: 30px;
}

.grid-pager ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    .grid-pager ul.page-numbers, .grid-pager ul.row-count {
        direction: ltr;
    }

.h-rtl .grid-pager ul.page-numbers {
    float: right;
}

.h-ltr .grid-pager ul.page-numbers {
    float: left;
}

.grid-pager {
    background-color: #ddd;
    padding: 1px 5px;
    height: 38px;
}

thead[role="rowgroup"] {
    position: sticky !important;
    top: 0px;
}

@media screen and (max-width: 400px) {

    .dataTables_paginate {
        display: inline-block;
        margin-top: 50px !important;
        vertical-align: middle;
    }


    .dataTables_info {
        display: inline-block;
        margin-top: 50px !important;
        vertical-align: middle;
    }


    .dataTables_length {
        display: block;
        position: absolute;
        bottom: 0;
    }
}
/* for scrolling grids when more than 10 data */
/*table[role="grid"] {
    display: block !important;
    max-height: 600px !important;
    margin-bottom: 3px !important;
    overflow-y: auto !important;
}

thead[role="rowgroup"] {
    position: sticky !important;
    top: 0px;
}

table[role="treegrid"] {
    display: block !important;
    max-height: 600px !important;
    margin-bottom: 3px !important;
    overflow-y: auto !important;
}*/
