/*
	CSS files kept in the 'styles' directory can be used to
	costumize your K2 installation without having to mess
	with the core K2 files. This in turn makes it easier to
	upgrade to new K2 versions as well as debug any potential
	problems.

	You select schemes from the K2 Options page in the
	'Presentation' section of your WordPress administration.
	
	Author Name	: Luke Abbott
	Author Site	: http://www.abbottfamilyblog.com
	Style Name	: CenterTao
	Style URI	: 
	Version		: 2.0
	Comments	: 
  Layout Widths : 
	
*/

/* font-family: georgia; font-style: italic; text-align: left; text-indent: -1em; margin-left: 1em; */

body {
	background: #e5e5e5;
	color: #666;
	margin: 12px;
}

#page {
	padding: 2px;
	border: 1px solid #98AAB1;
}

#page {
	margin: 0 auto;
	padding-bottom: 40px;
}

/* ----------
     Sidebar
   ---------- */

body.columns-two #page {
	width: 880px;
	padding: 0;
}

body.columns-two #primary {
	padding: 10px 20px;
	margin-right: 280px;
}

body.columns-two #primary-wrapper {
	margin-right: -280px;
}

body.columns-two .secondary {
	width: 240px;
	padding: 5px 5px 0 15px;
}

body.columns-two .secondary h4 {
	margin-left: -12px;
	border-bottom: solid 1px #ddd;
}

#page {
	background: white url('sidebar-bg.png?1001') 580px 0px repeat-y;
}
#page .content {
	background: url('sidebar-bgfade.png?1001') 580px 0px no-repeat;
}

.no-sidebar #page .content,
.no-sidebar #page {
	background: white none;
}

.no-sidebar #page #primary-wrapper {
	margin: 0;
}
.no-sidebar #page #primary {
	margin: 0;
	width: 820px;
}

.sb-comments ul li,
.sb-latest ul li {
	text-indent: -1em;
	margin-left: 1em;
}

li.page-item-52 li.page_item {
	font-size: 120%;
}

li.page-item-52 li.page_item li {
	font-size: 80%;
}

/* ----------------
     Site Masthead
   ---------------- */
   
#header {
	background: #8b9e9b url('header-gradient.png') top left repeat-x;
	width: 100%;
	height: 128px;
	vertical-align: middle;
}

#header .blog-title {
	z-index: 1000;
	padding: 10px 0 0 19px;
}
#header .blog-title a {
	display:-moz-inline-box;
	display:inline-block;
	background:transparent none 0 0 no-repeat;
	font:0/0 Arial;
	overflow:hidden;
	color:rgba(255,255,255,0);
	vertical-align:bottom;
}
#header .blog-title a {
	color: white;
	width: 241px;
	height: 84px;
	background: url('header-logo.png') bottom right no-repeat;
}

#header .description {
	display: none;
}

/* -------------------
     Site Nav-Buttons
   ------------------- */

#header .menu {
	left: 310px;
	top: 21px;
	bottom: auto;
	padding: 0;
	margin: 0;
}
#header .menu li {
	background: url('navbar-bg.png') top left no-repeat;
	height: 72px;
	width: 106px;
	display: block;
	float: left;
	position: relative;
	padding-top: 24px;
}
#header .menu li.current_page_item,
#header .menu li.current_page_ancestor
{
	background: url('navbar-bg-active.png') top left no-repeat;
}
#header .menu li a {
	display:-moz-inline-box;
	display:inline-block;
	background:transparent none 0 0 no-repeat;
	font:0/0 Arial;
	overflow:hidden;
	color:rgba(183,202,212,0);
	vertical-align:bottom;
}
#header .menu li a {
	width: 106px;
	height: 24px;
	padding: 0; margin: 0;
	background: transparent no-repeat;
}
#header .menu li {display: none;}
#header .menu li.page-item-254 { display: block; margin-right: 10px; }
#header .menu li.page-item-20 { display: block; }
#header .menu li.page-item-14 { display: block; }
#header .menu li.page-item-22 { display: block; }

#header .menu li.page-item-254 a { display: block; background-image: url('headernav-taoteching.png') }
#header .menu li.page-item-20 a { display: block; background-image: url('headernav-ways.png') }
#header .menu li.page-item-14 a { display: block; background-image: url('headernav-blog.png') }
#header .menu li.page-item-22 a { display: block; background-image: url('headernav-forum.png') }

#header .menu li a, 
#header .menu li.current_page_item a {
	background-position: top left;
}
#header .menu li a:hover, 
#header .menu li.current_page_item a:hover {
	background-position: bottom left;
}

#header .menu li.admintab {
	background: transparent;
	width: auto;
	position: absolute;
	display: block;
	left: 485px;
	top: -40px;
}
#header .menu li.admintab a {
	background: transparent;
	font-weight: bold;
	color: #ccc;
	font:12px/12px Arial;
}
#header .menu li.admintab a:hover {
	color: #333;
}

/* -----------------
     Intra-post Nav
   ----------------- */
   
.navigation a {
	padding: 8px 20px;
	margin: 15px;
	display: block;
	background-color: #ffc;
	border: solid 2px #dd9;
	font-weight: bold;
	font-size: 110%;
	text-decoration: none;
	text-align: center;
}
.navigation .post-nav a {
	font-size: 100%;
	padding: 6px 12px;
	margin: 7px;
	font-weight: normal;
}
.navigation a:link { color: #666; }
.navigation a:visited { color: #888; }
.navigation a:hover { color: #000; background-color: #fe9; border-color: #cb6; text-decoration: none; }
.navigation a:active { color: #222; }


/* Extended Live Archives fix */
#af-ela-post-chrono li a { position: relative; }

body.smartposition #rollingarchives {
	border-bottom: solid 3px #ddd;
}

/* -------
    Links
   ------- */

/* Less contrast in visited links */
#primary .entry-content a { border-bottom: dotted 1px #68A; }
#primary .entry-content a:link { color: #27D; text-decoration: none; }
#primary .entry-content a:visited { color: #68A; text-decoration: none; }
#primary .entry-content a:hover { color: #27d; text-decoration: underline; border-bottom: 0; background-color: #ffc; }
#primary .entry-content a:active { color: #27d; text-decoration: underline; border-bottom: 0; }
#primary .entry-content a.image { border-bottom: 0; }
#primary .entry-content a.image:hover { border-bottom: 0; }
#primary .entry-content a.image:active { border-bottom: 0; }

/* CSS3 selector to style chapter links */
#primary .entry-content a[href*='/tao-te-ching/chapter-'],
#primary .entry-content a[href*='dc-lau/#chapter-'] { border-bottom: 0; }
#primary .entry-content a[href*='/tao-te-ching/chapter-']:link,
#primary .entry-content a[href*='dc-lau/#chapter-']:link  { color: #25b; text-decoration: none; }
#primary .entry-content a[href*='/tao-te-ching/chapter-']:visited,
#primary .entry-content a[href*='dc-lau/#chapter-']:visited  { color: #249; text-decoration: none; }
#primary .entry-content a[href*='/tao-te-ching/chapter-']:hover,
#primary .entry-content a[href*='dc-lau/#chapter-']:hover  { color: #27d; text-decoration: none; border-bottom: solid 1px #27d; background-color: inherit; }
#primary .entry-content a[href*='/tao-te-ching/chapter-']:active,
#primary .entry-content a[href*='dc-lau/#chapter-']:active  { color: #27d; text-decoration: none; border-bottom: solid 1px #27d; }

/* --------------------
      "More" Links
   (nice and clickable)
   -------------------- */

a.more-link {
	padding: 4px 15px;
	margin: 15px;
	display: block;
	border: solid 2px #9ed8fc;
	font-weight: normal;
	font-size: 100%;
	text-align: center;
}
#primary a.more-link:link {background-color: #e0f3ff; border: solid 2px #9ed8fc;}
#primary a.more-link:visited {background-color: #f0f9ff; border: solid 2px #9ed8fc;}
#primary a.more-link:hover {background-color: #c0e7ff; border: solid 2px #9ed8fc;}
#primary a.more-link:active {background-color: #b0e1ff; border: solid 2px #9ed8fc;}

.home a.more-link {
	padding: 2px 12px;
	margin: 12px;
	display: block;
	border: solid 1px #9ed8fc;
	font-weight: normal;
	font-size: 100%;
	text-align: center;
}
body.home #primary a.more-link:link {padding: 3px 13px; border: solid 1px #9ed8fc;}
body.home #primary a.more-link:visited {padding: 3px 13px; border: solid 1px #9ed8fc;}
body.home #primary a.more-link:hover {padding: 2px 12px; border: solid 2px #9ed8fc;}
body.home #primary a.more-link:active {padding: 2px 12px; border: solid 2px #9ed8fc;}

.now-what a {
	padding: 2px 12px;
	margin: 12px 60px;
	display: block;
	border: solid 1px #9ed8fc;
	font-weight: normal;
	font-size: 130%;
	text-align: center;
}
.now-what a:link {padding: 5px 13px; border: solid 1px #9ed8fc;}
.now-what a:visited {padding: 5px 13px; border: solid 1px #9ed8fc;}
.now-what a:hover {padding: 4px 12px; background-color: #c0e7ff; border: solid 2px #9ed8fc;}
.now-what a:active {padding: 4px 12px; background-color: #b0e1ff; border: solid 2px #9ed8fc;}

.now-what em {
	font-style: normal;
	font-weight: 700;
}

/* --------------------
    Post spacing, etc.
   -------------------- */

.hentry {
	padding: 25px 0 40px;
	border-bottom: solid 1px silver;
}

.p1 {padding-top: 5px;}
body.single .hentry {padding: 0 0 30px;}

div.trimmed .hentry {
	margin: 0;
	padding: 1px 0 12px;
	border: 0;
}
div.trimmed .hentry.alt {
	margin: 0;
	padding: 1px 0 12px;
}

h3.entry-title {
	font-family: "Trebuchet MS", Arial, sans-serif;
	font-size: 2.1em;
	text-align: center;
}

.comments h4 {
	font-size: 1.7em;
}

.entry-content {
	text-align: left;
	color: #222;
}

.post { clear: both; }

.page .entry-edit { margin: 0; }
.page .page-head { margin: 0; }

/* ----------
    Headings
   ---------- */

h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: bold; }
.page-head h1 {font-size: 2.4em;}
.page-head h2 {font-size: 2.1em;}
.page-head h3 {margin-top: 0.5em;}
h3.entry-title {
	margin-right: 0;
	font-weight: bold;
}
h1 small, h2 small, h3 small { 
	font-size: 80%;
}
.page-head h3.subtitle {text-align: center; font-size: 2em; color: #444;}
.page-head h2, .page-head h3 {
	color: #222;
	text-transform: none;
	font-weight: bold;
}
h2 {
	text-align: center;
}

/* --------
    Images
   -------- */

img {
	padding: 4px;
	border: solid 1px #ccc;
	margin: 5px;
}
img.wp-smiley {
	padding: 0; border: 0; margin: 0;
}


img.alignright, img[align="right"] {
	padding: 4px;
	margin: 0 0 2px 15px;
	display: inline;
}

img.alignleft, img[align="left"] {
	padding: 4px;
	margin: 0 15px 2px 0;
	display: inline;
}
.aligncenter,
div.aligncenter, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
	
img.noborder {
	border: none !important;
}


/* Captions */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 3px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption:hover {
	border: 1px solid #ddd;
	padding: 3px;
}
.wp-caption a img:hover {
	border: 2px solid #27f;
	padding: 0;
}

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

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

/* -----------------
    Misc. niceities
   ----------------- */

.back-to {
	font-size: 130%;
	margin: 12px;
}

.unbroken-links a { white-space: nowrap;}

/* Correlations styles */
.aw		{ font-style: italic; color: red; }
.pw		{ font-style: italic; color: blue; font-variant: small-caps; }
td.aw		{ color: red; background-color: #FFF7EE; padding: 0.15em 0.15em 0.15em 0.8em }
td.pw		{ color: blue; font-variant: small-caps; background-color: #EEF7FF; padding: 0.15em 0.15em 0.15em 0.8em }
.w	{ font-style: italic }

.preface {
	background: #F7F7F7; 
	border: solid 1px #D1D7DC; 
	padding: 10px 16px;
	margin: 0 0 2em;
}
blockquote.preface {
	padding: 0 16px;
	-moz-border-radius:5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.chapter-grid {
	text-align: center;
	margin: 20px auto;
	width: 80%;
}
.chapter-grid td {
	background: #f9f9f9;
	border: 0;
	text-align: center;
	font-size: 110%
}
#primary .entry-content .chapter-grid a:link {
	font-weight: bold;
	display: block;
	text-decoration: none;
	border: solid 1px #9ed8fc;
	background-color: #f0f9ff;
}
#primary .entry-content .chapter-grid a:visited {
	font-weight: bold;
	display: block;
	text-decoration: none;
	border: solid 1px #9ed8fc;
	background-color: #f0f9ff;
}
#primary .entry-content .chapter-grid a:hover {
	font-weight: bold;
	display: block;
	text-decoration: none;
	border: solid 1px #b0e1ff;
	background-color: #c0e7ff;
}
#primary .entry-content .chapter-grid a:active {
	font-weight: bold;
	display: block;
	text-decoration: none;
	border: solid 1px #9ed8fc;
	background-color: #b0e1ff;
}

div.chapter {
	padding: 0 20px;
	border: solid 1px white;
}
div.chapter-highlight {
	background: #ffe;
	border: solid 1px #fec;
}
.entry-content div.chapter h3 {
	padding: 0 0 15px 0;
	float: left;
}
.chapter-nav a {
	float: left;
	display: block;
	padding: 0 0 0 23px;
	margin: 0 0 0 20px;
	text-decoration: none;
}
.chapter-nav a.to-com {
	background: url(chapter-commentary.png) 2px 60% no-repeat;
}
.chapter-nav a.to-carls {
	background: url(chapter-book.png) 0% 50% no-repeat;
}
#primary .entry-content .chapter a[href*='#top'] {
	display: block;
	padding: 0 0 0 19px;
	background: url(to-top.png) 0% 50% no-repeat;
	border: none;
}
.entry-content div.chapter p {
	clear: left;
	width: 90%;
}

/*
<div class="chapter-nav">
	<a href="/tao-te-ching/dc-lau/chapter-1-commentary" class="to-com">Commentary on this chapter</a>
	<a href="/tao-te-ching/carl/chapter-1" class="to-carls">See Carl's translation</a>
</div>
*/

.widget_recent_entries li a {
	text-indent: -1em;
	margin-left: 1em;
	line-height: 1.3em;
	padding-bottom: 5px;
	display: block;
}

.widget_get_recent_comments ul.post-recent-comments li {
	white-space: nowrap;
	width: 230px;
	clear:both;
   text-overflow:ellipsis; /* for internet explorer */
}
.widget_get_recent_comments ul.post-recent-comments li a {
	color: #35a;
	border-bottom: dotted 1px #27d;
	text-decoration: none;
}
.widget_get_recent_comments ul.post-recent-comments li a:hover {
	color: #27d;
	border-bottom: solid 1px #27d;
}
.widget_get_recent_comments ul.post-recent-comments li q {
	font-style: italic;
}
.widget_get_recent_comments a.comment-count {
	color: #35a;
	font-weight: bold;
	margin: 0;
	padding: 0 17px 2px 0;
	background: transparent url(/wp-content/themes/k2/images/comment.png) no-repeat scroll right bottom;
	text-decoration: none;
}
.widget_get_recent_comments a.comment-count:hover {
	color: #27d;
	border-bottom: solid 1px #27d;
}
.widget_get_recent_comments li.recent-comment-posts {
	margin-bottom: 6px;
	clear:both;
}


.secondary a.social-feeds,
.secondary a.contact-email {
	display: block;
	padding-left: 48px;
	background: transparent url(/wp-content/themes/centertao/sidebar-social-icons.png) no-repeat;
	height: 40px;
	line-height: 38px;
	margin: 8px 0;
	font-size: 14px;
	-moz-border-radius: 0 13px 13px 0;
}
.secondary a.social-feeds:hover,
.secondary a.contact-email:hover {
	background-color: #FFFF9F;
	color: #27f;
}
.secondary a.social-feeds {
	color: #888;
}
.secondary a.social-feeds.twitter {
	background-position: 0 -64px;
}
.secondary a.social-feeds.twitter:hover {
	background-position: 0 -192px;
}
.secondary a.social-feeds.facebook {
	background-position: 0 0px;
}
.secondary a.social-feeds.facebook:hover {
	background-position: 0 -128px;
}
.secondary a.contact-email {
	background-position: 0 -256px;
}
.secondary a.contact-email:hover {
	background-position: 0 -320px;
}


#rollingarchives #rollprevious {
	font-size: 14px;
	top: 2px;
}
#rollingarchives #rollpages {
	left: 75px;
}
#rollingarchives #pagetrackwrap {
	left: 162px;
	top: 8px;
}
#rollingarchives #rollnext {
	font-size: 14px;
	top: 2px;
	right: 0;
}
#rollingarchives #texttrimmer {
	right: 95px;
}
body #rollingarchives #texttrimmer {
	top: 0;
}
body.smartposition #rollingarchives #texttrimmer {
	top: 10px;
}
body #rollingarchives {
	width: 540px;
	padding: 10px 20px 20px;
	margin-left: -40px;
}
body.smartposition #rollingarchives {
	border-bottom: solid 3px #cb7;
	width: 540px;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: -40px;
	background: #ffd;
}

#rollprevious:link, #rollnext:link {
	color: #c50;
}
#rollprevious:hover, #rollnext:hover {
	color: #f82;
}


/* -----------
    Home page
   ----------- */

.home .welcome-header {
	
}

body.home .welcome .entry-edit,
body.home .blogs .entry-edit {
	position: absolute;
	text-align: right;
	display: block;
	width: 100%;
}

body.home .blogs {
	border-top:1px solid silver;
	padding:30px 0 0;
	margin: 40px 0 0;
}
body.home .blogs .hentry {
	border-bottom:1px solid silver;
	background:#f7f7f7;
	padding: 8px;
	margin: 8px 80px;
}
body.home .blogs .entry-title {
	text-align: left;
}
body.home .blogs .entry-meta {
	text-align: left;
	white-space: nowrap;
	margin-left: 16px;
}
body.home .blogs .entry-author {
	display: none;
}
body.home .blogs .entry-edit a {
	color: #fcb;
	position: relative;
	left: 40px;
}
body.home .blogs .entry-content {
	clear: both;
}
body.home div.discussions {
	border-top:1px solid silver;
	padding:30px 0 0;
	margin: 40px 0 0;
}
body.home div.discussions .page-head {
	margin-bottom: 10px;
}

/* -----------------
     phpBB Imports
   ----------------- */

.sidebar {
	background-color: #FFFFFF;
	border: 2px #006699 solid;
	margin: 0.5em
}
td.sidebarcontent {
	background-color: #EFEFEF;
	font-size: 90%;
	line-height: 1.3;
	padding: 0.5em
}

/* ----------------
    Meta post info
   ---------------- */
	
.entry-head .entry-meta {
	text-align: center;
	font-size: 112%;
	background-image: none;
}
.entry-meta .meta-start,
.entry-meta .entry-author,
.entry-meta .entry-date .meta-prep,
.entry-meta .meta-end {
	display: none;
}
.entry-head .entry-tags {
	text-align: center;
	background-image: none;
}

.commentslink
{
	padding: 0px 0 4px 17px;
	margin: 0 10px 0 25px;
	font-weight: bold;
}
.commentslink span
{
	font-weight: normal;
}
.entry-edit a
{
	padding: 0;
	margin: 0;
	background: none;
	position: absolute;
}
.entry-edit a:link,
.entry-edit a:visited
{
	color: #ddd;
}
.entry-edit a:hover
{
	color: #952;
}

/* ---------------------------
    Vanilla Discussions Table
   --------------------------- */

table.discussions
{
	width: 95%;
	margin: 0 auto;
}
table.discussions tr th
{
	background: #f9f9f9;
	color: #999;
	font-size:0.8em;
	padding:3px 10px;
	border:1px solid #eee;
}
table.discussions tr th span
{
	font-weight: normal;
	color: #666;
}
table.discussions tr
{
	background: #fff;
}
table.discussions tr td
{
	padding:7px;
	border:1px solid #ddd;
}

table.discussions tr th {
	font-size: 90%;
}

table.discussions tr td.discussion-icon {
	border-right:0; 
	padding-right:2px;
	padding: 1.4ex 8px; 
	/*width:16px;*/
	width: 1px;
	vertical-align: top;
}

table.discussions tr td.discussion {
	border-left:0; padding-left:2px;
}
table.discussions .local {
	background: #efe;
}

table.discussions tr td.discussion .title {
	font-size: 110%;
}

table.discussions tr td.discussion small a {
	color:#666;
}

table.discussions tr td.stats {
	background: #f2f2f2;
	font-size: 90%;
	vertical-align: top;
	text-align: center;
}

table.discussions tr td.lp {
	background: #fcfcfc;
	vertical-align: top;
	font-size: 80%;
	color:#333;
}
table.discussions tr td.lp span {
	color:#666;
}
table.discussions tr td.lp span a {
	color:#369;
}
table.discussions tr td .discussion-title {
	float: left;
}
table.discussions tr td .stats {
	list-style-type: none;
	float: right;
	vertical-align: top;
	margin: 0;
	font-size: 90%;
	color: #666;
}
table.discussions tr td .stats li {
	float: left;
}
table.discussions tr td .stats li.views {
	width: 7em;
	text-align: right;
}
table.discussions tr td .stats span {
	color: #aaa;
}
.details-line a:link,		.details a:link	   		{ text-decoration: none }
.details-line a:visited,	.details a:visited		{ text-decoration: none }
.details-line a:hover,		.details a:hover	   	{ text-decoration: underline }
.details-line a:active,		.details a:active	    { text-decoration: underline }
table.discussions tr td .discussion-details span {
	color:#aaa;
	padding: 0 2px;
}
table.discussions tr td.details {
	background: #fcfcfc;
	font-size: 82%;
	color:#999;
}
table.discussions tr td .details-line {
	font-size: 85%;
	color:#999;
	margin-left: 3px; 
	overflow: hidden; 
	white-space: nowrap; 
	text-overflow: ellipsis; 
	clear: left;
}
table.discussions tr td .details-line .updated,
table.discussions tr td.details .updated {
	color:#444;
}
table.discussions tr td .details-line .excerpt {
	color:#777;
	padding: 0;
	font-style: italic;
	font-size: 100%;
}
