/*  
Theme Name: David Walsh 2
Theme URI: http://www.davidwalsh.name
Description: Custom theme for the davidwalsh.name blog
Version: 1
Author: David Walsh
Author URI: http://davidwalsh.name/
*/
@media all
{
	/*  globals  */
	*			{ margin:0; padding:0; }
	body		{  }
	
	/*  structure  */
	#page				{ width:960px; margin:0 auto; }
	#header			{ width:960px; height:140px; }
		#header-logo	{ width:250px; height:140px; float:left; }
		#header-right-wrap	{ width:710px; float:left; }
		#header-links	{ width:690px; height:29px; padding:6px 0 0 0; float:left; color:#ccc; font:.8em Tahoma; text-align:right; }
			#top-search-input	{ margin:0 0 0 30px; padding:3px 20px 3px 3px; cursor:help; font:.85em Tahoma; color:#999; width:150px; border:0; border-bottom:1px solid #ccc; background:url(graphics/search.jpg) 153px center no-repeat #fff; }
		#header-name	{ width:440px; color:#fff; float:left; }
			#header-title	{ font-size:3.5em; }
			#header-name-subtitle	{ color:#fff; font-size:1em;  }
			#header-1	{ float:left; width:440px; display:inline; }
	#header-right		{ width:160px; float:left; margin:50px 0 0 40px; color:#add8e6; font-size:1.2em; } * html #header-right { display:none; }
		
	#content-wrap		{ width:960px; margin:0 0 20px 0; }
		#navigation		{ width:180px; float:left; }
			#navigation ul li, #navigation ul, #navigation li	{ list-style-type:none; padding-left:0; margin-left:0; line-height:1.2em; }
		#content			{ width:625px; float:left; display:inline; overflow:hidden; } * html #content { width:620px; }
		#right			{ padding:0 0 0 30px; width:125px; float:left; display:inline; }
		#sitemap			{ background:url(graphics/background-sitemap.png) top left repeat-x #5b7b95; }
			#sitemap-content	{ margin:20px auto 0 auto; width:960px; padding:20px 0; }
			
	#foots				{ background:#eee; color:#666; padding:8px; border-top:1px solid #666; border-bottom:1px solid #666; text-align:center; }
	
	#top-tlas			{ font-family:Tahoma; font-size:12px; margin:5px 0 18px 180px; }
		#top-tlas a		{ color:#e95e25; }
		
	/*  tags  */
	blockquote			{ background:#eee; padding:10px; margin:15px; }
	h1, h1 a				{ font-size:1.6em; font-weight:normal; margin:0 0 5px 0; }
	h2						{ border-bottom:1px solid #ccc; padding:10px 0 0 0; font-size:1.1em; font-weight:bold; }
	h3						{ padding:0px 0px 0px 12px; text-transform:uppercase; }
	h4						{ color:#2b4962; border-bottom:1px solid #2b4962; width:150px; }
	h5						{ font-size:1.6em; font-weight:normal; margin:0 0 15px 0; padding:5px 10px; background:#fffea1; border-top:3px solid #fc0; border-bottom:3px solid #fc0; }
	h6						{ font-size:1em; }
	iframe				{ border:0; }
	input,textarea		{ border:1px solid #ccc; padding:3px; border-top-width:2px; padding:2px; border-left-width:2px; font-size:1em; font-family:Cambria,Georgia,Palatino,Palatino Linotype,Myriad Pro,Serif; }
	label					{ cursor:pointer; }
	li						{ line-height:1.5em; }
	ol,ul					{ padding:0 0 0 30px; }
	p						{ margin:5px 0 15px 0; line-height:1.5em; color:#000; }
	
	/*  custom classes  */
	.accessibility		{ position:absolute; left:-9999px; font-size:small; }
	.button				{ cursor:pointer; padding:4px; border:1px solid #ccc; background:#eee; color:#0058be; text-decoration:underline; }
	.clear				{ clear:both; }
	#dzone				{ float:right; width:50px; margin:0 0 15px 15px; }
	
	.guest-blogger-top { padding:5px; border-top:2px solid #fc0; border-bottom:2px solid #fc0; background:#fffea1; }
	.guest-blogger-top p	{ margin:0; }
	.guest-blogger-bio	{ padding:0 20px; background:#eee; border-top:2px solid #ccc; border-bottom:2px solid #ccc; margin:0 0 20px 0; }
	.guest-blogger-bio h2 { border-bottom:0; }
	.guest-blogger-bio img { border:2px solid #ccc;; }
	
	.home-post-details{ color:#000; font-size:.8em; background:#eee; border-top:2px solid #ccc; margin:0 0 5px 0; padding:5px 10px; line-height:1.6em; }
	
	.comment-link-box a	{ text-decoration:none; background:url(graphics/bubble.jpg) top right no-repeat #eee; float:right; width:40px; height:36px; padding:3px 3px 0 0; text-align:center; font-weight:bold; font-size:1.4em; color:#000; }
			.comment-link-box a:hover	{ color:#999; }
	
	.huge-search-input	{ font-size:3em; border:2px solid #fc0; background:#fffea1; padding:5px; margin:0 0 10px 0; }
	.huge-search-button	{ font-size:3em; padding:5px; cursor:pointer; }
	.image				{ margin:15px 0 15px 15px; float:right; }
	.input:focus		{ background:#eee; }
	.message				{ border:2px solid #fc0; background:#fffea1; padding:5px 10px; }
	.message-green		{ border-color:#060; background:lightgreen; }
	.nav-left a, .nav-right a	{ border:1px solid #ccc; background:#eee; padding:5px 10px; color:#0058be; line-height:30px; }
	.nav-left			{ float:left; }
	.nav-right			{ float:right; }
	.next-prev-links	{ margin:5px 0 35px 0; }
	.page-break			{ page-break-before:always; }
	.post-info			{ border-top:5px solid #ccc; padding:8px; background:#eee; margin:15px 0 20px 0; }
		.post-info p	{ margin:0; line-height:1.3em; }
	.post-input			{ width:400px; }
	.post-sep			{ height:3px; background:#eee; margin:20px 0 0 0; width:99%; border-top:1px solid #999; border-bottom:1px solid #999; line-height:3px; }
	.print-only			{ display:none; }
	
	/*  tooltips  */
	.tool-tip 			{ width:139px; z-index:13000; }
	.tool-title 		{ font-weight:bold; font-size:11px; margin:0; color:#9fd4ff; padding:8px 8px 4px; background:url(graphics/tooltip.png) top left; }
	.tool-text 			{ color:#fff; font-size:11px; padding:4px 8px 8px; background:url(graphics/tooltip.png) bottom right; }	
	
	/*  comments  */
	.comment				{ margin:10px 0; padding:10px; }
		.comment-avatar	{ width:110px; float:left; color:#666; font-size:.7em; line-height:1.4em; background:url(graphics/c-check.jpg) right 10px no-repeat; }
		.comment-avatar img	{ margin:0 0 3px 0; }
		.comment-content	{ width:475px; float:left; padding:10px; background:#eee; }
			.comment-adw	{ background:url(graphics/dw-comment.jpg) right 10px no-repeat; }
			.comment-dw			{ background:#0f2c45; }
			.comment-dw p		{ color:#fff; }
			.comment-dw a		{ color:lightblue; }
			.comment-content p	{ line-height:1.5em; margin-top:0; }
			
			.comment-dw pre	{ padding:10px; background:lightblue; }
			
	.comment	blockquote	{ background:#ccc; }
			
	#comment-form		{  }
	#translation_bar	{ margin:0 0 10px 0; }
	.trackback			{ display:none; }
	#toggle-tb-link	{ display:block; float:right; font-size:11px; font-family:arial; font-weight:normal; margin:0 10px 0 0; color:green; }
	
	/*  sitemap  */
	.sitemap-column	{ width:200px; float:left; margin:0 20px 0 0; padding:0 0 20px 0; color:#fff; font-size:.8em; }
	.sitemap-column b	{ display:block; }
	
	/* highlight */
	::selection, ::-moz-selection	{ background: #b4dbff; /* Safari */ }
	
	
	/*  links  */
	a						{ color:#0058be; outline:none; }
	a:visited			{ color:#999; }
	a:hover, a:active	{ text-decoration:none; }
	a img					{ border:0; }
	#navigation a		{ color:#666; padding:6px 3px; width:144px; border-bottom:1px solid #ccc; display:block; font-size:.8em; }
	#navigation a:link, #navigation a:visited	{ font-size:.8em; text-decoration:none; font-size:.8em; }
	#navigation a:hover, #navigation a:active	{ color:#000; background:#eee; font-size:.8em; }
	.sitemap-column a	{ color:#fff; display:block; }
	h1 a					{ color:#000; font-size:1em; }
	h1 a:link, h1 a:visited	{ text-decoration:none; }
	h1 a:hover, h1 a:active	{ text-decoration:underline; }
	.conred				{ border-bottom:1px dotted green; text-decoration:none; color:green; background:url(graphics/green-arrow.jpg) left top no-repeat; padding:0 0 0 20px; }
	.conred:hover, .conred:active	{ border-bottom-style:solid; }
	.conred:visited	{ color:green; }
	#navigation a.flaga				{ padding:0 4px 0 0; width:18px; border:0; display:inline; float:left; }
	a[target$='_blank'] { padding:0 0 0 20px; background:url(graphics/external_link.gif) no-repeat 3px center; }
	a[target$='_blank'] img { padding-left:0; background:none; }
	a[target$='_blank']:visited, a[target$='_blank']:active { background:url(graphics/external_link_grey.gif) no-repeat 3px center; }
}

@media print
{
	#header-wrap, #header, #navigation, #right, #sitemap,	#comment-form	{ display:none; }
	#content				{ width:600px; float:none; overflow:visible; display:block; }
	.no-print, .post-sep, #dzone, #foots, #adstop, .next-prev-links, .home-post-details, #comtop, #top-tlas, #add-this-div, .trackback	{ display:none; }
	.print-only,.page-break			{ display:block; }
	a[target$='_blank'] { padding:0; background:#fff; }
	#content a:link:after, a:visited:after { content:" [" attr(href) "] "; }
	#content h1 a, #comment a	{ content:""; }
	.comment-content	{ width:425px; }
}





.dp-highlighter 		{ font-family:"Consolas", "Courier New", Courier, mono, serif; font-size:11px; background-color:#f8f8f8; width:99%; overflow:auto; margin:18px 0 !important; padding-top:1px; }
.dp-highlighter ol, .dp-highlighter ol li, .dp-highlighter ol li span { margin:0; padding:0; border:none; }
.dp-highlighter a, .dp-highlighter a:hover { background:none; border:none; padding:0; margin:0; }
.dp-highlighter .bar { padding-left:45px; }
.dp-highlighter.collapsed .bar, .dp-highlighter.nogutter .bar { padding-left:0; }
.dp-highlighter ol	{ list-style:decimal; background-color:#fff; margin:0 0 1px 45px !important; padding:0; color:#aaa; }
.dp-highlighter.nogutter ol, .dp-highlighter.nogutter ol li { list-style:none !important; margin-left:0 !important; }
.dp-highlighter ol li, .dp-highlighter .columns div
{
	list-style:decimal-leading-zero; list-style-position:outside !important; border-left:1px solid #ddd; background-color:#fff; color:#aaa; padding:5px 3px 0 10px !important; margin:0 !important; line-height:14px;
}
.dp-highlighter.nogutter ol li, .dp-highlighter.nogutter .columns div { border:0; }
.dp-highlighter .columns { background-color:#f8f8f8; color:gray; overflow:hidden; width:100%; }
.dp-highlighter .columns div { padding-bottom:5px; }
.dp-highlighter ol li.alt { background-color:#fff; color:inherit; }
.dp-highlighter ol li span { color:black; background-color:#fff; }

/* Adjust some properties when collapsed */
.dp-highlighter.collapsed ol { margin:0; }
.dp-highlighter.collapsed ol li { display:none; }

/* Additional modifications when in print-view */
.dp-highlighter.printing { border:none; }
.dp-highlighter.printing .tools { display:none !important; }
.dp-highlighter.printing li { display:list-item !important; }

/* Styles for the tools */
.dp-highlighter .tools	{ padding:6px 8px 8px 10px; font:9px Verdana, Geneva, Arial, Helvetica, sans-serif; color:silver; background-color:#f8f8f8; border-left:3px solid #f8f8f8; }
.dp-highlighter.nogutter .tools 	{ border-left:0; }
.dp-highlighter.collapsed .tools { border-bottom:0; }
.dp-highlighter .tools a { font-size:9px; color:#a0a0a0; background-color:inherit; text-decoration:none; margin-right:10px; }
.dp-highlighter .tools a:hover { color:#999; background-color:inherit; text-decoration:underline; margin-right:10px; }

/* About dialog styles */
.dp-about { background-color:#fff; color:#333; margin:0px; padding:0px; }
.dp-about table { width:100%; height:100%; font-size:11px; font-family:Tahoma, Verdana, Arial, sans-serif !important; }
.dp-about td { padding:10px; vertical-align:top; }
.dp-about .copy { border-bottom:1px solid #aca899; height:95%; }
.dp-about .title { color:red; background-color:inherit; font-weight:bold; }
.dp-about .para { margin:0 0 4px 0; }
.dp-about .footer { background-color:#eceadb; color:#333; border-top:1px solid #fff; text-align:right; }
.dp-about .close { font-size:11px; font-family:Tahoma, Verdana, Arial, sans-serif !important; background-color:#eceadb; color:#333; width:60px; height:22px; }

/* Language specific styles */
.dp-highlighter .comment, .dp-highlighter .comments { color:#ffa500; }
.dp-highlighter .string { color:#f00; }
.dp-highlighter .keyword { color:#069; font-weight:bold; }
.dp-highlighter .preprocessor { color:#aaa; }
.dp-highlighter .vars, .var	{ color:#04aafa; }
.dp-highlighter .value	{ background:#fffebc; }
.dp-highlighter .func	{ color:#096; }

