/*
 *  File:         demo_table_jui.css
 *  CVS:          $Id$
 *  Description:  CSS descriptions for DataTables demo pages
 *  Author:       Allan Jardine
 *  Created:      Tue May 12 06:47:22 BST 2009
 *  Modified:     $Date$ by $Author$
 *  Language:     CSS
 *  Project:      DataTables
 *
 *  Copyright 2009 Allan Jardine. All Rights Reserved.
 *
 * ***************************************************************************
 * DESCRIPTION
 *
 * The styles given here are suitable for the demos that are used with the standard DataTables
 * distribution (see www.datatables.net). You will most likely wish to modify these styles to
 * meet the layout requirements of your site.
 *
 * Common issues:
 *   'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is
 *     no conflict between the two pagination types. If you want to use full_numbers pagination
 *     ensure that you either have "example_alt_pagination" as a body class name, or better yet,
 *     modify that selector.
 *   Note that the path used for Images is relative. All images are by default located in
 *     ../images/ - relative to this CSS file.
 */


/*
 * jQuery UI specific styling
 */

.paging_two_button .ui-button {
	float: left;
	cursor: pointer;
	* cursor: hand;
}

.paging_full_numbers .ui-button {
	padding: 2px 6px;
	margin: 0;
	cursor: pointer;
	* cursor: hand;
}

.dataTables_paginate .ui-button {

}

.paging_full_numbers {

}

.dataTables_wrapper .ui-toolbar {
	padding: 5px;
}

.dataTables_paginate {
	width: auto;
}

.dataTables_info {
	padding-top: 3px;
}

div.dataTables_wrapper table th {
	cursor: pointer;
}

div.dataTables_wrapper .ui-widget-header {
	font-weight: normal;
}


/*
 * Sort arrow icon positioning
 */
table thead th div.DataTables_sort_wrapper {
	position: relative;
	padding-right: 20px;
	padding-right: 20px;
}

table thead th div.DataTables_sort_wrapper span {
	position: absolute;
	top: 50%;
	margin-top: -8px;
	right: 0;
}




/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * Everything below this line is the same as demo_table.css. This file is
 * required for 'cleanliness' of the markup
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

.dataTables_wrapper {
	position: static;
	clear: both;
	background-color: #ebebe8;
	padding-top: 1em;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	border: 1px solid #CCCCCC;
}

.dataTables_processing {
	position: absolute;
	top: 0px;
	left: 50%;
	width: 250px;
	margin-left: -125px;
	border: 1px solid #ddd;
	text-align: center;
	color: #999;
	font-size: 11px;
	padding: 2px 0;
}

.dataTables_length {
	width: 40%;
	float: left;
	margin-left: 1em;
	margin-bottom: 1em;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
	margin-right: 1em;
	margin-bottom: 1em;
}

.dataTables_info {
	width: 50%;
	float: left;
	margin-top: .5em;
}

.dataTables_paginate {
	text-align: right;
	margin-top: 2em;
	 padding-bottom: 1em;
	 clear:both;
}

/* Pagination nested */
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 19px;
	margin-left: 3px;
	float: left;
}

.paginate_disabled_previous {
	background-image: url('../images/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('../images/back_enabled.jpg');
}

.paginate_disabled_next {
	background-image: url('../images/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('../images/forward_enabled.jpg');
}



 
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables display
 */

 
table {
	width: 100%;
	clear: both;
	border-collapse: collapse;
	-moz-border-radius: 9px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
}

table th {
	border-top: 1px solid #CCCCCC;
	background-color: #e0e0e0;
}

table tfoot th {
	padding: 3px 0px 3px 10px;
	font-weight: bold;
	font-weight: normal;
}

table th , table td{
	padding: 7px 10px 7px 10px;
}

table tr {
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

table td.center {
	text-align: center;
}


tr td{
	padding-bottom: 1em;
	padding-top: 1em;
	border: 1px solid #ddd;
}





/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
table tr.odd.gradeA {
	background-color: #fff;
}

table tr.even.gradeA {
	background-color: #ebebe8;
}




table tr.odd.gradeA {
	background-color:#F5F5F3;
}

table tr.even.gradeA {
	background-color: #fff;
}

table tr.odd.gradeC {
	background-color: #ddddff;
}

table tr.even.gradeC {
	background-color: #eeeeff;
}

table tr.odd.gradeX {
	background-color: #ffdddd;
}

table tr.even.gradeX {
	background-color: #ffeeee;
}

table tr.odd.gradeU {
	background-color: #ddd;
}

table tr.even.gradeU {
	background-color: #eee;
}


tr.odd td, tr:nth-child(2n+3) td  {
	background-color: #F3F3F1 ;
}

tr.even {
	background-color: white;
}


th.sorting
{
    background-image: url('../images_application/sort.png');
    background-position: 5px center;
    background-repeat: no-repeat;
    border-right: 1px solid #EEEEEE;
    padding-left: 17px;   }


th.sorting_desc
{
    background-image: url('../images_application/sort_desc.png');
    background-position: 5px center;
    background-repeat: no-repeat;
    border-right: 1px solid #EEEEEE;
    padding-left: 17px;
    }

th.sorting_asc
{
    background-image: url('../images_application/sort_asc.png');
    background-position: 5px center;
    background-repeat: no-repeat;
    border-right: 1px solid #EEEEEE;
    padding-left: 17px;
    }


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.dataTables_scroll {
	clear: both;
}

.top, .bottom {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

.dataTables_empty {
	text-align: center;
}

tfoot input {
	margin: 0.5em 0;
	width: 100%;
	color: #444;
}

tfoot input.search_init {
	color: #999;
}

td.group {
	background-color: #d1cfd0;
	border-bottom: 2px solid #A19B9E;
	border-top: 2px solid #A19B9E;
}

td.details {
	background-color: #f9f7f8;
	border: 2px solid #A19B9E;
}


.example_alt_pagination div.dataTables_info {
	width: 40%;
}

.paging_full_numbers span.paginate_button
{
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	cursor: pointer;
	*cursor: hand;
	color: #9D0135;
	background-color: #f9f7f8;
	margin-top: 0;
	margin-right: 3px;
	margin-bottom: 0;
	margin-left: 3px;
	padding-top: 3px;
	padding-right: 7px;
	padding-bottom: 3px;
	padding-left: 7px;	
}

 	.paging_full_numbers span.paginate_active {
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 3px 14px;
	margin: 0 3px;
	cursor: pointer;
	*cursor: hand;
	color: #9D0135;
	background-color: #f9f7f8;
}

.inactive{
	border: 1px solid #CCCCCC !important;
	color: #CCCCCC!important;
	cursor: default!important;
	padding-right: 7px;
	padding-left: 7px;
}

.inactive:hover{

	background-color: #F5F5F3!important;

}

.paging_full_numbers span.paginate_button a{
	padding: 3px 7px;

}

.paging_full_numbers span.paginate_button {
	background-color: #f5f5f3;
}

.paging_full_numbers span.paginate_button:hover {
	background-color: #ccc;
	border: 1px solid #999999;
}

.paging_full_numbers span.paginate_active {
	background-color: #9D0135;
	color: #FFFFFF;
}

table tr.even.row_selected td {
	background-color: #B0BED9;
}

table tr.odd.row_selected td {
	background-color: #9FAFD1;
}

