/* HERO */

#hero {
	height: 230px;
}

#hero-inner {
	height: 200px;
	background: url(../images/calendar/hero-image.jpg) no-repeat;
}

/* CALENDAR */

#content {
	margin-bottom: 50px;
}

#content .border {
	padding-bottom: 30px;
}

#content .section-inner {
	position: relative;
	padding-top: 41px;
}

#content h2 {
	top: 0;
	left: 0;
	position: relative;
	margin: 0 0 0 41px;
	height: 41px;
}

.title-upcoming .title {
	width: 447px;
	margin-right: 14px;
	background: url(../images/calendar/title-upcoming-events.png) no-repeat;
}

.title-completed {
	clear: both;
}

.title-completed .title {
	width: 486px;
	margin-right: 14px;
	background: url(../images/calendar/title-completed-events.png) no-repeat;
}

h2 span {
	height: 41px;
	float: left;
	display: block;
}

h2 .year-start,
h2 .year-divider,
h2 .year-end {
	background-image: url(../images/calendar/years.png);
}

h2 .year-2009 {
	width: 121px;
	background-position: 0 0;
}

h2 .year-2010 {
	width: 121px;
	background-position: -121px 0;
}

h2 .year-2011 {
	width: 122px;
	background-position: -242px 0;
}

h2 .year-2012 {
	width: 121px;
	background-position: -364px 0;
}

h2 .year-2013 {
	width: 121px;
	background-position: -485px 0;
}

h2 .year-2014 {
	width: 121px;
	background-position: -606px 0;
}

h2 .year-2015 {
	width: 122px;
	background-position: -727px 0;
}

h2 .year-2016 {
	width: 121px;
	background-position: -849px 0;
}

h2 .year-divider {
	width: 18px;
	background-position: -970px 0;
	margin-right: 14px;
	float: left;
}

h2.title-completed .year-2009 {
	background-position: 0 -41px;
}

h2.title-completed .year-2010 {
	background-position: -121px -41px;
}

h2.title-completed .year-2011 {
	background-position: -242px -41px;
}

h2.title-completed .year-2012 {
	background-position: -364px -41px;
}

h2.title-completed .year-2013 {
	background-position: -485px -41px;
}

h2.title-completed .year-2014 {
	background-position: -606px -41px;
}

h2.title-completed .year-2015 {
	background-position: -727px -41px;
}

h2.title-completed .year-2016 {
	background-position: -849px -41px;
}

h2.title-completed .year-divider {
	background-position: -970px -41px;
	margin-right: 14px;
	float: left;
}

.events {
	width: 864px;
	clear: both;
	overflow: hidden;
	margin-top: -10px;
	margin-bottom: 24px;
	padding: 24px 0 24px 24px;
}

.events li {
	position: relative;
	display: block;
	float: left;
	margin: 0 14px 14px 0;
	background-image: url(../images/calendar/race-background.png);
	background-repeat: no-repeat;
	width: 274px;
	height: 185px;
}

ul.completed li {
	background-position: 0 -185px;
}

.events .race {
	padding: 57px 20px 0 20px;
}

.events a {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -10000px;
	font-size: 0.1em;
	overflow: hidden;
}

.events a:hover {
	width: 319px;
	height: 231px;
	top: -24px;
	left: -24px;
	background: url(../images/calendar/race-glow.png) no-repeat;
}

.events h3 {
	color: #fff;
	font-weight: bold;
	font-size: 1.4em; 
}

.events p {
	font-size: 1.1em;
	color: #fff;
}

.events p.date {
	font-weight: bold;
	font-size: 1.2em;
	color: #aaa;
	margin-bottom: 5px;
}

.events .race-num {
	position: absolute;
	top: 8px;
	right: 13px;
	width: 44px;
	height: 20px;
	background-image: url(../images/calendar/race-numbers.png);
	background-repeat: no-repeat;
}

.events .num-2 {
	background-position: 0 -20px;
}

.events .num-3 {
	background-position: 0 -40px;
	height: 21px;
}

.events .num-4 {
	background-position: 0 -61px;
}

.events .num-5 {
	background-position: 0 -81px;
	height: 21px;
}

.events .num-6 {
	background-position: 0 -102px;
	height: 21px;
}

.events .num-7 {
	background-position: 0 -123px;
}

.events .num-8 {
	background-position: 0 -143px;
	height: 21px;
}

.events .num-9 {
	background-position: 0 -164px;
}

.events .num-10 {
	background-position: 0 -184px;
	height: 21px;
}

.events .num-11 {
	background-position: 0 -205px;
}

.events .num-12 {
	background-position: 0 -225px;
}

.events .num-13 {
	background-position: 0 -245px;
	height: 21px;
}

.events .num-14 {
	background-position: 0 -266px;
	height: 21px;
}

.events .num-15 {
	background-position: 0 -287px;
	height: 21px;
}

.events .num-16 {
	background-position: 0 -308px;
	height: 21px;
}

.events .num-17 {
	background-position: 0 -329px;
	height: 21px;
}

.events .num-18 {
	background-position: 0 -350px;
	height: 21px;
}

.events .num-19 {
	background-position: 0 -371px;
	height: 21px;
}

.events .num-20 {
	background-position: 0 -392px;
	height: 21px;
}

.events .num-21 {
	background-position: 0 -413px;
	height: 21px;
}

.events .num-22 {
	background-position: 0 -434px;
	height: 21px;
}

.events .num-23 {
	background-position: 0 -455px;
	height: 21px;
}

.events .num-24 {
	background-position: 0 -476px;
	height: 21px;
}

.events .num-25 {
	background-position: 0 -497px;
	height: 21px;
}

.events.completed .num-1 {
	background-position: -44px 0;
}

.events.completed .num-2 {
	background-position: -44px -20px;
}

.events.completed .num-3 {
	background-position: -44px -40px;
}

.events.completed .num-4 {
	background-position: -44px -61px;
}

.events.completed .num-5 {
	background-position: -44px -81px;
}

.events.completed .num-6 {
	background-position: -44px -102px;
}

.events.completed .num-7 {
	background-position: -44px -123px;
}

.events.completed .num-8 {
	background-position: -44px -143px;
}

.events.completed .num-9 {
	background-position: -44px -164px;
}

.events.completed .num-10 {
	background-position: -44px -184px;
}

.events.completed .num-11 {
	background-position: -44px -205px;
}

.events.completed .num-12 {
	background-position: -44px -225px;
}

.events.completed .num-13 {
	background-position: -44px -245px;
}

.events.completed .num-14 {
	background-position: -44px -266px;
}

.events.completed .num-15 {
	background-position: -44px -287px;
}

.events.completed .num-16 {
	background-position: -44px -308px;
}

.events.completed .num-17 {
	background-position: -44px -329px;
}

.events.completed .num-18 {
	background-position: -44px -350px;
}

.events.completed .num-19 {
	background-position: -44px -371px;
}

.events.completed .num-20 {
	background-position: -44px -392px;
}

.events.completed .num-21 {
	background-position: -44px -413px;
}

.events.completed .num-22 {
	background-position: -44px -434px;
}

.events.completed .num-23 {
	background-position: -44px -455px;
}

.events.completed .num-24 {
	background-position: -44px -476px;
}

.events.completed .num-25 {
	background-position: -44px -497px;
}