﻿body{ background-color: #F8F5F2; font-family: "Courier New", Courier, monospace }


table.mainTable{
	font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	text-align: center;
}
.mainTable thead th{ 
	background-color: #22577A;
	color: white;
	font-size: x-large;
	padding: 5px; 
}
.mainTable tbody tr{
	background-color: #38A3A5;
	color: black;
	font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	height:100px;
}
.mainTable tbody tr:nth-child(even){
	background-color: #80ED99;
	color: black
}
.mainTable tbody tr:hover{
	background-color: #C7F9CC;
	color:black;
}



table.header tr{
	font-size:xx-large;
	background-color: transparent;
	font-family: "Courier New", Courier, monospace; 
}


table.formTable {
	font-family:Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}


.albumCover{ width: 100px; height: 100px; }

.noGenreDiv{ padding:6px; color: red; background:white;}
.genreDiv{ padding:6px; border-bottom: 1px solid #ccc; background: white; cursor:pointer }
.genreParentDiv{ position:absolute; border:1px solid #ccc; max-width:300px; z-index:999;	/* z-index has highest value so ensures is shown ontop of everything else (needs absolute position) */ }

a:link {
	color: #57CC99;
}
a:visited{
	color: #FF50A0;
}

.star-rating{
	display:flex; flex-direction: row-reverse; justify-content: space-evenly;	/* row-reverse ensures stars go from 1-5, becasue designed 5-1 to allow sibling selector ~ to work */
}
.star-rating input{
	display:none;
}
.star-rating label{
	font-size:24px; color:#707070; cursor:pointer; transition: color 0.1s;
}
.star-rating input:checked ~ label,	/* '~' is a sibling combinator and selects all siblings the come after this element 	'input:checked ~ label' selects every label after the one checked */
.star-rating label:hover,	/* colours the hovered star gold as well */
.star-rating label:hover ~ label {
    color:#f5a623;
}
