﻿.t-grid
{
    border:0px!important;
    background:none!important;
}

.t-grid.validtionError .input-validation-error {
    background-color: transparent;
}
.t-grid.validtionError tr.t-grid-edit-row >td:first-of-type {
    border-left: 1px solid red !important;
}
.t-grid.validtionError tr.t-grid-edit-row >td:last-of-type {
    border-right: 1px solid red !important;
}
.t-grid.validtionError tr.t-grid-edit-row >td {
    border-top: 1px solid red !important;
    border-bottom: 1px solid red !important;
}

.t-grid .input-validation-error {
    background-color: white;
}

.t-grid tr, .t-grid-content
{
    background:#fff;
}

.t-grid-header, .t-grid-header tr
{
    background:none !important;
}

/* Non-scrollable grid */
.t-grid-table
{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border:1px solid #c0d2e8!important;
}
.t-grid.no-border > .t-grid-table
{
    border:0!important;
}
.t-grid-table.noth
{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.t-grid-header .t-header
{
    background: #cbe2ff!important;    
    border-bottom:2px solid #c0d2e8!important;
}
.t-grid-header .t-first-header
{
    border-top-left-radius: 3px;
}
.t-grid-header .t-last-header
{
    border-top-right-radius: 3px;
}

/* Scrollable grid */
.t-grid-header-wrap
{
    background: #cbe2ff!important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top:1px solid #c0d2e8!important;
    border-bottom:2px solid #c0d2e8!important;
    border-left:1px solid #c0d2e8!important;
    border-right:1px solid #c0d2e8!important;
}
.t-grid-content
{
    border-bottom:1px solid #c0d2e8!important;
    border-left:1px solid #c0d2e8!important;
    border-right:1px solid #c0d2e8!important;
}
.t-grid-header-wrap .t-header
{
    border-bottom:0px!important;
}
.t-grid-header-wrap .t-first-header, .t-grid-header-wrap .t-last-header
{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}


.t-grid-header, .t-grid-header .t-link
{
    color:#444;
}


th.t-header
{
    text-align: left;    
    border:0!important;
    padding: 0px!important;
    margin:0px!important;
    line-height: 18px;
    height: 18px;    
    font-size: 12px;
    padding: 0!important;
}

th.t-header .t-link, th.t-header .t-state-hover
{
    border:0!important;
    margin:0px!important;
    padding: 5px 5px!important;
    font-size: 12px;
}

th.t-header .t-state-hover
{
    color: #555;
    background-color: #daebff;
}

th.t-header .t-header-content
{
    display: block;
    padding: 5px 5px!important;
}

.t-grid table.t-grid-table > tbody > tr > td,
    .t-grid table.resize-mode-gui > tbody > tr > td,
    .t-grid table.resize-mode-web > tbody > tr > td,
    .t-grid > table > tbody > tr > td,
    table.t-grid > tbody > tr > td
{
    border:0!important;
    border-bottom: 1px solid #e6e6e6!important;
    padding: 3px 5px!important;
    /*vertical-align: middle!important;*/
    font-size:12px!important;
    z-index:1;
    line-height: 1.6em;
}

.t-grid table > tbody > tr.t-last-row > td,
    table.t-grid > tbody > tr.t-last-row > td,
    .t-grid table > tbody > tr:last-of-type > td,
    table.t-grid > tbody > tr:last-of-type > td
{
    border-bottom: 0px!important;
}

.t-grid td input
{
    font-size:12px!important;
}

.t-grid-pager
{
    background:none!important;    
    font-size:12px!important;
    text-align:right;
    white-space: nowrap;
    overflow: hidden;
    padding:2px 4px;
    line-height:21px;
}

.t-grid .t-status
{
    background:none!important;
    border:0px!important;
    float:none !important;
    padding:3px 0;
    margin:0 0 0 -1px;
}

.t-grid .t-pager .t-state-active
{
    background: #b9b9b9 !important;
    border:1px solid #b9b9b9!important;
    padding:1px 5px;
    margin:-2px 0;
    color: #FFF;
    border-radius: 3px;
    font-weight:bold;
}
.t-grid .t-pager a, .t-grid .t-pager a.t-state-hover
{
    padding: 0 5px 0 5px!important;
    border:1px solid transparent!important;
    line-height:22px!important;
    margin:-2px 0;
}
.t-grid .t-pager a.t-state-hover
{
    border:1px solid #f4f4f4!important;
    background:#f4f4f4!important;
}
.t-pager-text
{
    color:#777;
}
.t-pager-total
{
    padding-right:4px;
}

.t-grid .t-pager a
{
    font-size:12px!important;
    color:#000!important;    
    text-decoration:underline;
}
.t-grid .t-pager a.t-state-hover
{
    color:#3366FF!important;
}

.t-grid .t-status-text
{
    float:none !important;    
    background-image: none;
    padding:4px 10px;
}

.t-grid .t-pager
{
    float:none !important;
    padding:4px 10px;
}

.t-grid .t-grid-pager .t-page-size
{
    display:inline-block;
    vertical-align:bottom;
    padding:0px 10px;
    background-image: none;
    text-align:left;
}
.t-grid .t-grid-pager .t-grid-pager-label
{
    display: inline-block;
    padding:4px 4px 4px 0px;
}
.t-grid .t-grid-pager .t-grid-pager-dropDown
{
    display: inline-block;
    vertical-align: top;
    /*margin-top:1px;*/
}

/*
.t-page-size .t-dropdown-wrap
{
    padding-right: 22px;
}
.t-page-size .t-dropdown .t-input
{
    padding: 3px 5px!important;
}
.t-page-size .t-dropdown-wrap .t-select
{
    height: 24px;
    line-height: 24px;
}
.t-page-size .t-dropdown-wrap .t-arrow-down
{
    width: 22px;
    height: 22px;
}
*/

.t-grid-pager .t-status .t-button
{
    padding: 5px 5px;
    margin: -3px 0;
    background:#f8f8f8;
    height: 16px;
    width: 16px;
    border-radius: 2px;
}
.t-grid-pager .t-status .t-button:hover
{
    background:#f4f4f4;
}
.t-grid-pager .t-status .t-button .t-icon
{
    margin: 0;
}

.t-pager .t-numeric, .t-pager .t-page-i-of-n
{
    margin: 0px 4px 0px 4px;
}

.t-headerSummary-text {
    float: left;
    display: inline-block;
    padding:4px 0px;
}

.t-grid .t-grid-pager .t-settings span.t-icon
{
    background-image: url("Images/x16/settings_system.png");
    background-repeat:no-repeat;
    background-position: center 0;
}

.t-grid .t-grid-pager .t-export-excel span.t-icon
{
    background-image: url("Images/excel_export.gif");
    background-repeat:no-repeat;
    background-position: center 0;
}

.t-grid .t-grid-pager .t-export-excel.t-wait span.t-icon {
    background-position: center -16px;
}

.t-grid .t-grid-pager .t-export-excel.t-download span.t-icon {
    background-position: center -32px;
}

table.noth thead
{
    display:none;
}

.t-alt-grid td 
{
    border: 0px !important;
}
.t-alt-grid tr.t-alt td 
{
    background-color: #DDD !important;
} 


table.noborder
{
    border: 0px  !important;
    width:auto  !important;
    line-height: normal;
}

table.noborder th 
{
    border: 0px !important;
    line-height: normal;
}

table.noborder td 
{
    border: 0px  !important;
    line-height: normal;
}

table.alternation tr.t-alt
{
    background-color: #EEEEEE;
}

.t-grid div.t-grid-header-wrap table,
    .t-grid div.t-grid-content table
{
    width:1%;
}

.t-grouping-header
{
    border:1px dashed #ddd;
    border-radius: 4px;
    float:none;
    padding:2px 4px 1px 4px;
    font-size:12px!important;
    height:22px;
    line-height:22px;
    overflow: hidden;
    background: none!important;
    color: #777;
    min-width: 100px;
}

.t-toolbar
{
    height:auto;
    overflow:hidden;
    padding:2px 0 2px 0;
}

.t-toolbar a
{
    float: left;
}

.t-grid-content
{
    overflow-y: auto;
}

.t-grouping-row td
{
    background: none;
    background-color: #fff5d7;
}

.t-grouping-row .t-group-cell, .t-grouping-row p
{
    background-color: transparent;
    font-size: 13px!important;
    margin-left: 0;
    padding: 0 2px;
}

.t-grid-edit-row div.text-box, 
    .t-grid-edit-row .t-numerictextbox, 
    .t-grid-edit-row .t-dropdown,
    .t-grid-edit-row .t-combobox,
    .t-grid-edit-row .t-entity-input,
    .t-grid-edit-row table.t-timespanbox,
    .t-grid-edit-row table.t-boolinput-radio
{
    margin: -.1em -.3em -.15em;
}

.t-grid-edit-row .t-datepicker, 
    .t-grid-edit-row .t-timepicker
{
    margin: -.1em 0 -.15em -.3em;
}

.t-grid-edit-row .t-timespanbox .t-numerictextbox
{
    margin: 0;
    padding-right: 2px;
}

/*EntityInput*/
.t-grid-edit-row .t-entity-input .t-dropdown, 
    .t-grid-edit-row .t-entity-input .t-combobox
{
    margin: 0;
}

/*ComboBox*/
.t-grid-edit-row .t-dropdown .t-icon, 
    .t-grid-edit-row .t-combobox .t-icon
{
    margin-top: 1px;
}
.t-grid-edit-row .t-dropdown .t-input, 
    .t-grid-edit-row .t-combobox .t-input
{
    height: 16px !important;
    line-height: 16px !important;
}
.t-grid-edit-row .t-dropdown .t-select,
    .t-grid-edit-row .t-combobox .t-select
{
    height: 18px;
    line-height: 18px;
}

/*Date/time picker*/
.t-grid-edit-row .t-picker-wrap .t-icon 
{
    margin-top: 1px;
}
.t-grid-edit-row .t-picker-wrap .t-input
{
    height: 16px !important;
    line-height: 16px !important;
}
.t-grid-edit-row .t-picker-wrap .t-select
{
    height: 18px;
    line-height: 18px;
}

/*Buttons*/
.t-grid a.t-button-icon
{
    padding: 1px 2px;
}
.t-grid tbody a.t-button-icon
{
    margin: -.1em 0.2em -.15em;
}
.t-grid tbody a.t-button-icon
{
    -moz-padding-end: 2px;
    -moz-padding-start: 2px;
}

tr.selectable:hover,
td.selectable:hover  
{
    cursor: pointer;
    background-color: #FFF5D7 !important;
    border-color: #A3BAE9 !important;    
}

tr.selected
{
    background-color: #FFF5D7 !important; 
    border-color: #A3BAE9 !important; 
}

.grouping_field
{
    background-color: #F1F5FC;
}

.grouping_field_label
{
    color: #3360CD;
    font-weight: bold;
}

.t-edit-form-container
{
    padding: 8px;
}

.t-grid td.grid-empty-cell, .t-grid td div.t-grid table td.grid-empty-cell
{
    border: 1px solid #f00 !important;
    background: #fbb;
}

.t-grid img
{
    vertical-align: -3px;
}

.t-grid-toolbar-container
{
    display: inline-block;
    vertical-align: top;
}

.t-grid-pager-container
{
    display: inline-block;
    float: right;
    vertical-align: top;
}

.t-grid-toolbar
{
    padding: 3px 0;
    background: none!important;
}

.t-grid-add
{
    margin: 0 8px 0 0!important;
    background-image: url('/Content/Images/x16/AddWhite.png');
    background-repeat: no-repeat;
    background-position: 5px 5px;
    padding-left: 26px!important;
}

.t-grouping-header .t-group-indicator
{
    background: #cbe2ff!important;
    border-color: #c0d2e8!important;
    margin: -1px 4px 0 0;
}

.t-grouping-header .t-group-indicator .t-icon.t-arrow-up-small,
    .t-grouping-header .t-group-indicator .t-icon.t-arrow-down-small
{
    background-image: url('Images/Buttons/UpDown.png');
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background-position: 0 0;
}

.t-grouping-header .t-group-indicator .t-icon.t-arrow-down-small
{
    background-position: 0 -16px;
}

.t-grouping-header .t-group-indicator .t-icon.t-group-delete
{
    background-image: url('Images/x16/Delete_Small.png');
    width: 16px;
    height: 16px;    
    background-position: 0 0;
}

.t-grouping-header .t-group-indicator .t-button:hover
{
    background-color: transparent;
}

.t-grid-edit,
    .t-grid-delete,
    .t-grid-content .t-grid-update,
    .t-grid-content .t-grid-cancel
{
    min-width: 0;
    border:0!important;
    width: 16px;
    height: 16px;
    padding: 3px;
    margin-bottom: -6px!important;
}
.t-grid-edit .t-button-text,
    .t-grid-delete .t-button-text,
    .t-grid-content .t-grid-update .t-button-text,
    .t-grid-content .t-grid-cancel .t-button-text
{
    display: none;
}
.t-grid-edit
{
    background: transparent url('Images/x16/edit.png') no-repeat 3px 3px!important;
}
.t-grid-delete
{
    background: transparent url('Images/x16/Delete.png') no-repeat 3px 3px!important;
}
.t-grid-content .t-grid-update
{
    background: transparent url('Images/x16/save.png') no-repeat 3px 3px!important;
}
.t-grid-content .t-grid-cancel
{
    background: transparent url('Images/x16/cancel.png') no-repeat 3px 3px!important;
}
