/** 
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

a{ color: #2D74C5; text-decoration: underline; }

table {
	border-collapse: collapse;
	border-spacing: 0;
}

li{
	list-style-position:inside;
	padding-left:0.5em;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
	float:none;
}

img{
	border:none;
}

.button, input.action{
	padding:0.5em;
	text-decoration:none;
	font-weight:bold !important;
}

label .required{
	color:#f00;
}

.message{
	padding:0.5em;
}

/* NAVIGATION
-------------------*/

#TopNavigation{
	float:right;
	background: #CACACA url(../images/header.gif) repeat-x 0 -50px;
	height:25px;
}
	#TopNavLeft{
		float:right;
		background: url(../images/header.gif) no-repeat 0 -75px;
		width:13px;
		height:25px;
	}
	
	#TopNavRight{
		float:right;
		background: url(../images/header.gif) no-repeat 0 -100px;
		width:13px;
		height:25px;
		margin-right:6px;
	}
	
	#TopNavigation ul{
		display:inline;
		margin:0;
	}

	#TopNavigation ul li{
		padding:0;
		margin:0;
		display: inline;
		line-height:25px;
		background: url(../images/header.gif) no-repeat bottom right;
		padding-right:8px;
		padding-left:5px;
	}
	
	#TopNavigation ul li.last{
		background:none;
		padding-right:0;
	}
	
	#TopNavigation ul li.first{
		padding-left:0;
	}
		#TopNavigation a{
			color:#000;
			text-decoration:none;
		}

		#TopNavigation a:hover{
			text-decoration:underline;
		}
		
	#TopNavLogin{
		color:#fff;
		clear:right;
		float:right;
		margin-right:10px;
		margin-top:15px;
	}
	
	#TopNavLogin a{
		text-decoration:none;
		color:#ace;
	}
	
	#TopNavLogin a:hover{
		text-decoration:underline;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 150px; 
	float: left;  
	margin: 0 0 0 0;
	padding: 0;
}

/* FOOTER
----------------------------------------------- */

#Footer { 
 	clear: both;
	height: 1.5em; 
	background: #31342F; 
	color:#ccc;
	font-size:10px;
	padding:5px;
}
	#Footer p{
		float:right;
		line-height:1.5em;
		margin:0;
	}
	
	#Footer li{
		display:inline;
		padding:0;
	}
	
	#Footer li a{
		color:#ccc;
		text-decoration:underline;
	}
	
		#Footer li a:hover{
			text-decoration:underline;
		}


/*Header stuff*/
#BrowseSearch{
	float:right;
}

#BrowseSearch h1{
	margin:0;
	padding:0;
	font-size:14px;	
}

#CategoryLinks{
	text-align:right;
	color:white;
	font-size:13px;
	padding:5px;
	width:500px;
}

	#CategoryLinks h1{
		text-size:14px;
		font-weight:bold;
	}
	
	#CategoryLinks a{
		color:white;
		text-decoration:none;
		padding:5px;
		background:#555;
	}
	
	#CategoryLinks a:hover{
		background:#86CC0C !important;
	}
	
	#CategoryLinks ul{
		padding:0;
		margin:0;
	}
	
	#CategoryLinks li{
		list-style:none;
		display:inline;
		margin:0;
	}
		#CategoryLinks li.current a, #CategoryLinks li.section a{
			border-left:1px solid black;
			border-right:1px solid black;
			border-bottom:1px solid black;
			background:#aaa;
		}

#SearchBox{
	float:right;
	padding:5px;
}

	#SearchBox *{
		display:inline;
	}

#RSSLinks li{
	list-style-image:url('../images/feed-icon-14x14.png');
}

#HeaderLogo{
	float:left;
	overflow:hidden;
}
	#HeaderLogo img{
		border:none;
	}

/** Thumbnail **/
.thumbnail{
	width:100px;
	height:75px;
	overflow:hidden;
}