/*
 backgrid
 http://github.com/wyuenho/backgrid

 Copyright (c) 2013 Jimmy Yuen Ho Wong and contributors
 Licensed under the MIT @license.
 */

.backgrid-container {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 1em;
}

.backgrid {
    width: 100%;
    max-width: 100%;
    background: #e6e6e6;
    border: 1px solid #f5f5f5;
    border-collapse: collapse;
    table-layout: fixed;
}

.backgrid th, .backgrid td {
    height: 20px;
    max-width: 250px;
    padding: 2px 3px;
    overflow: hidden;
    line-height: 20px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #f6f5f5;
}

.backgrid th.renderable,
.backgrid td.renderable {
    display: table-cell;
}

.backgrid th {
    font-weight: bold;
    text-align: center;
}

.backgrid th.sortable a {
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.backgrid th {
    font-weight: bold;
    cursor: pointer;
}

.backgrid th a {
    white-space: nowrap;
}

.backgrid thead th {
    vertical-align: bottom;
    color: #f6f5f5;
    background-color: #3ba9da;
}

/**.backgrid.backgrid-striped tbody tr:nth-child(odd) td, .backgrid.backgrid-striped tbody tr:nth-child(odd) th {
    background-color: #f9f9f9;
}
**/
/**.backgrid tbody tr.empty {
    font-style: italic;
    color: gray;
}
**/
/**
.backgrid tbody tr.selected,
.backgrid tbody tr.selected a 
{
    background-color: #b0bed9;
    color: #F9F9F9;
}
**/
/**.backgrid tbody tr.empty td {
    text-align: center;
}
**/
/**.backgrid td.editor, .backgrid tbody tr:nth-child(odd) td.editor {
    background-color: white;
    outline: 1px solid black;
    outline-offset: -1px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;       
    -webkit-transition-duration: 500ms;
    -moz-transition-duration: 500ms;
    -o-transition-duration: 500ms;
    transition-duration: 500ms;
    -webkit-transition-property: width, outline, background-color;
    -moz-transition-property: width, outline, background-color;
    -o-transition-property: width, outline, background-color;
    transition-property: width, outline, background-color;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
}
**/
/**.backgrid td.editor input[type=text] {
    /*display: block;*\/
    /*width: 100%;*\/
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}
**/
/**.backgrid td.error, .backgrid tbody tr:nth-child(odd) td.error {
    /*background-color: rgba(255, 210, 77, 0.1);*\/
   background-color: white;
    outline: 2px solid red;
}
**/
/**.backgrid td.editor :focus, .backgrid th.editor :focus {
    outline: 0;
    background-color: white;
}
**/
.backgrid .sort-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.3em;
    border: 0;
    content: "";
}

.backgrid .ascending .sort-caret {
    vertical-align: baseline;
    border-top: none;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #008eba;
    border-left: 4px solid transparent;
}

.backgrid .descending .sort-caret {
    vertical-align: super;
    border-top: 4px solid #008eba;
    border-right: 4px solid transparent;
    border-bottom: none;
    border-left: 4px solid transparent;
}

.backgrid .string-cell,
.backgrid .email-cell,
.backgrid .string-cell.editor input[type=text],
.backgrid .uri-cell.editor input[type=text],
.backgrid .email-cell.editor input[type=text] {
    text-align: left;
    padding-left: 5px;
}

.backgrid .uri-cell {
    text-align: center;
}

.backgrid .date-cell,
.backgrid .time-cell,
.backgrid .datetime-cell,
.backgrid .number-cell,
.backgrid .integer-cell,
.backgrid .percent-cell,
.backgrid .date-cell.editor input[type=text],
.backgrid .time-cell.editor input[type=text],
.backgrid .datetime-cell.editor input[type=text],
.backgrid .number-cell.editor input[type=text],
.backgrid .integer-cell.editor input[type=text],
.backgrid .percent-cell.editor input[type=text] {
    text-align: right;
    padding-right: 5px !important;

}

/**.backgrid .boolean-cell, .backgrid .boolean-cell.editor input[type=checkbox] {
    text-align: center;
}
**/
/**.backgrid .select-cell {
    text-align: center;
    background-color: blue;
}
**/
/**.backgrid .select-cell.editor {
    padding: 0;
}
**/
/**.backgrid .select-cell.editor select {
    display: block;
    width: 100%;
    height: 28px;
    padding: 4px 5px;
    margin: 0;
    line-height: 28px;
    vertical-align: middle;
    background-color: white;
    border: 0;
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
**/
/**.backgrid .select-cell.editor :focus {
    border: 0;
    outline: 0;
}
**/
/*.backgrid .select-cell.editor select::-moz-focus-inner, .backgrid .select-cell.editor optgroup::-moz-focus-inner, .backgrid .select-cell.editor option::-moz-focus-inner, .backgrid .select-cell.editor select::-o-focus-inner, .backgrid .select-cell.editor optgroup::-o-focus-inner, .backgrid .select-cell.editor option::-o-focus-inner {*/
    /*border: 0;*/
/*}*/
