table {
    width: 500px;
    margin: auto;
    border: 5px solid #000066;
    border-collapse:collapse;
    border-spacing: 10px;
    }
caption {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: bold;
    font-size: 1.2em;
    padding-bottom: 10px;    
}
th, td {
    font-family: Arial, Verdana, sans-serif;
    border: 1px solid #000066;
    padding: .5em;
}
/*.altrow {
    background-color: pink;
}*/
tr:first-of-type {
	background-color: #000066;
	color: #eaeaea;
}
tr:last-of-type{
	background-color: #0000ff;
	color: #eaeaea;
}
tr:nth-of-type(3){
	background-color: #ffff00;
}