li#topnav_videos a {background-position: -579px -78px;} 
li#topnav_photos a {background-position: -662px 0;} 

/* media had classes dependant on other page, see we add this to overwrite class we use, but rewrite from media.css */

#media{
	height: 640px; /* IE<8 wont hold min height */
}
#media form{
	display:inline;
	padding: 0 0px 0px 0;
	height:1px;
}

#media_filter{
	float:right;
	margin:10px 10px 0px 0px;
	color:#ffffff;
	white-space:nowrap;
}
#media_filter form{
	display:inline;
}
#media_filter select{
	width:140px;
	font-size:11px;
}
#gallery_heading{
	border:0px;
}

#gallery_left{
	float:left;
	padding: 36px 14px 0px 20px;
	position:relative;
}

.audio #gallery_right, #gallery_right{
	float:left;
	width: 400px; /* make sure this doesn't affect other pages */
	padding-top:16px;
	
}
#gallery_right_instructions{
	margin: 0px 0px 5px 6px;
	color: #999999;
}

#library_list{

}

.library_item{
	cursor:pointer;
	margin-bottom:4px;
	margin-top:0px;
	/*border:1px solid #ff0000;*/
	padding-bottom:0px;
	padding-top:0px;

	/*background-color:#00ff00;*/
	height:77px;
}

.library_image{
	float:left;
	width:118px;
	height:77px;
	margin:0px;
	padding:0px;
	display:inline;
	/*margin-right:20px;*/
	
}
.library_image img{
	width:105px;
	height:71px;
	margin:0px;
	padding:0px;
	border:3px solid #656565;
}

.library_content{
	float:left;
	display:inline;
	/*padding-left:10px;
	padding-right:10px;*/
	width:276px; /* 276 total */
	height:77px;
	margin:0px;
	padding:0px;
	/*background-color:#ff0000;*/
	margin-bottom:4px;

}
.library_content_active{
	float:left;
	display:inline;
	/*padding-left:10px;
	padding-right:10px;*/
	width:276px; /* 276 total */
	height:77px;
	
	color:#656565;	
	background-image: url('/motorsports/images/global/media/bg_active_row.gif');
	background-repeat: repeat-x;
	margin-bottom:4px;
}

.library_date{
	color:#999999;
	font-size:11px;
	padding-top:5px;
	margin-bottom:7px;
	margin-left:10px;
	margin-right:10px;
	font-style:italic;
}

.library_content_active .library_date{
	color:#656565;
	font-size:11px;
	padding-top:5px;
	margin-bottom:7px;
	margin-left:10px;
	margin-right:10px;
	font-style:italic;
}

.library_text{
	margin-left:10px;
	margin-right:10px;
}

.library_text a{
	color:#ffffff;
	text-decoration:none;
}

.library_content_active .library_text{
	margin-left:10px;
	margin-right:10px;
}
.library_content_active .library_text a{
	color:#000000;
	text-decoration:underline;
}

.library_pagination{
	text-align:right;
}

.library_pagination a{
	display:inline;
	background-color:#666666;
	padding:2px 4px;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
}

.activePage{
	padding:5px 6px 2px 6px !important;
}
#video_container{
	height:435px;
	Width:533px;
	
}

