/*
Theme Name: PACD
Theme URI: http://pennsylvaniacriminaldefense.com
Description: Default style for PA Criminal Defense law website.
Version: 1.0
Author: Andrew Gormley
Tags: gold, crimson, fixed width, two columns
*/

/* /////////////////////////////////////// */
/* Reset All Styles, Courtesy of Blueprint */
/* /////////////////////////////////////// */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }


/* /////////////// */
/* Sitewide Styles */
/* /////////////// */

html { }

body {
	background: #f8f8f8 url('images/background.png') repeat-x;
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, Tahoma, Verdana, sans-serif;
	color: #474747;
	text-align: center; }
	
a { color: #186ceb;  font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }

#container { 
	margin: 0 auto;
	padding-bottom: 20px;
	width: 900px;
	text-align: left; }
	
	#header { margin-top: 40px; }
	#header a { padding-bottom: 2px; color: #fff; }
	#header a:hover { text-decoration: none; background: #e4b023; color: #2d070b; }
	
		#logo{
			background: url('images/logo.png') no-repeat;
			width: 324px;
			height: 62px;
			margin-bottom: 40px;
			#margin-bottom: 0;
			text-indent: -9000px;
			float: left; }
			
		#contact-overview {
			float: right;
			text-align: right; }
			
			#contact-overview p {
				color: #e4b023;
				font-size: 16px;
				line-height: 1.2;
				font-weight: bold;
				font-family: Georgia, "Times New Roman", serif; }
				
	#content-container {
		clear: both;
		background: #fff;
		border: 1px solid #c0c0c0; }
		
		#content {
			float: left;
			width: 650px;
			background: #fff;
			padding: 10px; }
			
			#slides {
				width: 650px;
				height: 200px;
				margin: 10px 0;
				border: 1px solid #c0c0c0; }
				
			.bio-images { 
				float: right;
				padding: 0 0 10px 10px; }
			
			h1 {
				font-size: 18px;
				color: #54161d;
				font-weight: bold;
				font-family: Georgia, "Times New Roman", serif; }
			h2 {
				font-size: 16px;
				color: #54161d;
				font-weight: bold;
				font-family: Georgia, "Times New Roman", serif; }
				
			h3, h4, h5, h6 {
				font-size: 14px;
				color: #54161d;
				font-weight: bold;
				font-family: Georgia, "Times New Roman", serif; }
				
			#content p { 
				font-size: 12px;
				color: #474747;
				margin: 10px 0; }
				
			#home-list { margin-left: 60px; }
			#home-list li { font-size: 12px; }
			#action-call { 
				font-size: 12px;
				width: 200px;
				background: #f6f3e0;
				border: 2px solid #b7b7b7;
				float: right; }
				
				#action-call ul { margin: 5px; }
				#action-call ul li { list-style: square inside url('/images/arrow.png'); }
			
			ul.bio-lists  { margin-bottom: 10px; }
			ul.bio-lists li { font-size: 12px; list-style: none; margin-left: 30px; }
			ul.bio-lists li.title { font-weight: bold; color: #54161d; margin-left: 0; }
			.edu li { margin-bottom: 10px; }
			
			ul.practice-list { margin-left: 50px; }
			ul.practice-list li { font-size: 12px; margin-bottom: 4px; }
			
			ol.big-three { margin-left: 50px; }
			ol.big-three li { font-size: 12px; margin-bottom: 2px; }
			
			blockquote { margin: 10px 0 10px 20px; padding: 10px; background: #e5e5e5; border: 2px solid #c2c2c2; }
			
			/* Forms Styles */
			
			form.contact { padding: 10px 0; width: 630px; text-align: center; }
			
			table#contact-form { margin: 0 auto; text-align: left; }
			table#contact-form tr td { padding: 9px; }
			table#contact-form tr td input { margin: 0; padding: 3px; border: 1px solid #ccc; }
			table#contact-form tr td select { border: 1px solid #ccc; width: 186px; }
			table#contact-form tr td textarea { border: 1px solid #ccc; width: 400px; height: 200px; }
			table#contact-form tr td p { margin: 0; padding: 0; font-size: 11px; font-weight: bold; }
			.long { width: 400px; }
			.short { width: 186px; }
			
			/* Forms Styles */
				
			#sidebar {
				width: 210px;
				float: right;
				background: url('images/separator.png') no-repeat;
				margin: 46px 0; }
				
				#sidebar ul { margin-left: 26px; }
				#sidebar ul li { font-size: 12px; margin-bottom: 2px; list-style: none; }
				#sidebar ul li.sub { font-size: 11px; margin-left: 20px; }
				#sidebar p img.bell {
					width: 160px; 
					margin: 10px 0 0 30px;
				}
				
			/* Testimonials Code */
			
				div.bubble {
					width: auto;
					font-size: 11px;
					margin-bottom: 24px; }
			
				div.bubble blockquote {
					margin: 0px;
					padding: 0 10px;
					border: 1px solid #c9c2c1;
					background-color: #fff; }
					
				div.bubble blockquote p {
					margin: 10px;
					padding: 0; }
				
				div.bubble cite {
					position: relative;
					margin: 0px;
					padding: 7px 0px 0px 15px;
					top: -6px;
					background: transparent url('images/tip.gif') no-repeat 20px 0;
					font-style: normal;
					font-size: 11px; }
					
				div.bubble cite strong { font-weight: bold; }
			
			/* End Testimonials Code */
				
	#footer {
		background: #2d070b;
		color: #fff;
		clear: both; }
		
		#footer ul { float: left; margin: 10px 60px 10px 10px; }
		#footer ul li { list-style: none; font-size: 12px; }
		#footer ul li.title { font-weight: bold; font-size: 14px; }
		
		#footer p { margin: 0; padding: 0; clear: both; }
		
/* ////////////// */
/* jQuery UI Tabs */
/* ////////////// */

.ui-wrapper {  }
.ui-wrapper input, .ui-wrapper textarea { border: 0; }

/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel { }

.ui-tabs-nav {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
    border-bottom: 1px solid #186ceb;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0;
    font-weight: bold;
    font-size: 12px;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    float: left; /* fixes dir=ltr problem and other quirks IE */
    padding: 0 24px 0 0;
}
.ui-tabs-nav a {
    margin: 5px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    background-position: 100% 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */    
}
.ui-tabs-nav a:link, .ui-tabs-nav a:visited {
    color: #ccc;
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    background-position: 100% -23px;
    color: #186ceb;
}
.ui-tabs-nav a span {
    padding-top: 1px;
    padding-right: 0;
    height: 20px;
    background-position: 0 0;
    line-height: 20px;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-top: 0;
    height: 27px;
    background-position: 0 -23px;
    line-height: 27px;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited,
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited {
    color: #000;
}
.ui-tabs-panel {
    padding: 0;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
/*.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}*/

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

/* ///////////// */
/* Global Styles */
/* ///////////// */

.yellow { background-color: #ffffa0; }
.clearBoth { clear: both; }
.floatLeft { float: left; }
.floatRight { float: right; }
.imageFloat { float: right; margin: 0 0 10px 10px; }

label.error { 
	color:red;
	margin:21px 0 0 -195px;
	position:absolute;
	font-size: 11pt;
}

td#fullname label.error {
	margin:21px 0 0 -409px;
}

	#headwrap {
		text-align: center;
	}
	#kubrick-header {
		font-size: 80%;
	}
	#kubrick-header .hibrowser {
		width: 780px;
		height: 260px;
		overflow: scroll;
	}
	#kubrick-header #hitarget {
		display: none;
	}
	#kubrick-header #header h1 {
		font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
		font-weight: bold;
		font-size: 4em;
		text-align: center;
		padding-top: 70px;
		margin: 0;
	}

	#kubrick-header #header .description {
		font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
		font-size: 1.2em;
		text-align: center;
	}
	#kubrick-header #header {
		text-decoration: none;
		color: <?php echo kubrick_header_color_string(); ?>;
		padding: 0;
		margin: 0;
		height: 200px;
		text-align: center;
		background: url('<?php echo kubrick_header_image_url(); ?>') center no-repeat;
	}
	#kubrick-header #headerimg {
		margin: 0;
		height: 200px;
		width: 100%;
		display: <?php echo kubrick_header_display_string(); ?>;
	}
	#jsForm {
		display: none;
		text-align: center;
	}
	#jsForm input.submit, #jsForm input.button, #jsAdvanced input.button {
		padding: 0px;
		margin: 0px;
	}
	#advanced {
		text-align: center;
		width: 620px;
	}
	html>body #advanced {
		text-align: center;
		position: relative;
		left: 50%;
		margin-left: -380px;
	}
	#jsAdvanced {
		text-align: right;
	}
	#nonJsForm {
		position: relative;
		text-align: left;
		margin-left: -370px;
		left: 50%;
	}
	#nonJsForm label {
		padding-top: 6px;
		padding-right: 5px;
		float: left;
		width: 100px;
		text-align: right;
	}
	.defbutton {
		font-weight: bold;
	}
	.zerosize {
		width: 0px;
		height: 0px;
		overflow: hidden;
	}
	#colorPickerDiv a, #colorPickerDiv a:hover {
		padding: 1px;
		text-decoration: none;
		border-bottom: 0px;
	}
	
	.hidden {
	 display: none;
	}
