
/*-------------------------------------------------------------------------------------*/
/* undo some default styling of common (X)HTML browsers
/*------------------------------------------------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}

/* ------------------------ GLOBAL ELEMENTS ------------------------ */

/* ------------------------ type selectors ------------------------ */
body { 
	background:#e6e6e6 url("../images/bg-body.jpg") top repeat-x;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#fff;
	margin-top:30px;
	}

blockquote { margin-left:10px; margin-right:10px; }

h1	{ font-size:1.3em; color:#fff; }
h2	{ font-size:1.1em; color:#fff; }
h3	{ font-size:1.0em; color:#fff; }

h1 span,h2 span,h3 span	{ display:none; }

a:link,a:visited	{ color:#fff; text-decoration:underline; outline:none; font-weight:bold; }
a:hover,a:active	{ color:#2f86af; text-decoration:underline; outline:none; }


#san-diego-criminal-law a:link, #san-diego-criminal-law a:visited	{ color:#68696b; text-decoration:none; outline:none; font-weight:normal; }
#san-diego-criminal-law a:hover, #san-diego-criminal-law a:active	{ color:#68696b; text-decoration:underline; outline:none; }


/* ------------------------ classes ------------------------ */
.clear	{ 
	clear:both;
	}

div.clear	{ 
	height:.01em; 
	overflow:hidden; 
	}

p.back-to-top {
	text-align:right;
	display:block;
	padding-right:15px;
	background:url("../images/bullet-back-to-top.jpg") right no-repeat;
	}

img.img-left { 
	float:left; 
	margin:2px 10px 10px 0px;
	}

img.img-right { 
	float:right; 
	margin:5px 0px 10px 10px; 
	}

/* ------------------------ form elements ------------------------ */
#forms {padding-left:20px; margin:20px 0 0 0;}
form {
	margin:10px 0 15px 0; /* set margin left and right below */
	
	}

form label	{ font-size:.95em; } 

form br { line-height:0; height:0; } /* defaults vertical spacing between fields */

input, textarea, select { 
	background-color:#fff !important; /* to prevent highlighting by Google Toolbar */
	border:1px solid #B4790C;
	color:#000;
	width:220px; /* 5 pixles smaller than form width !important */
	height:25px;
	line-height:18px;
	vertical-align: middle;
	margin-bottom:4px; /* sets vertical spacing between fields */
	padding-top:1px; /* vertically position text in input/textarea field */
	padding-left:4px; /* horizontally position text in input/textarea field */
	font-family:Arial, Helvetica, sans-serif; 
	font-size:1.0em;
	}
form input.checkbox { background-color:none; width:14px; height:14px; margin: 15px 5px 15px 0;}
select { width:150px; padding:0; } /* same width as form - !important */

textarea { height:130px; overflow:auto; }

#contact_business { display: none; } /* do not remove */ 
.name { display:none;}


/* ------------------------ SPECIFIC ELEMENTS ------------------------ */

/* ------------------------ main contact form ------------------------ */
#contact-main { margin:20px 0 10px 0; }

#contact-main label { 
	width:220px; 
	position:relative; 
	display:block; 
	text-align:right; 
	margin-bottom:10px;
	font-size:1.0em;
	}

#contact-main label input, #contact-main label textarea, #contact-main label select { 
	width:170px;
	position:absolute; 
	left:110%; 
	top:-2px;
	}

#contact-main label select { width:175px; } /* fixes display issue - 5px larger than input field */

#contact-main label textarea { height:100px; overflow:auto; }

/* ------------------------ submit button form elements ------------------------ */

input.submit, input.submit-contact-main { 
	width:60px;
	height:20px;
	cursor:pointer; 
	padding:0; 
	}

input.submit-contact-main { margin:95px 0 0 243px; } /* defines placement of contact-main submit button */

input.submit-image, input.submit-contact-main { /* REMOVE IF NOT USED */
	background:url("../images/btn-submit.jpg");
	width:64px;
	height:20px;
	border:none;
	cursor:pointer;
	}

/* ------------------------------- CONTENT FRAMEWORK ------------------------------- */

/* ------------------------ main framework ------------------------ */
#wrap {
	background:url("../images/bg-wrap.jpg") repeat-y;
	width:1175px;
	margin:0 auto;
	text-align:left;
	}

/* ------------------------ masthead framework ------------------------ */
#masthead {
	position:relative;
	background:url("../images/masthead.jpg");
	height:143px;
	}
	/* index page link within #masthead */		
	#masthead a.lgo {	
		position:absolute;
		left:90px;
		width:400px;
		top:35px;
		height:55px; 
		}
	#masthead a span {
		display:none;
		}
	#masthead a.mto {	
		position:absolute;
		left:940px;
		width:200px;
		top:82px;
		height:22px; 
		}
	#masthead a span {
		display:none;
		}
	#masthead p { color:#000;  text-align:right;}
	
	#masthead p.number 			{font-family:'Times New Roman', Times, serif; float:right;  font-size:1.6em; margin-left:5px; color:#68696b;}
	#masthead p.telphone 		{float:right; font-size:.8em; line-height:20px; color:#335e81;}
	#masthead p.address 		{font-family:'Times New Roman', Times, serif;clear:both; line-height:12px; color:#68696b; font-size:1.0em;}
	#masthead p.address strong  {font-family:Arial, Helvetica, sans-serif;  color:#335e81; margin-right:5px;}
#flash-logo { padding:34px 0 0 37px; width:50px; height:40px; float:left;}





/* ------------------------ column-left framework ------------------------ */
#column-left {
	width:262px;
	float:left;
	margin-left:11px;
	}

	#column-left p, #column-left h1, #column-left h2, #column-left h3, #column-left ul, #column-left dl {
		margin:0px 0px 10px 0px;
		}

	#column-left form { margin-left:0px; } /* set form margin here */

	/* single column list */
	#column-left ul { padding-left:5px; }
		#column-left ul li { 
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px; /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-left ul { padding-left:5px; } 
		#column-left ul li { 
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			float:left;
			width:150px; /* sets the width of each column */
			line-height:20px; 
			}

	/* definition list */
	#column-left dl { padding-left:5px; }
		#column-left dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-left dl dd {
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}

/* ------------------------ column-right framework ------------------------ */
#column-right {
	width:902px;
	float:right;
	}

	#column-right p, #column-right h1, #column-right h2, #column-right h3, #column-right dl {
		margin:15px 30px 10px 30px;
		}
	#column-right ul {margin:15px 10px 10px 20px;
		}

	#column-right form { margin-left:5px; }

	/* single column list */
	#column-right ul { padding-left:5px; }
		#column-right ul li { 
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			}

	/* multi column list */
	#column-right ul { padding-left:5px; } 
		#column-right ul li { 
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:none;
			width:180px;
			line-height:20px; 
			}
#column-right ul.multi-list {
			float:left;
			width:180px;
			line-height:20px; 
			font-weight:bold;
			}
#column-right ul.multi-list li {
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:none;
			width:180px;
			line-height:20px; 
			font-weight:bold;
			}
#column-right ul.single-list-wide li {
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:none;
			width:450px;
			line-height:20px; 
			font-weight:bold;
			}
#column-right ul.single-list li {
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:15px;  /* pushes text to the right to display bg img */
			float:none;
			width:200px;
			line-height:20px; 
			font-weight:bold;
			}

	/* definition list */
	#column-right dl { padding-left:5px; }
		#column-right dl dt {
			font-weight:bold;
			color:#99CC00;
			}
		#column-right dl dd {
			background:transparent url("../images/bullet.png") 0px 6px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */
			padding-left:10px;  /* pushes text to the right to display bg img */
			margin-left:5px;
			}

/* ------------------------ header framework ------------------------ */
#header-flash { height:390px; width:262px; display:none; } /* sets height for the flash header - REMOVE IF NOT USED */
body#sports #header-flash { height:390px; width:262px; display:block; }
#header-graphic { height:390px; width:262px; } /* sets height for all non-flash headers */

	body#index #header-graphic { background:url("../images/header-sdhall_image.jpg"); }
	body#criminal #header-graphic { background:url("../images/header-bars_image.jpg"); }
	body#contract #header-graphic { background:url("../images/header-content_courthouse.jpg"); }
	body#sports #header-graphic { background:url("../images/header-content_sports_1.jpg"); }
	body#about #header-graphic { background:url("../images/header-image_about.jpg"); }
	body#thankyou #header-graphic { background:url("../images/header-image_about.jpg"); }


/* ------------------------ subhead framework ------------------------ */
#subhead { height:80px; margin:20px auto; width:600px; } /* sets height for all subheads */
	body#index #subhead { background:url("../images/subhead-aggressive-legal-representation.png") no-repeat; }
	body#criminal #subhead { background:url("../images/subhead-we-handle-all-crimes.png") no-repeat; }
	body#contract #subhead { background:url("../images/subhead-representing-plaintiffs.png") no-repeat; }
	body#sports #subhead { background:url("../images/subhead-representation-major-baseball-players.png") no-repeat; }
	body#about #subhead { background:url("../images/subhead-randy-m-grossman.png") no-repeat; }
	
	body#contact #subhead { background:url("../images/subhead-sitemap.jpg") no-repeat; }
	body#thankyou #subhead { background:url("../images/subhead-thankyou.png") no-repeat; }

/* ------------------------ subhead framework with varying heights ------------------------ */
#subhead-meet-doc {
	height:55px;
	background:url("../images/subhead-meet-doc.jpg") ;
	}

/* ------------------------ title framework with varying heights ------------------------- */
#title-contact {
	height:55px;
	background:url("../images/title-contact.jpg") ;
	}

#title-our-procedures {
	height:35px;
	background:url("../images/title-our-procedures.jpg") ;
	}

/* ------------------------------------- Buttons ---------------------------------------- */
#btn-special-offer {
		height:186px;
		display:block;
		background:url("../images/dental-btn-special-offer.jpg") no-repeat;	
		}
		#btn-special-offer:hover {
				background:url("../images/dental-btn-special-offer.jpg") -100px 0 no-repeat; /* -100px = horizontal img shift, 0px = vertical shift from top */
				}
		#btn-special-offer span { display:none; }


/* ------------------------ bottom-wrap framework ------------------------ */
/* ------------ must have below column-left and column-right to clear the float ------------ */
#bottom-wrap {
	background:url("../images/bottom-wrap.jpg");
	width:100%; /* fix for Safar */
	height:59px;
	clear:both; /* important - do not remove */
	}

/* ------------------------footer framework ------------------------ */
#footer {
	width:1100px;
	margin:0 auto;
	text-align:left;
	}

#footer p {
	color:#a6a6a6;
	margin-bottom:10px;
	}

#footer a:link, #footer a:visited { color:#a6a6a6; }
#footer a:hover, #footer a:active { color:#000; text-decoration:none; }

#footer ul {margin:10px 0 10px 0px;}
	#footer li { /* if your li's float, you can adjust border height w/ line-height */
		padding:0 5px 0 7px; /* adjusts the spacing between each li display and border-left */
		display: inline;
		border-left: 1px solid #a6a6a6;
		}
	#footer li.first { border: none; margin-left:-7px; }

/* ------------------------ MAIN NAVIGATION FRAMEWORK ------------------------ */

/* ------------------------ horizontal sprite nav ------------------------ */
#nav { 
	background:url("../images/nav.jpg") no-repeat; 
	width:1175px; 
	height:30px; 
	margin:0;
	padding:0; 
	color:#686a69;
	}

#nav span { display:; }

#nav li, #nav a { height:20px; display:block;  } /* change height here also */
#nav a:hover { color:#fff; height:25px;}
#nav li { float:left; list-style:none; _display:inline; position:relative; padding-left:10px; margin-right:15px; font-weight:bold;  }
#nav li a {color:#696969;}

#nav-01 { border:none;  margin-left: 30px; color:#696969;}
#nav-02 {  border-left:1px solid #696969; }
#nav-03 {  border-left:1px solid #696969; }
#nav-04 {  border-left:1px solid #696969; }
#nav-05 {  border-left:1px solid #696969; }
#nav-06 { border-left:1px solid #696969;  }
#nav-07 { border-left:1px solid #696969;  }


/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/nav.jpg")  -79px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-02 a:hover { background:url("../images/nav.jpg") -158px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-03 a:hover { background:url("../images/nav.jpg") -247px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-04 a:hover { background:url("../images/nav.jpg") -341px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-05 a:hover { background:url("../images/nav.jpg") -428px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-06 a:hover { background:url("../images/nav.jpg") -460px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}
#nav-07 a:hover { background:url("../images/nav.jpg") -520px -30px no-repeat; background-color:#355679; margin-top:-5px; padding-top:5px;}


/*-------------- OPTIONAL - Keeps the hover state on each page based on body id ------------- */
body#SPECIFY #nav-01 { background:url("../images/nav.jpg")  -79px -30px no-repeat; }
body#SPECIFY #nav-02 { background:url("../images/nav.jpg") -158px -30px no-repeat; }
body#SPECIFY #nav-03 { background:url("../images/nav.jpg") -247px -30px no-repeat; }
body#SPECIFY #nav-04 { background:url("../images/nav.jpg") -341px -30px no-repeat; }
body#SPECIFY #nav-05 { background:url("../images/nav.jpg") -428px -30px no-repeat; }
body#SPECIFY #nav-06 { background:url("../images/nav.jpg") -460px -30px no-repeat; }

/* ------------------------ son of suckerfish: horizontal sprite nav ------------------------ */
#nav li ul {
	position:absolute;
	left:-9999px;
	padding-right:1px; /* Fixes one px spacing for border-right in FF */
	background-color:#335578;	/* Background color of drop down nav - add more styles (i.e. background image) if you want */
	border:1px solid #fff;
	padding-top:10px;
	}

#nav li ul li { 
	height:25px; /* Height of each drop down nav item */
	
	border-top:none;
	}	

#nav li ul li a {
	width:100%;
	height:25px;	/* Height of each drop down nav item, should match above */
	line-height:25px;	 /* Height of each drop down nav item again, should match above */
	color:#fff;
	}

#nav li ul li a span {
	display:block;
	padding-left:5px;
	}

/* Drop down link styles */
#nav a:link, #nav a:visited, #nav a:hover, #nav a:active {
	font-size:1.0em;
	text-decoration:none;
	}

#nav li:hover ul, #nav li.sfHover ul	{ left: auto; }

/* Hover styles for drop down items */
#nav-02 ul a:hover, #nav-03 ul a:hover { 
	background-image:none;
	background-color:#102a48;
	color:#FFFFFF;
	text-decoration:none;
	padding-left:10px;
	margin-left:-10px;
	width:190px;
	padding-top:5px;
	}

/* width of drop down nav - choose width that allows items to display on one line */
#nav-02 ul, #nav-02 li { width:200px; }		
#nav-03 ul, #nav-03 li { width:200px; }

/* ------------------------ MISC ------------------------ */



.btn-home { width:150px; float:left; margin:60px;}
#column-right .btn-home p { margin:5px 0 0 10px;}
#map { margin-left:30px;}
