/* @override http://192.168.1.105:8888/eldeiry-rubino/css/main.css */

/*
Company:	ElDeiry and Rubino
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
Common Text Styles - Styles for text
Default Headings - headings like h1, h2, etc
Default Lists - unordered and ordered lists
Nav - navigation bar
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background: url(../images/hd-bkg.gif) repeat-x 0 0 #fff;
}
body {
	font-family: verdana, arial, sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
div#hd {
	width: 784px;
	margin-left: auto;
	margin-right: auto;
	padding: 19px 0 0 0;
}

/* Body */
div#bd {
	width: 784px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 20px 0;
}

/* Footer */
div#ft-wrap {
	background-color: #000033;
}
div#ft {
	width: 784px;
	margin-left: auto;
	margin-right: auto;
	background-color: #000033;
	text-align: center;
	padding: 10px 0;
}
div#ft p a:link, div#ft p a:visited {
	color: #fbf9f9;
	text-decoration: none;
}
div#ft p a:hover {
	text-decoration: underline;
}
div#ft p {
	color: #fbf9f9;
	font-size: 77%;
	font-family: Georgia, times, serif;
	line-height: 180%;
	margin: 0;
}
/* @end */

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

/* Phone */
p.phone {
	color: #FCFBFB;
	font-size: 137.9%;
	font-family: Georgia, times, serif;
	text-align: right;
	margin: 0;
	padding: 0 10px 10px 0;
}

/* Home Flash */
div.home-flash {
	width: 784px;
	height: 254px;
	position: absolute;
	z-index: 100;
	margin-top: -10px;
}
div.home-flash-spacer {
	width: 784px;
	height: 254px;
	clear: both;
}

/* Service Callouts */
div.service-callouts {
	margin: 0 0 20px 0;
}
div.service-callouts div.callout {
	width: 157px;
	height: 85px;
	background: url(../images/callout-gray.gif) no-repeat 0 0;
	margin: 0 12px 0 0;
	padding: 10px 15px 0 15px;
	float: left;
	display: inline;
}
div.service-callouts div.callout-last {
	margin-right: 0!important;
}
div.service-callouts div.callout-highlight {
	background: url(../images/callout-blue.gif) no-repeat 0 0;
}
div.service-callouts div.callout a {
	display: block;
	width: 100%;
	height: 85px;
	text-decoration: none!important;
}
div.service-callouts span.heading {
	color: #fdfafa;
	font-size: 93%;
	font-family: georgia, times, serif;
	margin: 0 0 5px 0;
	text-transform: uppercase;
	display: block;
	font-weight: bold;
}
div.service-callouts span.text {
	color: #fbf2f2;
	font-size: 85%;
	font-family: times, serif;
	display: block;
}

/* Side */
div.side {
	width: 188px;
	float: left;
	display: inline;
}

/* Calendar Feed */
div.cal-feed {
	border: 1px solid #000033;
	padding: 10px;
	margin: 0 0 15px 0;
	font-family: Georgia, Times, serif;
}
div.cal-feed h2 {
	color: #000033;
	font-size: 108%;
	margin: 0 0 10px 0;
	padding: 4px 0 4px 46px;
	background: url(../images/cal-icon.gif) no-repeat 0 50%;
}
div.cal-feed h5 {
	color: #000033;
	font-size: 93%;
	margin: 0 0 2px 0;
}
div.cal-feed p {
	font-size: 93%;
	margin: 0 0 15px 0;
	line-height: 150%;
}

/* Locations */
div.locations-wrap {
	padding: 5px;
	border: 1px solid #000033;
}
div.locations {
	background-color: #dbdada;
	padding: 5px 10px;
}
div.locations p {
	color: #333333;
	font-family: Georgia, times, serif;
	font-size: 77%;
	margin: 0;
	padding: 5px 0;
}

/* Main */
div.main {
	width: 582px;
	float: right;
	display: inline;
}

/* Masthead */
div.masthead {
	width: 784px;
	height: 133px;
	background: url(../images/inside-masthead.png) no-repeat 0 0;
	position: absolute;
	z-index: 100;
	margin-top: -10px;
}
div.masthead-spacer {
	width: 784px;
	height: 133px;
	margin-bottom: 10px;
}
div.masthead h3 {
	margin: 0;
	padding: 28px 20px 0 248px;
	text-align: center;
	font-family: Georgia, Times, serif;
	font-style: italic;
	color: #fff;
	text-shadow: 2px 2px 2px #000;
	font-size: 131%;
	font-weight: bold;
}

/* Attorney List */
div.main p.attorney-list {
	color: #000033;
	font-size: 93%;
	font-weight: bold;
	font-family: Georgia, times, serif;
}
div.main p.attorney-list a:link, div.main p.attorney-list a:visited {
	color: #660000;
	text-decoration: underline;
}
div.main p.attorney-list a:hover {
	text-decoration: none;
}

/* Pics */
.leftpic {
	margin: 0 15px 10px 0;
	border: 5px solid #dbdada;
	float: left;
	display: inline;
}

/* Cols */
div.cols {
	padding: 0 0 20px 0;
}
div.left-col {
	width: 45%;
	float: left;
	display: inline;
}
div.right-col {
	width: 45%;
	float: right;
	display: inline;
}

/* Blog */
div.navigation {
	font-size: 85%;
}
div.post {
	margin-bottom: 20px;
}
div.main div.post h2 {
	margin-bottom: 5px;
}
div.main p.news-date {
	margin: 0 0 2px 0;
	font-style: italic;
}
div.side ul.side-wp-nav {
	margin: 0;
}
div.side ul.side-wp-nav li {
	list-style: none;
}
div.side ul.side-wp-nav li h2 {
	font-size: 93%;
	margin: 0 0 5px 0;
}

div.side ul.side-wp-nav ul {
	margin: 0 0 15px 0;
}
div.side ul.side-wp-nav ul li {
	list-style: none;
	font-size: 85%;
}
/* @end */

/* @group Common Text Styles */
div.main {
	color: #333;
}
div.main p {
	font-size: 85%;
	line-height: 140%;
}
div.main blockquote {
	font-size: 108%;
	font-weight: bold;
	font-family: Georgia;
	color: #000033;
	border-top: 1px solid #000033;
	border-bottom: 1px solid #000033;
	padding: 6px 10px;
	margin: 0 0 10px 0;
}
div.main p.service-note, div.cal-main p.service-note {
	font-size: 77%;
	color: #666666;
}
/* @end */

/* @group Default Headings */
div.main h1 {
	color: #000033;
	font-size: 116%;
	font-family: Georgia, times, serif;
	margin: 0 0 10px 0;
}
div.main h2 {
	color: #660000;
	font-size: 100%;
	font-family: Georgia, times, serif;
	margin: 0 0 10px 0;
}
div.main h3 {
	margin: 0 0 5px 0;
	font-size: 100%;
	color: #000033;
}
div.main h3.partner-name {
	font-size: 100%;
	padding-top: 15px;
}
div.main h3.featured {
	font-size: 100%;
}
div.main h4, div.cal-main h4 {
	color: #333333;
	font-size: 85%;
	font-weight: bold;
}
div.main h4.service-hd, div.cal-main h4.service-hd {
	padding-top: 10px;
	color: #666666;
}
/* @end */

/* @group Default Lists */
div.main li {
	font-size: 85%;
	line-height: 140%;
}
div.main li li {
	font-size: 100%;
}
/* @end */

/* @group Nav */
div#nav {
	width: 780px;
	height: 36px;
	margin-left: 2px;
}
div.nav-bkg {
	background: url(../images/nav.gif) no-repeat;
}
div#nav ul {
	margin: 0;
	padding: 0;
}
div#nav ul li {
	list-style: none;
	float: left;
	display: inline;
}
div#nav ul li a {
	display: block;
	font-weight: bold;
	font-size: 93%;
	font-family: Georgia, times, serif;
	text-transform: uppercase;
	width: 109px;
	text-align: center;
	line-height: 26px;
}
div#nav ul li a.blog {
	width: 123px;
}
div.nav-bkg a:link, div.nav-bkg a:visited {
	color: #68687a;
	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: #ffffff;
	text-decoration: none;
}

div.na-home {
	background-position: 0 -36px;
}
div.na-home ul li.n-home a:link, div.na-home ul li.n-home a:visited {
	color: #fff;
}

div.na-practice {
	background-position: 0 -72px;
}
div.na-practice ul li.n-practice a:link, div.na-practice ul li.n-practice a:visited {
	color: #fff;
}

div.na-firm {
	background-position: 0 -108px;
}
div.na-firm ul li.n-firm a:link, div.na-firm ul li.n-firm a:visited {
	color: #fff;
}

div.na-resources {
	background-position: 0 -144px;
}
div.na-resources ul li.n-resources a:link, div.na-resources ul li.n-resources a:visited {
	color: #fff;
}

div.na-contact {
	background-position: 0 -180px;
}
div.na-contact ul li.n-contact a:link, div.na-contact ul li.n-contact a:visited {
	color: #fff;
}

div.na-calendar {
	background-position: 0 -216px;
}
div.na-calendar ul li.n-calendar a:link, div.na-calendar ul li.n-calendar a:visited {
	color: #fff;
}

div.na-blog {
	background-position: 0 -252px;
}
div.na-blog ul li.n-blog a:link, div.na-blog ul li.n-blog a:visited {
	color: #fff;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0 0 0 10px;
	list-style: none;
	line-height: 1;
	background: url(../images/nav-drop-bkg.png) no-repeat 0 100%;
	width: 224px;
}
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: 15px;
	z-index: 500;
}
div#nav ul li ul li {
	background-image: none;
	display: block;
	float: none;
	margin: 0;
	padding: 0;
}
div#nav ul li ul li a {
	text-align: left;
	line-height: 22px;
	padding: 0 10px;
	margin: 0;
	font-size: 93%;
	display: block;
	font-weight: normal;
	background-image: none!important;
	width: 204px;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul a:hover {

}
/* Fix for sticky IE drop downs */
div#nav ul li:hover, div#nav ul li.sfhover {position: static;}

/* @end */

/* @group Forms */
.error {
	color: red!important;
}
div.row label {
	font-size: 85%;
	color: #333;
	display: block;
	width: 120px;
	padding: 2px 10px 0 0;
	text-align: right;
	float: left;
	display: inline;
}
div.row span.required {
	color: red;
}
div.row {
	padding: 0 0 5px 0;
}
div.row input.txt {
	font-size: 85%;
	width: 150px;
	border: 1px solid #ccc;
	padding: 2px;
	color: #333;
}
div.row textarea {
	font-size: 85%;
	width: 250px;
	height: 100px;
	border: 1px solid #ccc;
	padding: 2px;
	color: #333;
}
div.row input.btn {
	margin: 5px 0 10px 330px;
}
/* @end */

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