.JWebGrid table{
	border:1px solid #CCC;
	border-spacing:0px;
	border-collapse:collapse;
	width:100%;
	font-family: "Arial";
	font-size: 13px;
}
.JWebGrid tbody tr td, .JWebGrid tbody tr th {
	background-color: #fff;
	text-align: left;
	vertical-align: middle;
	padding-top:15px;
	padding-bottom:15px;
	border:1px solid #999999;
	color:#505050;
}
.JWebGrid th{
	background:#f5f5f6;
	padding:15px;
	border:1px solid #999999;
	color:#404040;
}
.JWebGrid td{
	padding: 10px;
}

.JWebGrid tbody .oddJWeb td, .JWebGrid tbody .oddJWeb{
	background:#f9f9f9;
}

.JWebGrid table a{
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background-color:#ededed;
	-webkit-border-top-left-radius:6px;
	-moz-border-radius-topleft:6px;
	border-top-left-radius:6px;
	-webkit-border-top-right-radius:6px;
	-moz-border-radius-topright:6px;
	border-top-right-radius:6px;
	-webkit-border-bottom-right-radius:6px;
	-moz-border-radius-bottomright:6px;
	border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	-moz-border-radius-bottomleft:6px;
	border-bottom-left-radius:6px;
text-indent:0;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#777777;
	font-family:Helvetica;
	font-size:12px;
	font-weight:bold;
	font-style:normal;
	padding:5px 8px;
	text-decoration:none;
	text-align:center;
	margin-right:5px;
	text-shadow:1px 1px 0px #ffffff;
}.JWebGrid table a:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background-color:#dfdfdf;
}.JWebGrid table a:active {
	position:relative;
	top:1px;
}
.JWebGrid tbody tr:hover, .JWebGrid tr:hover td, .JWebGrid tbody tr:nth-child(odd):hover td, .JWebGrid tbody tr:nth-child(odd):hover th{
	background:#FFFFCC;
}
.JWebGridSearch{
	padding:10px;
	background:#555555;
	height:auto;
}
.JWebGridSearch h4{
	color:#F8F8F8;
	margin:0px;
	padding:0px;
	font-weight: lighter;
	display:inline-block;
}
.JWebGridSearch input[type="text"]{
	margin:-2px;
	float:right;
	width:200px;
	height:auto !important;
	padding:2px 4px !important;
}
.JWebGridSearch span{
	color:#ffffff;
	display: inline;
}
.pagination{
	width:100%;
	background:#555555;
	color:#CCC;
	padding:10px 0px;
	display:block;
	height:auto;
}
.pagination a{
	font-size: 28px;
	color:#CCC;
	text-decoration: none;
	line-height: 0px;
	margin-right: 6px;
}
.pagination .page{
	cursor:pointer;
	font-size: 14px;
	margin:0px 3px;
	line-height: :20px;
	background: #CCC;
	color:#555555;
	padding:2px 0px;
	width:22px;
	border-radius: 40px;
	font-weight:bold;
	text-align: center;
	display: inline-block;
}
.pagination .page:hover, .pagination .seleccionado{
	background: #909090;
}
.pagination a:hover{
	/*color: #599bb3;*/
	color: #909090;
}
.mostrarJWeb{
	background:#CCC;
	color:#555555;
	float:right;
	margin-right:7px;
	font-weight: bold;
	margin-top:0px;
	height:auto;
    min-width:50px !important;
}

.JWebGrid .settings hr{
	clear:both;
	font-weight: bold;
	color:#fff;
	width:18px;
	margin:0px;
	margin-top: 2.9px;
	padding:0px;
}

.JWebGrid .settings{
	float:left;
	margin-right:10px;
}

.JWebGridStart, .JWebGridEnd{
	width:30px;
	display: inline-block;
} 
.JWebGrid tr{ 
	display: table-row !important;
}

@media screen and (max-width: 768px) {
	
	/* Force table to not be like tables anymore */
	.JWebGrid table, 
	.JWebGrid thead, 
	.JWebGrid tbody, 
	.JWebGrid th, 
	.JWebGrid td, 
	.JWebGrid tr{ 
		display: block !important;
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	.JWebGrid thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.JWebGrid tbody tr td, .JWebGrid tbody tr th {
		border:none;
		padding-top: 5px;
		padding-bottom: 5px;
	}
 
	.JWebGrid tr.visible { border-top:2px solid #999; }
 
	.JWebGrid td { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	.JWebGrid td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}

	.JWebGrid table a{
		margin: 3px;
	}

	.JWebGrid input[type="text"]{
 		margin:-2px;
		width:60px;
	}
 	
 	.JWebGridSearching{
 		clear:both;
 	}

 	.JWebGrid .mostrarJWeb{
 		clear: both;
 		float: none;
		width: 75%;
		text-align: center;
		display: block;	    
		margin: 5px auto;
 	}

 	.JWebGrid .details, .JWebGrid .details td{
		background:#FFFFF0 !important;
	}

 	.pagination{
 		text-align: center;
 		height:80px;
 	}

	.JWebGrid td:before { content: attr(data-JWebGridTitle); }
}