/*#############################################################

Author: Jason Clement
URL: http://www.riversidemediagroup.com

#############################################################*/

body {
	margin:0 auto;
	padding:0;
	background:top center;
	color:#333333;
	font-family:  "Times New Roman", Times, serif;
	font-size: 14px;
	background-color: #003366;
	background-image: url(../images/bg.gif);
	background-repeat: repeat-y;
}

#wrap {
background-color:#FFFFFF;
margin:0 auto;
padding:10px;
width:680px;
}

/***** Homepage *****/

#textbox {
	clear:both;
	margin:0px auto;
	padding:0px;
	width:590px;
	display: block;
	text-align: left;
}
	
#linkbar {
	clear:both;
	margin:0px auto;
	padding:2px;
	width:586px;
	display: block;
	text-align: center;
	background-color: #003366;
	color: #fff;
	font-weight: bold;
}

#linkbar a, #linkbar a:visited {
	color:#fff;
}

#linkbar a:hover {
	color:#999;
	text-decoration:underline;
}	

/***** Header *****/

#header {
	color:#333333;
	height:104px;
	margin:0 0 10px 0;
	padding:0px;
}

/*#header-l {
	clear:left;
	float:left;
	width:140px;
	margin:0px 10px 0px 0px;
	padding:2px;
	border: solid #666 1px;
	height: 100px;
	text-align: center;
	border-left: solid #666 4px;
	vertical-align: middle;
}*/

#header-l a {
	clear:left;
	float:left;
	width:140px;
	margin:0px 10px 0px 0px;
	padding:2px;
	border: solid #999 1px;
	height: 100px;
	text-align: center;
	border-left: solid #999 4px;
	vertical-align: middle;
	overflow: hidden;
}

#header-l a:hover {
	clear:left;
	float:left;
	width:140px;
	margin:0px 10px 0px 0px;
	padding:2px;
	border: solid #036 1px;
	height: 100px;
	text-align: center;
	border-left: solid #036 4px;
	vertical-align: middle;
	background-color: #CCCCCC;
}

#header-r {
	margin:0px;
	padding:2px;
	text-align:right;
	width: 514px;
	float: right;
	height: 100px;
}

#header h1 {
	display: none;
}

#header h1 a,#header h1 a:hover {
}

#header p {
font-size:1.1em;
letter-spacing:-1px;
margin:0 0 20px 15px;
padding:0 0 0 3px;
}

#headerbar {
	clear:both;
	margin:0px auto;
	padding:0px;
	width:680px;
	background-color:#000000;
	line-height: 0px;
	height: 4px;
	display: block;
	}

/***** Menusystem *****/

#navmenu {
clear:left;
float:left;
width:150px;
margin:10px 0 10px 0;
padding:0px;
}

#navmenu ul {
list-style:none;
width:150px;
margin:0 0 20px 0;
padding:0;
}

#navmenu li {
margin-bottom:5px;
}

#navmenu li a {
font-weight:bold;
text-decoration:none;
color:#003366;
display:block;
padding:1px 0 0 6px;
border-top:1px solid #999;
border-right:1px solid #999;
border-bottom:1px solid #999;
border-left:4px solid #999;
}

#navmenu li a:hover, #navmenu li a.current {
	color:#003366;
	border-top:1px solid #036;
	border-right:1px solid #036;
	border-bottom:1px solid #036;
	border-left:4px solid #036;
	background-color: #CCCCCC;
}

#navmenu ul ul {
margin:2px 0 2px 10px;
font-size:12px;
width:140px;
}

#navmenu ul ul a {
height:16px;
margin:0;
padding:4px 0 0 8px;
}

#navmenu h2 {
	font-size:10px;
	font-weight:normal;
	color: #999999;
	text-transform: uppercase;
}

/***** Main content *****/

#contentwide {
	margin:10px 0 10px 0px;
	padding:0;
	text-align:left;
	background-color: #FFFFFF;
	line-height: 18px;
	float: right;
	width: 520px;
}

#contentwide h2 {
	font-size:28px;
	font-weight:bold;
	margin:0px;
	padding:0;
	text-transform: capitalize;
	color: #003366;
	letter-spacing: -1px;
}

#contentwide h3 {
font-size:18px;
font-weight:normal;
text-transform: capitalize;
margin:6px 0 6px 0;
padding:0;
}

#contentwide img {
padding:1px;
display:inline;
background:#cccccc;
color:#303030;
border:4px solid #036;
}

#contentwide a {
font-weight:bold;
}

#contentwide ul, #contentwide ol {
margin:0 0 16px 20px;
padding:0;
}

#contentwide ul ul, #contentwide ol ol {
margin:2px 0 2px 20px;
}

#contentwide li {
margin:0 0 2px 10px;
padding:0 0 0 4px;
}

/***** Footer *****/

#footer {
	clear:both;
	margin:0 auto;
	padding:2px;
	width:676px;
	text-align:center;
	color:#FFFFFF;
	background-color:#003366;
	font-weight: bold;
}

#footer p {
padding:0;
margin:0;
}

#footer a {
color:#FFFFFF;
background-color:inherit;
text-decoration:none;
}

#footer a:hover {
text-decoration:underline;
}

/***** Counter *****/

#counter {
clear:both;
margin:5px auto;
padding:0px;
width:680px;
text-align:right;
color:#CCCCCC;
font-size:9px;
}

/***** Various tags *****/

a {
text-decoration:none;
color:#505050;
background-color:inherit;
}

a:hover {
text-decoration:underline;
color:#286ea0;
background-color:inherit;
}

a img {
border:0;
}

p {
	margin:0 0px 16px 0;
}

/***** Table styles *****/

/*table {
margin:0 0 16px 0;
padding:0;
line-height:1.3em;
border-collapse:collapse;
border:1px solid #d8d8d8;
}

caption {
text-align:left;
font-size:1.5em;
font-weight:normal;
margin:0;
padding:6px 0 8px 0;
}

th {
padding:7px;
text-align:left;
background:#eaeaea url(images/menubg2.gif) bottom left repeat-x;
color:#505050;
}

td {
padding:7px;
font-size:0.9em;
text-align:left;
background:#f4f4f4 url(images/menubg.gif) bottom left repeat-x;
color:#303030;
}*/

/***** Form styles *****/

.button {
	border-top:1px solid #999;
	border-right:1px solid #999;
	border-bottom:1px solid #999;
	border-left:4px solid #999;
	margin:0 0 10px 0;
	padding:2px 2px 2px 4px;
	color:#003366;
	font-weight:bold;
	width:auto;
	text-align: center;
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;
}

.button a: hover {
	border-top:1px solid #036;
	border-right:1px solid #036;
	border-bottom:1px solid #036;
	border-left:4px solid #036;
	margin:0 0 10px 0;
	padding:2px 2px 2px 6px;
	color:#003366;
	font-weight:bold;
	width:100px;
	text-align: left;
}

input, textarea {
border:1px solid #999;
font-size:12px;
margin:0;
padding:2px;
}

label {
margin:2px;
}

input {
width:auto;
}

textarea {
	width: auto;
}

/***** Search box *****/

#searchbox {
padding:0;
margin:6px 0 16px 0;
}

#searchform {
background:#ffffff;
border:1px solid #cccccc;
color:#505050;
font-size:0.9em;
padding:4px;
width:116px;
}

#searchbox label {
display:none;
}

.textright {
text-align:right;
margin:-10px 0 4px 0;
}

.center {
text-align:center;
}

.small {
font-size:10px;
}

.large {
font-size:14px;
}

.bold {
font-weight:bold;
}

