/*************TRAY CSS ***********/

/*** .form_table maybe replaced by default table layout in /themes/tray_code/css/tables **/
.form_table {
    border:1px solid #b8b5b5;
    border-spacing:0;
    border-collapse: collapse;
}

.form_table td {
    border-width: 1px;
    /*border:1px solid #b8b5b5;*/
    white-space: nowrap;
}

.form_table_no_td_border td {
    border-width: 0px;
}

.td_label {
    background-color: #BBBABA;
    padding:5px 5px 5px 10px;
    border-bottom-style: solid;
    border-bottom-color: #b8b5b5;
    font-weight: bold;
}

.td_label_noborder {
    background-color: #BBBABA;
    padding:5px 5px 5px 10px;
    font-weight: bold;
}

.td_data {
    background-color: #e5e5e5;
    padding:5px 5px 5px 10px;
    border-bottom-style: solid;
    border-bottom-color: #b8b5b5;
}

.td_data_no_border {
    background-color: #e5e5e5;
    padding:5px 5px 5px 10px;
}

.table_header_main {
    background-color: #787878;
    padding:5px 5px 5px 5px;
    border-bottom-style: solid;
    border-bottom-color: #b8b5b5;
    font-size: 12px;
    color : #FFFFFF;
}

.table_header_sub {
    background-color: #787878;
    border-bottom-style: solid;
    border-bottom-color: #b8b5b5;
    padding:5px 5px 5px 5px;
    font-size: 12px;
    color : #FFFFFF;
}

.table_header_sub_center {
    text-align: center;
}

.table_header_column_heading {
    background-color: #9E9D9D;
    border-bottom-style: solid;
    border-bottom-color: #b8b5b5;
    padding:5px 5px 5px 5px;
    font-size: 12px;
    font-weight: bold;
}




/*.highlight_error_row {
    background-color: #9E9D9D;
}*/

.highlight_error_row td { border-top: 2px solid red; } 
.highlight_error_row td { border-bottom: 2px solid red; } 
.highlight_error_row td:first-child { border-left: 2px solid red; } 
.highlight_error_row tr td:first-child { border-left: 2px solid red; } 
.highlight_error_row td:last-child { border-right: 2px solid red; }

/* Stop any child tables in the row being highlighted as well */
.highlight_error_row table td { border: 0px ; }
.highlight_error_row table td:first-child { border: 0px ; } 
.highlight_error_row table td:last-child { border: 0px ; }






/* ------------------
 styling for the tables 
   ------------------   */

/*******Default Table Layout*******/


.default-data-table-style caption, td, tr, th {
	margin:0;
	padding:0;
	font-weight:normal;
}

.default-data-table-style  {
	border-collapse:collapse;
	margin-bottom:15px;
	width:100%;
    font-size:13px;
	font-family: 'Open Sans', sans-serif;
}

.default-data-table-style caption {
text-align:left;
font-size:15px;
padding-bottom:10px;
}

.default-data-table-style td, th {
padding:5px;
border:1px solid #fff;
/*border-width:0 1px 1px 0;*/
white-space:nowrap;
}

.default-data-table-style th {
background:#f2f3f3;
}

.default-data-table-style td.cursor_hand {
font-weight: bold;
}

.default-data-table-style thead th, thead th[colspan], thead th[rowspan] {
background:#f2f3f3;
font-weight:bold;
}

.default-data-table-style tbody th, tfoot th {
text-align:left;
background:#f2f3f3;
}

.default-data-table-style tbody td, tfoot td {
text-align:left;
background:#f2f3f3;
}

.default-data-table-style tfoot th {
background:#f2f3f3;
font-weight:bold;
}

.default-data-table-style tfoot td {
background:#d7e1c5;
font-weight:bold;
}

.default-data-table-style tbody tr.odd td { 
background:#f2f3f3;
}

@media screen and (max-width: 640px) {
	table {
		overflow-x: auto;
		display: block;
	}
}

