/* @override http://guessthegrid.local/stylesheets/application.css */

body {
  background: #211e1e;
  font-family: Lucida Grande, Verdana, Helvetica, Arial;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  margin: 0;
}

h2, h3, h4 {
	margin: 10px 0;
}

h2 {
	font-size: 22px;
	margin: 16px 0;
}

h3 {
	font-size: 16px;
}

p {
	margin: 10px 0;
}

#header {
	background: #000;
	border-bottom: 1px solid #2e2e2e;
}

#header_container {
	width: 900px;
	margin: 0 auto;
}

#logo {
	width: 550px;
	height: 40px;
	float: left;
}

#logo a {
	width: 550px;
	height: 40px;
	display: block;
	text-indent: -9999px;
	background: url(/images/guessthegrid_logo.png);
}

#user_nav {
	float: right;
	margin-top: 9px;
}

a {
  color: #fff;
}

a:hover {
	color: #aaa;
	text-decoration: none;
}

strong a {
	text-decoration: none;
}

strong a:hover {
	color: #fff;
}

.clear {
  clear: both;
  overflow: hidden;
}

.hide {
	display: none;
}

#container {
  width: 860px;
  margin: 0 auto 50px;
  overflow: hidden;
  text-align: left;
  position: relative;
}

#content {
	width: 630px;
	float: left;
}

.info {
	background: #2a2a2a;
	padding: 0 15px;
	border: 1px solid #444;
	margin: 20px 0;
	overflow: hidden;
}

.score_info {
	clear: both;
	overflow: hidden;
	padding: 12px 0;
}

.info .score {
	float: left;
}

.score_info p{
	margin: 0;
}

.step {
	width: 260px;
	float: left;
	padding-left: 40px;
}

.step h3 {
	margin: 0;
	padding: 0;
}

.step p, #latest_guess p {
	margin: 0 0 15px;
}

.score_explanation {
	padding-left: 20px;
	float: left;
}

small {
	font-size: 10px;
	color: #aaa;
}

#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 15px 0;
  background-color: #544;
  border: solid 1px #766;
}

#footer {
	clear: both;
	font-size: 10px;
	border-top: 1px solid #333;
	color: #555;
}

/* @group track nav */

#track_nav {
	font-size: 12px;
	background: #000;
	padding: 5px 0;
	clear: both;
}

#track_nav a {
	color: #777;
	text-decoration: none;
}

#track_nav a:hover {
	color: #fff;
}

.future_track {
	color: #444;
}

/* @end */



/* @group grid */

.grid {
	padding-left: 32px;
	margin-left: 8px;
}

.grid, #drivers {
	padding-top: 10px;
	padding-bottom: 10px;
	width: 260px;
	float: left;
	position: relative;
}

.grid h3, #drivers h3 {
	display: inline;
}

.grid ul, #drivers ul {
	border-bottom: none;
	padding: 0;
	margin: 14px 0;
	clear: both;
}

.grid_message, .legend_title {
	font-size: 10px;
	color: #aaa;
	font-weight: normal;
}

.cancel {
	font-size: 10px;
	float: right;
	margin-right: 20px;
}

.driver {
	font-family: helvetica, arial, sans-serif;
	margin-bottom: -1px;
	font-weight: bold;
	text-transform: uppercase;
	background: #000;
	border: 1px solid #2a2a2a;
	color: #fff;
	padding: 4px 15px 4px;
	width: 210px;
	position: relative;
	list-style: none;
	cursor: default;
	min-height: 18px;
}

.legend {
	margin-top: 35px;
	position: relative;
}

.legend_title {
	position: absolute;
	font-family: Lucida Grande, Verdana, Helvetica, Arial;
	text-transform: none;
	top: -25px;
	left: 0;
}

.numbers {
	position: absolute;
	left: 0px;
	text-align: right;
	top: 43px;
	line-height: 27px;
}

.result {
	color: #cba;
}

.scored .numbers {
	top: 33px;
	line-height: 46px;
}

.guess {
	position: relative;
	top: -2px;
	font-size: 10px;
	color: #555;
}

.grid .score, .info .score {
	padding: 3px 6px;
	color: #000;
	border-width: 1px;
	border-style: solid;

}
.grid .score, .total_score {
	position: absolute;
	right: 10px;
	top: 9px;
	color: #000;
}

.total_score {
	position: absolute;
	right: 24px;
	top: 5px;
	padding: 5px 10px;
	background: #c97;
	border-color: #da8;
}

.score_4 {
	background: #fd6;
	border-color: #fe7;
}

.score_2 {
	background: #da6;
	border-color: #eb7;
}

.score_1 {
	background: #974;
	border-color: #a85;
}

.score_0, .score_ {
	background: #444;
	border-color: #555;
}

.placeholder {
	background: #211e1e;
	border-right-color: transparent;
	border-left-color: transparent;
}

.delete {
	position: absolute;
	text-indent: -9999px;
	width: 18px;
	height: 25px;
	right: -20px;
	top: 0px;
	background: url(../images/bullet_delete.png) 50% 50% no-repeat;
	cursor: pointer;
}

#drivers .dim {
	color: #333;
}

#drivers li, .active_grid li {
	cursor: pointer;
}

/* @end */

#sidebar {
	float: right;
}

#sidebar h4 {
	font-size: 12px;
	padding-top: 5px;
	color: #aaa;
}


/* @group leaderboard */

#leaderboard {
	margin-left: 25px;
	margin-bottom: 20px;
}

#top_scorers {
	float: right;
}

#tracks_list {
	width: 500px;
	float: left;
}

#tracks_list h3 {
	margin-bottom: 0;
	clear: both;
}

.track_scores {
	overflow: hidden;
	border-bottom: 1px solid #444;
}

.top_scores {
	float: left;
	margin: 0 0 20px 25px;
}

#tracks_list ul {
	margin: 0;
	padding: 0;
	text-align: left;
}

.event_time {
	color: #555;
}

.username a {
	color: #888;
}

.users .score {
	float: right;
}

.users li {
	width: 160px;
	list-style: none;
	padding: 2px 15px 3px;
	background: #000;
	border: 1px solid #2a2a2a;
	margin-bottom: -1px;
}

.users a {
	text-decoration: none;
}

li.current {
	background: #fd6;
	color: #000;
}

.current a {
	color: #000;
}

/* @end */

/* @group latest guess */

#latest_guess {
	padding-left: 25px;
	width: 190px;
}

#latest_guess h4, #latest_guess p, #latest_guess h3 {
	margin: 0;
}

#latest_guess .grid {
	font-size: 11px;
	width: 200px;
	margin: 0;
	padding: 0;
}

#latest_guess .driver {
	padding: 3px 0 3px 10px;
	width: 180px;
}

#latest_guess .numbers {
	line-height: 25px;
	margin-right: 0;
	top: 13px;
	left: -25px;
}

/* @end */

/* @group text */

.right_align {
	text-align: right;
}

/* @end */



/* @group user's page */

h2.username {
	padding: 20px 0 25px;
}

.user_total_score {
	background: #fd6;
	border: 1px solid #fe7;
	color: #000;
	padding: 5px;
}

strong {
	background: #666;
	padding: 2px 5px;
	border: 1px solid #777;
	color: #000;
}

strong a {
	color: #000;
}

.password_change {
	padding-top: 30px;
	border-top: 1px solid #444;
}

/* @end */


