﻿.stdgrid{
    width: 100%;
    background-color: #fff;
    border-collapse:collapse;    
    margin: 0px 0 0px 0;
    border: solid 0px #525252;    
}

.stdgridheader
{        
}

.stdgridheadercol
{    
    padding: 4px 2px;
    padding: 0;    
    font-family: Verdana, Arial, sans-serif;
    font-size: 1em;
    font-weight: normal;
    color: #555;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 16px;    
    padding: 4px 2px;
    background: #E0E0E0 url(../Content/images/header-columns-bg.gif) repeat-x top;
    border-left: solid 1px #A0A0A0;
    border-top: solid 0px #A0A0A0;    
}

.stdgridheaderfiller{
    padding: 4px 2px;
    color: #000;
    background: #E0E0E0 url(../Content/images/header-columns-bg.gif) repeat-x top;
    border-left: solid 1px #A0A0A0;
    border-top: solid 0px #A0A0A0;
}

.stdgriddatao
{
    background:#E0E0E0;
    padding: 2px;
    border: solid 1px #c1c1c1;
}

.stdgriddatae
{
    padding: 2px;
    border: solid 1px #c1c1c1;
}

.stdgridrow{
    height: 20px; /*12*/ 
    color: #222; 
    font-family: Verdana, Arial, sans-serif; 
    font-size: 1em; 
    font-weight: normal;
}

/* Row: background color */
.stdgridrowe{    
}
.stdgridrowo{
    /* background:#E0E0E0; */
    background:#DDDDDD;
}
.stdgridrows{
    background-color: #58AB27;
}

/* Row: background color:hover */
.stdgridrowe:hover{    
    background-color: #c8dcaa;
}
.stdgridrowo:hover{
    background-color: #c8dcaa;
}
.stdgridrows:hover{
    /* background-color: #c8dcaa; */
    background-color: #58AB27;
}

.stdgridcell
{
    padding: 0px;   /* 1 px */
    border: solid 1px #c1c1c1;
}

.stdgridtexteditor
{
    height: 16px;
    background-color:transparent;
    margin-top:0px;
    margin-bottom:0px;
    padding-left: 1px;
    padding-right: 2px;
    border-style: none;
    border-color: black;
    border-width: 0px;
    width:100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border-radius: 0px;
    color:#222;
}

.stdgridalignright
{    
    text-align:right;
}

.stdgridtexteditor:focus{
    background-color:#ffffff;
}

.stdgridtexteditorautoset
{    
    height: 16px;
    background-color:transparent;
    margin-top:0px;    
    margin-bottom:0px;
    padding-left: 1px;
    padding-right: 2px;
    border-style: none;
    border-color: black;
    border-width: 0px;
    width:100%;
    text-align:right;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    border-radius: 0px;
    color:#222;
}

/* Orginalet
.stdgridtexteditorautoset
{
    height: 16px;
    background-color:transparent;
    margin-top:0px;    
    margin-bottom:0px;
    padding-left: 1px;
    border-style: none;
    border-color: black;
    border-width: 0px;
    width:100%;
    text-align:right;
}
*/

.stdgridtexteditorautoset:focus{
    background-color:#ffffff;
}

/*
.stdgridfocus input:focus {    
    background-color: #ff0;
}


.stdgridrow td:hover{
    background-color: #c8dcaa;
}

.stdgridrow-hover tbody tr:hover td
{ 
    background: #f7dcdf;
} 

.stdgridrow-hover tbody tr:hover td
{ 
    background: #f7dcdf;
}
*/ 

/*
.fixed_headers {
  / *width: 750px;* /
  table-layout: fixed;
  border-collapse: collapse;
}
.fixed_headers th {
  / *text-decoration: underline;* /
}
.fixed_headers th,
.fixed_headers td {
  / *padding: 5px;
  text-align: left;* /
  box-sizing: border-box;
}
.fixed_headers td:nth-child(1),
.fixed_headers th:nth-child(1) {
  /*min-width: 200px;* /
}
.fixed_headers td:nth-child(2),
.fixed_headers th:nth-child(2) {
  / *min-width: 200px;* /
}
.fixed_headers td:nth-child(3),
.fixed_headers th:nth-child(3) {
  / *width: 350px;* /
}
.fixed_headers thead {
  / *background-color: #333333;
  color: #fdfdfd;* /
}
.fixed_headers thead tr {
  display: block;
  position: relative;
  width: 100%;
}
.fixed_headers tbody {
  display: block;
  overflow: auto;
  width: 100%;
  margin-right:20px;
  / *height: 300px;* /
}
.fixed_headers tbody tr:nth-child(even) {
  / *background-color: #dddddd;* /
}
*/