* { padding: 0; margin: 0; }
body { margin-top: 17px;  margin-bottom: 50px; height: 100%; font: 12px Verdana, Arial,Helvetica,sans-serif; color: #555; }  
body#optimuslawgroup-com { margin-top: 0; } 
	
h1, h2, h3, h4, h5, h6 { display: block; padding: 0; margin: 5px 0 5px 0; }
h1 { font-size: 22px; margin: 5px 0 5px 0; color: #a3d147; }
h2 { font-size: 14px; line-height: 16px; margin: 15px 0 0 0; }
h3 { font-size: 12px; }

h1.logo { padding: 0; margin: 0; }

h1.home { display: block; width: 255px; height: 28px; background: url(../images/h1_home.gif) 0 0 no-repeat; text-indent: -666em; }
h1.professionals { display: block; width: 132px; height: 28px; background: url(../images/h1_professionals.gif) 0 0 no-repeat; text-indent: -666em; }
h1.news_n_articles { display: block; width: 176px; height: 28px; background: url(../images/h1_news_n_articles.gif) 0 0 no-repeat; text-indent: -666em; }
h1.client_testimonials { display: block; width: 196px; height: 28px; background: url(../images/h1_client_testimonials.gif) 0 0 no-repeat; text-indent: -666em; }
h1.contact_us { display: block; width: 107px; height: 28px; background: url(../images/h1_contact_us.gif) 0 0 no-repeat; text-indent: -666em; }
h1.business_immigration { display: block; width: 223px; height: 28px; background: url(../images/h1_business_immigration.gif) 0 0 no-repeat; text-indent: -666em; }
h1.intellectual_property { display: block; width: 342px; height: 28px; background: url(../images/h1_intellectual_property.gif) 0 0 no-repeat; text-indent: -666em; }
h1.tech_n_software_licensing { display: block; width: 342px; height: 28px; background: url(../images/h1_tech_n_software_licensing.gif) 0 0 no-repeat; text-indent: -666em; }
h1.general_corporate { display: block; width: 183px; height: 28px; background: url(../images/h1_general_corporate.gif) 0 0 no-repeat; text-indent: -666em; }

p { padding: 7px 0 6px 0; line-height: 20px; }
p.before_ul { padding: 12px 0 0 0; margin: 0; line-height: 12px; }

ul { padding: 0; margin: 8px 0 5px 0; list-style: none; }
ul li { padding: 5px 5px 5px 12px; background: url(../images/bullet.gif) 0 13px no-repeat; line-height: 18px; }
ul li ul { padding: 0; margin: 7px 0 0 20px; }

.error { color: #f00; }
.success { color: #9c3;}

/* A
**--------------------------------------*/
a { color: #3385d6; text-decoration: none; }
a:hover { text-decoration: underline; }
	
img, a img { border: 0; }

/* NAVIGATION
**--------------------------------------*/
/* top */
ul#nav { margin: 0px 0 0 6px; padding: 0; height: 50px; list-style: none; }
 ul#nav li { float: left; height: 50px; padding: 0 3px 0 3px; background: transparent; }
 ul#nav li a { float: left; overflow:hidden; text-indent: -666em; }
 ul#nav li a:hover { }
 
 ul#nav li.home a { width: 58px; height: 50px; background: url(../images/a_home.gif) 0 0 no-repeat; }
 ul#nav li.home a:hover, ul#nav li.home a.active { background: url(../images/a_home.gif) 0 -50px no-repeat; }
 
 ul#nav li.practice_areas a { width: 107px; height: 50px; background: url(../images/a_practice_areas.gif) 0 0 no-repeat; }
 ul#nav li.practice_areas a:hover, ul#nav li.practice_areas a.active { background: url(../images/a_practice_areas.gif) 0 -50px no-repeat; }
 
 ul#nav li.professionals a { width: 99px; height: 50px; background: url(../images/a_professionals.gif) 0 0 no-repeat; }
 ul#nav li.professionals a:hover, ul#nav li.professionals a.active { background: url(../images/a_professionals.gif) 0 -50px no-repeat; }
 
 ul#nav li.news_n_articles a { width: 117px; height: 50px; background: url(../images/a_news_n_articles.gif) 0 0 no-repeat; }
 ul#nav li.news_n_articles a:hover, ul#nav li.news_n_articles a.active { background: url(../images/a_news_n_articles.gif) 0 -50px no-repeat; }
 
 ul#nav li.client_testimonials a { width: 135px; height: 50px; background: url(../images/a_client_testimonials.gif) 0 0 no-repeat; }
 ul#nav li.client_testimonials a:hover, ul#nav li.client_testimonials a.active { background: url(../images/a_client_testimonials.gif) 0 -50px no-repeat; }
 
 ul#nav li.contact_us a { width: 88px; height: 50px; background: url(../images/a_contact_us.gif) 0 0 no-repeat; }
 ul#nav li.contact_us a:hover, ul#nav li.contact_us a.active { background: url(../images/a_contact_us.gif) 0 -50px no-repeat; }
 
 ul#subnav { display: block; width: 100%; list-style: none; border-bottom: 1px solid #d9d9d9; padding: 10px 0 0 0; margin: 0 0 20px 0; }
 ul#subnav li { display: block; height: 33px; width: 100%; border-top: 1px solid #d9d9d9; background: transparent; padding: 0; margin: 0; line-height: 12px; }
 ul#subnav li a { display: block; height: 13px; padding: 10px 3px 10px 15px; font-size: 10px; color: #6a747c; background: url(../images/arrow.gif) #f7f7f7 3px 13px no-repeat; }
 ul#subnav li a:hover, ul#subnav li.active a { color: #fff; background: url(../images/arrow_hover.gif) #032c59 3px 13px no-repeat; text-decoration: none; }
 

/* STRUCTURE
**--------------------------------------*/	
#site { display: block; position: relative;  width: 769px; margin: 0 auto; padding: 1px; border: 1px solid #e9e9e9; }
 #left_shadow {display: block; position: absolute; top: 0; left: -8px; width: 7px; height: 209px; background: url(../images/left_shadow.gif) 0 0 no-repeat; }
 #right_shadow {display: block; position: absolute; top: 0; right: -8px; width: 7px; height: 209px; background: url(../images/right_shadow.gif) 0 0 no-repeat; }
 
 #top { display: block; position: relative; width: 767px; height: 194px; overflow: hidden; margin: 0 2px 2px 2px; padding: 2px 0 0 0; background: url(../images/top_bg.gif) 0 100% repeat-x; }
  #top h1.logo a { float: left; width: 216px; height: 50px; text-indent: -666em; padding: 0; margin: 48px 0 0 20px; background: url(../images/logo_optimus.gif) 0 0 no-repeat; }
  #top #top_flash { float: right; width: 505px; height: 158px; overflow: hidden; margin: 0; padding: 0; }
 
 #container { display: block; width: 769px; padding-top: 24px; }
  #sidebar { float: left; width: 200px; padding-top: 40px; margin-bottom: 20px; }	
  #content { float: right; width: 486px; padding-right: 45px; margin-bottom: 20px;  }
  #logos { clear: both; display: block; width: 534px; height: 40px; padding: 5px 0 0 235px; border-top: 1px solid #e7e5e5; background: url(../images/logos_bg.gif) 0 100% repeat-x; text-align: center; }
   #logos a { float: left; margin: 5px 0 0 0; text-indent: -666em; overflow: hidden; }
   #logos a.immigration_one { width: 174px; height: 31px; background: url(../images/logo_immigration_one.gif) 0 0 no-repeat; }
    #logos a.immigration_one:hover { background: url(../images/logo_immigration_one.gif) 0 -31px no-repeat; }
   #logos a.trade_mark_matters { width: 212px; margin-left: 10px; height: 28px; background: url(../images/logo_trade_mark_matters.gif) 0 0 no-repeat; }
    #logos a.trade_mark_matters:hover { background: url(../images/logo_trade_mark_matters.gif) 0 -28px no-repeat; }
   #footer { display: block; height: 21px; position: absolute; bottom: -35px; _bottom: -45px; left: 2px; font: 9px Arial, Verdana, Helvetica, sans-serif; text-transform: uppercase;	}
   #footer a { margin-left: 5px; color: #666; }
 
/* SIDEBAR */
 #sidebar .location { display: block; width: 100%; padding: 10px 0 10px 0; font-size: 10px; }
 #sidebar .location p { padding: 6px 2px 3px 14px; line-height: 12px; color: #999; }
 #sidebar .location .title { display: block; height: 16px; padding: 8px 2px 3px 14px; margin: 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: #f7f7f7; color: #032c59; font-weight: bold; }

/* TESTIMONIALS */
.testimonial { width: 400px; margin: 5px 0 5px 0; padding: 5px 0 5px 0; }
.testimonial .cont { text-align: left; }
.testimonial .author { text-align: right; font-weight: bold; }

/* NEWS & ARTICLES */
span.date { display: block; padding: 0 0 0 0; color: #032c59;  }
p.descr { display: block; padding: 3px 0 3px 0; line-height: 20px; }

/* CONTACT */
#contact_form { display: block; }
#contact_form label { float: left; padding: 3px 10px 0 0; width: 130px; }
#contact_form label.hearfrom { width: 200px; }
#contact_form input.text_l { width: 270px; }
#contact_form input.text_m { width: 200px; } 
#contact_form input.text_s { width: 177px; } 
#contact_form textarea { clear: left; display: block; width: 333px; height: 119px; margin: 0 0 10px 0; }

/* NEW CSS, HEADER CHANGES */

#above { height: 78px; width: 769px; margin: 0 auto 0 auto; }
#above h1 { padding-left: 14px; padding-top: 16px; }
#above h1.logo a { 
	float: left; 
	width: 188px; 
	height: 44px; 
	text-indent: -8888em; 
	padding: 0; 
	margin: 0; 
	background: url(../images/logo_optimus.jpg) 0 0 no-repeat; 
}
#top2 { 
	display: block; 
	position: relative; 
	width: 767px; 
	height: 193px; 
	overflow: hidden; 
	margin: 0; 
	padding: 8px 0 0 9px; 
	background: none; 
}