

#rules_table_div table, 
/*#table_area table, 
*/table.data_table {
	width: 100%;
	margin-top: 1em;
	
}
#pupil_info input[type="text"], #lesson_times input[type="text"]{

width: 100%;
}

#rules_table_div th, 
/*#table_area  th, 
*/table.data_table th  {
	
	font-weight:normal;
}
table.data_table th,
table.purple th, table.purple .accent_col  {
	
	text-align: center;
	background-color:#CC99FF;
}

#rules_table_div td, #rules_table_div th, 
/*#table_area  td, #table_area  th, */
table.data_table td, table.data_table th	{
	text-align: center;
	padding: 0.6%;
}

#rules_table tr:nth-child(odd), 
/*#table_area  tr:nth-child(odd),
*/table.data_table tr:nth-child(odd) {
	
	background-color: #ddd;
}
#rules_table tr:nth-child(even), 
/*#table_area  tr:nth-child(even),
*/table.data_table tr:nth-child(even) {
	
	background-color: #F1EFEF;
}

table.data_table  tr.bottom_row{
	
	background-color: #bbb;
	
}
.halfterm {
	
	background-color: #bbb;
}



/*  other table stuff  eg Rules  */
table.purple input.tf_or_cb[type=text]{

width: 90%;

}
 .table_entry_row tr:nth-child(odd){
 background-color: #999;
}
.must {
	
	background-color:#7AEF6D;
}
.cant {
	
	background-color:#EB678B;
}
.must_text {
	
	font-weight:bold;
	color:#5bc54f;
}
.cant_text {
	
	font-weight:bold;
	color:#EB678B;
}

table select {
/*	width: 100%;*/
	
}