/*
* edreamz 2006
* jjohnson
* bray law firm
*
*/

body{ background: #5C5551; margin: 0; padding: 0; text-align: center; background: url(../images/bg_main.gif) top center repeat-y; 
font-family: Arial, Helvetica, sans-serif; color: #333; font-size: 12px;}

a img{border: 0 none;}
a{ color: #4255A1; font-weight: bold;}
#nav a{text-decoration: none;}
a:hover{text-decoration: none;}

#shad{background: url(../images/shad-bg.gif) repeat-y top center; width: 760px; margin: 0 auto;}
#wrapper{width: 752px; margin: 0 auto; background: #fff;}
#wrapper div{text-align: left; position: relative;}

#hd{background: url(../images/hd-bg.gif) repeat-x top left; height: 100px;}
#hd address{font-size: 11px; color: #fff; font-style: normal; margin: 15px 10px 0 0;}
#hd .logo{position: absolute; top: 0; left: 0; clear: right;}
	/* hack for IE */
	* html #hd .logo{z-index: -100;}
	/* end hack */


.lc{width: 365px; float: left;}
.rc{width: 377px; float: right; margin-top:5px;}
.home .lc{margin: 5px 0 0 0;}
.home .lc p{line-height: 18px; margin-left:15px;}
.lc.practice p{padding: 0 15px;}
.rc.practice p{padding: 0 15px;}

.parea p,.wysiwygcontent p{line-height: 18px; padding: 4px 15px 4px 15px; margin: 0;}

h1.title{margin: 15px 0 0 15px; padding: 0 0 12px 0; font-size: 22px; background: url(../images/line.gif) no-repeat bottom left;}

#practiceImages{float:left;}

#practiceButtons{padding: 13px 0 0 10px; clear: both;}
/* hack for IE */
	* html #practiceButtons{margin: -15px 0 0 0;}
/* end hack */

/*** specialty boxes on homepage ***/

.iimg{display: block;  background: #4F8522; float: left; margin: 3px;}
.iimg.first{margin-left: 15px;}
	/* hack for IE */
	* html .iimg.first{margin-left: 8px;}
	/* end hack */
.iimg:hover{background: #2F650D;}
.iimg img{padding: 4px;}

.bimg{display: block; width: 355px; height: 30px; margin: 0 0 3px 0;}
.bimg em{display:none;}
.bimg.motor{background: url(../images/buttons/motorsports.jpg) no-repeat top left;}
.bimg.incorp{background: url(../images/buttons/incorporation.jpg) no-repeat top left;}
.bimg.construct{background: url(../images/buttons/construction.jpg) no-repeat top left;}
.bimg.corp{background: url(../images/buttons/corp-rep.jpg) no-repeat top left;}
.bimg.ent{background: url(../images/buttons/ent.jpg) no-repeat top left;}
.bimg.lit{background: url(../images/buttons/bus-lit.jpg) no-repeat top left;}
/*** end specialty boxes ***/


.relatedLinks a{border-right: 1px solid #d9d9d9; padding: 0 16px 0 8px ; margin: 0 8px 0 0;}
.relatedLinks a.last{border:none;}
.relatedLinks strong{font-size: 11px; color: #666;}


.newsItem{padding: 5px 15px 20px 15px; margin: 8px 15px; background: url(../images/dotted-bg.gif) repeat-x bottom left;}
.newsItem p{padding: 8px 0 5px 0; margin: 0;}
.newsItem h3{margin: 0; padding: 0; font-size: 14px;}
 .posted{font-size: 11px;}

.client{padding: 5px 15px 20px 15px; margin: 8px 15px; background: url(../images/dotted-bg.gif) repeat-x bottom left;}
.client img{float: left; margin: 0 8px 0 0; }
.client h3{margin: 0; padding: 3px 0 0 10px; font-size: 14px;}
.client p{margin: 0; padding: 3px 0 0 10px;}

.doc a{background: url(../images/icon-doc.gif) no-repeat top left ; padding: 8px 0 10px 35px; margin: 0 0 0 15px;}
p.doc{background: #eee; border: 1px solid #ccc; margin: 0 15px; padding: 10px;}
.doc strong{font-size: 11px;}

h3.latest{text-transform: uppercase; font-size: 12px; font-weight: bold; margin: 15px 0 3px 0;}
address.date{color: #4255A1; font-weight: bold; font-size: 10px; font-style: normal;}
h5.headline{color: #4255A1; margin: 3px 0 0 0; padding: 0;font-size: 12px;}
p.news{margin: 0; padding:0; font-size: 11px;}
p.more{text-align:right; margin: 0; padding: 0 10px 0 0; font-size: 11px;}


#practiceareas{padding: 20px 0 0 0;}

#areaGallery{float: right; width:230px; margin: 0 0 5px 25px; padding: 5px;}
* html #areaGallery{width: 230px; padding: 5px 0 5px 5px;}
 #areaGallery img{padding: 4px; background: #fff; border: 1px solid #334665; margin: 5px 0 10px 0;}
 #areaGallery #small{float:right; text-align: center; width: 50px; margin: 0 10px 0 0;}
 #areaGallery #small .simg{padding: 3px; background: #fff; margin: 3px 0 3px 0; float: left; display: block; border: 1px solid #d9d9d9;}
 #areaGallery #small img{background: none; padding: 0; margin: 0; border: 0;}



#ft{clear: both; font-size: 11px; margin-left: 5px; padding: 10px 0; color: #666;}
#ft p{border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; margin:0; padding: 5px 0 5px 0;}
#ft strong{color: #2E3C5A;}
#ft .cus{color: #2E3C5A; font-weight:bold; text-transform: uppercase; margin: 0 0 0 15px;}



/**** main site navigation *****/

#nav{background: url(../images/buttons/tabs-bg.gif) no-repeat left top; position: absolute; top: 72px; left: 252px; width:480px; height: 23px; padding: 0 0 0 20px;}
/* hack for IE */
* html #nav{top: 29px; width:495px; height: 23px; padding: 0 0 0 5px;}
html>body #nav{*top: 29px; *width:495px; *height: 23px; *padding: 0 0 0 20px;}
/* end hack */
#nav ul{margin: 0; padding: 0; list-style:none;}
#nav li{float: left; margin: 0; padding: 0;}
#nav a{float: left; background: url(../images/buttons/tab-right.gif) no-repeat right top; display: block; padding: 6px 17px 5px 3px; 
font-weight: bold; font-size: 11px; color: #333; font-family:Garamond,Times,serif; text-transform:uppercase;}
#nav a.last{ background: none; padding-right: 0px;}

#nav a:hover, #nav a.selected{color: #006871; text-decoration: none;}



/*** MSG Styles ***/

	.success{
		width: 80%;
	    background: #E2F9E3;
	    color: #060; 
		font-family: Verdana, sans-serif;
		border: 1px solid #9c9;
		font-size: 14px;
  		margin: 10px auto 12px auto;
 		padding: 5px 5px 5px 30px;
		}
		
	.error{
		width: 80%;	
		background: #c00;
	    color: #fff; 
		font-family: Verdana, sans-serif;
		border: 1px solid #c99;
		font-size: 14px;
  		margin: 10px auto 12px auto;
 		padding: 5px 5px 5px 30px;
		}

/*** end msg ***/




/**** sub navigation ****/
#subnav{background:#1B2331;}

	#tover a  {
	width: 71px;
	background: url(../images/buttons/sub/sub_overview.gif) top left no-repeat;
	}
	
	#tcorporate-representation a  {
	width: 170px;
	background: url(../images/buttons/sub/sub_corp.gif) top left no-repeat;
	}
	
	#tbusiness-litigation a  {
	width: 127px;
	background: url(../images/buttons/sub/sub_business.gif) top left no-repeat;
	}
	
	#tentertainment a  {
	width: 99px;
	background: url(../images/buttons/sub/sub_entertain.gif) top left no-repeat;
	}
	
	#tmotorsports a  {
	width: 91px;
	background: url(../images/buttons/sub/sub_motorsports.gif) top left no-repeat;
	}
	
	#tincorporation a  {
	width: 99px;
	background: url(../images/buttons/sub/sub_inc.gif) top left no-repeat;
	}
	
	#ttrademark a, #tconstruction-law a {
	width: 95px;
	background: url(../images/buttons/sub/sub_cons.gif) top left no-repeat;
	}

#snav {
	margin: 0;
	padding: 0;
	height: 30px;
	list-style: none;
	display: inline;
	overflow: hidden;
	}

#snav li {
	margin: 0; 
	padding: 0;
        list-style: none;
	display: inline;
	}

#snav a {
	float: left;
	padding: 30px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:30px; /* for IE5/Win only */
	}
	
#snav a:hover {
	background-position: 0 -30px;
	}

#snav a:active, #snav a.selected {
	background-position: 0 -30px;
	}
	
	
#pa {
	margin: 0;
	padding: 0;
	height: 157px;
	list-style: none;
	display: inline;
	overflow: hidden;
	}

#pa li {
	margin: 0; 
	padding: 0;
        list-style: none;
	display: inline;
	}

#pa a {
	float: left;
	padding: 157px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:157px; /* for IE5/Win only */
	}
	
#pa a:hover {
	background-position: 0 -157px;
	}

#pa a:active, #pa a.selected {
	background-position: 0 -157px;
	}
	
	#pacorporate-representation a  {
	width: 126px;
	background: url(../images/buttons/pa/corprep.jpg) top left no-repeat;
	}
	
	#pabusiness-litigation a  {
	width: 126px;
	background: url(../images/buttons/pa/bus-lit.jpg) top left no-repeat;
	}
	
	#paentertainment a  {
	width: 127px;
	background: url(../images/buttons/pa/entertain.jpg) top left no-repeat;
	}
	
	#pamotorsports a  {
	width: 126px;
	background: url(../images/buttons/pa/motosports.jpg) top left no-repeat;
	}
	
	#paincorporation a  {
	width: 127px;
	background: url(../images/buttons/pa/inc.jpg) top left no-repeat;
	}
	
	#patrademark a, #paconstruction-law a  {
	width: 120px;
	background: url(../images/buttons/pa/construction.jpg) top left no-repeat;
	}	
	
/**** end navigation ****/


/***** code for clearing floats *****/
.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
/* End hide from IE-mac */


/***** end code *****/