/*
Theme Name:  TLD LAW Theme
Theme URI: http://www.tldlaw.com
Description: A theme developed specifically for the tldlaw.com website. This theme utilizes a featured posts slider, pulling posts under the category "featured" and showing them on the main page. You can adjust the number of featured posts shown on the Theme Options page under the Appearence admin menu.
Author: Paul Lumsdaine
Author URI: http://madebypaul.com
Version: 2.2
Changelog:
	12/8/2011 - Updated Theme options and created tld_excerpt function (functions.php)
	12/8/2011 - Created Physicians page template pulling posts under category Physicians (physicianscorner.php)
	12/8/2011 - Updated Main Navigation to Wordpress menu system. (abouttemplate.php)
	12/8/2011 - Minor modifications to CSS file (style.css)
*/


body {
	margin: 0;
	font: normal 10pt Arial, Helvetica, Sans-serif;
	background: transparent url(images/bg_footer.gif) repeat-x bottom left;
}

h2 {
	font: bold 15pt Arial, Helvetica, Sans-serif;
	color: #840000;
	margin: 5px 0 0;
	padding: 0;
}

strong {
	line-height: 1.2em;
}

hr.clear {
	clear: both;
	border: 0;
	padding: 5px 0;
}

.peKb_slides a:hover { background: transparent; }

a, a span {
	color: #940000;
	text-decoration: none;
}

a:hover, a:hover span{
	color: #540000;	
	background: #FDF4C4;
}


p {
	margin: 7px;
	line-height: 16pt;
}

blockquote {
	border-left: 1px solid #cfcfcf;
	margin: 2px 0 15px 15px;
	padding: 10px 0 5px 10px;
	line-height: 14px;
}


.left {
	float: left;
}
.right{
	float: right;
}

.width {
  width: 300px;
}

#container {
   min-height:100%;
   position:relative;
}
.wrapper {
	width: 960px;
	margin: 0 auto;
}
.entry {
	margin: 0;
	padding: 0;
}

.entry ul {
	margin-bottom: 1.8em;
}
.entry ul li, ol li{
	margin-top: 5px;
	
}

.entry ul a{
	color: #000094;
	text-decoration: none;
}

.entry ul a:hover{
	color: #940000;
	background: #FDF4C4;
}
.addtoany_share_save_container a:hover{
	background: transparent;
}
.right .addtoany_share_save_container {
	display: none;
}
.clear {
	clear: both;
}
.readmore {
	display: block;
	margin-bottom: 5px;
	width: 80%;
}

.readmore a{
	display: block;
	height: 15px;
	width: 55px;
	padding: 0 20px 0 5px;
	position: relative;
	left: 530px;
	top: -8px;
	line-height: 15px;
	color: #afafaf;
	text-decoration: none;
	background: #efefef url(images/read_more.gif) no-repeat;
	background-position: top right;
	font-size: 10px;
}
.readmore a:hover{
	background: #5f5f5f url(images/read_more.gif) no-repeat;
	background-position: -15px right;
	color: #fff;
}

.uppercase {
	text-transform: uppercase;
}
.capitalize {
	text-transform: capitalize;
}
.navigation {
	text-align: center;
	margin-bottom: 15px;
}
.navigation a span{
	padding: 5px 8px;

}
div.post div.navigation span {
	display: block;
	width: 40%;
}
div.post div.navigation span a{
	font-size: smaller;
}


#header {
	width: 100%;
	min-width: 960px;
	height: 190px;
	background: #1b3275 url(images/bg_header.jpg) repeat-x top center;
	margin: 0 auto;
}

#header #logo {
	width: 500px;
	height: 160px;
	float: left;
}

#header #logo h1{
	display: none;
}

#header #logo a img{
	border: 0;
	position: relative;
	top: 10px;
}

#header #logo a, #header #logo a:hover{
	background-color: transparent;
}

#header #side {
	width: 260px;
	height: 100px;
	float: right;
	position: relative;
	top: 60px;
	right: 15px;
	text-align: right;
	font: normal 11pt Arial, Helvetica, Sans-serif;
	color: #fff;
	line-height: 20px;
	letter-spacing: .03em;
}

#header #nav {
	width: 100%;
	min-width: 960px;
	height: 35px;
	background: #840000 url(images/bg_boxhead_red.gif) repeat-x top left;
	clear:both;
	padding-bottom: 5px;
}

#header #nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#header #nav ul li{
	float: left;
	margin: 0;
	padding: 0;
}

#header #nav ul li a{
	height: 30px;
	display: block;
	color: #fff;
	padding: 8px 15px 0;
	text-decoration: none;
	font: normal 10pt Arial, Helvetica, Sans-serif;
	text-align: center;
	letter-spacing: 0.03em;
	border-left: solid 1px #950000;
	border-right: solid 1px #950000;
}

#header #nav ul li a:hover{
	background: #540000 url(images/bg_nav_red.gif) repeat-x bottom left;
	border-left: solid 1px #840000;
	border-right: solid 1px #840000;
}

#nav .current_page_item  a, #nav .current_page_parent a{
	background: #540000 url(images/bg_nav_red.gif) repeat-x bottom left;
}

#content {
	width: 960px;
	float: left;
	padding-bottom:320px; 
}

#content #left-col {
	width: 620px;
	float: left;
	padding-right: 20px;
	margin-top: 15px;
}

#content #right-col {
	width: 250px;
	margin-top: 20px;
	float: right;
}

#content #right-col #sidebar {
	width: 250px;
	float: right;
}

#largebox {
	width: 100%;
	height: 280px;
	margin: 20px 0 25px;
	background: #fff url(images/bg_box_gray.gif) repeat-x bottom left;
	clear: both;
}

#largebox .right {
	width: 490px;
	float: left;
	padding-left: 45px;
}

#largebox .featured {
	width: 350px;
	float: left;
	position: relative;
	left: 10px;
}
#largebox .left a:hover { 
	background: transparent;
	}
#largebox .featured a img{
	border: 3px solid #cfcfcf;
	}

.half {
	width: 45%;	
}
.three-box {
	width: 305px;
	margin: 5px;
	float: left;
}

.three-box h3 {
	width: 90%;
	height: 25px;
	top: 10px;
	padding: 5px 10px;
	font: normal 14pt Arial, Helvetica, Sans-serif; 
	letter-spacing: -0.04em;
	margin: 0px;
}
.three-box h3.gray {
	background: #c0c0c0 url(images/bg_boxhead_gray.gif) repeat-x top left;
	color: #840000;
	border: 1px solid #c0c0c0;
	border-bottom: 1px solid #a0a0a0;
}
.three-box h3.red {
	background: #840000 url(images/bg_boxhead_red.gif) repeat-x top left;
	color: #fff;
	border: 1px solid #540000;
}

.three-box .box {
	width: 90%;
	height: 400px;
	padding: 5px 10px;	
	margin-bottom: 20px;
}
.three-box .gray {
	background: #fff url(images/bg_box_gray.gif) repeat-x bottom left;
	color: #000;
	border: 1px solid #c0c0c0;
}
.three-box .red {
	background: #840000;
	color: #fff;
	border: 1px solid #540000;
}


/* Articles Box */
#articles {
}

#articles h2 {
	font: bold 11pt arial, helvetica, sans-serif;
	padding-top: 10px;
	margin: 5px 0 0 5px;
	width: 95%;
}

#articles h2 a{
	display: block;
	color: #540000;
	text-decoration: none;
}
#articles h2 a:hover{
	color: #940000;
	background: #FDF4C4;
}
#articles img {
}

#articles .entry p{
	font: normal 10pt arial, helvetica, sans-serif;
	line-height: 20px;
}

.author{
	font: normal 8pt Arial, Helvetica, Sans-serif;
	margin: 2px 0 8px 5px;
}

.author a{
	color: #000094;
	text-decoration: none;
}


.author a:hover{
	color: #940000;
	background: #FDF4C4;
}


/* Practice Areas Box */
#practice_areas {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#practice_areas li{
	margin: 0;
	padding: 0;
}

#practice_areas a {
	display: block;
	margin: 0;
	padding: 5px 10px;
	font: normal 11pt Arial, Helvetica, Sans-serif;
	color: #fff;
	text-decoration: none;
}

#practice_areas a:hover {
	background: #540000;
}


/* Attorneys Box */

#attorneys{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#attorneys li{
	margin: 0;
	padding: 0;
}

#attorneys a {
	display: block;
	margin: 0;
	padding: 5px 10px;
	font: normal 11pt Arial, Helvetica, Sans-serif;
	color: #000;
	text-decoration: none;
}

#attorneys a:hover {
	background: #FDF4C4;
	color: #940000;
}

#attorneys img.pic, #attorneys a:hover img.pic {
	border: 0;
	text-decoration: none;
	width: 20px;
	height: 20px;
	margin: 0 15px 0 0;
	vertical-align: bottom;
}




/* Post */

.post {
	margin: 10px 5px;
	border-bottom: 1px solid #d7d7d7;
	background: #fff;
}

.post h2 {
	margin: 15px 5px 0 0;
}

.post h2 a {
	display: block;
	padding: 3px;
	color: #940000;
	text-decoration: none;
}

.post h2 a:hover {
	color: #540000;
	background: #FDF4C4;
}

.post #content {
	margin: 5px;

}

.post p {
	margin-bottom: 10px;

}

.post img{
	padding: 5px;
}

.post img a{
	border: 0;
}

.post img.alignleft {
	margin: 5px 10px 5px 0;
	float: left;
	
}

.tags {
	padding-top: 5px;
	border-top: 2px solid #efefef;
}

img.aligncenter {
	margin: 0 auto;
}

img.border {
	border: 3px solid #dfdfdf;
}

h3 {
	font: bold 13pt Arial, Helvetica, Sans-serif;
	color: #840000;
	letter-spacing: -0.04em;
	margin: 5px 0 10px;
	padding: 0 0 5px;
}

/* Page */

.page {
	margin-bottom: 40px;
}

h2.case-study-title {
        background: transparent url('http://www.tldlaw.com/wp-content/themes/tldtheme/images/CaseStudy_IconBar.jpg') no-repeat top left;
	text-indent: 80px;	
	line-height: 60px;
}

h2.cpa-corner-title {
	background: transparent url('http://www.tldlaw.com/wp-content/themes/tldtheme/images/CPA_IconBar.jpg') no-repeat top left;
	text-indent: 80px;	
	line-height: 60px;
}

h2.cpa-article-list {
	font-size: 1.3em;	
}

table.cpa-dates {
	width: 290px;
	border: 1px solid #cfcfcf;	
}

table.cpa-dates td{
	padding: 3px 5px;
	valign: top;
	border: 1px solid #cfcfcf;
		
}


/* SideBar */

#sidebar{
	background: #fff url(images/bg_box_gray.gif) repeat-x bottom left;
	border-left: 2px solid #efefef;
	margin-bottom:200px; 
	padding-bottom: 20px;

}

#sidebar1 {
	margin: 0 0 5px 5px;
}

#sidebar ul {
	list-style: none;
}

#sidebar1 ul{
	margin: 5px 0 0 10px;
	padding: 0;
}

#sidebar ul li {
	margin: 0;
	padding: 0;
}

#sidebar ul li a{
	display: block;
	color: #000094;
	text-decoration: none;
	padding: 5px;
}

#sidebar ul li a:hover{
	color: #840000;	
	background: #FDF4C4;
}

#sidebar ul li h2{
	margin-bottom: 10px;
}

h2.widgettitle {
	margin-top: 15px;
	clear: both;
}

#sidebar ul li ul {
	margin: 0;
	padding: 0;

}

#sidebar ul li ul li { /* begin for the widget list */
	border: 0;
	margin: 0;
}

#sidebar ul li ul li a, #sidebar ul li ul li ul li a{
	display: block;
	text-decoration: none;
	padding: 5px 4px;
	margin: 5px 0;
	color: #000094;
}

#sidebar ul li ul li a:hover {
	color: #840000;
	background: #FDF4C4;
}

/* Comments */

h3.commenttitle {
	border: 0;
	font-size: 11pt;
}

#commentlist {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#commentlist li {
	margin: 10px 5px;
	padding: 10px;
}

li.alt{
	background: #efefef;
}

#commentform {
	padding: 5px 5px 20px;
	
}


/* Footbar */

#footbar h2{
	font: bold 11pt Arial, Helvetica, sans-serif;
	margin: 0 0 5px;
	padding: 0 0 3px;
	border-bottom: 1px solid #c0c0c0;
}

#footbar ul{
	padding: 0;
	margin: 15px 0 0;
}

#footbar ul li {
	float: left;
	list-style-type: none;
	margin: 0 15px;
	padding: 0;
}
#footbar ul li ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#footbar ul li ul li{
	float: none;
	margin: 0;
	padding: 0;
}



#footbar ul li ul li a{
	display: block;
	width: 100%;
	padding: 5px 3px;
	text-decoration: none;
	line-height: 12pt;
	color: #000094;
	border-bottom: 1px solid #c0c0c0;

}
#footbar .iconOnly {
	float: left;
	padding-right: 3px;
}
#footbar .iconOnly a{
	display: inline-block;
	float: left;
	border-bottom: 0;
	
}

#footbar ul li ul li a:hover{
	background: #fff;
	color: #0000ff;
}

#execphp-2 {
	width: 250px;
}

#execphp-2 a{
	text-decoration: none;
	color: #000094;
	padding: 0 5px;
}

#execphp-2 a:hover{
	background: #fff;
	color: #0000ff;
}




/* Attorneys Page */

#attorneys_page{
	width: 100%;
	padding: 0;
	margin: 15px 0;
	clear: both;
}
#attorneys_page ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#attorneys_page li{
	float: left;
	margin: 0 10px 10px 0;
	padding: 0;
	background: #efefef;
}

#attorneys_page a {
	display: block;
	width: 130px;
	height: 150px;
	margin: 0;
	padding: 10px 5px;
	font: normal 9pt Arial, Helvetica, Sans-serif;
	color: #000;
	text-decoration: none;
	text-align: center;
	float: left;
	border: 1px solid #dfdfdf;
}

#attorneys_page a:hover {
	color: #940000;
	background: #FDF4C4;
	border: 1px solid #940000;
}

#attorneys_page a img {
	height: 110px;
	width: 90px;
	margin: 3px 0 0;
	border: 0;
}

#attorneys_page a:hover img{
}
.attorney_info {
	float: right;
	width: 460px;
	position: relative;
	top: -215px;
	left: 15px;
	margin-bottom: -215px;
	
}

/* search */
#searchform {
	float: right;
	margin: 6px 5px 0 0;
	padding: 0;
	font: normal 10pt Arial, Helvetica, Sans-serif;
	color: #fff;

}

#searchform #s{
	background: #fff;
	border: 2px solid #540000;
}

#searchform #searchsubmit{
	height: 23px;
	width: 30px;
	background: #540000;
	color: #fff;
	border: 0;
}
#searchform #searchsubmit:hover{
	background: #FDF4C4;
	color: #540000;
	cursor: pointer; 
}



/* Contact Page */

.contact_box {
	width: 28%;
	float: left; 
	margin: 5px 5px 10px; 
	padding: 5px 5px 10px 10px; 
	border: 2px solid #efefef;

}
.contact_box strong {
	display: block;
	color: #540000;
	margin-top: 5px;
}
.linklove {
	display: none;
}

/* Footer */

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 300px;
	clear: both;
	margin-top: 20px;
	background: #efefef url(images/bg_footer.gif) repeat-x bottom left;
	border-top: 2px solid #c0c0c0;
	color: #000;
}

#estro {

		margin: 15px 0 0; padding:0; 
		float: left;
		width: 410px;
}
	/* Easy Slider */

	#slider { 
		margin: 15px 0 0; padding:0; 
		float: left;
		width: 410px;
		border: solid 5px #eee;
		}
	#slider ul, #slider li {
		margin: 0;
		padding: 0;
		list-style:none;
		}
	#slider li{ 
		width: 400px;
		height: 210px;
		overflow: hidden;
		}	
	#slider img, #slider a img {
		border: 0;
		vertical-align: bottom;	
	}	
	#slider img {
		width: 400px;
		height: 210px;
	}
	.slider-overlay {
	position: relative;
	top: -50px;
	height: 50px;
	width: 410px;
	background-color: #000;
	text-align: center;
	overflow: hidden;
	opacity: 0.8;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	zoom: 1;

	}
	.slider-overlay h3 a{
	line-height: 45px;
	color: #fff;
	text-decoration: none;
	}
	#prevBtn a, #nextBtn a{ 
		display: none;
		width: 19px;
		height: 40px;
		top: 0px;
		z-index:1000;
		}														
	#prevBtn a{  
		left: -20px;
		background: #efefef url(images/btn_prev.gif) no-repeat center center;	
		}	
	#nextBtn a{ 
		left: 380px;
		background: #efefef url(images/btn_next.gif) no-repeat center center;	
		}	
/* Popup Box */
#pop{
	display: none; /*--hidden by default--*/
	background: #fff;
	padding: 20px;
	border: 20px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: absolute;
	top: 0; left: 0;
	z-index: 99999;
	width: 500px;
	/*--CSS3 Box Shadows--*/
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
}
a.simplemodal-close {
	display: block;
	position: relative;
	top: 2px;
	right: 10px;
	float: right;
	font-size: 80%;
}

a.poplight {
	display: block;
	width: 138px;
	height: 20px;
	margin: 0 0 0 5px;
	padding: 5px 0;
	line-height: 30px;
	font: bold 12pt Arial, Helvetica, Sans-serif;
	color: #000;
	text-decoration: none;
	text-align: center;
	border: 1px solid #999;
	background-color: #ddd;
}
a.poplight:hover {
	color: #940000;
	background: #FDF4C4;
	border: 1px solid #940000;
}
#sliding-panel .panel-content {
	height: 320px;	
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
	position: absolute;
}
*html .popup_block {
	position: absolute;
}


