/*  
Theme Name: DanWilt.com
Theme URI: http://somadesign.ca/
Description: Image-y goodness based on <a href="http://5thirtyone.com/archives/886">The Unstandard</a> and created by <a href="http://mattwiebe.com/">Matt Wiebe</a> for <a href="http://somadesign.ca">Soma Design</a>.
Version: 2.0
Author: Matt Wiebe
Author URI: http://somadesign.ca/
*/

* { margin: 0; padding: 0; }

body { background: #fff; color: #000; font: 62.5%/1.2em helvetica,arial,sans-serif; text-align: center; }
#main-wrapper { display: block; margin: 0 auto; padding: 0 7px; width: 960px; text-align: left; }

/* ----------------------------------- basics */
h1, h2, h3, h4 { font-weight: normal; }
h1 { font-size: 2.2em; line-height: 1em; margin-top:.3em;}
h2 { font-size: 1.6em; line-height: 1.8em; }
h3 { font-size: 1.3em; line-height: 1.4em; }

a { color: #2c2c2c; }
  a:hover { color: #428BC0; }
a img { border: none; }
ul, ol { list-style: none; }

/* ----------------------------------- masthead */
#leaderboard { background: url("images/blue.gif") no-repeat top left; padding: 3em 0 7em 0; position: relative; }
  #leaderboard h1 a { color: #333; text-decoration: none; } 
  #leaderboard h1 a:hover { color: #428BC0; }
  #leaderboard h1 span {display:block; font-size:.6em; color:#2A5A7D;}
  #leaderboard h1 span.title-sep {display:none;}
#main-nav { font-size: 1.1em; margin: 10px 0 0 0; text-transform: uppercase; font-weight: bold; }
  #main-nav li { float: left;  margin-left: 7px; }
  #main-nav li a { background: #ddd; color: #6c6c6c; display: block; padding: 1.1em 0; text-decoration: none; text-align: center; width: 7.75em; } 
  #main-nav li a:hover,
  #main-nav li.current a { background: #333; color: #eee; }
  #main-nav li.rss-now a:hover,
  #main-nav li.rss-now a { background: #428BC0; color: #eee; }
.adsense-center { margin: -40px auto 0; display: block; width: 728px; }
#cat-title { position:absolute; bottom:1em; font-size:1.8em; color:#428BC0;}
  #cat-title span {font-weight:bold;}
  
/* ----------------------------------- home posts */
div.home .left {  width: 607px; }
div.home h1.left {width:auto;}
div.home .main-post-bg { background: #444; display: block; height: 225px; position: relative; width: 593px; overflow: hidden; margin-bottom:7px;}
  .main-post-bg .post-comments,
  .secondary-post-bg .post-comments { position: absolute; top: 0; right: 7px; z-index: 102; background: #428BC0; border: 1px solid #2A5A7D; }    
    .post-comments a,
    .secondary-post-bg .post-comments a { font-size: 11px; color: #eee !important; display: block; height: 1.8em; line-height: 1.8em; width: 7.5em; text-decoration: none; text-align: center; text-transform: lowercase; } 
    .post-comments a:hover,
    .secondary-post-bg .post-comments a:hover { background: #2A5A7D;}
  div.home .main-post-bg .title-insert,
  div.home .recent-leads .title-insert { background-color: #000; height:4.5em; bottom: 0; display: block; left: 0; position: absolute; width: 100%; z-index: 101; /* opacity - move to sep. stylesheet */ filter: (opacity=75); -moz-opacity: .75; opacity:.75; }
#main-post-excerpt {background: #2A5A7D; width:593px; margin:-7px 0 7px; display:none;}
#main-post-excerpt p {padding:7px 21px 14px; font-size:1.2em; color:#fff; line-height:1.5;}
.title-insert h2 { margin: 8px 10px 7px; line-height: 1.4em; }
  .title-insert h2 a { display: block; color: #88b3d1; text-decoration: none; }
  .title-insert h2 a:hover { color: #fff; }
div.home .recent-leads { width: 607px; }
  div.home .recent-leads .secondary-post-bg { background: #444; display: block; width: 293px; overflow: hidden; height: 150px; margin: 0 7px 7px 0; position: relative; }
  div.home .recent-leads .title-insert h3 { margin: 4px 7px; }
  div.home .recent-leads .title-insert h3 a { font-size: 14px; display: block; color: #88b3d1; text-decoration: none; }
  div.home .recent-leads .title-insert h3 a:hover { color: #fff; }
div.home .right { width: 340px; text-align: left; }
div.home #leaderboard .right {width:auto;}
div.home .right h3 { font-weight: normal; font-size: 1.6em; color: #428BC0; padding-left: 2px; }
.recent-leads img.secondary {width:296px;}

/* --------- events */

#events {width:593px; background-color:#EBEFF2;}
#events h3 {background-color:#428BC0; color:#fff; padding:7px 7px 4px; font-size:1.4em; text-transform:uppercase;}
#events-text {margin:21px 36px; font-size:1.2em; line-height:1.4; padding-bottom:12px; color:#222; position:relative;}
#events-text p {margin:0 0 12px;}
#events-text .edit-link {display:block; position:absolute; top:-15px; right:-25px; font-size:11px;}

/* ----------------------------------- entry style */

div.post.single { font-size: 1.4em; line-height: 1.5em; color: #444; width: 590px; }
  div.post.single h2, div.post.single h2 a { font-size: 18px; line-height: 20px; color: #428BC0; text-decoration: none; }
  div.post.single h4, div.post.single h4 a { font-size: 15px; line-height: 20px; color: #428BC0; text-decoration: none; border-bottom:1px solid #ddd; }
  div.post.single .entry { float: right; width: 500px; position:relative;}
  div.post.single .meta { border-top: 2px solid #428BC0; color: #444; text-transform:lowercase; padding: 4px 0 0 0; margin-top: 21px; float: left; width: 75px; font-size: 11px; }
    div.post.single .meta a { color: #428BC0; text-decoration: underline; }
    div.post.single .meta a:hover { text-decoration: none; }
	.post .meta span {display:block; margin-top:1.2em; overflow:hidden;}
	.post .meta span a {font-size:10px;}
  div.post.single p { margin: 1em 0; text-align:justify;}
  div.post.single p a,
  div.post.single li a { font-weight: bold; }
  div.post.single p strong { font-weight: bold; }
  div.post.single p em { font-style: italic; }
  div.post.single blockquote { margin: 0 1.5em; color: #6c6c6c; }
  div.post.single h3 { font-size: 16px; color: #428BC0; margin-top: 2em; }
  div.post.single ul,
  div.post.single ol { margin: 1em 1.5em; }
  div.post.single ul li,
  div.post.single ol li { margin: 0 0 14px 0; color: #6c6c6c; line-height: 1.3em; }
  div.post.single ul li { background: url("images/li.gif") no-repeat 1px -1px; padding-left: 20px; }
  div.post.single ul li strong { font-weight: bold; }
  div.post.single img.floatleft { float: left; margin: 4px 10px 0 0; }
  div.post.single img.floatright { float: right; margin: 4px 0 0 10px; }
  div.post.single code { font-family: courier, fixed, monospace; font-size: 12px; background: #eee; }
    div.post.single code strong { color: #000; }

.navigation { font-size: 1.2em; padding: 10px 0; }
  .navigation .left { width: 50%; }
  .navigation .right { width: 49%; }
.archives-page h2 a { font-size: 14px !important; line-height: 16px; }
  
/* ----------------------------------- lists */
.sidebar-wrapper { background: #fff; }
.sidebar-news { background: #f9f9de; border: 1px solid #e9e9b4; display: block; padding: 7px; color: #555; font-size: 12px; }
  .sidebar-news a:hover { text-decoration: none; }
.sidebar-wrapper h3 { overflow: hidden; }
ul.sidebar-ul,
.related-posts ul, .widget ul { font-size: 1.2em; line-height: 1.4em; margin: 10px 0 0 0; width: 340px; }
  .sidebar-ul li,
  .related-posts li, .widget ul li { color:#777; border-top: 1px solid #ccc; line-height: 1.5em; background: url("images/li-grey.gif") no-repeat 1px 3px; display: block; font-weight: normal; color: #888; }
  .sidebar-ul li a,
  .related-posts li a, .widget ul li a { text-decoration: none; display:block; padding: 3px 0 3px 20px; }
  .sidebar-ul li a:hover,
  .related-posts li a:hover, .widget ul li a:hover { color: #428BC0; }
  .sidebar-ul li:hover,
  .related-posts li:hover, .widget ul li:hover { background: url("images/li.gif") no-repeat 1px 3px; }
  .sidebar-ul li a:hover em, .widget ul li a:hover em { color: #999; }
  .widget ul li.recentcomments a {background:none;}
  .widget ul li.recentcomments a:hover {background:none;}
.widget, .recently {margin-top:25px;}

.widget ul li.recentcomments {padding: 3px 0 3px 20px;}
.widget select {width:100%; margin-top:1em;}
table#wp-calendar {width:100%; font-size:1.2em; line-height:1.5;}
#wp-calendar caption {letter-spacing:.6em; text-transform:uppercase; color:#428BC0;}
#wp-calendar th {padding:1em 0 .5em;}


.related-posts h3 { display: none; }
.serve-random { font-size: 12px; color: #888; margin-top: 7px; }
  .serve-random a { color: #428BC0; }
  .serve-random a:hover { text-decoration: none;  }
.sidebar-nextprev { margin-top: 10px; }
  .sidebar-nextprev li { float: left; }
  .sidebar-nextprev li.previous { margin-left: 5px; }
  .sidebar-nextprev li.next { float: right; margin-right: 5px; }
  .sidebar-nextprev li a { outline: none; display: block; height: 40px; width: 160px; background: #ddd; text-indent: -9999em; }  
  .sidebar-nextprev li.previous a { background: url("images/nextprev.gif") no-repeat top left; }
    .sidebar-nextprev li.previous a:hover { background-position: bottom left; }
  .sidebar-nextprev li.next a { background: url("images/nextprev.gif") no-repeat top right; }
    .sidebar-nextprev li.next a:hover { background-position: bottom right; }

/* ----------------------------------- comments */
#comments { margin: 36px 0 21px; }
#comments h2 {font-size:18px; color: #428BC0; margin: 0 0 18px; width:590px;}
/*#comment-breaker { color: #428BC0; display: block; width: 100%; margin: 21px 0 14px 0; padding: 35px 0 0 2px; background: url("images/distort.gif") no-repeat top center; }
  #comment-breaker h2 { font-size: 18px; }*/
ol.commentslist { font-size: 1.3em; line-height: 1.5; width: 590px; color:#333; }
  .commentslist li { margin-bottom: 28px; }
  .commentslist li p { margin: 0 0 1em 0; }
  .commentslist li blockquote { margin: 0 1.2em; font-style: italic; }
  .commentslist li ul, 
  .commentslist li ol { margin: 1em 1.5em; }
  .commentslist .author_meta { text-transform: lowercase; border-top: 2px solid #428BC0; padding: 4px 0 0 0; margin-top: 9px; float: left; width: 75px; font-size: 11px; }
    .commentslist .author_meta a { color: #444; text-decoration: none !important; }
    .commentslist .author_meta a:hover { text-decoration: underline !important; }
  .commentslist li.author .comment_text { background: #eee; width: 498px; border: 1px solid #ddd; }
    li.author .comment_text p { margin: 7px; }
  .commentslist .comment_text { float: right; width: 500px; overflow: auto; }
    .comment_text .comment-author { font-weight: bold; margin-bottom: 7px; }
    li.author .comment_text .comment-author { margin: 7px 0 7px 7px; }
    .commentslist .comment_text a { font-weight: bold; }
.pings { width: 590px; margin:0 0 36px;}
  .pings h3 { color: #428BC0; font-size: 1.6em; padding: 0 0 0 2px; }
  ul.pingslist { font-size: 1.2em; line-height: 1.4em; margin: 10px 0 0 0; width: 340px; }
    ul.pingslist li { border-top: 1px solid #ccc; line-height: 1.5em; width: 340px; }
    ul.pingslist li a { background: url("images/li-grey.gif") no-repeat 1px 3px; display: block; font-weight: normal;  color: #999; text-decoration: none; padding: 3px 2px 3px 20px; }
    ul.pingslist li a:hover { color: #428BC0; background: url("images/li.gif") no-repeat 1px 3px;}
    .sidebar-ul li a:hover em { color: #999; }
h3#respond {color:#428BC0; font-size:18px; margin-left:90px;}
#commentform { font-size: 11px; margin-left: 90px; }
  #commentform p { margin: 0.8em 0; }
  #commentform p label { }
  #commentform #author,
  #commentform #email,
  #commentform #url,
  #commentform #comment { border: 1px solid #bbb; padding: 4px; font-family: arial,verdana,sans-serif; font-size: 12px; color: #6c6c6c; }
  #commentform #comment { width: 485px; overflow: auto; height: 225px; }
  #commentform #submit { background: #333; color: #eee; padding: 0.8em 0; width: 13em; border: none; }
  .comment-warning strong { color: #444; font-weight: bold; }
.subscribe-to-comments { font-size: 12px; color: #555; }

/* ----------------------------------- categories */
#categories { border: 1px solid #bbb; border-width: 1px 0; padding: 14px 0; margin: 35px 0 21px; }
#categories ul { color: #999; font-size: 1.2em; line-height: 1.6em; }
#categories li { float: left;  text-align: right;  display: block; width: 175px; margin-right: 15px; }
#categories li a { color: #428BC0; float: left; text-decoration: none; }
#categories li a:hover { text-decoration: underline; }

/* ----------------------------------- search */
.search { background: #428BC0 url("images/search-bg.gif") no-repeat top left; display: block; width: 340px; height: 32px; }
  .search #searchForm { margin: 0 0 0 7px; }
  #searchForm input { vertical-align: middle; margin: 6px 0 0 0; }
  .search #searchForm #s { color: #666; font-size: 12px; border: 1px solid #428BC0; padding: 1px; width: 265px; margin-right: 4px; }
  
/* ----------------------------------- footer */
#footer { color: #555; font-size: 1.2em; line-height: 1.4em; padding: 35px 0 72px; position: relative; width: 960px; }
  #footer .left { width: 590px; position:relative; }
  #footer a { font-weight: bold; }
.hiddenpic { display: none; }
.admin-login {position:absolute; right:-370px;}

/* ----------------------------------- floats */
.right { float: right; }
.left { float: left; }
.clear { clear: both; }
.fix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.fix { display: inline-block; }
* html .fix { height: 1%; }
.fix { display: block; }

/* ---- tooltips */

a.tipit {
	display:block;
	position:absolute;
	left:0;
}

#tTips {
	display: none;
	position: absolute;
	width:293px;
	height:55px;
	z-index:2000;
}
#tTipsTwo {
	position:absolute;
	width:593px;
	bottom:0;
	left:0;
	padding: 0 0 14px;
	background-image: url(images/tooltip-bg.png);
	background-repeat: no-repeat;
	background-position: 135px bottom;
	background-color: transparent;
	-moz-opacity: .95; opacity:.95;
}
.alt #tTipsTwo {left:auto; right:0; background-position:438px bottom;}

* html #tTipsTwo {background-image: url(images/tooltip-bg.gif);}

#tTips p#tTips_inside {
	margin: 0;
	padding: 8px 12px;
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 8px;
	background-color:#2A5A7D;
	text-align:left;
	font-size:1.2em;
	line-height:1.3;
	margin-left:10px;
	color:#fff;
}

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

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

img.centered, img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
