/*   
Theme Name: Bates Law Firm
Theme URI: http://binarym.com/
Description: Custom themes for Bates Law Firm.
Author: Matt McInvale
Author URI: http://binarym.com/
Version: 1.0
General comments/License Statement if any.
*/
* {
  margin:0;
  padding:0;
}
body {
  background:#002c52 url("/wp-content/themes/bl/images/background.gif") top left repeat-x;
  font-family:arial,verdana,sans-serif;
  font-size:small;
}
a, a:link, a:visited {
  color:#036;
}
a:hover, a:active {
  color:#069;
  text-decoration:none;
}

#bg-wrapper {
  background: transparent url("/wp-content/themes/bl/images/content-background.gif") center top no-repeat;
}
#wrapper {
  width:840px;
  margin:0 auto;
}

/*
  Header Section
*/

#header {
  padding-top:5px;
}
#header ul {
  list-style:none;
  float:right;
}
#header ul li {
  float:left;
}
#header ul li a {
  display:block;
  padding:0 15px;
  color:#999;
  text-decoration:underline;
  font-size:85%;
  border-right:1px solid #999;
}
#header ul li a:hover {
  text-decoration:none;
    color:#666;
}
#header ul li a.page-item-140 {
  border:none;
}

#header #qtranslate-chooser {
	float:left;
}
#header  #qtranslate-chooser li a {
    margin-right:10px;
	padding:0 4px 0 20px;
	border-right:0;
}


.qtrans_flag { height:12px; width:45px; display:block }
.qtrans_flag_and_text { padding-left:20px }
.qtrans_flag_en { background:url(/wp-content/plugins/qtranslate/flags/gb.png) no-repeat }
.qtrans_flag_es { background:url(/wp-content/plugins/qtranslate/flags/mx.png) no-repeat }


#header form {
  float:right;
}
#header form input.text {
  border:1px solid #999;
  color:#999;
  font-size:85%;
  padding:1px 4px;
  width:90px;
}
#header form input.borderless {
  border:0;
  margin-right:10px;
}
#header h1 a {
  display:block;
  text-indent:-1000em;
  overflow:hidden;
  background:transparent url("/wp-content/themes/bl/images/logo.png") bottom left no-repeat;
  height:110px;
  clear:both;
}
#header h1#spanishHeader a {
  background:transparent url("/wp-content/themes/bl/images/logo-es.png") bottom left no-repeat;
}
#header #image {
  padding-top:5px;
}

/*
  Navigation Section
*/
#nav {
  margin-top:5px;
}
#nav ul {
  list-style:none;
}
#nav ul li {
  float:left;
  background:transparent url("/wp-content/themes/bl/images/nav.gif") top left repeat-x;
}
#nav ul li a {
  display:block;
  width:166px;
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  padding:6px 0 9px 0;
  text-align:center;
  border-right:1px solid #999;
}
#nav ul li.last a {
  border:none;
  width:168px;
}
#nav ul li a:hover, #nav ul li.current_page_item a,#nav ul li.current_page_ancestor a {
  background:transparent url("/wp-content/themes/bl/images/nav-hover.gif") center bottom no-repeat;
}

/*
  Content Section
*/
#content {
  clear:left;
  background:transparent url("/wp-content/themes/bl/images/scales.gif") top left no-repeat;
  padding-top:10px;
}
#content h2 {
  color:#0e3659;
  padding-left:20px;
  margin-bottom:5px;
  font-size:130%;
  background:transparent url("/wp-content/themes/bl/images/h2.gif") center left no-repeat;
}
#content p {
  margin:0 0 10px 0;
}
#content p.date {
  margin:0;
  font-size:80%;
  font-weight:bold;
}
#content p.comments {
  margin:5px 0 10px 0;
  padding:5px;
  text-align:right;
  border-bottom:1px solid #eee;
  font-size:80%;
  font-weight:bold;
}
#content p.comments a {
  color:#666;
}
#site {
  padding:30px 0 0 60px;
  margin-right:350px;
}
#page {
  padding:30px 0 0 60px;
  margin-right:350px;
  
  position: relative; /* peekaboo bug fix for IE6 */
  min-width: 0; /* peekaboo bug fix for IE7 */
}
#page h2, #pageNoForm h2 {
  color:#900;
  font-size:95%;
  padding-left:0;
  background:none;

  border-right:1px solid #fff; /* ie fix */
}
#page h2 a {
  color:#900;
}
#page h2 a:hover {
  text-decoration:none;
}
#page h3 {
  color:#036;
  font-size:90%;
  padding-left:0;
  background:none;
}
#page ul, #page blockquote {
  margin:10px 0 10px 40px;
}

#pageNoForm {
  padding:30px 60px 0 60px;
}
#right {
  margin-top:20px;
  padding:20px 0 20px 10px;
  float:right;
  overflow:hidden;
  width:320px;
  border-left:1px dashed #ccc;
}
#right h3 {
  color:#900;
  font-size:90%;
}
#right h4 {
  color:#036;
}
#right ul {
  list-style:none;
  margin:5px 10px 20px 10px;
}
#right ul li {
  margin-bottom:5px;
}
#right ul li a {
  color:#900;
  font-size:90%;
}
#right ul li a:hover {
  text-decoration:none;
}

#right ul#posts li a {
  padding-left:10px;
  background:transparent url("/wp-content/themes/bl/images/right_link.gif") center left no-repeat;
}

#right form {
  color:#666;
  font-size:90%;
}
#right form ol li label {
  display:block;
  float:left;
  width:80px;
  text-align:right;
  padding-right:10px;
}
#right form ol li input {
  width:150px;
  border:1px solid #ccc;
}
#right form ol li textarea {
  width:200px;
  border:1px solid #ccc;
  height:90px;
}
#right form p input.sendbutton {
  padding:2px 10px;
  border:1px solid #333;
  font-size:80%;
}

#right p.quote {
  background:transparent url("/wp-content/themes/bl/images/quote_open.gif") top left no-repeat;
  padding:2px 18px;
  
  font-size:110%;
}
#right p.quote strong, #right p.quote em {
  float:right;
  margin-right:20px;
}
#right span.quote {
  background:transparent url("/wp-content/themes/bl/images/quote_close.gif") top right no-repeat;
  display:block;
  margin:-40px 10px 0 0;
}

#news {
  float:right;
  background:#f3f3f3;
  margin:0 10px;
  width:250px;
}
#news div {
  background:#f3f3f3 url("/wp-content/themes/bl/images/news-background.gif") bottom right no-repeat;
  padding:0 8px 8px 0;
}
#news h4 {
  background:transparent url("/wp-content/themes/bl/images/news-h4.gif") top left repeat-x;
  color:#666;
  padding:5px 0 4px 8px;
}
#news ul {
  list-style:none;
}
#news ul li a {
  display:block;
  padding:6px 8px;
  border-bottom:1px solid #e6e5e5;
  color:#600;
  font-size:90%;
}

/*
  breadcrumbs
*/
#bread {
  clear:both;
  margin-top:40px;
  background:#f2f2f2;
  padding-bottom:2px;
  font-size:80%;
}
#bread h2 {
    margin:-28px 0 8px 550px;
    font-size:23px;
    color:#246c90;
}
#bread span {
  display:block;
}
#bread a {
  color:#000;
}


/*
  Footer Section
*/
#footer {
  clear:both;
  margin-top:30px;
  height:50px;
  background:transparent url("/wp-content/themes/bl/images/footer.gif") center center repeat-x;
  text-align:center;
}
#footer p {
  padding-top:15px;
  color:#fff;
  font-size:85%;
  font-weight:bold;
}
#footer p a {
  color:#fff;
}
#bottom {
  background:transparent url("/wp-content/themes/bl/images/bottom.gif") center top no-repeat;
  height:20px;
}

a#feed {
  margin:10px;
  display:block;
  text-decoration:none;
  font-weight:bold;
  color:#900;
}
a#feed img {
  border:0;
}

div.ddsg-wrapper h2 {
  background:none;
  margin:0;
  padding:0;
  font-size:90%;
}
div.ddsg-wrapper ul {
  margin:5px 0 0 10px;
  padding:2px 0 0 30px;
}

#comment {
  width:400px;
  height:100px;
}

/* MISC WORDPRESS */

img.alignright {
  float:right;
  margin:0 0 5px 10px;	
}
img.alignleft {
  float:left;
  margin:0 10px 5px 0;	
}

.cform { 
	margin:10px auto 0 auto; 
	width: 410px;
}

.cform fieldset	{ 
	margin-top:10px; 
	padding:5px 0 5px 0; 
	border:none;
}

.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

.cform legend { 
	margin:0;
	padding:0; 
	font:normal 18px Helvetica; 
	color: #aaa;
	letter-spacing:3px;
}

ol.cf-ol { 
	margin:0!important; 
	padding:15px 0 0 0!important; 
	border-top:1px solid #f2f2f2;
}
ol.cf-ol li	{
	background:none!important; 
	margin:5px 0!important; /*some themes may interfere otherwise*/
	padding:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.1em;
}


/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	color:#888888;
	font-size:1em;
	letter-spacing:2px;
	margin:12px 0pt !important;
	padding:0pt 0pt 0pt 100px;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {
	width:90px; 
	margin:4px 10px 0 0; 
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	text-align:left;
	vertical-align:top;
	color: #aaa;
	font:0.9em Trebuchet MS,sans-serif;
}
.cform label span {
	width:90px; /* must be the same as above!*/
	display:block; 
}

label.cf-before {
	margin:4px 10px 0 0; 
}

label.cf-after 	{
	margin:4px 2px 0pt 6px;
	text-align:left;
	width:75px;
}

label.cf-after span {
	width:75px;
	display:block;
}

label.cf-group-after {
	margin:4px 0 0 2px;
	width:60px;
	text-align:left;
}
label.cf-group-after span {
	width:60px;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input,
.cform textarea,
.cform select { 
	padding:3px;
	border:1px solid #aaa; 
	font:0.9em Trebuchet MS,sans-serif;
	color:#888;
	background:#ffffff url(../images/field-bg-top.gif) repeat-x top left;
	vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	border: 1px solid #FFCC00;
	background:#ffffff url(../images/field-bg-bottom.gif) repeat-x bottom left; 
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	color:#666;
	background:#ffffff url(../images/field-bg-bottom.gif) repeat-x bottom left; 
}

.cform textarea,
.cform input {
	width:298px; 
}
.cform select {
	width:306px; /* attempt to have equal length */
}  

.cform select.cfselectmulti	{ 
	height:7.5em; 
}

.cform textarea {
	font-family: arial;
	font-size: 0.9em;
	overflow:auto;
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	margin:0px 5px 7px 98px;
	display: block; 
	vertical-align:top;
	color: #aaa;
	font-size:0.7em;
	line-height:1.2em;
}


/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	color:#888888;
	font-size:1em;
	letter-spacing:2px;
	margin:12px 0pt 0 !important;
	padding:0pt 0pt 0pt 100px;
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

input.cf-box-a,
input.cf-box-b 	{ 
	margin:1px 0 0 0; 
	width:16px; 
	height:22px;
	border:none!important;
	background:none!important;
}

input.cf-box-a 	{ 
	margin-left:100px; /* check with label 'width' incl. */
} 


/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
	padding: 0 0 5px 100px; 
} 


/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
	margin: 0;
	padding:0pt 3px 0pt 0pt !important;
	text-align:right;
}
.cform input.sendbutton	{ 
	width:100px;  
	padding:2px; 
	margin: 0 0 0 100px;
	font-size:0.8em;
	background:url(../images/button-bg.gif) repeat-x; 
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}

/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
	padding:5px 0!important;
	margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
	margin:0 0 0 10px;
	padding:0;
	color:#333;
}

ol.cf-ol ul.cf_li_text_err li {
	background:url(icon-alert.png) no-repeat left 1px!important;
	list-style:none!important;
	font-weight:bold;
	text-indent:0;
	margin:0 0 2px!important;
	padding-left:15px;
}
ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}

/*                                                    */
/* 'visitor verification' related styles              */
/*                                                    */
label.secq,
label.seccap {
	vertical-align:text-bottom;
	margin-bottom:4px;
}

input.secinput {
	vertical-align:text-bottom;
}

#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height:15px;
	width:100px;
	padding: 4px 4px;
	margin: 0;
	vertical-align:text-bottom;
}

img.captcha	{
	vertical-align:text-bottom;
	margin:0 0 0 10px!important;
	padding:0!important;
	border:none!important;
	float:none!important;
}

img.captcha-reset {
	vertical-align:text-bottom;
	background:	url(captcha_reset_white.gif) no-repeat;
	margin:0 0 2px 3px;
	width:21px;
	height:21px;
	border:none;
}

img.imgcalendar {
	border:none;
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

div.cf_info {
	color:#333;
	display:none;
	padding:10px 15px!important;
	width:380px;
	line-height:1.3em;
	margin:10px auto;
}
div.cf_info ol {
	margin:0;
	padding:5px 15px 0 30px;
}
div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
div.cf_info a	{
	color:red!important;
	text-decoration:underline!important;
}
div.success {
	background:#cfc;
        border:2px solid #360;
	font-size:120%;
	display:block;
}
div.failure {
	display:block;
	background:#FFDFDF url(li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
}

/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */
.cform .cf_error { 
	color:red; 
	border:1px solid #FF0000; 
}
div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:red; 
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

p.cf_info 		{
	margin:10px 0;
	text-align:center;
}
p.success 	{
	color:green;
}
p.failure 	{
	color:red;
}

/*                                                    */
/* disabled fields [disabled] does not work on IE!    */
/*                                                    */

[disabled] {
	color:#dddddd;
	border-color:#dddddd!important;
	background:none!important;
}
.disabled {
	border-color:#dddddd!important;
}

/*                                                    */
/* upload box styling                                 */
/*                                                    */

.cform input.cf_upload  {
	width:220px;
	background: #f9f9f9;
	border:1px solid #888888;
}

/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
	margin:6px auto 10px !important;
	padding:0pt 6px 0pt 0pt !important;
	text-align:right;
	width:410px;
}
.linklove a,
.linklove a:visited {
	font-size: 0.8em;
	font-family: Tahoma;
	color:#aaaaaa!important;
}


/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
*+html ol.cf-ol,
*+html ol.cf-ol li	{
	display: inline-block;  /*for ie7*/
}
* html ol.cf-ol,
* html ol.cf-ol li,
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;
}
* html .cform legend { 
	position:absolute; 
	left: -8px; 
	top:0;
	margin-left:0;
}
*+html .cform legend { 
	position:absolute; 
	left: -8px;
	top:0;
	margin-left:0;
}
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
*+html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html img.captcha	{
	margin-bottom:1px!important;
}
*+html img.captcha	{
	margin-bottom:1px!important;
}



/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
html>body .ngg-album {
    overflow:hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
} 

.ngg-album {
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	margin:0px;
	padding:0px;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.ngg-thumbnail {
	float: left;
	margin-right: 12px;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	background-color: #A9A9A9;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}


.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width:91px; 
	height:68px;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:110px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-galleryoverview .desc {
/* required for description */
   margin:0px 10px 10px 0px;
   padding:5px;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
	margin-right: 5px;
	text-align: center;
}

.ngg-gallery-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:4px 0 4px 5px;
	padding:3px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	/* Images description */
	font-size:90%;
	padding-left:5px;
	display:block;
}

.ngg-clear {
	clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
	text-align:center;
	
}

.ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev, 
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev {
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-navigation a.page-numbers:hover,
.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover, 
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.next:hover,
.ngg-navigation span.prev:hover {
	background-color: #0066CC;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

.exif-data {
  	margin-left: auto !important;
    margin-right: auto !important;	
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;
	outline: none;	
}

.slideshowlink {
	
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
	background-color:#FFFFFF;
	display:block;  
	padding:4px;
}

.ngg-left {
	float: left;
	margin-right:10px;
}

.ngg-right {
	float: right;
	margin-left:10px;
}

.ngg-center {
  	margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:0pt;
	padding:5px 0px 0px 0pt;
}

.ngg-widget img {
	border:2px solid #A9A9A9;
	margin:0pt 2px 2px 0px; 
	padding:1px; 
}

/* ----------- Related images -------------*/
.ngg-related-gallery {
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	overflow:hidden;
	margin-bottom:1em;
	margin-top:1em;
	padding:5px;
}
.ngg-related-gallery img {
	border: 1px solid #DDDDDD;
	float: left;
	margin: 0pt 3px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: 1px solid #000000;
} 




p.binarym {
  display:block;
  width:840px;
  margin:0 auto;
  text-align:right;
  font-size:11px;
}
p.binarym a {
  color:#000;
  text-decoration:none;
}
p.binarym a strong {
  color:#999;
}
p.binarym a strong span {
  color:#900;
}
p.binarym a:hover {
  color:#ccc;
}
p.binarym a:hover strong {
  color:#fff;
}
p.binarym a:hover strong span {
  color:#c00;
}


