﻿table.datagrid {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #3C8DBC;
    border: 1px solid #ddd;
    font-size: 11px;
    font-family: sans-serif;
}

table.datagrid thead, table.datagrid tbody, table.datagrid tr, table.datagrid td, table.datagrid th { 
    display: block; 
}

table.datagrid thead th {
    border-left: none;
}

table.datagrid tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
    width: 100%;
}



table.datagrid th { 
	text-align: center;
	border-bottom: 0px;
    margin-bottom: -2px;
	border-right: 1px solid #ddd;
	line-height: 25px;
	height: 25px;
    color: #FFFFFF;
    font-weight: bold;
}


table.datagrid tbody {
    overflow-y: scroll;
    background: #fafafa;
    width: 100%;
    width: calc(100%);
    word-break: break-all;
}

table.datagrid thead {
    width: 97%;
    width: calc(100% - 17px);
    height: 25px;
}

table.datagrid tbody td {
    float: left;
    height: 25px;
    border-right: 1px solid #ddd;
    padding-top: 0px;
    padding-left:0px;
    color: #333333; 
    font-weight: normal; 
    font-family: "Segoe UI Semilight","Open Sans",Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    line-height: 1.3;
    border-color: -moz-use-text-color #DDDDDD; 
    overflow:auto;
        margin-top: 1px;
    margin-bottom: 0px;
    margin-left: 0px;
}

p{
    padding:6px;
}

table.datagrid tbody div {
    margin-left: 10px;
}

table.datagrid thead th {
    float: left;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #2D89EF), color-stop(1, #3C8DBC) );
    background:-moz-linear-gradient( center top, #3C8DBC 5%, #3C8DBC 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2D89EF', endColorstr='#2D89EF');
    color:#FFFFFF; 
    font-size: 13px; 
    font-weight: normal; 
    border-left: medium none;
    float: left;
}

table.datagrid tbody td:last-child, table.datagrid thead th:last-child {
    border-right: none;
}

table.datagrid tfoot{
    height:25px;
    background: #3C8DBC;
}

table.datagrid tbody tr{
    border-bottom: 1px solid #ddd;
}


table.datagrid  tfoot td div { 
    background: #3C8DBC;

} 
table.datagrid  tfoot td { 
    padding: 0; 
    font-size: 11px;
	border-left: 0px;	   

} 
table.datagrid  tfoot td ul 
{ 
	margin: 0; 
	padding:0; 
	list-style: none; 

}
table.datagrid  tfoot  li 
{ 
	display: inline;

}

.datagrid li:last-child > a,
.datagrid li:last-child > span {
  border-top-right-radius:0px;
  border-bottom-right-radius: 0px;
}

.datagrid li> a,
.datagrid li> span {
 padding:7px 12px;
}


/*.datagrid  tr:hover { 
background-color: #E8EAEF;
}*/

.interlineado {
background-color:#F0F0F0;
}

.altura{
overflow-y:auto;
max-height:10px;
}

.cuerpo{
overflow:auto; 
height:320px
}

.container{
overflow:hidden;
width:100%;
}

#paging li {
float:left;
padding-left:0px;
display:inline-block;
}

.activeSelect {
    color: #fff;
    background-color: #4fabff;
}

.hoverTrGrid {
    background-color: #E8EAEF;
}

.indexNumber {
    float: left;
    background-color: #3C8DBC;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2D89EF', endColorstr='#2D89EF');
    font-size: 13px; 
    font-weight: normal; 
    float: left;
    border-left: none;
    border-right: 1px solid rgb(221, 221, 221);
    border-top:none;
    border-bottom:none;
}

.inputGrid {
    background-color:#FAFAFA;
    border:none;
    width:100%;
    height:25px;
    line-height:2;
}