/*
Company:	Trotter & Maxfield
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, body {
	background-color: #fcfbf9;
}
body {
	font-family: Georgia, Times, serif;
}
/* @end */

/* @group Layout */
div#wrap {
	background-color: #3f5b43;
}

/* Head */
div#hd {
	width: 800px;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
body.home div#hd {
	height: 300px;
}
div#hd-top {
	width: 800px;
	height: 88px;
	background: url(../images/hd-bkg.jpg) no-repeat 0 0;
}


/* Body */
div#bd {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 30px;
}
body.home div#bd {
	background: url(../images/bd-top-shadow.gif) no-repeat 0 51px;
}
body.home div#bd-wrap {
	background: url(../images/bd-bar.gif) repeat-x 0 0 #fcfbf9;
	overflow: hidden;
}
body.inside div#bd {
	background: url(../images/bd-top-shadow-inside.gif) no-repeat 0 87px;
}
body.inside div#bd-wrap {
	background: url(../images/bd-bar-inside-repeat.gif) repeat-x 0 0;
	overflow: hidden;
}
body.inside div#bd-wrap-outer {
	/*background: url(../images/green-bkg.jpg) no-repeat 50% -88px;*/
}
body.inside div#bd-wrap-outer2 {
	background: url(../images/green-hd-bkg-filler.jpg) repeat-x 0 0 #fcfbf9;
}

/* Footer */
div#ft {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/ft-border.gif) repeat-x 0 0;
	padding: 30px 0 0 0;
}
div#ft-wrap {
	background-color: #fcfbf9;
}
div#ft p.copyright {
	width: 400px;
	margin: 0 0 0 20px;
	color: #425d46;
	float: left;
	display: inline;
}
div#ft p.copyright span {
	font-family: Verdana, Arial, sans-serif;
	font-size: 77%;
}
div#ft p.addy {
	width: 310px;
	color: #425d46;
	font-size: 108%;
	text-indent: -9000px;
	background: url(../images/ft-addy.gif) no-repeat 0 0;
	height: 43px;
	float: right;
	display: inline;
}

/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 299px;
	height: 60px;
	background: url(../images/trottermaxfieldlogo.gif) no-repeat 0 0;
	text-indent: -9000px;
	margin: 6px 0 0 40px;
	float: left;
	display: inline;
}

div#logo a {
	display: block;
	height: 100%;
}

/* Feature */
div#feature {
	width: 800px;
	height: 212px;
	background-color: #c7c7c7;
}

/* Main */
div.main {
	width: 414px;
	margin: 75px 0 0 20px;
	float: left;
	display: inline;
}
body.inside div.main {
	margin: 0 0 0 20px;
	width: 760px;
}

/* Spacer */
div.spacer {
	padding: 110px 0 0 0;
}

div.spacer-resources {
	padding: 20px 0 0 0;
}

/* HR */
div.main div.hr {
	border-bottom: 1px solid #456049;
	height: 1px;
	overflow: hidden;
	padding: 0 0 0 0;
	margin: 0 0 10px 0;
}

/* Side */
body.home div.side {
	width: 299px;
	background: url(../images/help-box-bkg.gif) no-repeat 0 0;
	margin: 23px 20px 0 0;
	float: right;
	display: inline;
}
body.inside div.side {
	width: 299px;
	background: url(../images/attorney-box-bkg.gif) no-repeat 0 0;
	margin: 0 0 0 20px;
	float: right;
	display: inline;
}
body.home div.side-box {
	width: 273px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	margin-top: 13px;
}
body.inside div.side-box {
	width: 260px;
	margin-left: 20px;
	overflow: hidden;
	margin-top: 20px;
}
body.home div.side-box h2 {
	font-size: 123.1%;
	margin: 0;
	background: url(../images/help-box-hd.gif) no-repeat 0 0;
	line-height: 47px;
	color: #456049;
	font-family: Georgia, Times, serif;
	padding: 0 5px 10px 18px;
	text-indent: -9000px;
}
div.side-box h3 {
	font-size: 123.1%;
	margin: 0 0 5px 0;
	color: #84a36b;
}
body.home div.side-box {
	background: url(../images/help-box-bkg-pattern.gif) no-repeat 0 57px;
}
div.side-box-content {
	padding: 5px 15px;
}
body.inside div.side-box-content {
	padding-top: 20px;
}
div.side-box p {
	font-size: 77%;
	color: #425e46;
	font-weight: bold;
	padding: 0 3px;
	margin: 0 0 5px 0;
}
div.side-box p.email {
	font-weight: normal;
	color: #84a36b;
}
div.side-box p.email a:link, div.side-box p.email a:visited {
	color: #84a36b;
}
div.side-box p.vcard {
	font-weight: normal;
	background: url(../images/vcard-icon.gif) no-repeat 0 0;
	line-height: 20px;
	padding: 0 0 0 30px;
	color: #84a36b;
}
div.side-box p.vcard a:link, div.side-box p.vcard a:visited {
	color: #84a36b;
}
div.side-box div.hr {
	border-bottom: 1px solid #456049;
	height: 1px;
	padding: 5px 0 0 0;
	margin: 0 0 5px 0;
}

/* Side Nav */
ul.sidenav {
	margin: 0;
	padding: 0;
}
ul.sidenav li {
	list-style: none;
}
ul.sidenav li a {
	display: block;
	padding: 4px 18px;
	font-size: 85%;
	width: 237px;
}
ul.sidenav li a:link, ul.sidenav li a:visited {
	color: #84a36b;
	text-decoration: none;
}
ul.sidenav li a:hover {
	background-color: #dff7c5;
}
/* @end */

/* @group Nav */
div#nav {
	width: 460px;
	float: right;
	display: inline;
}
div#nav ul {
	margin: 0;
	padding: 0 10px 0 0;
	float: right;
	display: inline;
}
div#nav ul li {
	float: left;
	display: inline;
}
div#nav ul li:hover, div#nav ul li.sfhover {
	background: url(../images/nav-hover.jpg) no-repeat 0 0;
}
div#nav ul li a {
	display: block;
	font-family: Georgia, Times, serif;
	font-size: 108%;
	padding: 21px 10px 0 10px;
	line-height: 50px;
}
div#nav ul li a:link, div#nav ul li a:visited {
	color: #041310;
	text-decoration: none;
}
div#nav ul li:hover a:link, div#nav ul li:hover a:visited, div#nav ul li.sfhover a:link, div#nav ul li.sfhover a:visited {
	color: #f3efe5;
}
div#nav ul li a.active {
	background: url(../images/nav-hover.jpg) no-repeat 0 0;
}
div#nav ul li a.active:link, div#nav ul li a.active:visited {
	color: #f3efe5;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background-color: #456049;
	z-index: 100;
}
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 */
}
div#nav ul li ul li {
	background-image: none;
	height: 22px;
	float: none;
}
div#nav ul li ul li a {
	text-align: left;
	line-height: 22px;
	padding: 0 10px;
	margin: 0;
	font-size: 85%;
	display: block;
	font-weight: normal;
	background-image: none!important;
	width: 230px;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul li a:hover {
	background-color: #def7c5;
	color: #8dac74!important;
}
/* @end */

/* @group Default Headings */
div.main h1 {
	font-size: 182%;
	font-weight: bold;
	color: #4e6851;
	margin: 0 0 10px 0;
}
div.main h1.helping {
	text-indent: -9000px;
	background: url(../images/hd-helping-people.gif) no-repeat 0 0;
	height: 56px;
}
div.main h1 span.highlight {
	color: #a2b98f;
}
div.main h1 span.right {
	text-align: right;
	display: block;
}

div.main h2 {
	font-size: 131%;
	margin: 0 0 10px 0;
	color: #4e6851;
	border-bottom: 2px solid #c5cbc5;
	padding: 0 0 10px 0;
}

div.main h3 {
	margin: 0 0 5px 0;
	color: #4e6851;
	font-size: 108%;
}
/* @end */

/* @group Common Text Styles */
div.main p {
	font-size: 103%;
	color: #384348;
	line-height: 160%;
	margin-bottom: 10px;
}
/* @end */

/* @group Default Lists */
div.main li {
	font-size: 103%;
	color: #384348;
	line-height: 160%;
}
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #425d46;
	text-decoration: underline;
}
a:hover {
	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 */