
/*- Page Structure */

html { /* Force Vertical Scrollbar */
	/* Moz */
	height: 100%;
	margin-bottom: 0.1em;
}

* {
	padding: 0;
	margin: 0;
	}

img {
	border: 0;
	}

body {
	font: 62.5% Helvetica, Sans-Serif; /* Resets 1em to 10px */
	color: #444;
	background: url('http://codeb.us/user/themes/redarry/images/bg.png') top ;
	text-align: center;
	margin: 0 0 30px;
	margin-bottom: 30px;
	}

#page-outer {
  width: 790px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
  border: 1px solid #ccc;
  border-top-width: 0px;
  border-bottom-width: 0px;
}

#page {
	background: white;
	text-align: left;
	margin: 0 auto;
	padding: 0px 0px 0px;
	position: relative;
	width: 788px;
/*	border: 1px solid #cc3333; */
	border-top: none;
	}

* html #page { width: 770px } /* IE hack */

#header {
	padding: 0;
	margin: 0;
	position: relative;
	border-bottom: 1px solid #c0c0c0;
	background: url('http://codeb.us/user/themes/redarry/images/codebus.png');
	}

#primary {
	width: 500px;
	float: left;
	padding: 0px 10px 10px;
	margin: 0 10px 0 0px;
	display: inline;
	}

.secondary {
	font-size: 1em;
	line-height: 1.5em;
	padding: 10px 10px 40px 15px; 
	margin: 0 0 0px 71%;
	width: 26%;
	color: #666;
	position: relative;
	border-left: 1px dotted #c0c0c0;

	}

.comments {
	text-align: left;
	padding: 0px 0 0;
	position: relative;
	}

/*- Main Menu in Header */

ul.menu {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0;
	left: 20px;
	width: 90%;
	}

ul.menu li {
	display: inline;
	margin: 0;
	}

ul.menu,
ul.menu li a {
	padding: 5px 15px 6px;
	}

ul.menu li a {
	font-size: 1em;
	color: #333333;;
	margin: 0;
	border: 1px solid #c0c0c0;
	border-bottom: 1px solid #ffffff;
	background: url('http://codeb.us/user/themes/redarry/images/grey_gradient_2x40.jpg') bottom;
	}

ul.menu li a:hover {
    background: url('http://codeb.us/user/themes/redarry/images/grey_gradient_2x40.jpg') top;
	text-decoration: none;
	}

ul.menu li.current_page_item a,
ul.menu li.current_page_item a:hover {
	color: #333 !important;
	background: white;
	text-decoration: none;
	}

.admintab {
	position: absolute;
	right: 0px;
	}

* html .admintab { padding: 5px 15px 6px }	/* IE hack */
	
a img,:link img,:visited img { border:none }

/*- Sidebar Subpages Menu */

.sb-pagemenu ul {
	margin-left: 10px;
	}

.sb-pagemenu ul ul {
	margin-top: 2px;
	}

.sb-pagemenu ul ul .page_item {
	margin-left: 10px;
	padding: 0;
	}

.sb-pagemenu .current_page_item {
	}

/*- Headings */

h1, h2, h3, h4 {
	font-family: Georgia, Serif;
	}

h1 { /* H1 is the title in the header */
	font-size: 5em;
	font-weight: normal;
	margin: 0;
	padding-left: 0.5em;
	padding-top: 0.5em;
	padding-bottom: 1em;
	}

h1, h1 a, h1 a:hover, h1 a:visited,
#header .description {
	text-decoration: none;
	}

#header .description { /* Description in header */
	font-size: 1em;
	margin: 0 40px;
	}

h2 { /* H2 is what kind of page you are on. Eg. 'Monthly Archive'. */
	text-align: center;
	font-size: 2.4em;
	font-weight: bold;
	letter-spacing: -1px;
	}

.secondary h2 { /* Secondary H2 is sidebar headlines */
	font-size: 1.5em !important;
	font-weight: normal !important;
	padding: 0 !important;
	display: inline;
	}

#primary h3, #primary h4 { /* H3 is entry headlines. H4 is comments and replyform headlines */
	font-size: 2.4em;
	font-weight: normal;
	letter-spacing: -1px;
	}

#primary .entry-content h3 {
	font-size: 1.8em;
	font-weight: normal;
	margin-top: 25px;
	}

#primary .entry-content h4 {
	font-size: 1.5em;
	font-weight: normal;
	margin-top: 25px;
	}

.entry-head {
	margin-top: 10px;
	}

body.page .entry-content h3 {
	font-size: 1.7em;
	display: block;
	padding: 15px 0 0;
	}

body.page .entry-content h4 {
	font-size: 1.5em;
	display: block;
	padding: 15px 0 0;
	}

.secondary div {
	margin: 20px 0 0;
	padding: 0;
	position: relative;
	}
	
#primary .metalink a, #primary .metalink a:visited, /* The Metalink class takes care of the comments, edit, rss and trackback links next to the titles */
.secondary .metalink a, .secondary .metalink a:visited,
.secondary span a, .secondary span a:visited {
	color: #999;
	font-weight: normal;
	}

#primary .hentry .entry-head .metalink {
	font-size: 1.8em;
	letter-spacing: -1px;
	text-transform: lowercase;
	margin-left: 15px;
	}

.comment-meta {
	margin: 0 15px 0 0;
	float: none;
	}

.comment-login, .comment-welcomeback {
	margin-top: 15px;
	color: #777;
}

#comment-personaldetails {
	margin-top: 10px;
}

.feedicon { /* Next to Comment Section Headline */
	border: 0 !important;
	padding: 0 !important;
	}

.feedlink img { /* On the sidebar */
	height: 16px;
	width: 16px;
	border: none;
	position: absolute;
	right: 0;
	}

.secondary span a {
	margin-left: 10px;
	}

body.page .entry-edit {
	position: absolute;
	right: 0;
	margin-top: -15px;
	}

.entry-edit a {
	border: none;
	padding: 2px;
	padding-left: 23px;
	margin-left: 10px;
	background: url('http://codeb.us/user/themes/redarry/images/pencil.png') left center no-repeat;
	height: 16px;
	}

.comment-edit a {
	border: none;
	padding: 2px;
	padding-left: 23px;
	margin-left: 10px;
	background: url('http://codeb.us/user/themes/redarry/images/comment_edit.png') left center no-repeat;
	height: 16px;
	}

h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited {
	color: #444;
	}

h2, h2 a, h2 a:hover, h2 a:visited,
h3, h3 a, h3 a:hover, h3 a:visited,
h4, h4 a, h4 a:hover, h4 a:visited {
	text-decoration: none;
	}

.entry-meta { /* Time and category for blog entries */
	font-size: 1em;
	display: block;
	margin-top: 1px;
	color: #bbb;
	}

.entry-meta a, .comment-meta a {
	color: #777;
	}

.chronodata {
	padding: 2px 0 2px 20px ;
	background: url('http://codeb.us/user/themes/redarry/images/time.png') left center no-repeat;
	}

.commentslink {
	padding: 2px 0 2px 20px;
	background: url('http://codeb.us/user/themes/redarry/images/comment.png') left center no-repeat;
	margin-left: 10px;
	}

.quoter_comment {
	padding: 2px 0 2px 20px;
	background: url('http://codeb.us/user/themes/redarry/images/comment.png') left center no-repeat;
	margin-left: 5px;
	}

.entry-tags {
	display: block;
	padding: 2px 0 2px 20px;
	background: url('http://codeb.us/user/themes/redarry/images/tag_blue.png') left center no-repeat;
	}

/*- Primary Contents */

.hentry {
	margin: 0;
	padding: 5px 0 15px;
	position: relative;
	}

.entry-content {
	font-size: 1.2em;
	line-height: 1.8em;
	text-align: justify;
	color: #444;
	margin-bottom: 40px;
	}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content div,
.entry-content blockquote {
	margin: 13px 0;
	}


.metalinks {
	margin-top: 3px;
	}

.commentsrsslink {
	background: url('http://codeb.us/user/themes/redarry/images/feed.png') left top no-repeat;
	padding: 2px 0 2px 20px;
	margin-right: 10px;
	height: 16px;
	}

.trackbacklink {
	background: url('http://codeb.us/user/themes/redarry/images/arrow_refresh.png') left top no-repeat;
	padding: 2px 0 2px 20px;
	height: 16px;
	}

.commentsrsslink a, .trackbacklink a {
	color: #999;
	padding: 2px;
	}

#commentlist {
	margin: 0;
	padding: 10px 0 20px;
	position: relative;
	}

#commentlist li {
	margin: 10px 0 0;
	padding: 10px 10px 5px;
	list-style: none;
	}

#commentlist li .comment-content {
	padding: 10px 0;
	font-size: 1.2em;
	line-height: 1.8em;
	}

.comment-content p,
.comment-content ul,
.comment-content ol,
.comment-content div,
.comment-content blockquote {
	margin: 13px 0;
	}

#commentlist li .comment-meta {
	padding: 2px 0 2px 20px;
	background: url('http://codeb.us/user/themes/redarry/images/time.png') left center no-repeat;
	display: block;
	}

#commentlist li img {
	padding: 0;
	border: none;
	}

#commentlist li img.gravatar {
	float: right;
	margin: -5px 0 0;
	}

#commentlist li .commentauthor {
	font-size: 1.5em;
	font-weight: bold;
	letter-spacing: -1px;
	}

#commentlist li .counter {
	display: none;
	font: normal 1.5em Helvetica, Sans-Serif;
	color: #999;
	float: left;
	width: 35px;
	}

li.byuser {
	background: #f6f7f8;
	}

li.bypostauthor {
	background: #eee;
	}

li.bypostauthor blockquote {
	color: #333;
	background: #eee url('http://codeb.us/user/themes/redarry/images/quote.png') no-repeat 10px 0;              
	}
	 
.comments form {
	clear: both;
	padding: 1px 0 10px;
	margin: 0;
	}

.comments input[type=text], .comments textarea {
	font: 1.2em 'Courier New', Courier, Monospace;
	padding: 3px;
	color: #777;
	}

input[type=text]:focus, textarea:focus {
	background: #fff;
	color: #333;
	border-color: #666;
	}

.comments form input[type=text] {
	width: 45%;
	margin: 5px 5px 1px 0;
	}

.comments textarea {
	height: 250px;
	width: 100%;
	margin: 10px 0;
	}

.comments form #submit {
	margin: 0;
	float: right;
	}

#footer {
	text-align: left;
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 10px;
	border-top: 1px dotted #c0c0c0;
	}

#counter_code img {
	display: none;
}

#footer a {
	color: #888;
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	}

#footer a:hover {
	border: none;
	text-decoration: none;
	color: black;
	}

/*- Links */

#primary a:hover, #primary a:visited:hover,
.secondary a:hover, .secondary a:visited:hover {
	text-decoration: underline;
	}

h2 a:hover, h2 span a:hover {
	color: #27d !important;
	}

a {
	color: #333;
	text-decoration: none;
	background: transparent;
	}

#header h1 a {
    color: #bb4411;
}

.entry-content a {
	background: #FFD2D3;
	padding: 2px;
}

.entry-content a img {
	background: transparent;
}

.entry-content a:visited {
	color: #b41;
	}

/*- Various Tags and Classes */

.clear {
	clear: both;
	margin: 0;
	padding: 0;
	}

#primary .entry-content img {
	margin: 0 5px;
	padding: 4px;
	border: 1px solid #ccc;
	max-width: 100%;
	}

.center {
	text-align: center;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left
	}

img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright, img[align="right"] {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft, img[align="left"] {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
	
img.noborder {
	border: none !important;
	}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

small, strike {
	color: #777;
	}
	
code {
	font: 1.1em 'Courier New', Courier, Monospace;
	}

acronym, abbr {
	font-size: 0.9em;
	letter-spacing: .07em;
	border-bottom: 1px dashed #999;
	cursor: help;
	}

.chronodata abbr { border: 0; }

blockquote {
	margin: 20px 0;
	padding: 0 20px 0 50px;
	color: #333;
	background: #fff url('http://codeb.us/user/themes/redarry/images/quote.png') no-repeat 10px 10px;
	border: 1px dotted #c0c0c0;
	border-right: none;
	}

hr {
	display: none;
	}

.alert {
	background: #FFF6BF;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	text-align: center;
	margin: 10px auto;
	padding: 5px 20px;
	}

/*- Begin Lists */
.entry-content ol, .entry-content ul {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry-content ol li, .entry-content ul li {
	margin: 0 0 3px;
	padding: 0;
	}

.secondary div p {
	margin-top: 0.5em;
	}

.secondary ul, .secondary ol, .secondary div div {
	margin: 5px 0 0;
	padding-left: 0;
	}

.secondary ol {
	margin-left: 15px;
	}

.secondary ul li, .secondary ol li {
	margin: 0;
	padding: 1px 0;
	}
	
.secondary ul li {
	list-style-type: none;
	list-style-image: none;
	}

ol li {
	list-style: decimal outside;
	}

.sb-links ul li {
	margin-top: 20px;
	}

.sb-links ul ul li {
	margin-top: 0;
	}

/*- Search Form and Livesearch */

#s {
	width: 12em;
	}
#s:focus {
	border-color: #666;
}
	
#searchsubmit {
	width: 3em;
}
	
/*- Login Form */

#loginform label {
	display:block;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.5em;
	color: #777;
}
#habari_username, #habari_password {
	width: 15em;
}
#habari_username:focus, #habari_password:focus {
	border-color: #666;
}

/* CSS Beyond this point is for various supported plugins and not the 'core' K2 template */


/*-
	Latest Comments
*/
.sb-comments-lc ul li span a, .sb-comments ul li small a {
	color: #999;
	font-weight: normal;
	word-spacing: -1px;
	}

.sb-comments-lc ul li {
	margin-bottom: 6px;
}

.sb-comments-lc li > a[title="Go to the comments of this entry"] {
	position: absolute;
	right:0;
	color: #999;
}

.activityentry {
	font-size: 1.1em;
	}

div#latest-comments small {
	display: block;
	margin: 0;
	font-weight: normal;
	line-height: 1em;
	}

.tag-cloud li {
	display: inline; 
	line-height: 300%;
	padding: 5px;
}

.tag-cloud a {
	color: #b41;
	background: #FFd2d3;
	padding: 5px;
	margin: 5px;
	font-size: 2em;
}

pre {
	border: 1px dotted #c0c0c0;
	border-right-width: 0px;
	overflow: auto;
	padding: 10px;
	font-size: 12px;
	line-height: 13px;
}

#counters {
   margin-top: 10px;
}

.page-selector {
	margin-top: 10px;
}

.page-selector a {
	padding: 5px;
	background: url('images/grey_gradient_2x40.jpg') bottom;
	border: 1px solid #c0c0c0;
}

.page-selector a.current-page {
	background: #CC3333;
	border-color: #CC3333;
	color: #ffffff;
}

.btable {
/*	border: 1px solid #cc3333; */
	border-collapse: collapse:
}

.btable th {
	background: url('images/grey_gradient_2x40.jpg') top;
	border-bottom: 1px solid #c0c0c0;
	padding: 3px;
}

.btable tr.even{
	background: #dfdfdf;
}

.btable td.lh {
	text-align: right;
	padding: 3px;
}

h3.entry-title {
	width: 100%;
	border-bottom: 1px dotted #c0c0c0;
	margin-bottom: 10px;
	margin-top: 0px;
	padding-bottom: 5px;
}

h3.entry-title a {
	font-size: 1.5em;
}

.favesFooter {
	display: none;
}

.favesWidget h2 {
	display: none;
}

.favesWidget h3 a {
	font-family: Helvetica, Sans-Serif; 
	font-size: 10px;
	font-weight: normal;
	text-decoration: none;
	background: #FFD2D3;
	padding: 2px;
	color: #bb4411;
}

.favesWidget ul li {
	border-bottom: 1px dotted #c0c0c0;
}
