/*
 *  File:         demo_table.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.
 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables features
 */

/*
.dataTables_wrapper {
	position: relative;
	clear: both;
	min-height: 302px;
	_height: 302px;
	zoom: 1;
}
*/

.dataTables_processing {
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    height: 30px;
    margin-left: -125px;
    margin-top: 185px;
    padding: 14px 0 2px 0;
    border: 1px solid #ddd;
    text-align: center;
    color: #cc3333;
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    width: 250px;
}

.dataTables_length {
    background-color: #ffffff;
    color: #000000;
    float: left;
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    height: 25px;
    padding-bottom: 3px;
    padding-left: 0.5%;
    padding-top: 3px;
    width: 49.5%;
}

.dataTables_filter {
	background-color: #ffffff;
	color: #000000;
	float: right;
	font-family: Arial;
	font-size: 11px;
	font-weight: bold;
	height: 25px;
	padding-bottom: 3px;
	padding-right: 0.5%;
	padding-top: 3px;
	text-align: right;
	width: 49.5%;
}

.dataTables_info {
    background-color: #ffffff;
    color: #000000;
    float: left;
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    height: 25px;
    padding-bottom: 8px;
    padding-left: 0.5%;
    padding-top: 8px;
    width: 49.5%;
}

.dataTables_paginate {
    background-color: transparent;
    float: right;
    padding-bottom: 3px;
    padding-right: 0.5%;
    padding-top: 3px;
    text-align: right;
}

/* 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/dataTables/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('../../images/dataTables/back_enabled.jpg');
}

.paginate_disabled_next {
	background-image: url('../../images/dataTables/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('../../images/dataTables/forward_enabled.jpg');
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables dataTables
 */
table.dataTables {
	margin: 0 auto;
	width: 100%;
	clear: both;
}

table.dataTablesBusqueda {
	margin: 0 auto;
	width: 100%;
	clear: both;
}

table.dataTablesGeneral {
    margin: 0 auto;
    width: 100%;
    clear: both;
}

table.dataTables thead th { 
	background-color: #eeeeee;
	color: #000000;
	cursor: pointer;
	font-family: Arial;
	font-size: 11px;
	font-weight: bold;
	height: 25px;
	text-align: center;
}

table.dataTables tfoot th {
	padding: 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}

table.dataTables tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

table.dataTablesBusqueda thead th { 
	/*background-color: #5C686D;*/
	color: #3e3e3e;
	cursor: pointer;
	font-family: Calibri;
	font-size: 13px;
	font-weight: bold;
	height: 20px;
	text-align: center;
}

table.dataTablesBusqueda tfoot th {
	padding: 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}


table.dataTablesBusqueda tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

table.dataTablesBusqueda td.center {
	text-align: center;
}

table.dataTablesBusquedaLeft {
	/*margin: 0 auto;*/
	text-align: left;
	width: 100%;
	clear: both;
}

table.dataTablesBusquedaLeft thead th { 
	background-color: #5C686D;
	color: #ffffff;
	cursor: pointer;
	font-family: Calibri;
	font-size: 13px;
	font-weight: bold;
	height: 20px;
	text-align: center;
}

table.dataTablesBusquedaLeft tfoot th {
	padding: 3px 10px;
	border-top: 1px solid black;
	font-weight: bold;
}


table.dataTablesBusquedaLeft tr.heading2 td {
	border-bottom: 1px solid #aaa;
}

table.dataTablesBusquedaLeft td.center {
	text-align: center;
}


table.dataTablesGeneral thead th {
    background-color: #B0B7B7;
    color: #fff;
    cursor: pointer;
    font-family: Calibri;
    font-size: 13px;
    font-weight: bold;
    height: 25px;
    text-align: center;
    text-transform: uppercase;
}

table.dataTablesGeneral tfoot th {
    padding: 3px 10px;
    border-top: 1px solid black;
    font-weight: bold;
}


table.dataTablesGeneral tr.heading2 td {
    border-bottom: 1px solid #aaa;
}

table.dataTablesGeneral td.center {
    text-align: center;
}

table.dataTablesGeneralLeft {
    /*margin: 0 auto;*/
    text-align: left;
    width: 100%;
    clear: both;
}

    table.dataTablesGeneralLeft thead th {
        background-color: #B0B7B7;
        color: #ffffff;
        cursor: pointer;
        font-family: Calibri;
        font-size: 13px;
        font-weight: bold;
        height: 20px;
        text-align: center;
    }

    table.dataTablesGeneralLeft tfoot th {
        padding: 3px 10px;
        border-top: 1px solid black;
        font-weight: bold;
    }


    table.dataTablesGeneralLeft tr.heading2 td {
        border-bottom: 1px solid #aaa;
    }

    table.dataTablesGeneralLeft td.center {
        text-align: center;
    }


/*
table.dataTables td {
	color: #666666;
	font-family: Arial;
	font-size: 11px;
	height: 25px;
}
*/
table.dataTables td.center {
	text-align: center;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.sorting_asc {
	background: url('../../images/dataTables/sort_asc.gif') no-repeat center right;
}

.sorting_desc {
	background: url('../../images/dataTables/sort_desc.gif') no-repeat center right;
}

.sorting {
	background: url('../../images/dataTables/sort_both.gif') no-repeat center right;
}

.sorting_asc_disabled {
	background: url('../../images/dataTables/sort_asc_disabled.gif') no-repeat center right;
}

.sorting_desc_disabled {
	background: url('../../images/dataTables/sort_desc_disabled.gif') no-repeat center right;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables row classes
 */
/*
table.dataTables tr.odd.gradeA {
	background-color: #ddffdd;
}

table.dataTables tr.even.gradeA {
	background-color: #eeffee;
}

table.dataTables tr.odd.gradeA {
	background-color: #ddffdd;
}

table.dataTables tr.even.gradeA {
	background-color: #eeffee;
}

table.dataTables tr.odd.gradeC {
	background-color: #ddddff;
}

table.dataTables tr.even.gradeC {
	background-color: #eeeeff;
}

table.dataTables tr.odd.gradeX {
	background-color: #ffdddd;
}

table.dataTables tr.even.gradeX {
	background-color: #ffeeee;
}

table.dataTables tr.odd.gradeU {
	background-color: #ddd;
}

table.dataTables tr.even.gradeU {
	background-color: #eee;
}

tr.odd {
	background-color: #ffffff;
}

tr.even {
	background-color: #ffffff;
}
*/
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Misc
 */
.top, .bottom {
	padding: 15px;
	background-color: #F5F5F5;
	border: 1px solid #CCCCCC;
}

.top .dataTables_info {
	float: none;
}

.clear {
	clear: both;
}

.dataTables_empty {
	color: #003399;
	font-family: Arial;
	font-size: 16px;
	font-weight: bold;
	height: 25px;
	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: #d1cfd0;
	border: 2px solid #A19B9E;
}

.example_alt_pagination div.dataTables_info {
	width: 40%;
}

.paging_full_numbers {
	width: 49.5%;
	height: 25px;
	line-height: 25px;
}

.paging_full_numbers span.paginate_button,
 	.paging_full_numbers span.paginate_active { 
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #aaa;
	cursor: pointer;
	margin: 0 3px;
	font-family: Calibri;
	font-size: 11px;
	font-weight: bold;
	height: 25px;
	padding-bottom: 2px;
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 2px;
}

.paging_full_numbers span.paginate_button {
	background-color: #eeeeee;
}

.paging_full_numbers span.paginate_button:hover {
	background-color: #5C686D;
	color: #ffffff;
}

.paging_full_numbers span.paginate_active {
	background-color: #5C686D;
	color: #ffffff;
}

table.dataTables tr.even.row_selected td {
	background-color: #B0BED9;
}

table.dataTables tr.odd.row_selected td {
	background-color: #9FAFD1;
}


/*
 * Sorting classes for columns
 */
/* For the standard odd/even */
/*
tr.odd td.sorting_1 {
	background-color: #D3D6FF;
}

tr.odd td.sorting_2 {
	background-color: #DADCFF;
}

tr.odd td.sorting_3 {
	background-color: #E0E2FF;
}

tr.even td.sorting_1 {
	background-color: #EAEBFF;
}

tr.even td.sorting_2 {
	background-color: #F2F3FF;
}

tr.even td.sorting_3 {
	background-color: #F9F9FF;
}
*/

/* For the Conditional-CSS grading rows */
/*
 	Colour calculations (based off the main row colours)
  Level 1:
		dd > c4
		ee > d5
	Level 2:
	  dd > d1
	  ee > e2
 */
tr.odd.gradeA td.sorting_1 {
	background-color: #c4ffc4;
}

tr.odd.gradeA td.sorting_2 {
	background-color: #d1ffd1;
}

tr.odd.gradeA td.sorting_3 {
	background-color: #d1ffd1;
}

tr.even.gradeA td.sorting_1 {
	background-color: #d5ffd5;
}

tr.even.gradeA td.sorting_2 {
	background-color: #e2ffe2;
}

tr.even.gradeA td.sorting_3 {
	background-color: #e2ffe2;
}

tr.odd.gradeC td.sorting_1 {
	background-color: #c4c4ff;
}

tr.odd.gradeC td.sorting_2 {
	background-color: #d1d1ff;
}

tr.odd.gradeC td.sorting_3 {
	background-color: #d1d1ff;
}

tr.even.gradeC td.sorting_1 {
	background-color: #d5d5ff;
}

tr.even.gradeC td.sorting_2 {
	background-color: #e2e2ff;
}

tr.even.gradeC td.sorting_3 {
	background-color: #e2e2ff;
}

tr.odd.gradeX td.sorting_1 {
	background-color: #ffc4c4;
}

tr.odd.gradeX td.sorting_2 {
	background-color: #ffd1d1;
}

tr.odd.gradeX td.sorting_3 {
	background-color: #ffd1d1;
}

tr.even.gradeX td.sorting_1 {
	background-color: #ffd5d5;
}

tr.even.gradeX td.sorting_2 {
	background-color: #ffe2e2;
}

tr.even.gradeX td.sorting_3 {
	background-color: #ffe2e2;
}

tr.odd.gradeU td.sorting_1 {
	background-color: #c4c4c4;
}

tr.odd.gradeU td.sorting_2 {
	background-color: #d1d1d1;
}

tr.odd.gradeU td.sorting_3 {
	background-color: #d1d1d1;
}

tr.even.gradeU td.sorting_1 {
	background-color: #d5d5d5;
}

tr.even.gradeU td.sorting_2 {
	background-color: #e2e2e2;
}

tr.even.gradeU td.sorting_3 {
	background-color: #e2e2e2;
}

/*
 * Row highlighting example
 */
.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted {
	background-color: #ECFFB3;
}

.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted {
	background-color: #E6FF99;
}

/*
 * KeyTable
 */
table.KeyTable td {
	border: 3px solid transparent;
}

table.KeyTable td.focus {
	border: 3px solid #3366FF;
}

table.dataTables tr.gradeA {
	background-color: #eeffee;
}

table.dataTables tr.gradeC {
	background-color: #ddddff;
}

table.dataTables tr.gradeX {
	background-color: #ffdddd;
}

table.dataTables tr.gradeU {
	background-color: #ddd;
}

div.box {
	height: 100px;
	padding: 10px;
	overflow: auto;
	border: 1px solid #8080FF;
	background-color: #E5E5FF;
}
