.clear{ clear: both;}
/*= BUTTONS
------------------------------*/
a.button {
	background: #fff url(../img/bullet.gif)  140px 50% no-repeat;
	border: 3px solid #f8eec4;
	display: block;
	width: 150px;
	height: 25px;
	margin: 10px auto;
	padding: 10px 0 0 20px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	color: #cc3300;
}

a.button:hover {
	background: #fff url(../img/bullet-hover.gif) 140px 50% no-repeat;
	text-decoration: none;	
	color: #399;
}
.small-button{padding-top: 10px;}
.small-button a{
	border: 3px solid #f8eec4;
	padding: 5px;
	font-weight: bold;
	text-transform: uppercase;
}
.small-button a:hover{ text-decoration: none;}

/*= BOXES
---------------------------------*/
.content-box {
	margin: 0 0 10px 0;
	padding: 18px 25px;
	/*padding: 0px 25px;*/
}

.content-box h3 {
	color: #000;
}

.content-box h3.caption {
	color: #c30;
}

.content-box p.skills {
	margin-top: -10px;
	color: #399;
}

.content-box img#event-sponsor {
	margin-left: 30px;
	margin-top: 0;
}

.homepage .content-box img#event-sponsor {
	margin-top: 10px;
}

.border {
	border: 1px solid #ccc;
}

.bg-yellow {
	background: url(../img/yellow-bg.jpg) bottom center no-repeat;
}

#enter-race {
	background: url(../img/blue-bg.jpg) no-repeat 0px 0px;
}





/*= HOMEPAGE
---------------------------------*/
body.homepage h1 {
	padding-top: 20px;
}	

#homepage-intro {
	background: url(../img/homepage-intro-bg.jpg) 100% 100% no-repeat;
	border-bottom: 1px solid #ccc;
	float: left;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

#homepage-intro p {
	margin-top: 0px;
	margin-right: 180px;
	margin-bottom: 0;
	font-size: 1em;
	line-height: 1.4em;
}

#homepage-intro a.button {
	float: right;
	margin-top: -52px;
}

#homepage-charities {
	float: left;
	padding-top: 18px;
	padding-bottom: 0;
	text-align: center;
}

#homepage-charities h2 {
	width: 433px;
	text-align: left;
	margin-bottom: 10px;
	padding-bottom: 0;
}

#homepage-charities img {
	padding:10px;
}

#homepage-sponsors {
	float: left;
}

#homepage-sponsors h2 {
	padding: 1px 0 0 0;
}

#homepage-sponsors img {
	border-bottom: 1px solid #ccc;
	padding-bottom: 4px;
}

/*= HOMEPAGE ENTER A TEAM */
#enter-a-team p {
	padding-bottom: 0px;
}

#enter-a-team h2 {
	padding-bottom: 3px;
}

#enter-a-team .button {
	margin-bottom: 12px;
}

/*= HOMEPAGE NEWS */
.content-box#news {
	position: relative;
	min-height: 231px;
}

.content-box#news a.button {
	position: absolute;
	bottom: 11px;

}

.content-box ul.news {
	margin: 0 0 21px 0;
	padding: 0;
	list-style: none;	
}

.content-box ul.news li {
	margin-bottom: 10px;
}

.content-box ul.news li span {
	display: block;
	color: #999;
}

/*= HOMEPAGE GALLERY */
.homepage-gallery {
	padding-left: 10px;
	padding-right: 9px;
}

.homepage-gallery h2 {
	margin-left: 15px;
	margin-bottom: 2px;
}

span.flickr {
	text-transform:lowercase;
	color: #0063dc;
}

span.flickr span {
	color: #ff0084;
}

.homepage-gallery ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.homepage-gallery li {
	float: left;
	width: 46px;
	height: 46px;
	margin: 0 4px 4px 0;
	border: 1px solid #ccc;
}

.homepage-gallery img {
	padding: 2px;
	/*border: 1px solid #ccc;*/
	max-width: 43px;
	max-height: 43px;*/
}

.homepage-gallery a:hover img {
	background: #fff;
	max-width: 85px;
	max-height: 75px;
	position: relative;
	top: -8px;
	left: -12px;
}

/*= HOMEPAGE VIDEO
-----------------------------------*/
.video {
	padding-left: 10px;
	padding-bottom: 25px;	
}

#content-primary .video {
	background: #fff;
	float: left;
	border: 1px solid #ccc;
	padding: 4px 4px 0 4px;
	margin: 20px 1em 1em 0.2em;
}

#content-primary .video p {
	margin: 0 3px 3px 0;
	padding: 0;
	text-align: right;
}

/*= SECONDARY PAGES
-----------------------------------*/
img.page-image {
	float: right;
	clear: right;
	margin-top: -56px;
	margin: -56px 0 60px 10px;
	padding: 2px;
	border: 1px solid #ccc;
}

#content-primary ul li {
	margin-bottom: 0.8em;
}

/*= POSTS
-----------------------------------*/
body.news .post {
	border-bottom: 1px solid #ccc;
}

h3#respond {
	padding-top: 10px;
}

p.date {
	margin: -12px 0 10px 0;
	color: #999;
}

/*= GALLERY
------------------------------------*/
body.gallery ul.gallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

body.gallery ul.gallery li {
	margin: 0 10px 10px 0;
	padding: 0;
	float: left;
	/*width: 200px;*/
	width: 155px;
	height: 140px;
	overflow: hidden;
	border-top: 1px solid #ccc;
}

body.gallery ul.gallery li img {
		padding-top: 2px;
}

body.gallery .bg-blue {
	padding: 20px inherit;
}

body.gallery .bg-blue p {
	padding-top: 10px;
	padding-bottom: 10px;
}	

/*= SPONSORS
-----------------------------------*/
div.sponsor {
	border: 1px solid #ccc;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	height: 120px;
}

div.sponsor h2 {
	padding: 0 10px;
	margin-top: 50px;
}

div.s24 h3 {
	text-transform: none;
}

/*= CHARITIES
-----------------------------------*/
div.charity {
	border: 1px solid #ccc;
	float: left;
	margin-right: 10px;
	height: 120px;
}

div.charity h2 {
	padding: 0 10px;
	margin-top: 50px;
}

/*= DOWNLOADS
-----------------------------------*/
.downloads ul {
	list-style: none;
	margin: 0;
}

.downloads ul li a {
	background: url(../img/bullet.gif) 0 1px no-repeat;
	display: block;
	margin-bottom: 5px;
	padding-left: 20px;
}

.downloads ul li a:hover {
	background: url(../img/bullet-hover.gif) 0 1px no-repeat;
	text-decoration: none;
}

/*= NEWS
--------------------------------------*/
body.news div.entry img {
	border: 1px solid #ccc;
	clear: right;
	float: right;
	/*margin: -56px 0 60px 10px;*/
	/*margin: -34px 0 38px 10px; */
	margin: 0 0 38px 10px;
	padding: 2px;
}