/*
Company:	Panzer Law
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: #15467a;
}
body {
	font-family: Verdana, Arial, sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
div#hd {
	width: 825px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	background: url(../images/bd-bkg.gif) repeat-y 0 0;
	/*overflow: hidden;*/
}
div#hd-inner {
	background: url(../images/bd-hd.gif) no-repeat 0 0;
	/*overflow: hidden;*/
	width: 825px;
	padding: 1px 0 0 0;
}
div#hd-bkg {
	background: url(../images/hd-bkg.gif) repeat-x 0 0;
	/*overflow: hidden;*/
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 13px;
	padding: 1px 0 0 0;
}

/* Body */
div#bd {
	width: 777px;
	margin-left: auto;
	margin-right: auto;
	padding: 5px 24px 40px 24px;
	overflow: hidden;
	background: url(../images/bd-bkg.gif) repeat-y 0 0;
}

/* Footer */
div#ft {
	width: 797px;
	/*height: 30px;*/
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 15px 15px 0 13px;
	overflow: hidden;
	background: url(../images/bd-ft.gif) no-repeat 0 0;
}
div#ft p {
	margin: 0;
	line-height: 140%;
	font-size: 77%;
	color: #fff;
	font-family: Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	text-align: center;
}
div#ft p.ft-nav {
	background-color: #005568;
	padding: 0 0 5px 0;
	margin: 0 0 5px 0;
}
div#ft p a:link, div#ft p a:visited {
	color: #fff;
	text-decoration: none;
}
div#ft p a:hover {
	text-decoration: underline;
}
/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 777px;
	height: 145px;
	background: url(../images/gp-logo.jpg) no-repeat 0 0;
	text-indent: -9000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 11px;
}
div#logo a {
	display: block;
	height: 100%;
}

/* Workers Compensation */
div.page-heading {
	height: 40px;
	margin: 0 0 10px 0;
	padding: 5px 0 0 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 161.6%;
	color: #92b6be;
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: 2px;
}

/* Side */
div.side {
	width: 180px;
	font-family: Verdana, Arial, sans-serif;
	float: left;
	display: inline;
}

/* Side News */
div.sidenews {
	padding: 5px;
	background-color: #dae6e9;
	margin: 0 0 30px 0;
}
div.sidenews p {
	font-size: 85%;
}

/* Side Nav */
div.sidenav {
	margin: 0 0 30px 0;
}
div.sidenav h2 {
	color: #dae6e9!important;
	padding: 2px 0 2px 8px;
	background-color: #15467a;
}
div.sidenav ul {
	margin: 0 0 20px 0;
}
div.sidenav ul li {
	list-style: none;
	padding: 3px 0;
}
div.sidenav ul li a {
	background: url(../images/sidenav-light.gif) no-repeat 0 50%;
	padding: 0 0 0 15px;
	text-transform: uppercase;
	font-size: 93%;
}
div.sidenav ul li a:link, div.sidenav ul li a:visited {
	color: #15467a;
	text-decoration: none;
}
div.sidenav ul li a:hover, body#divorce div.sidenav ul li#sn-divorce a, body#child-support div.sidenav ul li#sn-child-support a, body#alimony div.sidenav ul li#sn-alimony a, body#paternity div.sidenav ul li#sn-paternity a {
	background: url(../images/sidenav-dark.gif) no-repeat 0 50%;
}

/* Main */
div.main {
	width: 565px;
	float: right;
	display: inline;
}
div.main-wide {
	width: 100%;
	float: none;
	display: block;
}

img.content-pic-left {
	margin: 0 15px 10px 0;
	float: left;
	display: inline;
}

img.gil-pic {
	margin: 0 0 10px 10px;
	float: right;
	display: inline;
}
/* @end */

/* @group Nav */
div#nav {
	/*background-color: #005568;*/
	background: url(../images/nav-bkg.gif) repeat-x 0 0;
}
div#nav ul {
	margin: 0;
	padding: 0 3px 0 0;
	/*float: left;
	display: inline;*/
}
div#nav ul li {
	list-style: none;
	background: url(../images/nav-div.gif) no-repeat 100% 50%;
	padding-right: 2px;
	float: left;
	display: inline;
}
div#nav ul li.last {
	background: none;
}
div#nav ul li a {
	display: block;
	line-height: 34px;
	padding: 0 8px 2px 8px;
	text-transform: uppercase;
	font-size: 85%;
	font-family: Helvetica, Arial, sans-serif;
}
div#nav ul li a:link, div#nav ul li a:visited {
	color: #fff;
	text-decoration: none;
}
div#nav ul li:hover a, div#nav ul li.sfhover a {
	background-color: #15467a;
}
body#front div#nav ul li#n-home a, body#practice-areas div#nav ul li#n-practice a, body#firm-overview div#nav ul li#n-firm a, body#divorce-economics div#nav ul li#n-divorce-econ a, body#preparing-for-divorce div#nav ul li#n-preparing a, body#faqs div#nav ul li#n-faqs a, body#news div#nav ul li#n-news a, body#links div#nav ul li#n-links a, body#contact div#nav ul li#n-contact a, body#gil-panzer-bio div#nav ul li#n-firm a {
	background-color: #15467a;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background-color: #dae6e9;
	width: 175px;
	z-index: 10;
	float: none;
	display: block;
}
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;
	height: 22px;
	float: none;
	width: 175px;
	display: block;
}
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;
	background-color: #dae6e9!important;
	width: 155px;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul li a:link, div#nav ul li ul li a:visited {
	color: #15467a;
}
div#nav ul li ul li a:hover {
	background-color: #15467a!important;
	color: #fff;
}

/* @end */

/* @group Default Headings */
div.side h2 {
	margin: 0 0 5px 0;
	color: #15467a;
	text-transform: uppercase;
	font-size: 108%;
}
div.side h2.spanish {
	margin: 0 0 30px 0;
	display: none!important;
}
div.side h2 a:link, div.side h2 a:visited {
	text-decoration: none;
	color: #15467a;
}

div.main h1 {
	font-size: 100%;
	margin: 0 0 4px 0;
	color: #15467a;
}
div.main h2 {
	font-size: 93%;
	margin: 0 0 10px 0;
	color: #005568;
}
div.main h3 {
	font-size: 93%;
	margin: 0 0 2px 0;
	color: #000;
}
/* @end */

/* @group Common Text Styles */
div.main p {
	font-size: 93%;
	line-height: 140%;
}
div.main p.top-link {
	text-align: right;
	font-size: 85%;
	font-weight: bold;
}
div.main p.note {
	font-size: 85%;
	font-style: italic;
}
.error {
	color: red!important;
}

div.side p.addy {
	font-size: 77%;
	padding-left: 10px;
}
/* @end */

/* @group Default Lists */
div.main ul li {
	font-size: 93%;
	line-height: 140%;
}
div.main ul.directory li {
	margin: 0 0 10px 0;
}
/* @end */

/* @group Forms */
div.side form {
	border: 1px solid #000;
	padding: 10px;
	background-color: #e9fffb;
}
div.side form label {
	display: block;
	font-weight: bold;
	font-size: 100%;
	padding: 2px 0;
}
div.side form input.txt {
	width: 150px;
	font-size: 85%;
	margin: 0 0 15px 0;
}
div.side form input.phone1 {
	width: 30px;
	text-align: center;
}
div.side form input.phone2 {
	width: 30px;
	text-align: center;
}
div.side form input.phone3 {
	width: 45px;
	text-align: center;
}
div.side form textarea {
	font-size: 85%;
	width: 150px;
	height: 75px;
	margin: 0 0 15px 0;
}

/* Contact Form */
form.contact {
	width: 550px;
	margin-left: auto;
	margin-right: auto;
}
form.contact div.row {
	clear: left;
	padding: 0 0 10px 0;
}
form.contact div.row label {
	display: block;
	width: 200px;
	padding: 0 10px 0 0;
	font-weight: bold;
	color: #333;
	float: left;
	text-align: right;
}
form.contact div.row label.center {
	display: block;
	float: none;
	text-align: center;
	width: 460px;
	padding: 0 0 5px 0;
}
form.contact div.row input.txt {
	width: 250px;
}
form.contact div.row textarea {
	width: 400px;
	height: 100px;
	margin-left: 50px;
}
form.contact div.submit-row {
	text-align: center;
}
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #005568;
	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 */
