/*
Title:		microformats styles 
*/

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: small;
	/* text-align: center; */
	color: #333;
	background-color: #CCCCCC;
	}

/* --[ links ]------------------------------- */

a:link { 
  	color: #000066;
  	text-decoration: none;
  	border-bottom: 1px dotted #68C3EE;
  	}
a:visited {
	color: #000066;
	text-decoration: none;
  	border-bottom: 1px dotted #86D9F1;
	}
a:hover {
	color: #fff;
	background-color: #0000CC;
	text-decoration: none;
	border: none;
	}
a:active { 
	background-color: #6CA300;
	}
a.more {
	padding-right: 13px;
	background-image: url(http://www.kapanga.net/ip/images/more.gif);
	background-repeat: no-repeat;
	background-position: 100% 50%;
	}

/* --[ common elements ]---------------------- */

blockquote {
	margin: 1em 0 1em 30px;
	padding: 0;
	font-size: 88%;
	line-height: 1.5em;
	color: #777;
	}
code {
	color: #7B9905;
	font-family: Monaco, monospace;
	font-size: 110%;
	line-height: 1.2em;
	text-align: left;
	}
code strong {
	color: #4E6200;
	}
abbr, acronym, .popup {
	font-style: normal;
	border-bottom: 1px dotted #999;
	cursor: help;
	}
em {
	font-style: italic;
	}
strong {
	font-weight: bold;
	}
strike, del {
	text-decoration: line-through;
	}
ins {
	text-decoration: none;
	}
address {
	margin: 0;
	padding: 0;
	font-style: normal;
	}

/* --[ layout structure ]--------------------- */

#wrap {
	position: relative;
	width: 750px;
	margin: 0 auto;
	padding: 0 0 0 0;
	text-align: left;
	background: #fff;
	border-left: 4px solid #53584A;
	border-right: 4px solid #53584A;
	/* background: #fff url(../images/greenbar-top.gif) repeat-x top left; */
	}
#content {
	float: left;
	width: 449px;
	margin: 30px 20px;
	font-size: 95%;
	line-height: 1.5em;
	}
	
#content_one_column {
	float: left;
	width: 580px;
	margin: 30px 20px;
	font-size: 95%;
	line-height: 1.5em;
}	
	
#sidebar {
	float: right;
	width: 241px;
	margin: 30px 20px 30px 0;
	color: #473C28;
	}
#footer {
	clear: both;
	font-size: 85%;
	}

/* --[ header ]------------------------------- */

#header {
	width: 100%;
	float: left;
	margin: 0;
	padding: 0;
	background-color: #FF9900;
	background-image: url(http://www.kapanga.net/ip/images/kapanga%20logo%20header.png);
	background-repeat: repeat-x;
	background-position: left;
	height: 100px;	/*
	background-position: center bottom;
	*/
	}
#header h1 {
	float: left;
	width: 144px;
	height: 36px;
	margin: 0;
	padding: 20px 20px 18px 20px;
	display:none;
	}
#header h1 a {
	border: none;
	background: none;
	}


#right_block {
	position:relative;
	float: right;
	display:inline;
	padding-top: 10px;
	padding-right: 10px;
	
}	

#right_block a{
	color: black;
}
	
	
#right_block a:link { 
  	color: #000099;
  	text-decoration: none;
  	border-bottom: 1px dotted #68C3EE;
  	}
#right_block a:visited {
	color: #0000FF;
	text-decoration: none;
  	border-bottom: 1px dotted #86D9F1;
	}
#right_block a:hover {
	color: #fff;
	background-color: #000099;
	text-decoration: none;
	border: none;
	}
#right_block a:active { 
	background-color: #6699FF;
	}	
	
	
/* --[ sub header ]------------------------------- */

#subheader {
	width: 100%;
	float: left;
	margin: 0;
	padding: 0;
	height: 46px;
	background-color: #FF9900;
	
	}
#subheader h1 {
	float: left;
	width: 144px;
	height: 36px;
	margin: 0;
	padding: 20px 20px 18px 20px;
	}
#subheader h1 a {
	border: none;
	background: none;
	}
	

/* --[ nav ]------------------------------- */

#nav { /* all lists */
	
	float: clear;
	
	margin: 0;
	list-style: none;
	line-height: 1;
	
	font-family: "Trebuchet MS", Verdana;
	font-size: 115%;
	

	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 40px;
	
}

#nav ul { /* all lists */
	
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	
}

#nav a {
	display: block;
	text-decoration: none;
	font-weight: bold;
	color: #000000;
	border: none;
	padding-top: 10px;
	padding-right: 2px;
	padding-bottom: 11px;
	padding-left: 2px;
	margin: 0;
	
}

#nav li { /* all list items */

	background-color: #FF9900;
	float: left;
	width: 6.1em;  /* width needed or else Opera goes nuts */
	margin-top: 0;
	margin-right: 5px; /* spacing between buttons */
	margin-bottom: 0;
	margin-left: 0px; /* this sets the actual li indentation within a ul tag, affects subnav */
	padding: 0;
	
}

/* --[ subnavigation ]------------------------------- */

#nav li ul { /* second-level lists */
	
	position: absolute;
	width: 6.1em;
	left: -999em;   /*  using left instead of display to hide menus because display: none isn't read by screen readers */
	padding: 0;
	margin: 0;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


/* active state */

#nav li.active {
	background-color: #FFFFFF;
	color: #000000;
	}

/* this sets the hover behavior when the button is active (should be the same as (a))*/
#nav li.active a {
	background-color: #0000CC;
	color: #FFFFFF;
	}
	
#nav li.active hover{
	background-color: #000000;
	color: #0000CC;
}


/* hover state */
#nav li:hover {
	background-color: #0000CC;
	color: #FFFFFF;
 
	}
#nav a:hover { /* a backup for IE's lack of li:hover support */
	background-color: #0000CC;
	color: #FFFFFF;
	}
	
/* (a) this sets the hover behavior for the whole nav bar */	
html>body #nav a:hover {
	background-color: #0000CC;
	color: #FFFFFF;
	}

/* --[ content styles ]------------------------------- */
	
#content h2 {
	font-family: "Trebuchet MS", sans-serif;
	font-size: 160%;
	color: #000000;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 1em;
	margin-left: 0;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	}
#content h2#home-title {
	margin-bottom: 10px;
	font-size: 140%;
	}
#content h3 {
	margin: 0 0 1em 0;
	padding: 0;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 130%;
	color: #666666;
	}
#content ul li {
	margin: 0 0 4px 0;
	padding-left: 17px;
	list-style: none;
	background: url(http://www.kapanga.net/ip/images/bullet-alt.gif) no-repeat 0 3px;
	}
#content ol.code {
	margin: 2em 0;
	padding: 10px 10px 10px 30px;
	border: 2px solid #E0E8B9;
	background: #F8F8EC;
	}
#content ol.code li {
	margin: 0 10px;
	padding: 2px 0;
	border-bottom: 1px dotted #E0E8B9;
	color: #C9D68A;
	}
#content dl {
	margin: 1em 0;
	}
#content dl dt {
	font-weight: bold;
	}
#content dl dd {
	margin: 0 0 1em 20px;
	font-size: 90%;
	line-height: 1.4em;
	}
images.figure {
	float: right;
	margin: 0 0 10px 15px;
	}

/* sub navigation */

#content ul.subnav {
	margin: 1em 0;
	padding: 5px;
	border-top: 1px solid #E0E8B9;
	border-bottom: 1px solid #E0E8B9;
	background: url(http://www.kapanga.net/ip/images/subnav-bg.gif) repeat-x top left;
	}
#content ul.subnav li {
	margin: 0 22px 0 0;
	padding: 0;
	color: #333;
	background: none;
	display: inline;
	font-weight: bold;
	}
#content ul.subnav li a {
	color: #6CA300;
	border: none;
	}
#content ul.subnav li a:hover {
	color: #fff;
	background: #6CA300;
	}

/* XML feed link */

#feed-link {
	margin-left: 4px;
	vertical-align: middle;
	border: none;
	}
a:hover#feed-link {
	background: none;
	}

/* weblog entries */

.entry {
	clear: left;
	}

#content .entry h3 {
	margin: 0 0 6px 0;
	padding: 10px 0 0 0;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 150%;
	font-weight: bold;
	border-top: 1px dotted #E0E8B9;
	}
#content .entry h3 a {
	border-bottom: none;
	}
.entry p {
	margin: 0 0 1em 0;
	padding: 0;
	}
.entry p.entry-date {
	margin: 0;
	padding: 6px 0 0 0;
	font-family: Verdana, sans-serif;
	font-size: 90%;
	color: #99A26B;
	border-top: 1px dotted #E0E8B9;
	}
#content ul.post-info {
	margin: 1em 0 0 0;
	padding: 0;
	list-style: none;
	}
#content ul.post-info li {
	float: left;
	margin: 2px 6px 2em 0;
	padding: 0;
	font-size: 90%;
	color: #666;
	background: url(http://www.kapanga.net/ip/images/nav-top.gif) no-repeat top left;
	}
#content ul.post-info a {
	float: left;
	display: block;
	padding: 2px 6px;
	text-decoration: none;
	border: none;
	color: #99A26B;
	background: url(http://www.kapanga.net/ip/images/nav-bottom.gif) no-repeat bottom right;
	}
#content ul.post-info a images {
	vertical-align: middle;
	}
#content ul.post-info a:hover {
	color: #6E7549;
	}

/* technorati tags */

#content h4.tags {
	margin: 0;
	padding: 0;
	display: inline;
	color: #7F7F4C;
	font-size: 90%;
	}
#content ul.tags {
	margin: 0;
	padding: 0;
	display: inline;
	font-size: 90%;
	color: #7F7F4C;	
	list-style: none;
	}
#content ul.tags li {
	display: inline;
	margin: 0;
	padding: 0;
	background: none;
	}
#content ul.tags li+li:before {
	margin-left: -.35em;
	content: ", ";
	}
#content ul.tags li a {
	color: #99A26B;
	border-color: #cc9;
	}
#content ul.tags li a:hover {
	color: #fff;
	background-color: #7F7F4C;
	}

/* comments */

h3#comments {
	clear: left;
	}
.com-list {
	margin: 1em 0;
	padding: 0;
	font-size: 90%;
	line-height: 1.4em;
	list-style: none;
	color: #473C28;
	}
.com-list li {
	margin: 0 0 1em 0;
	padding: 15px;
	border: 2px solid #E0E8B9;
	background: #F8F8EC;
	}
.com-list cite {
	margin: 0;
	padding: 0 0 0 24px;
	font-style: normal;
	font-weight: bold;
	font-size: 110%;
	background: url(http://www.kapanga.net/ip/images/com-bubble.gif) no-repeat 0 50%;
	}
.com-meta {
	margin: 10px 0 0 0;
	padding: 0;
	text-align: right;
	}
.com-meta a {
	color: #6CA300;
	border: none;
	}
.com-meta a:hover {
	color: #fff;
	background: #6CA300;
	}

h3#respond {
	clear: left;
	margin-top: 2em;
	}

/* blog archive link */

h3#archive-link {
	clear: left;
	padding-top: 10px;
	font-family: Verdana, sans-serif;
	font-size: 100%;
	font-weight: bold;
	color: #333;
	border-top: 1px dotted #E0E8B9;
	}

/* --[ sidebar ]------------------------------- */

#content_one_column  h2{
	margin: 0 0 1em 0;
	padding: 0;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 160%;
	color: #000000;

}

#content_one_column  h3{
	margin: 0 0 1em 0;
	padding: 0;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 130%;
	color: #666666;

}


/* rounded box style */

.box {
	width: 241px;
	margin: 0 0 14px 0;
	
	/*
	background: #F8F8EC url(../images/box-tile.gif) repeat-y top left;
	*/
	}
.box-inner {
	background-color: #E9E9E9;
	
	/* affects bottom part of the box
	background-image: url(../images/box-bottom.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
	*/
	}
	
.box-inner li.digg{
	background-image: url(http://www.kapanga.net/ip/images/digg.gif);
	background-repeat: no-repeat;
}	
	
.box-inner li.delicious{
	background-image: url(http://www.kapanga.net/ip/images/delicious.gif);
	background-repeat: no-repeat;
}	

.box-inner li.technorati{
	background-image: url(http://www.kapanga.net/ip/images/technorati.gif);
	background-repeat: no-repeat;
}	
	
.box h3 {
	margin: 0;
	padding: 15px 18px 0 18px;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 110%;
	color: #E97E00;
	/* background: url(../images/box-top.gif) no-repeat top left; */
	}
.box p, .box ul, .box ol, .box dl, .box form {
	margin: 0;
	padding: 1em 18px 18px 18px;
	font-size: 0.85em;
	line-height: 1.4em;
	}
.box ul li {
	margin: 0 0 2px 10px;
	padding-left: 21px;
	list-style: none;
	/* font-size: 0.85em; */
	/* background: url(../images/bullet-alt.gif) no-repeat 0 3px; */
	}
.box dl dt {
	margin: 0 0 2px 0;
	font-weight: bold;
	}
.box dl dd {
	margin: 0;
	padding: 0;
	}
	
	

/* vevents */

#events-list li {
	margin-bottom: 1em;
	list-style: none;
	}
#events-list li.last {
	margin-bottom: 0;
	}
#events-list li abbr {
	border: none;
	}

/* about box */

#about-logo {
	float: right;
	padding: 8px 2px 8px 10px;
	}

/* microformats list */

.box dl#mf-list {
	margin-left: 10px;
	}
.box dl#mf-list dt {
	margin: 0;
	padding-left: 15px;
	font-weight: normal;
	background: url(http://www.kapanga.net/ip/images/bullet-alt.gif) no-repeat 0 3px;
	}
.box dl#mf-list dd {
	margin: 0 0 8px 15px;
	}

/* search form */

.box #search {
	margin: 0;
	padding: 18px;
	background: url(http://www.kapanga.net/ip/images/box-top.gif) no-repeat top left;
	}
#search input {
	vertical-align: middle;
	}
#search-text {
	width: 130px;
	}

/* --[ footer ]------------------------------- */

#footer {
	margin: 0;
	padding: 0 0 28px 0;
	color: #473C28;
	text-align: center;
	/*background: #F8F8EC url(../images/footer-bottom.gif) no-repeat bottom left;*/
	}
#footer p {
	margin: 0 20px 0 20px;
	padding: 20px;
	line-height: 1.4em;
	background: url(http://www.kapanga.net/ip/images/footer-top.gif) no-repeat top left;
	}
#footer-feed {
	padding-left: 27px;
	background-image: url(http://www.kapanga.net/ip/images/xml.gif);
	background-repeat: no-repeat;
	background-position: 0 50%;
	}
#footer a {
	color: #6CA300;
	border: none;
	}
#footer a:hover {
	background-color: #E0E8B9;
	}
#footer li {
	list-style: none;
	float: left;
	margin: 0 30px 0 0;
	padding: 0 0 0 0;
}

/* --[ misc ]------------------------------- */

a images { 
	border: none;
	}
.hide {
	display: none;
	}
images#mf-diagram { 
	border: none;
	}
