﻿.grid
{
    display: inline-block;
    width: 100%;
}

.grid .grid-toolbar
{
    padding: 0px 0px 10px 0px;
    color: #FFFFFF;
    text-align: left;
}

    .grid .grid-toolbar .grid-filter
    {
        display: inline-block;
    }

    .grid .grid-toolbar .grid-filter input[type='text']
    {
        display: inline-block;
        margin-left: 3px;
    }    

    .grid .grid-toolbar .grid-actions
    {
        float: right;
    }

    .grid .grid-toolbar .input-cell
    {
        display: inline-block;
        padding: 2px;       
        vertical-align: top; 
        margin-bottom: 0px;
    }

    .grid .grid-toolbar .input-cell-label
    {
        display: inline-block;
        width: auto;
        padding: 2px;        
        vertical-align: top; 
        margin-left: 3px;
        color: #333333;
        font-weight: bold;
    }

    .grid .grid-toolbar .input-cell.grid-page-size
    {
        width: 65px;
    }

    .grid .grid-toolbar .input-cell.grid-search
    {
        width: 150px;
        margin-right: 3px;
    }

.grid > table
{
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;
    background-color: #FFFFFF;
}

.grid > table tr th
{
    padding: 0px 5px 0px 5px; 
    background-color: #EAEAEA;       
    color: #222222;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    text-align: left;
}

.grid > table tr th a
{    
    color: #FFFFFF;
}


.grid > table tr td
{
    padding: 5px;
}

    .grid > table tr:nth-child(2n) td {
        background-color: #FBFBFB;
    }

    .grid > table tr td:last-child {
        text-align: right;
    }

.grid > table tr td input[type='text'],
.grid > table tr td select
{
    display: block;
    border: 0px none transparent;
    background-color: transparent;
    padding: 0px;
    width: 100%;
}

.grid > table tr td.grid-action-cell
{
    text-align: center;
    width: 40px;
}

.grid > table tr td.grid-date-cell
{
    text-align: center;
    width: 65px;
}

    .grid .grid-footer
    {        
        padding: 10px 0px 0px 0px;
        color: #FFFFFF;
    }

    .grid .grid-footer a
    {
        display: inline-block;
        text-align: center;
        width: 25px;
        height: 25px;
        line-height: 25px;
        margin-right: 4px;        
        background-color: #EEEEEE;
        color: #222222;
        cursor: pointer;
    }

    .grid .grid-footer a:hover,
    .grid .grid-footer a.active
    {
        color: #FFFFFF;
        background-color: #2574A9;
    }

    /*.grid table .pager
    {
        text-align: right;
        font-size: 12px;
    }

    .grid table .pager a,
    .grid table .pager span
    {
        display: inline-block;
        padding: 2px 4px 2px 4px;
        color: #FFFFFF;
        background-color: #214D68;
        border: 1px solid #214D68; 
        margin-left: 2px;
    }

    .grid table .pager a:hover,
    .grid table .pager span.current
    {
        background-color: #FFFFFF;
        color: #214D68;
    }*/

.grid-hidden-page
{
    display: none;
}

.grid-hidden-filter
{
    display: none;
}

/*#region Resize Handles */

th
{
    
}

    th a.resize
    {
        display: block;
        float: right;
        width: 11px;
        height: 100%;
        margin-right: -9px;
        cursor: w-resize;
        z-index: 50;
    }

/*#endregion */

/*#region Filter Dialog */


.grid-filter-dialog
{
    font-size: 12px;
    position: absolute;
    width: 250px;
    background-color: #EEEEEE;
    padding: 0px 5px 5px 5px;
    text-align: left;
    border-radius: 0px 0px 3px 3px;
    z-index: 1000;
    
}

.grid-filter-dialog strong
{
    display: block;
    padding: 5px;
    margin: 0px -5px 0px -5px;
    color: #FFFFFF;
    background-color: #2574A9;
    margin-bottom: 10px;
}

    .grid-filter-dialog div
    {
        margin-bottom: 10px;
    }

/*.grid-filter-dialog .grid-filter-dialog-input
{    
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 1px;
    overflow: hidden;
}

    .grid-filter-dialog .grid-filter-dialog-input input,
    .grid-filter-dialog .grid-filter-dialog-input select
    {
        display: block;
        padding: 0px;
        margin: 0px;
        width: 100%;        
        border: 0px none transparent;
    }*/

/*#endregion */