/*
Company:	TemPay
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Modules - styles for content modules
Nav - navigation bar
Default Headings - headings like h1, h2, etc
Common Text Styles - Styles for text
Default Lists - unordered and ordered lists
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background: url(../images/tempayhome-bkg.jpg) no-repeat 50% 0 #fff;
}
body {
	font-family: Verdana, Arial, sans-serif;
}
/* @end */

/* @group Layout */
div#wrap {
	width: 936px;
	height: 570px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/content-bkg.jpg) no-repeat 0 0;
	overflow: hidden;
	margin-top: 90px;
}

/* Footer */
div#ft {
	width: 936px;
	margin-left: auto;
	margin-right: auto;
	font-size: 77%;
	color: #bababa;
	padding: 15px 0;
}
div#ft p {
	padding-left: 310px;
}
/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 206px;
	height: 200px;
	background: url(../images/tempay-logo.gif) no-repeat 0 0;
	text-indent: -9000px;
	position: absolute;
	margin: -51px 0 0 22px;
	z-index: 1;
}
div#logo a {
	display: block;
	height: 100%;
}

/* Features */
div.features {
	padding: 170px 0 0 0;
}
div.features a {
	display: block;
	margin: 0 0 11px 0;
}

/* Side */
div.side {
	width: 206px;
	margin-left: 1px;
	float: left;
	display: inline;
}

/* Main */
div.main {
	width: 670px;
	margin: 0 2px 0 0;
	overflow: hidden;
	float: right;
	display: inline;
}

/* Content */
div.content {
	width: 441px;
	height: 472px;
	overflow: auto;
	margin: 30px 0 0 0;
	float: left;
	display: inline;
	padding-right:8px;	
}
div.linkbox {
	background-color:#eee;
	padding:16px;
	margin-top:15px;
	margin-bottom:20px;
	border:1px solid #88999b;
}
/* Right */
div.right {
	width: 208px;
	float: right;
	display: inline;
}

/* Contact */
div.right p.contact {
	font-size: 93%;
	text-align: right;
	padding: 20px 20px 0 0;
	margin: 0;
	height: 98px;
}
div.right p.contact span {
	font-size: 123.1%;
	display: block;
	font-weight: bold;
	padding: 3px 0 0 0;
}
body.p-home div.right p.contact {
	color: #004381;
}
body.p-services div.right p.contact {
	color: #0299d1;
}
body.p-workers div.right p.contact {
	color: #7c5d4d;
}
body.p-about div.right p.contact {
	color: #9d2d11;
}
body.p-resources div.right p.contact {
	color: #88999b;
}
span.req {
	color:#FF0000;
}
/* @end */

/* @group Nav */
div#nav {
	
}
div#nav ul {
	margin: 0;
	padding: 0;
}
div#nav ul li {
	background-color: #00539b;
	margin: 0 10px 0 0;
	float: left;
	display: inline;
}

/* Added November 26, 2008 - hold drop down colors */
body.p-services div#nav ul li#n-services {
	background-color: #0299d1;
}
body.p-workers div#nav ul li#n-workers {
	background-color: #7c5d4d;
}
body.p-about div#nav ul li#n-about {
	background-color: #9d2d11;
}
body.p-resources div#nav ul li#n-resources {
	background-color: #88999b;
}
/* End Added November 26, 2008 */


div#nav ul li a {
	display: block;
	background: url(../images/nav-cover-left.png) no-repeat 0 0;
	font-family: Verdana, Arial, sans-serif;
	font-style: italic;
	font-size: 116%;
}
div#nav ul li a span {
	display: block;
	padding: 0 15px;
	line-height: 32px;
	background: url(../images/nav-cover-right.png) no-repeat 100% 100%;
}
div#nav ul li a:link, div#nav ul li a:visited {
	color: #fff;
	text-decoration: none;
}
div#nav ul li#n-services:hover, div#nav ul li#n-services.sfhover {
	background-color: #0299d1;
}
div#nav ul li#n-workers:hover, div#nav ul li#n-workers.sfhover {
	background-color: #7c5d4d;
}
div#nav ul li#n-about:hover, div#nav ul li#n-about.sfhover {
	background-color: #9d2d11;
}
div#nav ul li#n-resources:hover, div#nav ul li#n-resources.sfhover {
	background-color: #88999b;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background-color: #fff;
	border: 1px solid #00539b;
	width: 196px;
}
div#nav ul li ul { /* second-level lists */
	position: absolute;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding-top: 5px;
	padding-bottom: 5px;
}
div#nav ul li ul li {
	background-image: none;
	background-color: transparent!important; /* Changed November 26, 2008 */
	height: 22px;
	float: none;
}
div#nav ul li ul li a {
	text-align: left;
	line-height: 18px;
	padding: 2px 10px;
	margin: 0;
	font-size: 93%;
	display: block;
	font-weight: normal;
	/*white-space: nowrap;*/
	background-image: none!important;
	font-style: normal;
}
div#nav ul li ul li a:link, div#nav ul li ul li a:visited {
	color: #004381;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li#n-services ul a:hover {
	background-color: #0299d1;
	color: #fff;
}
div#nav ul li#n-workers ul a:hover {
	background-color: #7c5d4d;
	color: #fff;
}
div#nav ul li#n-about ul a:hover {
	background-color: #9d2d11;
	color: #fff;
}
div#nav ul li#n-resources ul a:hover {
	background-color: #88999b;
	color: #fff;
}
/* @end */

/* @group Default Headings */
div.main h2 {
	font-size: 131%;
	margin: 0 0 10px 0;
	font-weight: normal;
	font-family: Georgia, Times, serif;
	font-style: italic;
}
div.main h3 {
	font-size: 108%;
	margin: 0 0 10px 0;
	font-weight: bold;
	font-family: Georgia, Times, serif;
	font-style: italic;
}
body.p-home h2, body.p-home h3, body.p-home h5 {
	color: #00539b;
}
body.p-services h2, body.p-services h3, body.p-services h5 {
	color: #0299d1;
}
body.p-workers h2, body.p-workers h3, body.p-workers h5 {
	color: #7c5d4d;
}
body.p-about h2, body.p-about h3, body.p-about h5 {
	color: #9d2d11;
}
body.p-resources h2, body.p-resources h3, body.p-resources h5 {
	color: #88999b;
}
body.p-services div.content span {
	color: #0299d1;
	font-weight:bold;
}
/* @end */

/* @group Common Text Styles */
div.content {
	font-family: Georgia, Times, serif;
}
div.content p {
	font-size: 108%;
	line-height: 150%;
}
div.right h5.small {
	text-align:right;
	margin:5px 20px 0 0;
	font-size:76%;
	font-weight:normal;
}
div.links p {
	margin-top:0;
	margin-bottom:4px;
}
p.question {
	margin-bottom:0;
	font-style:italic;
	font-weight:bold;
}
p.answer {
	margin-top:0;
}
div.content ul.noBull li {
	list-style-type:none;
}
div.right h5 {
		text-align:right;
		padding:5px 8px 0 0;
		font-size:9px;
		font-weight:normal;
}
/* @end */

/* @group Default Lists */
div.content li {
	padding-right: 130px;
	padding-top: 5px;
	padding-bottom: 5px;
}
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
body.p-home a:link, body.p-home a:visited {
	color: #004381;
	text-decoration: underline;
}
body.p-home a:hover {
	color: #004381;
	text-decoration: none;
}

body.p-services a:link, body.p-services a:visited {
	color: #0299d1;
	text-decoration: underline;
}
body.p-services a:hover {
	color: #0299d1;
	text-decoration: none;
}

body.p-workers a:link, body.p-workers a:visited {
	color: #7c5d4d;
	text-decoration: underline;
}
body.p-workers a:hover {
	color: #7c5d4d;
	text-decoration: none;
}

body.p-about a:link, body.p-about a:visited {
	color: #9d2d11;
	text-decoration: underline;
}
body.p-about a:hover {
	color: #9d2d11;
	text-decoration: none;
}

body.p-resources a:link, body.p-resources a:visited {
	color: #88999b;
	text-decoration: underline;
}
body.p-resources a:hover {
	color: #88999b;
	text-decoration: none;
}
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */