/*  
Theme Name: NinjaMonkeys
Theme URI: http://ninjamonkeys.co.za
Description:  A version of Hemingway (http://warpspire.com/hemingway) widgetized for Wordpress 2.2+ <br /><strong>This theme requires WordPress 2.2+</strong></a>.
Version: 0.20
Author: Vaughn Dickson
Author URI: http://ninjamonkeys.co.za
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

body{
	background:#272727;
	color:#BFBFBF;
	font-size:11px;
	font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
}

/* This class sets the width and position for all rows */
.inside{
	width:80%;
	min-width:65em;
	max-width:85em;
	margin:0 auto;
}

a{
	color:#FFF;
}

h1{
	color:#CCC;
	font-size:1.5em;
	font-weight:normal;
	margin:1.5em 0;
}

h2, h3{
	font-size:1.15em;
	color:#FFF;
	font-weight:normal;
}
#primary h2{
	color:#CCC;
}

p{
	line-height:1.75em;
}

ul li{
	list-style-type:square;
	margin:0.5em 0 0.5em 1em;
}

blockquote{
	margin-left:1em;
	padding-left:1em;
	border-left:2px solid #CCC;
	color:#CCC;
}

pre{
	width:100%;
	padding:1em 0;
	overflow:auto;
	border-top:1px dotted #333;
	border-bottom:1px dotted #333;
}

table{
	width:100%;
	border-spacing:2px;
	margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
	background:#CCC;
	color:#000;
	text-align:left;
}
table td{
	background:#333;
	color:#FFF;
}
table caption{
	text-align:left;
	color:#FFF;
	margin-bottom:-1em;
	margin-top:1em;
}

.rule{
	border-top:1px solid #CCC;
	height:1px;
	font-size:1px;
	line-height:1px;
	margin:1.5em 0;
}

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header{
	background:#000;
}
#header .inside{
	padding:3em 0;
}

#header h2{
	font-size:2.25em;
	margin:0 0.5em 0 0;
	padding:0 0.5em 0.25em 0;
	border-right:1px solid #808080;
	float:left;
}
#header h2 a{ text-decoration:none; }

#header p{
	padding:1em 0;
	margin:0;
	line-height:1em;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/

#primary{
	background:#000;
	padding:1px 0 2em 0;
	color:#808080;
}

#primary.onecol-stories .primary{
	float:left;
	width:50%;
}
#primary.onecol-stories .secondary{
	float:right;
	width:40%;
	margin:0 0 0 10%;
}

#primary.twocol-stories .story{
	float:left;
	width:47%;
	margin:0 0 0 4%;
	display:inline;
}
* html #primary.twocol-stories .story{
	margin-left:2%;
}
#primary.twocol-stories .first, * html #primary.twocol-stories .first{
	margin:0 0 0 0;
}

.story h3{
	font-size:1.15em;
	margin:0 0 1.5em 0;
	font-weight:normal;
	color:#CCC;
}
.story h3 a{
	color:#CCC;
	text-decoration:none;
	border-bottom:1px dotted #666;
}

.story .details{
	margin:1em 0;
	text-align:right;
	border-top:1px solid #333;
	padding:0.5em 0;
	font-size:0.95em;
	color:#666;
}
.story .details .read-on{
	background:url(images/readon_black.gif) 100% 60% no-repeat;
	padding-right:20px;
	display:block;
}
.story .details a{
	color:#666;
	text-decoration:none;
}
.story .details a:hover{ color:#FFF; }

/* Single Post Styles */

#primary .primary{
	float:right;
	width:65%;
}
#primary .secondary{
	float:right;
	width:30%;
	margin-right:5%;
	padding-top:0.65em;
	display:inline;
}
* html #primary .secondary{ margin-right:3%; }

.secondary .featured p{
	border-bottom:1px solid #333333;
	border-top: 1px solid #333333;
	padding:0.5em 0 0.6em 0;
	line-height:1.5em;
	margin:1em 0 0 0;
}
.secondary .featured dl{
	margin:0 0;
	border-bottom:1px solid #333333;
	padding:0.5em 0 0.6em 0;
}
.secondary dt{
	display:inline;
	margin:0;
	padding:0;
	color:#AAA;
}
.secondary dd{
	display:inline;
	margin:0;
	padding:0;
}
.secondary dd a{ color:#808080; }
.secondary dd a:hover{ color:#FFF; }

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
	background:#0C0C0C;
	padding:1px 2em;
	border-top:1px solid #1C1C1C;
}

.comment-head{
	border-bottom:1px solid #1C1C1C;
	padding:0.8em 2em 1.0em 2em;
}
.comment-head h2{
	font-size:1.5em;
	margin:0;
}
.comment-head a{
	text-decoration:none;
	color:#868686;
}
.comment-head .details{
	font-size:0.95em;
}

ol#comments{
	list-style-type:none;
	margin:2em 0;
}
ol#comments li{
	list-style-type:none;
	margin:2em 0;
}

#comments cite{
	float:left;
	width:31%;
	font-style:normal;
	text-align:right;
}
* html #comments cite{ width:30.6%; }
#comments cite span{
	display:block;
}
#comments cite .author{ font-size:1.2em; }
#comments cite .author a{
	text-decoration:none;
}
#comments cite .admin-tools{
	margin:5px 0;
}
#comments cite .admin-tools a{
	float:right;
	margin:0 5px;
	padding:0px 3px 3px;
	background:#666;
	border:1px solid #999;
	text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
	margin:1em 0;
	padding:0.5em;
	border:1px solid #333;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
	display:block;
	padding-top:68px;
	background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
	float:left;
	width:60%;
	margin-left:1.9%;
	border-left:1px solid #868686;
	padding: 0 0 0 2%;
}
#comments .content p{
	margin:0 0 1em 0;
}
#comments .content h3{
	margin:0;
	font-size:1em;
}

#comment-form{
	margin:5em 0 5em 35.4%;
	width:36em;
}
input.textfield{
	width: 15em;
	margin:5px 0;
}
textarea.commentbox{
	width:28em;
	height:10em;
	padding:0.25em;
	margin:5px 0;
	font-size:1.25em;
	font-family:Arial, Helvetica, sans-serif;
}
label.text{
	position:relative;
	left:0.5em;
	top:-0.5em;
}
.formactions input.submit{ 
	float:right; 
	margin:-1em 0 0 0;
	padding:0 0.5em;
}
.formactions .spinner{
	float:right;
	margin:-8px -20px 0 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#ancillary{
	padding:2em 0 0 0;
}
#ancillary .block{
	float:left;
	width: 29.9%;
	padding: 0;
	margin:0 0 0 5%;
}
* html #ancillary .block{
	margin-left:3.9%;
}
#ancillary .twice-length{ width:65%; }
#ancillary .thrice-length{ width:100%; }
#ancillary .first, * html #ancillary .first{
	clear:both;
	margin:0;
}
#ancillary .block-separator{
	clear:both;
	height:2.5em;
}

#ancillary .block h2, #ancillary .block h3{
	margin:0 0 2em 0;
}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
	list-style-type:none;
	margin:1.5em 0 2em 0;
	border-top:1px solid #3D3D3D;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
	list-style-type:none;
	margin:0;
	padding:0.5em 0;
	border-bottom:1px solid #3D3D3D;
}
ul.dates .date{
	color:#858585;
	padding:0 1.5em 0 0;
}

ul.counts .count{
	float:right;
	color:#858585;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	color:#BFBFBF;
	text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
	color:#FFF;
}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
	list-style-type:none;
	margin:0;
}

ul.pages ul{
	margin:0;
}
ul.pages ul li{
	border:none;
	margin-left:2em;
	list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
	clear:both;
	color:#939393;
	margin:2em 0 3em 0;
}
#footer .inside{
	background:url(images/footer_black.gif) 50% 0 repeat-x;
	padding:1em 0;
}
#footer p{
	margin:0;
	font-size:0.90em;
}
#footer p.copyright{ 
	float:left; 
	color:#525252;
}
#footer p.copyright a{
	color:#525252;
}
#footer p.copyright a:hover{
	color:#FFF;
}
#footer p.attributes{ float:right; }
#footer p.attributes a{
	padding:0 0 0 1em;
	text-decoration:none;
	color:#525252;
}
#footer p.attributes a:hover{
	color:#FFF;
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
	float:right;
	width:200px;
	margin:1em 0 0 0;
	text-align:right;
}
#search .searchimg{
	float:left;
	width:14px;
	height:13px;
	background:url(images/search.gif) 0 0 no-repeat;
	position:relative;
	top:4px;
}
#search input{ 
	width:175px; 
	font-size: 0.85em; 
	background:#CCC;
	margin-top:2px;
}
#search input:focus{
	background:#FFF;
}

#searchform{
	margin:1em 0;
}

#searchform #s{
	background:#222;
	border:none;
	border-bottom:1px solid #333;
	width:30em;
	color:#666666;
	padding:0.25em;
}

#searchform #searchsubmit{
	background:#000;
	color:#666;
	border:none;
	font-size:0.9em;
	text-transform:uppercase;
	letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
	width:30%;
	background:#333;
	padding:0 0 0 0;
	float:right;
	border-top:1em solid #000;
}
#search-results h3{
	font-weight:bold;
	text-align:left;
	margin:0;
	padding:0 0 1em 0;
	background:#000;
	
}
#search-results small{
	display:block;
	text-align:left;
	font-size:0.9em;
	padding:0.5em 1em 0.7em 1em;
	border-top:1px solid #666;
	border-bottom:1px solid #555;
}
#search-results small a{
	color:#CCC;
}
#search-results ul li{
	list-style-type:none;
	padding:0 1em 0.5em 1em;
	margin:0.5em 0;
}
#search-results ul li:hover{
	background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
	text-decoration:none;
	border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
	margin:0 7px 0 0;
	top:1px;
}

.block ul {
        list-style-type:none;
        margin:1.5em 0 2em 0;
        border-top:1px solid #3D3D3D;
}

.block ul li {
        list-style-type:none;
        margin:0;
        padding:0.5em 0;
        border-bottom:1px solid #3D3D3D;
}

.block ul li .date {
        padding:0 1.5em 0 0;
        color:#CCC;
}

.block ul li a {
	color:#CCC;
	text-decoration:none;
}

.block ul li a:hover {
	color: #FFF;
}

/*
 * style/white.css
 * */
body, #primary{
	color:#444;
}
#header, #primary{
	background:#FFF;
}

#secondary{
	background:#F3F3F3;
}

body, #ancillary{
	background:#E5E5E5;
}
#ancillary{
	border-top:1px solid #D5D5D5;
}

a, .story .details a, .story .details a:hover{
	color:#000;
}
.story .details a:hover{
	text-decoration:underline;
}
.story .details{ border-top:1px solid #7F7F7F; }

h1, h2, h3{ color:#000; }

#primary h2{ color:#333; }

blockquote{ color:#333; }

table th{ color:#FFF; background:#333; }
table td{ color:#000; background:#EAEAEA; }

#header h2{ border-right:1px solid #7F7F7F; }

.secondary .featured p{
	border-bottom:1px solid #CCC;
	border-top: 1px solid #CCC;
}
.secondary .featured dl{
	border-bottom:1px solid #CCC;
}
.secondary dd a{ color:#7F7F7F; }
.secondary dd a:hover{ color:#000; }


.secondary .featured dt{
	color:#333;
}
#primary .story h2, #primary .primary h2, #primary .single-story .primary h3, .story h3, .story h3 a{
	color:#333;
}

#secondary{
	border-top:1px solid #E3E3E3;
}
.comment-head{
	border-bottom:1px solid #E3E3E3;
}

ul.dates, ul.counts, ul.blogroll li ul, ul.pages{
	border-top:1px solid #C2C2C2;
}
ul.dates li, ul.counts li, ul.blogroll li ul li, ul.pages li{
	border-bottom:1px solid #C2C2C2;
}
ul.dates .date, ul.counts .count{
	color:#7A7A7A;
}
ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	color:#404040;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ color:#000; }

#footer{ color: #666; }
#footer a, #footer p.attributes a{
	color:#333;
}
#footer a:hover, #footer p.attributes a:hover{ color:#000; }


/* Images */
/*
#footer .inside{
	background:url(white/footer.gif) 50% 0 repeat-x;
}
#search .searchimg{
	background:url(white/search.gif) 0 0 no-repeat;
}
*/
.block ul {
        list-style-type:none;
        margin:1.5em 0 2em 0;
        border-top:1px solid #3D3D3D ! important;
}

.block ul li {
        list-style-type:none;
        margin:0;
        padding:0.5em 0;
        border-bottom:1px solid #3D3D3D ! important;
}

.block ul li .date {
        padding:0 1.5em 0 0;
        color:#000 ! important;
}

.block ul li a {
	color:#000 ! important;
	text-decoration:none;
}

.block ul li a:hover {
	color: #F00 ! important;
}


/* custom settings. */

body{
	font-size:16px;
	font-family: 'Hiragino Kaku Gothic Pro W3','ヒラギノ角ゴ Pro W3','メイリオ', 'Verdana',sans-serif;
}

.inside {
	width: 90%;
}

h1.title {
	font-size:1.9em;
	font-weight:bold;
	margin:2.0em 0;
	display:inline;
	position: relative;
}

#primary.onecol-stories .secondary{
	float: left;
}

#primary.twocol-stories .story{
	width:100%;
	display:block;
}
.story {
	margin-left: 4%;
}
#primary .primary{
	float:left;
	width:85%;
}
#primary .secondary{
	float:left;
	margin-right:2%;
	display:block;
}

.secondary .featured p{
	display: none;
}
.single-post h1 a {
	text-decoration: none;
	border-bottom: 0px dotted;
}

.adsence {
	width: 740px;
}

code {
	font-family: courier, serif;
	padding-left: 0.2em;
	padding-right: 0.2em;
}

pre{
	width:100%;
	padding:1em 0;
	padding-left: 1em;
	overflow:auto;
	border-top:1px dotted #333;
	border-bottom:1px dotted #333;
	background: #eee;
}

pre code {
	display: block;
	line-height:1.4em;
	font-size: 80%;
}

.secondary h2 {
	font-size: 1.5em;
	margin-bottom: 0.2em;
}

h1, h2, h3, h4, h5, h6 {
	position: relative;
	left: -0.4em;
}

h2, h3, h4, h5, h6 {
	margin-bottom: 0.8em;
}


p {
	margin-top: 0.2em;
}

h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.2em;
}

blockquote {
	background: #f3f3f3;
}

body div {
	padding-left: 1em;
}

#header h2{
	/*font-weight:bold;*/
}

#primary .secondary{
	width:26%;
}

#primary #related {
	width: 60%;
}

#related li {
	list-style-type:none;
}

h2 a {
	border-bottom: 0;
}

em {
	font-weight:bold;
	padding-left: 0.1em;
	padding-right: 0.2em;
}
em.color {
	color: #f08;
	font-weight:bold;
}

#primary .primary {
	margin-bottom: 2em;
}

body, #primary{
	color:#000;
}

.primary dl dd {
	margin-bottom: 1.2em;
	margin-left: 1.2em;
}
.primary dl dt {
	margin-bottom: 0.2em;
	font-size:18px;
}
#search .searchimg{
	background:url(styles/white/search.gif) 0 0 no-repeat;
}
#footer .inside{
	background:url(styles/white/footer.gif) 50% 0 repeat-x;
}
#primary h2{ color:#000; }

h4, h5, h6 {
	font-weight: normal;
}

h1.title a {
	font-weight: bold;
	text-decoration: none;
	border-bottom: 0px dotted;
}

#primary.twocol-stories .story{
	width:82%;
	display:block;
}

h1.title + * {
	margin-top: 3.5em;
}

.note {
	background: #f8f8f8;
	-moz-border-radius: 6px 6px ;
	-webkit-border-radius: 6px 6px ;
	padding: 1em;
	margin: 1em;
	border: 1px dotted #f0f0f0;
}

pre {
	white-space:-moz-pre-wrap;
	white-space:-pre-wrap;
	white-space:-o-pre-wrap;
	white-space:-webkit-pre-wrap;
	white-space:pre-wrap;
}

blockquote{
	padding-top: 0.8em;
	padding-bottom: 0.3em;
	font-size: 18px;
	border-left: none;
	-moz-border-radius: 2px 2px ;
	-webkit-border-radius: 2px 2px ;
	border: 1px dotted #ddd;
	border-left: 4px solid #ddd;
	color: black;
}

/*
a {
	color:#00A0FF
}

*/


img.border {
	border: 1px solid #aaa;
	margin: 1em;
}

.embed {
	margin: 0.5em;
}


a {
	padding-left: 0.2em;
	padding-right: 0.2em;
}

.adsence {
	margin: 1em;
}

div.identities {
	padding-left: 0px;
}
div.identities div {
	padding-left: 0px;
}

del {
	opacity: 0.3;
	font-size: 75%;
}

#header h2{
	/*display: none;*/
	border-right:0 none;
}

blockquote pre {
	width:95%;
}

body.page.iview h1 {
	display: none;
}


body.page.iview pre {
	-moz-border-radius: 0.7em;
	-webkit-border-radius: 0.7em;
}
body.page.iview h2 span {
color: black;
	   font-size: 46px;
}
body.page.iview pre {
border: 0 none;
}
body.page.iview #aus {
display: none;
}

sup a {
	text-decoration: none;
}

ul.references li{
	list-style-type: none;
}

q {
	font-size: 105%;
	margin-left: 0.4em;
	margin-right: 0.4em;
}
#primary dl dt {
	margin-bottom: 0.2em;
	font-size:18px;
}

#primary dl dd {
	margin-bottom: 1.2em;
	margin-left: 1.2em;
}
ul {
	margin: 0;
}

h3, h4, h5 {
	font-weight: bold;
}

a.footnote {
	vertical-align: super;
	font-size: x-small;
}

ol.footnote {
	font-size: small;
	background: #f8f8f8;
	-moz-border-radius: 6px 6px ;
	-webkit-border-radius: 6px 6px ;
	padding: 1em;
	margin: 0em;
}
ol.footnote li {
	margin-left: 2em;
}

.magenda {
	color: #f08;
}

blockquote cite a {
	margin-left:1em;
	margin-top:1em;
	display:block;
}

.iphone-app h4 {
	top: 10px;
	color: #333;
	left: 10px;
	padding: 0;
}
.iphone-app-icon {
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;

	width: 100px;
	height: 100px;
	padding: 0;
	display: block;
}

.em-color {
	font-weight: bold;
	color :#f08;
}

 /*#336633*/



