body {
	color: #333333;
	background-color:#FFFFFF;
	font-family:Arial, Helvetica, Verdana, sans-serif;
	font-size:12px;
	margin:5px auto;
	width:800px;
	padding-left:10px;
	padding-right:10px;
}

h1 {
	font-size: 15px;
	color: black;
	padding:3px;
	border-bottom:1px solid #ccc;
}

h2 {
	font-size: 17px;
	background: #286ea0;
	color: white;
	padding:7px;
	margin:0 0 0 0;
}

.rightLink {
	background: #286ea0;
	color: white;
	padding: 3px;
	font-size: 10px;
}

.rightLink a{
	text-decoration: none;
	color: white;
}

.rightLink a:hover { color: white; }

#sub {
	padding:5px 3px;
	background: #f1f1f1;
	color: black;
	font-size: 11px;
}

.main {
	font-size: 13px;
	line-height:16px;
	color: #333;
	padding: 20px;
	background: white;
	text-align: justify;
}

.mainTable {
	font-size: 12px;
	line-height:16px;
	color: #333;
	padding: 10px 5px 7px 5px;
	background: white;
	text-align: justify;
}

.mainTable td {
	border-bottom:1px solid #ccc;
	padding-top:5px;
}

.mainTable th {
	border-bottom:1px solid #666;
	font-weight: bold;
}

a {
	color: #286ea0;
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	color: black;
	font-weight: normal;
	text-decoration: underline;
}

#title {
	clear:both;
	color: #286ea0;
	font-size:30px;
	font-weight:bold;
	padding:0px 0px 0px 0px;
	margin-bottom:10px;
	text-indent:-999px;
	background:url(jokes_header.png) no-repeat;
	height:60px;
}

#slogan {
	color:#000000;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	padding:10px;
	width:200px;
	margin:0px 0px 10px 0px;
}


ul#nav {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	width:800px;
	border-left: 1px solid black;
	border-right: 1px solid black;
}

ul#nav li {
	margin: 0;
	padding: 0;
	float: left;
	width: 20%;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

ul#nav li a {
	display: block;
	font-size: 12px;
	color: #333;
	padding-top:6px;
	height:20px;
	text-decoration: none;
	background: #eee;
}

ul#nav li a:hover { background: #999; color: white; }
ul#nav a.selected:link { background: #286ea0; color: #FFFFFF; }
ul#nav a.selected:visited { background: #286ea0; color: #FFFFFF; }

.button {
	font-family: Arial, Helvetica, sans-serif;
	font-size:11px;
	color: black;
	padding:2px;
	border:0px;
	background:url(square_btn.png) no-repeat;
	width:90px;
	text-align:center;
	padding-bottom:5px;
	height:20px;
}

#errorBox {
	font-size:12px;
	color: black;
	font-weight:bold;
	padding:3px;
	text-align: center;
	background: #F5DDDA;
	border-bottom: 1px solid #aaa;
}

#confirmBox {
	font-size:12px;
	color: black;
	padding:3px;
	text-align: center;
	background: #DDFFDF;
	border-bottom: 1px solid #aaa;
}

#path {
	font-size:11px;
	font-weight:normal;
	padding:4px 2px;
	color:#555;
	border-bottom: 1px solid #999;
}

#path a {
	font-weight:normal;
	color:#555;
}

#maincontent {
	font-size:12px;
	padding: 2px;
	margin:0;
	background: #eee;
}

#sidecontent {
	color: #333333;
	font-size:12px;
	padding: 5px;
	margin: 0 0 0 10px;
}

#subslogan {
	font-size: 14px;
	font-weight: normal;
	color: black;
	padding: 3px;
	background:url(jokes_slogan.png) no-repeat;
	height:40px;
	text-indent:-999px;
}

#sidecontent a {
	color: #286ea0;
	display: block;
	padding: 2px 0 0 0;
}

#footer {
	color:#777;
	background-color:#FFFFFF;
	margin: 5px 0 0 0;
	padding: 15px 0 0 0;
	border-top:1px solid #CCCCCC;
	font-size:11px;
	width: 760px;
	text-align:center;
}

#footer	a {
	color:#777;
	background-color:#FFFFFF;
	text-decoration: none;
}

#footer	a:hover {
	color:#333;
	background-color:#FFFFFF;
	font-weight: normal;
	text-decoration: underline;
}

.inputjoke {
	width:600px;
	font-family: Arial, Helvetica, sans-serif;
	height:300px;
	font-size:12px;
	color: black;
	padding:5px;
	border:1px solid black;
}

.inputtext {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	color: black;
	padding:2px;
	width:500px;
	border:1px solid #999;
}

.inbutton {
	font-family: Arial, Helvetica, sans-serif;
	font-size:11px;
	color: black;
	padding:2px;
	border:0px;
	background:url(square_btn.png) no-repeat;
	width:90px;
	text-align:center;
	padding-bottom:5px;
	height:20px;
}

.bar { 
	clear: both;
	font-size: 13px;
	height: 25px; 
	color: #FFF;
	margin: 0 0 0 0px;
	background: #26207C;
}

	.bar li { 
		margin: -10px 0 2px 0;
		padding: 7px 12px 5px 12px;
		color: #FFEADC;
		list-style: none;
		background: #26207C;
		float: left; 
	}
	
	.bar li.active { 
		background: #990000;
		color: #fff;
		font-weight: bold; 
		padding: 7px 10px 6px 10px;
	}
	
	.bar li.active a { 
		font-weight: bold;
		color: #FFF; 
		background: #990000;
		text-decoration: none;
	}
	
	.bar li.active a:hover { 
		font-weight: bold;
		color: #488AC7; 
		background: #990000;
		text-decoration: none;
	}
	
	.bar li a { 
		font-weight: bold;
		color: #FFF; 
		background: inherit;
		text-decoration: none;
	} 
	
	.bar li a:hover { 
		color: /*#6C757A*/#488AC7;
		background: inherit;
	} 
