/* CSS Master Style Sheet, mainsailassociates.com, incept: Feb 25, 2009
Author: Benjamin Liu, Designer: Robert Bethanis */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, 
pre, form, fieldset, table, th, td {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	background: url('../img/body_bg.jpg') top left repeat-x;
	font: 80% Georgia, "Times New Roman", Times, serif;
}

a img {
	border: 0;
}

p {
	font-size: .9em;
	margin-bottom: 10px;
}

h1 {
	font: normal 2.1em Georgia, "Times New Roman", Times, serif;
	color: #b53709;
	padding-top: 4px;
	margin-bottom: 10px;
}

h2 {
	font: normal 1.5em Georgia, "Times New Roman", Times, serif;
	color: #b53709;
	padding-top: 4px;
	margin-bottom: 10px;
}

h3 {

}

h4 {
	font: normal 1.2em Helvetica, Arial, sans-serif;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.hint {
	font-size: .8em;
	font-style: italic;
}

#mainarea {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

#header {
	background: url('../img/header_bg.png') top left no-repeat;
	width: 764px;
	height: 155px;
	position: relative;
	z-index: 10;
}

#main {
	background: url('../img/main_bg.png') top left no-repeat;
	/*width: 684px;
	padding-left: 40px;
	padding-right: 40px;*/
	width: 721px;
	padding-left: 22px;
	padding-right: 15px;
	position: relative;
	z-index: 11;
}

#main p {
	line-height: 1.6em;
}

ul#nav_main {
	list-style: none;
	width: 704px;
	height: 27px;
	position: absolute;
	bottom: 0;
	left: 39px;
	border-bottom: 3px solid #555;
	overflow: hidden;
}

ul#nav_main li {
	float: left;
	padding: 0;
	background: url('../img/tab_off_right_bg.png') right top no-repeat;
	margin-right: 2px;
}

ul#nav_main li a {
	display: block;
	background: url('../img/tab_off_left_bg.png') left top no-repeat;
	padding: 6px 11px 18px 11px;
	text-decoration: none;
	color: #fff;
}

body#home li#homelnk, body#pov li#povlnk, body#oura li#ouralnk, 
body#wwcd li#wwcdlnk, body#about li#aboulnk, body#clie li#clielnk {
	background: url('../img/tab_on_right_bg.png') right top no-repeat;
}

body#home li#homelnk a, body#pov li#povlnk a, body#oura li#ouralnk a, 
body#wwcd li#wwcdlnk a, body#about li#aboulnk a, body#clie li#clielnk a {
	background: url('../img/tab_on_left_bg.png') left top no-repeat;
}

#sidebar_cont {
	width: 240px;
	position: absolute;
	left: 720px;
	top: 80px;
	z-index: 0;
	color: #fff;
}

#sidebar_top {
	width: 240px;
	height: 17px;
	background: url('../img/sidebar_top_bg.png') top right no-repeat;
	cursor: pointer;
}

#sidebar_bot {
	width: 240px;
	height: 17px;
	background: url('../img/sidebar_bot_bg.png') right bottom no-repeat;
}

#sidebar_mid {
	background-color: #4d4d4d;
	padding-left: 40px;
	padding-right: 20px;
	padding-bottom: 10px; /* this is so that final paragraphs with margin bttom do not break design */
}

#main_clickable {
	/* this exists purely because main rides over the top of sidebar and main 
	has a dropshadow area which we need to be clickable as sidebar is */
	width: 22px;
	position: absolute;
	top: -75px;
	right: 0;
	height: 17px;
	cursor: pointer;
	z-index: 20;
}

ul.sb_doclist {
	list-style: none;
	color: #fff;
	font: normal .9em Helvetica, Arial, sans-serif;
}

ul.sb_doclist li a {
	text-decoration: none;
	color: #fff;
}

#footer {
	width: 939px;
	height: 49px;
	padding-top: 80px;
	margin-left: 21px;
	background: url('../img/footer_bg.png') bottom left no-repeat;
	text-align: center;
	font: 1.0em "Trebuchet MS", Tahoma, Verdana, sans-serif;
	text-transform: uppercase;
	color: #888;
}

.hasBorder1 {
	background: url('../img/border1_bg.png') bottom left repeat-x;
	padding-bottom: 40px;
}

.hasBorder2 {
	background: url('../img/border1_bg.png') bottom left repeat-x;
	padding-top: 10px;
	padding-bottom: 6px;
}

.blued1 {
	color: #305573;
}

.grayd {
	color: #808080;
}

.oranged {
	color: #b53709;
}

table.type_a {
	font: 1em Avenir, Helvetica, Arial, Verdana, sans-serif;
	color: #595959;
	border-collapse: collapse;
}

table.type_a th {
	color: #fff;
}

table.type_a th.orangeside {
	background-color: #b53709;
	padding: 7px 0 4px 0;
}

table.type_a th.blueside {
	background-color: #305573;
	padding: 7px 0 4px 0;
}

table.type_a td.textcont {
	padding: 6px 0 6px 12px;
	font-weight: bold;
	letter-spacing: .1em;
	line-height: 1.4em;
}

table.type_a td img {
	float: left;
}

td.bluesided {
	background-color: #dff4ff;
}

.nobotbord {
	border-bottom: 0 !important;
}

.clearing {
	line-height: 0;
	clear: both;
}

a.mainlink {
	border-bottom: 1px dotted #b53709;
	text-decoration: none;
	color: inherit;
}

a.mainlink:hover {
	border-bottom: 1px solid #b53709;
	color: #b53709;
}