/**
 * Theme Name: Magebase
 * Theme URI: http://lero9.co.nz
 * Description: Magebase v2.0 theme by Bojan Vujicic - vb
 * Version: 2.0
 * Author: Bojan Vujicic / Robert Popovic / LERO9
 * Author URI: http://lero9.co.nz
 * Tags: theme-options, threaded-comments, microformats, translation-ready, rtl-language-support, one-column, two-columns, three-columns, fixed-width
 *
 * Copyright (c) 2010 - 2011 Magebase.  All rights reserved.
 * http://magebase.com
 */

/* 25px reset. */
html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;vertical-align:baseline;outline:none;font-size:100%;background:transparent;border:none;text-decoration:none}b,i,hr,u,center,menu,layer,s,strike,font,xmp{margin:0;padding:0;vertical-align:baseline;outline:none;font-size:100%;font-weight:normal;font-style:normal;background:transparent;border:none;text-decoration:none}font{color:#333}center{text-align:left}body{line-height:25px;font-family:Georgia,Times,"Times New Roman",serif;color:#333;background:#fff}h1,h2,h3,h4,h5,h6{font-style:normal;font-weight:normal;margin:0 0 25px 0}h1{font-size:1.8em}h2{font-size:1.7em}h3{font-size:1.55em;}h4{font-size:1.4em}h5{font-size:1.25em}h6{font-size:1.1em}p{margin:0 0 25px 0}ol,ul{list-style:none}ul{list-style:disc;margin:0 0 25px 2.5em}ol{list-style-type:decimal;margin:0 0 25px 3em}ol ol{list-style:upper-roman}ol ol ol{list-style:lower-roman}ol ol ol ol{list-style:upper-alpha}ol ol ol ol ol{list-style:lower-alpha}ul ul,ol ol,ul ol,ol ul{margin-bottom:0}dl{margin:0 0 25px 5px}dl dt{font-weight:bold;margin:10px 0 0 0}dl dd{margin:5px 0 0 1.5em}strong{font-weight:bold}strong strong{font-weight:normal}em,cite{font-style:italic}em em,cite cite{font-style:normal}abbr{cursor:help}acronym{text-transform:uppercase;border-bottom:1px dashed #666;cursor:help}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:baseline;position:relative;bottom:0.3em}sub{vertical-align:baseline;position:relative;top:0.3em}address{font-style:italic;margin:0 0 25px 0}li address,dd address{margin:0}blockquote{margin:0 25px;font-style:normal}blockquote em,blockquote cite{font-style:italic}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{cursor:pointer}a img{border:none}pre{overflow:auto;font:.9em Monaco,monospace,Courier,"Courier New";line-height:25px;margin-bottom:25px;padding:10px}code{font:.9em Monaco,monospace,Courier,"Courier New"}pre code{font-size:1em}ins,dfn{font-style:italic;text-decoration:none;border-bottom:1px solid #666}del{text-decoration:line-through}object{margin-bottom:25px}input,textarea{font-size:1em;font-family:Georgia,Times,"Times New Roman",serif;padding:3px}:focus{outline:none}form label{cursor:pointer}option{padding:1px 2px}table{border-collapse:collapse;border-spacing:0;margin-bottom:25px}th,td{text-align:left}hr{margin-bottom:25px}img.wp-smiley{max-height:12px;margin:0;padding:0;border:none}.gallery{display:block;text-align:center;margin-bottom:25px !important}.alignleft,.left{float:left;margin-right:20px}.alignright,.right{float:right;margin-left:20px}.aligncenter,.center{display:block;margin:0 auto 25px auto}.alignnone,.block{clear:both;margin:0 0 25px 0}.clear{clear:both}img.alignleft,img.alignright{display:inline}blockquote.alignleft,blockquote .alignright{width:33%}

/* Galleries. */
.gallery{display:block;clear:both;overflow:hidden;margin:0 auto}.gallery .gallery-row{display:block;clear:both;overflow:hidden;margin:0}.gallery .gallery-item{overflow:hidden;float:left;margin:0;text-align:center;list-style:none;padding:0}.gallery .gallery-item .gallery-icon img{max-width:89%;height:auto;padding:1%;margin:0 auto}.gallery-caption{margin-left:0}.col-0{width:100%}.col-1{width:100%}.col-2{width:50%}.col-3{width:33.33%}.col-4{width:25%}.col-5{width:20%}.col-6{width:16.66%}.col-7{width:14.28%}.col-8{width:12.5%}.col-9{width:11.11%}.col-10{width:10%}.col-11{width:9.09%}.col-12{width:8.33%}.col-13{width:7.69%}.col-14{width:7.14%}.col-15{width:6.66%}.col-16{width:6.25%}.col-17{width:5.88%}.col-18{width:5.55%}.col-19{width:5.26%}.col-20{width:5%}.col-21{width:4.76%}.col-22{width:4.54%}.col-23{width:4.34%}.col-24{width:4.16%}.col-25{width:4%}.col-26{width:3.84%}.col-27{width:3.7%}.col-28{width:3.57%}.col-29{width:3.44%}.col-30{width:3.33%}

/* Drop-downs. */
div.menu ul{margin:0;padding:0;list-style:none;line-height:1.0}div.menu ul ul{position:absolute;top:-999em;width:10em}div.menu ul ul li{width:100%}div.menu li:hover{visibility:inherit}div.menu li{float:left;position:relative}div.menu a{display:block;position:relative}div.menu li:hover ul,li.sfHover ul{left:0;top:2em;z-index:99}div.menu li:hover li ul,li.sfHover li ul{top:-999em}div.menu li li:hover ul,li li.sfHover ul{left:10em;top:0}div.menu li li:hover li ul,li li.sfHover li ul{top:-999em}div.menu li li li:hover ul,li li li.sfHover ul{left:10em;top:0}

/* Links */
a {
	color: #d83e01;
	text-decoration: none;
	}
a:hover {
	text-decoration: none;
	color: #d83e01;
	border-bottom: 1px dotted #d83e01;
	}
a:hover.no-border {border-bottom: none;}

p {font-size: 1.3em; margin: 0 0 15px;}

/* Headers */
h1, h2, h3, h4, h5, h6 {
	color: #333;
	font-weight: normal;
	margin: 0 0 10px 0;
	}
h5, h6 {font-weight: bold; margin:0 0 5px;}
h1 { font-size: 2.8em; }
h2 { font-size: 2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.6em; }
h5 { font-size: 1.6em; }
h6 { font-size: 1.4em; }

.hfeed h1, .hfeed h2, .hfeed h3, .hfeed h4, .hfeed h5, .hfeed h6 {
	color: #333;
	}
.hfeed h1 { line-height: 1.4em; }
.hfeed h2 { line-height: 1.3em; }
.hfeed h3 { line-height: 1.3em; }
.hfeed h4 { line-height: 1.3em; }
.hfeed h5 { line-height: 1.2em; }
.hfeed h6 { line-height: 1.2em; }

strike {text-decoration: line-through;}

/* Horizontal rule */
hr {
	height: 1px;
	background: #e0e0e0;
	margin-bottom:15px;
	}

/* Tables */
table {
	margin: 0 0 25px 0;
	width: 100%;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	background: #fff;
	}
table caption {
	font: normal normal normal 13px/25px Arial, Verdana, sans-serif;
	color: #999;
	}
table th {
	font: normal normal bold 13px/25px Arial, Verdana, sans-serif;
	padding: 4px 2%;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	text-align: left;
	font-size: 1.3em;
	}
td {
	font-size: 1.3em;
	padding: 4px 2%;
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	}

/* Acronyms and abbreviations */
abbr {
	border-bottom: 1px dotted #666;
	}
.byline abbr, .entry-meta abbr, .comment-meta abbr {
	border: none;
	}
acronym {
	font-size: .9em;
	text-transform: uppercase;
	color: #555;
	background: #fcfcfc;
	border-bottom: 1px dotted #ddd;
	}
acronym:hover {
	color: #333;
	background: #f9f9f9;
	border-bottom: 1px dotted #999;
	}

/* Lists. */
ul {
	list-style: disc;
	margin-left: 15px;
	}
ol {
	margin-left: 20px;
	}
dl {
	margin: 0 0 25px 25px;
	}
dl dt {
	margin: 0;
	font: normal normal bold 16px/25px Arial, Verdana, sans-serif;
	}
dl dd {
	margin: 0 0 5px 10px;
	padding: 0;
	font-size: 14px;
	color: #777;
	}

/* Blockquotes. */
blockquote, blockquote blockquote blockquote {
	overflow: hidden;
	margin: 0 0 25px 0;
	padding: 15px 25px 0 25px;
	color: #666;
	border-left: 3px solid #a3cfd3;
	background-color: #fcfcfc;
	-moz-box-shadow: inset 2px 1px 2px rgba(100,100,100,0.3);
	-webkit-box-shadow: inset 2px 1px 2px rgba(100,100,100,0.3);
	-khtml-box-shadow: inset 2px 1px 2px rgba(100,100,100,0.3);
	box-shadow: inset 2px 1px 2px rgba(100,100,100,0.3);
	}
blockquote blockquote {
	color: #666;
	background: #eee;
	border-left: 5px solid #ccc;
	}

/* Code */
code {
	padding: 0 3px;
	color: #333;
	font: normal normal normal 1em/1.5em "Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace;
	background: #e6e6e6;
	}
pre {
	padding: 25px;
	color: #555;
	font: normal normal normal 13px/25px Arial, Verdana, sans-serif;
	background: #efefef;
	}
pre code {
	padding: 0;
	background: transparent;
	}

/* Forms */
input, textarea {font: 1.2em Arial, Helvetica, sans-serif;}
p input, p textarea {font-size: 1em;}
input[type="text"] {
	display: block;
	}
input[type="submit"]:hover {
	cursor: pointer
	}
textarea {
	display: block;
	width: 98.5%;
	}

/* Alignment */
.left, .alignleft {
	float: left;
	margin: 0 25px 10px 0;
	}
.right, .alignright {
	float: right;
	margin: 0 0 10px 25px;
	}
img.alignleft, img.alignright {
	margin-top: 5px;
	}
.adleft {
	float: left;
	}
.adright {
	float: right;
	}
.center, .aligncenter {
	display: block;
	margin: 0 auto 25px auto !important;
	}
.block, .alignnone {
	display: block;
	margin: 0 0 25px 0;
	}
.clear {
	clear: both;
	}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

/* Images */

.hentry .thumbnail {
	float: left;
	width: 150px;
	height: 150px;
	margin: 0 20px 10px 0;
	}
.sticky .thumbnail {
	}

.entry-content img {
	height: auto;
	}

/* Max-widths for images */
.entry-content img { max-width: 680px; }
.layout-1c .entry-content img { max-width: 960px; }

.wp-caption { max-width: 680px; }
.layout-1c .wp-caption { max-width: 960px; }

.wp-caption img { max-width: 680px; }
.layout-1c .wp-caption img { max-width: 960px; }

/* Smiley */
img.wp-smiley {
	max-width: 12px;
	padding: 0;
	background: transparent;
	border: none;
	}

/* Captions [caption] */
.wp-caption {
	overflow: hidden;
	text-align: right;
	}
.wp-caption img {
	margin: 0 0 5px 0;
	}
.wp-caption .wp-caption-text {
	margin: 0;
	font: normal normal normal 1em/1.4em Arial, Helvetica, sans-serif;
	text-align: right;
	border-top: 1px solid #d1e7e9;
	padding-top: 5px;
	font-style: italic;
	color: #888;
	}

/* Fixing the nasty inline styles WordPress adds for galleries. */
/* For a better gallery experience, install http://wordpress.org/extend/plugins/cleaner-gallery */
.gallery {
	overflow: hidden;
	margin: 0 !important;
	}
.gallery br {
	display: block;
	line-height: 0;
	height: 0; /* Ugh! Learn CSS, WP developers! */
	}
.gallery a {
	border: none;
	}
.gallery-item {
	overflow: hidden;
	margin: 0 0 25px 0 !important;
	}
.gallery-icon {
	overflow: hidden;
	margin: 0;
	}
.gallery img {
	max-width: 89%;
	height: auto;
	margin: 0 auto;
	padding: 2px !important;
	border: 1px solid #ddd !important;
	}
.gallery-caption {
	margin: 0;
	font: normal normal normal 12px/25px Arial, Verdana, sans-serif;
	color: #999;
	}
.singular-attachment .hentry .gallery-caption {
	display: none; /* Hide captions in gallery on attachment pages. This is a theme feature. */
	}

/* Body. */
body {
	color: #585858;
	background: #d1e7e9 url('images/bg-header.png') 0 0 repeat;
	font: 0.625em/1.8em Arial, Helvetica, sans-serif;
	}

/* Primary menu */
#menu-primary {
	width: 1020px;
	margin: 0 auto;
	}
#menu-primary div.menu {
	float: left;
	}
#menu-primary li {
	background: #eaead7 url('images/sprite.png') -660px -70px no-repeat;
	height: 38px;
	border-radius: 8px 8px 0 0; -moz-border-radius: 8px 8px 0 0; -webkit-border-radius: 8px 8px 0 0; -khtml-border-radius: 8px 8px 0 0;
	border: 1px solid #eaead7;
	border-bottom: none;
	margin-right: 2px;
	-moz-box-shadow: 2px -2px 4px rgba(100,100,100,0.3);
	-webkit-box-shadow: 2px -2px 4px rgba(100,100,100,0.3);
	-khtml-box-shadow: 2px -2px 4px rgba(100,100,100,0.3);
	box-shadow: 2px -2px 4px rgba(100,100,100,0.3);
	}
#menu-primary li a {
	padding: 0 30px;
	font: normal normal bold 1.8em/35px Calibri, Arial, Verdana, sans-serif;
	color: #333;
	border: none;
	}
#menu-primary li:hover ul li a, #menu-primary li.sfHover ul li a, #menu-primary li.sfHover a {
	}
#menu-primary li.current-menu-item, #menu-primary li.current-menu-parent, #menu-primary li.current-category-ancestor, #menu-primary li.current-post-ancestor {
	background-color: #fff;
	background-position: -660px -20px;
	border-color: #fff;
	position: relative;
	z-index: 50;
	}
#menu-primary ul li a:hover, #menu-primary li ul li a:hover {
	color: #d83e01;
	border: none;
	}

/* Drop-down styles */
#menu-primary li ul {
	}
#menu-primary li:hover ul, #menu-primary li.sfHover ul {
	top: 37px;
	}
#menu-primary li:hover li ul, #menu-primary li.sfHover li ul {
	top: -999em;
	}
#menu-primary li li:hover ul, #menu-primary li li.sfHover ul {
	top: -1px;
	margin-left: 0;
	}

/* Header */
#header {
	overflow: hidden;
	clear: both;
	width: 960px;
	margin: 0 auto;
	padding: 25px 30px 20px;
	}
#branding {
	float: left;
	width: 500px;
	}
#site-title {
	text-indent: -9999px;
	background: url('images/sprite.png') 0 0 no-repeat;
	margin: 0;
	}
#site-title a {display:block;border:none;width: 273px; height: 52px;}

#site-description {
	font-size: 14px;
	font-weight: normal;
	color: #003f63;
	margin: 0 0 25px 0;
	}
#rss-tab {float:right; background: url('images/sprite.png') 0 -132px no-repeat; text-indent: -9999px; margin-right: 30px;}
#rss-tab a {display: block; width: 210px; height: 38px; border: 0;}

/* Secondary menu */
#menu-secondary div.menu {
	float: right;
	}
#menu-secondary li {
	background: url('images/sprite.png') 100% 0 no-repeat;
	padding: 0 10px 0 10px;
	margin: 0;
	}
#menu-secondary li:last-child {padding-right: 0; background: none;}
#menu-secondary li a {
	font-size: 1.4em;
	color: #003f63;
	text-shadow: 1px 1px #fff;
	font-weight: bold;
	}
#menu-secondary li a:hover {
	text-decoration: underline;
	border: none;
	}
#menu-secondary li ul {
	}
#menu-secondary li.current-menu-item a {
	color: #000;
	}
#menu-secondary li li.current-menu-item a {
	}
#menu-secondary li:hover ul li a, #menu-secondary li.sfHover ul li a, #menu-secondary li.sfHover a {
	}
#menu-secondary li li a, #menu-secondary li li.current-menu-item li a {
	}
#menu-secondary ul li a:hover, #menu-secondary li ul li a:hover {
	}

/* Main wrapper div for the content and primary/secondary sidebars */
#main {
	clear: both;
	overflow: hidden;
	width: 960px;
	margin: 0 auto;
	padding: 30px;
	background: #fff;
	position: relative;
	z-index: 10;
	-moz-box-shadow: 0 -3px 3px 0 rgba(100,100,100,0.3),0 3px 3px 0 rgba(100,100,100,0.3);
	-webkit-box-shadow: 0 -3px 3px 0 rgba(100,100,100,0.3),0 3px 3px 0 rgba(100,100,100,0.3);
	-khtml-box-shadow: 0 -3px 3px 0 rgba(100,100,100,0.3),0 3px 3px 0 rgba(100,100,100,0.3);
	box-shadow: 0 -3px 3px 0 rgba(100,100,100,0.3),0 3px 3px 0 rgba(100,100,100,0.3);
	}

/* Breadcrumb trail */
.breadcrumbs {
	font-size: 13px;
	color: #333;
	margin-bottom: 15px;
	border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0;
	background: url('images/sprite.png') -680px -314px no-repeat;
	padding: 4px 0 4px 24px;
	}
.breadcrumbs a {
	}
.breadcrumbs a:hover {
	}
.breadcrumbs .trail-before {
	display: inline-block;
	margin-right: 6px;
	}
.breadcrumbs .trail-end {
	}
.breadcrumbs .sep {
	display: inline-block;
	margin: 0 3px;
	}

/* Content */
#content {}
a.button, a.comment-reply-link {	display: inline-block;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;
	padding: 3px 12px;
	white-space: nowrap;
	background-color: #efefef;
	font-size: 1.3em;
	color: #d83e01 !important;
}
p a.button {font-size: 1em;}
a.button:hover, a.comment-reply-link:hover {background-color: #d83e01; color: #fff !important; border-bottom: none;}
.entry-content a.more-link {
	display: block;
	border: 2px solid #d83e01;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;
	padding: 2px 8px;
	width: 64px;
	margin: 15px 0 0;
	white-space: nowrap;
}
.entry-content a.more-link:hover {background-color: #d83e01; color: #fff;}
.series ul, .entry-content ul, ul.related, .entry-content ol, .entry-content dl dd, .entry-content dl dt {font-size: 1.3em;}
.entry-content ul ul, .entry-content ul ol, .entry-content ol ol, .entry-content ol ul, .entry-content dl dd ul, .entry-content dl dd ol {font-size: 1em;}
.entry-content ul p, .entry-content ol p {font-size: 1em;}
.singular .entry-content div, .comment-text div {font-size: 1.3em;}
.singular .entry-content ul div, .singular .entry-content ol div {font-size: 1em;}
/* Posts */
.hentry,
.singular-page .author-profile {overflow: hidden; margin: 0 0 25px 0; padding-bottom: 10px; border-bottom: 1px solid #e0e0e0;}
.singular-page .hentry {padding-bottom: 0; border-bottom: none;}
.hentry span.edit {}
.hentry span.edit a {text-indent: -9999px; display: inline-block; width: 16px; height: 16px;background: url('images/sprite.png') -684px -435px no-repeat;}
.hentry span.edit a:hover {border:none;}

.sticky {-moz-box-shadow: 2px 2px 3px 1px rgba(100, 100, 100, 0.3) inset; -webkit-box-shadow: 2px 2px 3px 1px rgba(100, 100, 100, 0.3) inset; -khtml-box-shadow: 2px 2px 3px 1px rgba(100, 100, 100, 0.3) inset; box-shadow: 2px 2px 3px 1px rgba(100, 100, 100, 0.3) inset; background: none repeat scroll 0 0 #F9F9F9; padding: 15px 15px 0;}
.hentry .indent {margin-left: 170px;}
/* Post titles */
.hentry .entry-title {
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: normal;
	}
.singular-page .entry-title, .singular-attachment .entry-title {
	margin-bottom: 25px;
	}
/* singular page styles */
.singular .hentry span.edit a {position: absolute; top: 0; right: 0;}
.singular .hentry {margin: 0; position: relative;}
.singular-post .series,
.singular-post .post-tags,
.singular-post .related-posts,
.singular-post .author-profile {border-top: 4px solid #efefef; padding: 20px 0; border-bottom: 1px solid #e0e0e0;}
.singular-post .post-tags .wp-tag-cloud {margin-left: 140px;}
.singular-post .series ul, .singular-post ul.related {list-style: none; margin: 10px 0 0; line-height: 1.8em;}
.singular-post .series h4, .singular-post .post-tags h4, .singular-post .author-profile h4, .singular-post h4.title-related,
h2.author-name, h1.author-title, .author-likes h3, .comments-header {font-weight: normal; font-size: 1.8em; margin: 0;}
.singular-post .post-tags h4 {float: left;}
.singular-post .author-profile h4 {margin-bottom: 5px;}
.author-profile img.avatar {float: left; margin: 0 15px 10px 0;}
.author-profile .author-description {margin-left: 95px;}
.user .author-profile .author-description {margin-left: 115px;}
.author-info {border-bottom:1px solid #e0e0e0; padding-bottom: 15px;}
/* authors */
h2.author-name, h1.author-title, .author-likes h3 {margin-bottom: 10px;}
.author-description p:first-child {font-size: 1.6em;}
.author-likes {border-top: 1px solid #e0e0e0; padding: 10px 0;}
.author-links {padding: 20px 20px 10px; border: 1px solid #dae7fe; background-color: #f0f6ff; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;}
.author-links ul {list-style: none; margin: 0;}
.author-links ul li {display: inline-block; background: url('images/sprite.png') 0 0 no-repeat; line-height: 24px; padding-left: 34px; width: 175px; margin-bottom: 10px;}
.author-links ul li.website {background-position: -675px -170px;}
.author-links ul li.twitter {background-position: -675px -200px;}
.author-links ul li.facebook {background-position: -675px -230px;}
.author-links ul li.linkedin {background-position: -675px -260px;}

/* 404 page */
.error-404 .hentry {text-align: center;}
.error-404 .hentry .error-404-title {background-color: #ff9; padding: 4px 20px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; display: inline-block;}
.error-404 .search-form {
	overflow: hidden;
	display: block;
	margin: 0 auto 25px;
	text-align: left;
	background: url('images/sprite.png') 0 -319px no-repeat;
	width: 502px;
	height: 42px;
	position: relative;
	}
.error-404 .search-form label {
	display: none;
	}
.error-404 .search-form .search-text,
.error-404 .search-form .search-submit {
	border: none;
	background: none;
	display: inline-block;
	}
.error-404 .search-form .search-text {
	font-size: 1.6em;
	padding: 11px;
	width: 440px;
}
.error-404 .search-form .search-submit {
	background: url("images/sprite.png") no-repeat scroll -280px -369px transparent;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 8px;
    right: 10px;
    text-indent: -9999px;
}
p.tag-cloud-heading {text-align: center; border-bottom: 1px solid #e0e0e0; margin: -10px 0 20px; position: relative;}
p.tag-cloud-heading span {background-color: #fff; color: #999999; padding: 0 10px; position: relative; top: 8px;}
.hentry .wp-tag-cloud {font-size: 1em;}
.hentry .wp-tag-cloud a {background-color: #efefef;}
/* Post bylines/datelines */
.byline {
	margin: 0 0 10px 0;
	color: #999;
	font-size: 1.3em;
	}
.byline a {
	}
.byline a:hover {
	}
.singular .byline {
	margin: 0 0 25px 0;
	}

/* Post excerpts */
.entry-summary p {
	margin: 0 0 10px 0;
	}

/* Post metadata */
.entry-meta {
	margin: 0 0 5px 0;
	font-size: 1.3em;
	color: #999;
	}
.entry-meta a {
	}
.entry-meta a:hover {
	}

/* Archive/search loop meta/info */
.loop-meta {
	overflow: hidden;
	color: #777;
	}
.loop-description {
	overflow: hidden;
	font-size: 1.3em;
	}
.loop-description em {
	font-style: normal;
	}
.loop-title {
	}
.loop-meta .avatar {
	float: left;
	width: 51px;
	height: 51px;
	margin: 0 25px 10px 0;
	padding: 2px;
	}

/* Singular post prev/next links */
.singular .loop-nav {
	border-top: 4px solid #efefef;
	font-size: 1.2em;
	color: #666;
	padding: 10px 0 0;
	}
.singular .loop-nav a {}
.singular .loop-nav .previous {float: left;}
.singular .loop-nav .next {float: right; text-align: right;}
.singular .loop-nav .previous, .singular .loop-nav .next {width: 48%;}
.entry-content p.copyright {color: #ccc; font-size: 11px;}
.entry-content p.copyright a {color: #999; border-color: #999;}
/* Page links for multi-paged posts <!--nextpage--> */
.page-links {
	clear: both;
	font: normal normal bold 13px/13px Arial, Verdana, sans-serif;
	color: #333;
	}
.entry-summary .page-links {
	clear: none;
	font: normal 1.4em/1em Arial, Helvetica, sans-serif;
	}
.page-links a {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 5px 0 5px;
	color: #aaa;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;
	}
.entry-summary .page-links a {
	}
.page-links a:hover {
	color: #fff;
	background: #d83e01;
	border: none;
	}

/* Archive/search pagination and comment pagination */
.comment-navigation {
	margin-bottom: 25px;
	}
.pagination {text-align: center;}
.pagination .page-numbers, .comment-navigation .page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 10px 0 0;
	font: normal 1.4em/1em Arial, Helvetica, sans-serif;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;
	}
.pagination a.page-numbers, .comment-navigation a.page-numbers {
	}
.pagination a:hover, .comment-navigation a:hover {
	color: #fff;
	background: #d83e01;
	border: none;
	}
.pagination .current, .comment-navigation .current {
	font-weight: bold;
	color: #333;
	}

/* Sidebar after singular posts */
#sidebar-after-singular {
	overflow: hidden;
	margin: 0 0 25px 0;
	padding: 25px 25px 0 25px;
	}
#sidebar-after-singular .widget-title {
	font-size: 15px;
	line-height: 15px;
	}
#sidebar-after-singular .widget ul {
	list-style: disc;
	}
#sidebar-after-singular .widget ul li a {
	}
#sidebar-after-singular .widget ul li a:hover {
	}

/* header & footer sidebars */
#sidebar-header {
	overflow: hidden;
	float: right;
	width: 275px;
	height: 90px;
	}
#sidebar-footer {
	overflow: hidden;
	float: right;
	width: 260px;
	}

/* Primary and Secondary sidebars */
#sidebar-primary {
	}
#sidebar-secondary {
	}

#sidebar-primary .widget, #sidebar-secondary .widget {
	margin-bottom: 10px;
}

/* Widget title */
#sidebar-primary .widget-title, #sidebar-secondary .widget-title {
	font-size: 1.5em;
	background: url('images/sprite.png') 0 -230px repeat-x;
	margin: 0;
	padding: 0 0 0 15px;
	color: #fff;
	height: 37px;
	line-height: 37px;
	}
#sidebar-primary .widget-inside, #sidebar-secondary .widget-inside  {background-color: #f2f2e7;}
#sidebar-primary .widget-ad .widget-inside, #sidebar-secondary .widget-ad .widget-inside  {background-color: transparent;overflow:hidden;}
.widget-ad .styled-textwidet:after { display:block; content:"."; clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }
/* Widget unordered lists */
#sidebar-primary .widget ul {
	}
#sidebar-primary .widget ul li a {
	}
#sidebar-primary .widget ul li a:hover {
	}
#sidebar-secondary .widget ul {
	}
#sidebar-secondary .widget ul li a {
	}
#sidebar-secondary .widget ul li a:hover {
	}

/* Specific Widgets */
/* Search form widget. */
.widget .search-form {
	overflow: hidden;
	display: block;
	margin: 0 0 25px 0;
	background: url('images/sprite.png') 0 -279px no-repeat;
	width: 260px;
	height: 32px;
	position: relative;
	}
.widget .search-form label {
	display: none;
	}
.widget .search-form input[type="text"], .widget .search-form .search-text,
.widget .search-form input[type="submit"], .widget .search-form .search-submit {
	border: none;
	background: none;
	display: inline-block;
	}
.widget .search-form input[type="text"], .widget .search-form .search-text {
	font-size: 1.3em;
	padding: 8px;
	width: 210px;
}
.widget .search-form input[type="submit"], .widget .search-form .search-submit {
	background: url("images/sprite.png") no-repeat scroll -230px -370px transparent;
    height: 17px;
    width: 17px;
    position: absolute;
    top: 8px;
    right: 10px;
    text-indent: -9999px;
}
/* Styled Widget: paper */
.widget-paper {padding-top: 32px; background: url('images/sprite.png') 0 -568px no-repeat;}
.widget-paper .widget-inside {padding: 15px;}
/* Styled Widget: twitter */
#header .widget-twitter {margin-top: 25px;}
#header .widget-twitter .textwidget {background: url('images/sprite.png') 0 -60px no-repeat;}
#header .widget-twitter .textwidget a {width: 251px; height: 60px; text-indent: -9999px; display: block;}
#header .widget-twitter .textwidget a:hover {border: none;}
/* recent comments */
.widget #recentcomments {list-style: none; margin: 0; font-size: 1.3em; padding: 5px 0;}
.widget #recentcomments li {border-bottom: 1px dashed #e2e2ca; padding: 5px 15px; margin: 5px 0;}
.widget #recentcomments a, .popular-posts a {color: #069;}
.widget #recentcomments a:hover, .popular-posts a:hover {border-color: #069;}
/* Tag cloud widget */
.wp-tag-cloud {list-style: none; margin: 0; padding: 12px; text-transform: uppercase; overflow: hidden;}
.wp-tag-cloud li {float: left; margin: 3px;}
.wp-tag-cloud a {padding: 2px 4px; line-height: 1.5em; background-color: #fff; color: #069; white-space: nowrap;  border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;}
.wp-tag-cloud a:hover {background-color: #d83e01; color: #fff; border: none;}
div.wp-tag-cloud {padding: 0;}
div.wp-tag-cloud a {background-color: #efefef; display: inline-block; margin-left: 4px 0 4px 4px;}

strong.widget-title {display: block;}
#sidebar-footer .widget-title, #footer h3 {font-size: 1.8em; font-weight: normal; text-shadow: 1px 1px 1px #fff; margin-bottom: 10px;}
#sidebar-footer .widget-bookmarks {padding: 0 0 0 15px;}
#sidebar-footer .widget-bookmarks ul {list-style: none; font-size: 1.3em; margin: 0;}
#sidebar-footer .widget-bookmarks ul li {margin-bottom: 3px;}

/* popular posts widget */
.popular-posts ul {list-style: none; margin: 10px; overflow: hidden;}
.popular-posts li {margin: 10px 0; clear: left; overflow:hidden; line-height: 1.4em;}
.popular-posts .wpp-thumbnail {float: left; margin: 0 10px 10px 0;}
.popular-posts .wpp-post-title {font-size: 1.2em;}
.popular-posts .post-stats {display:block;}

/* Comments */
#comments-template a {color: #069;}
#comments-template a:hover {border-color: #069;}
#comments {border-bottom: 1px solid #e0e0e0;}
.comments-header {border-top: 4px solid #efefef; padding: 15px 0; border-bottom: 1px solid #e0e0e0; margin-bottom: 20px;}
.comment-list, .comment-list ol {list-style: none; margin: 0 0 25px 0;}
.comment-list .avatar {float: left;width: 50px;height: 50px;}
.comment-list .comment .avatar {margin: 10px 15px 10px 10px;}
.comment-list .pingback .avatar {margin: 0 15px 10px 10px;}

li.pingback {padding-top: 10px; background-color: #f5f5f5; -moz-box-shadow: inset 2px 2px 3px rgba(100,100,100,0.3); -webkit-box-shadow: inset 2px 2px 3px rgba(100,100,100,0.3); -khtml-box-shadow: inset 2px 2px 3px rgba(100,100,100,0.3);}
.comment .comment-meta {color: #666666; height: 36px; line-height: 36px; margin: 0 0 8px; text-align: right; font-size: 1.2em; padding-right: 15px;}
.pingback .comment-meta {font-size: 1.2em;}

/* deal with the comment nesting styles */
.comment-list li.comment .comment-meta,
.comment-list ol li.comment .comment-meta,
.comment-list ol li ol li.comment .comment-meta,
.comment-list ol li ol li ol li.comment .comment-meta,
.comment-list ol li ol li ol li ol li.comment .comment-meta,
.comment-list ol li ol li ol li ol li ol li.comment .comment-meta,
.comment-list ol li ol li ol li ol li ol li ol li.comment .comment-meta {background-color: #EFEFEF; border-top: 1px solid #E0E0E0;}

.comment-list li.entry-author .comment-meta,
.comment-list ol li.entry-author .comment-meta,
.comment-list ol li ol li.entry-author .comment-meta,
.comment-list ol li ol li ol li.entry-author .comment-meta,
.comment-list ol li ol li ol li ol li.entry-author .comment-meta,
.comment-list ol li ol li ol li ol li ol li.entry-author .comment-meta,
.comment-list ol li ol li ol li ol li ol li ol li.entry-author .comment-meta {background-color: #d9f0ff; border-color: #adf;}

.comment .comment-meta .comment-author { font-size: 1.4em; color: #333; float:left;}
.comment-meta .comment-author cite {font-style: normal;}
.comment-meta a { color: #069;	}
.comment-meta a:hover { border-color: #069;	}

.pingback .comment-meta .comment-author { font-size: 1.2em;}

.comment-list li {clear: right;}
.comment-list ol.children .avatar {margin-left: 40px;}
.comment-list ol.children .comment-meta {background: url('images/sprite.png') -670px -388px no-repeat; }

.comment-list .comment .comment-text {margin-left: 75px;}
.comment-list .pingback .comment-text {margin: 10px 0 0 75px;}
.comment-list .comment-text p {margin-bottom: 10px;}
.comment-list ol.children .comment-text {margin-left: 105px;}
.comment-list ol.children ol.children {margin-left: 30px;}
.comment-reply-link {float: right;}

.comment-wrap {margin-bottom: 20px; overflow: hidden;}
.comments-closed {padding: 10px 25px;}

/* Comment form */
#respond {
	overflow: hidden;
	border-top: 4px solid #efefef;
	border-bottom: 1px solid #e0e0e0;
	padding: 15px 0 0;
	}
.comment-list #respond {
	margin-top: 25px;
	}
#respond .log-in-out {float: right; margin: 0; color: #999;}
#respond .log-in-out a {}
#reply-title small a {font-size: 0.9em; line-height: 1em; float: right;}

#respond #reply-title {margin-bottom: 20px;}
#respond label {font-size: 1.231em;}
#respond p.req label {}
#respond span.required {display: inline-block; text-indent: -9999px; background: url('images/sprite.png') -684px -114px no-repeat; width: 13px; height: 13px; line-height: 13px;}
#respond .form-author,
#respond .form-email,
#respond .form-url {float: left; width: 205px;}
#respond .form-url {float: right;}
#respond .form-email {margin-left: 33px;}
#respond .form-author input,
#respond .form-email input,
#respond .form-url input {width: 190px;}
#respond .form-textarea {clear: both;}
#respond label[for="subscribe"] {font-size: 1em;}
#respond .note {margin-bottom: 10px;}
#respond .note p {margin-bottom: 5px; color: #999; font-size: 1.2em;}
#respond #submit {
	float: right;
	background: #d83e01;
	border: none;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;
	}

/* Subsidiary sidebar */
#sidebar-subsidiary {
	overflow: hidden;
	width: 953px;
	margin: 0 auto;
	padding: 25px 0 0 25px;
	background: #fff;
	}
#sidebar-subsidiary .widget {
	float: left;
	width: 217px;
	margin: 0 20px 0 0;
	}
#sidebar-subsidiary .widget-title {
	font-size: 15px;
	}
#sidebar-subsidiary .widget ul {
	list-style: disc;
	}
#sidebar-subsidiary .widget ul li a {
	}
#sidebar-subsidiary .widget ul li a:hover {
	}

/* Footer */
#footer {
	overflow: hidden;
	clear: both;
	color: #333;
	width: 960px;
	margin: 0 auto 20px;
	padding: 30px 30px 0;
	background: #d1e7e9;
	-moz-box-shadow: 0 0 3px 0 rgba(100,100,100,0.3);
	-webkit-box-shadow: 0 0 3px 0 rgba(100,100,100,0.3);
	-khtml-box-shadow: 0 0 3px 0 rgba(100,100,100,0.3);
	box-shadow: 0 0 3px 0 rgba(100,100,100,0.3);
	}
#footer a {
	}
#footer a:hover {
	}
#footer .copyright {color: #666;}
#footer .credit { color: #666;float: right;	}
#footer .twitter-feed {position: relative; padding: 10px 0 30px; width: 660px;}
#footer ul.twitter-tweets {list-style: none; background: url('images/sprite.png') 0 -420px no-repeat; width: 660px; height: 92px; margin:10px 0; padding: 0;}
#footer .twitter-tweets li {font: 1.6em/1.5em Georgia,"Times New Roman",serif; padding: 15px 10px 0 65px;}
#footer .twitter-follow {position: absolute; right: 23px; top: 95px; background: url('images/sprite.png') 0 -370px no-repeat; }
#footer .twitter-follow a {width: 160px; height: 40px; text-indent: -9999px; display: block;}
#footer .twitter-follow a:hover {border: none;}

/* Other styles */
.twitter-button {float:right; margin-left: 10px;}
/* notes and download */
p.note {background: #f0f6ff url('images/sprite.png') -674px -574px no-repeat; border: 1px solid #dae7fe; padding: 10px 10px 10px 36px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;}
p.red {background-color: #ffeceb; border-color: #fedfdb;}
p.yellow {background-color: #f7f7d5; border-color: #eeeea6;}
p.green {background-color: #e4f6d5; border-color: #cfefb8;}
p.download {margin-bottom:20px;}
p.download a { background: url("images/sprite.png") no-repeat scroll 12px -183px #D83F03; border: medium none; color: #FFFFFF; display: inline-block; padding: 6px 12px 6px 37px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px;}

/* Layouts. */
.layout-1c #content {
	width: 960px;
	}

.layout-default #content {
	float: left;
	width: 680px;
	}
.layout-default #sidebar-primary {
	float: right;
	width: 260px;
	}
.layout-default #sidebar-secondary {
	clear: right;
	float: right;
	width: 260px;
	}

/* Fancybox styling
************************************************/
#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('images/zoom/fancybox.png');
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('images/zoom/fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
	border-bottom: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('images/zoom/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/zoom/fancybox-x.png');
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('images/zoom/fancybox-y.png');
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -182px;
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/zoom/fancybox-x.png');
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('images/zoom/fancybox-y.png');
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('images/zoom/fancybox.png');
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('images/zoom/fancy_title_over.png');
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('images/zoom/fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('images/zoom/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('images/zoom/fancybox.png') -55px -90px no-repeat;
}
