/*
   New Perspectives on HTML and CSS
   Final Project
      
   Table - Credits Style Sheet
   Author: Claudia Lindsay
   Date:   10/12/2015

   Filename:         creditstable.css
   Supporting Files: 

*/

/*Style for table*/
div#flow{
	height: 600px;
	overflow: auto;
}

table.tablecredits {
	margin: 1em auto;
}

.tablecredits tr:nth-child(even) {
	background-color: rgba(252, 115, 115, 0.5);
}

.tablecredits tr:nth-child(odd){
	background-color: rgba(99, 187, 225, 0.5);
}

.tablecredits th, td {
	border: solid 3px rgb(57, 57, 64);
	padding: 1.5px;
}

.tablecredits td:nth-child(1) {
	text-align: center;
}
 
.tablecredits td:nth-child(2) {
	text-align: right;
} 
 
.tablecredits td:nth-child(3) {
	text-align: right;
}

.tablecredits th {
	background-color: rgb(201, 201, 201);
}

.tablecredits tr:hover {
	background-color: lime;
	cursor: cell;
}