/*
Theme Name: njyo.net
Theme URI: http://njyo.net/
Description: Theme for njyo.net
Version: 1.0
Author: Wolfgang Maehr
Author URI: http://njyo.net/
Tags: 

	ToDo: Add license.
	
	#990F0F "red"
	#0F6B99 "dark blue"
	#148FCC "bright blue"
	#191919 "dark grey"
	#E5E5E5 "bright grey"

*/

@font-face { font-family: Gentium; src: url('resources/fonts/GenBasR.ttf');}
@font-face { font-family: Gentium; font-weight: bold; src: url('resources/fonts/GenBasB.ttf');}
@font-face { font-family: Gentium; font-style: italic; src: url('resources/fonts/GenBasI.ttf');}

/* overall styles */
html, *{
	margin:0;
	padding:0;
	text-decoration: none;}

body {
	font: 1em "Gentium", "Georgia", serif;
	line-height: 1.4em;
	/*font: 0.875em "Gentium", "Georgia", serif;*/
	/*line-height: 1.225em;*/
	/*color: #191919;*/
	color: #444;
	/*background-color: #fcfcfc;*/
	background-color: #ffffff;}
p, th, td, li {
	line-height: 1em;}
a {
	font-family: "Optima", "Helvetica Neue", Arial, sans-serif;
	color: #148FCC;
	font-weight: normal;}
a:hover {color: #0f6b99;}
div.entry a, li.comment a, #error a, #portfolio div.project dd a {
	font-family:  "Gentium", "Georgia", serif;
	text-transform: none;}

h1, h2, h3, h4, h5, h6, b, .note, li a, li#header, li#title, input, textarea, label {
	font: 1em "Optima", "Helvetica Neue", Arial, sans-serif;
	text-transform: lowercase;}
h1, h1 a, h2, h2 a, h3, h4, h5, h6, b {
	color: #990f0f;
	font-weight: 600;}
img {
	border: 1px solid #e5e5e5;
	border-radius: 5px;
	box-shadow: 2px 2px 2px #888;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 2px 2px 2px #888;
	-webkit-box-shadow: 2px 2px 2px #888;}
img.size_full {
	padding: 10px;}
img.size_thumb {
	width: 150px;
	padding: 4px;
	opacity: 0.5;
	transition: opacity, border .2s;
	-moz-transition: opacity, border .2s;
	-o-transition: opacity, border .2s;
	-webkit-transition: opacity, border .2s;}
img.size_thumb:hover {
	opacity: 0.8;
	border: 1px solid #990f0f;
	transition: opacity, border .2s;
	-moz-transition: opacity, border .2s;
	-o-transition: opacity, border .2s;
	-webkit-transition: opacity, border .2s;}

.note {
	color: #b2b2b2;
	font-size: smaller;}
.download:before {
	content: "\2193\00a";}
.video:before {
	content: "\03A5\00a";}

textarea, input {
	/*line-height: 1.4em;*/
	border: 1px solid #b2b2b2;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 4px;}
input#submit {
	background: #e5e5e5;
	color: #444;
	cursor: pointer;
	display: inline-block;
	white-space: nowrap;}
input#submit:hover {
    background: #0f6b99;
    color: #ffffff;}
li {
	list-style: inherit;}


/* basic grid layout */
#page {
	width: 700px;
	margin: 0 auto;}

.one_col, .two_col, .three_col, .four_col, .five_col, .six_col, .eight_col {
	float: left;
	margin-right: 20px;}
.one_col   {width:  70px;}
.two_col   {width: 160px;}
.three_col {width: 250px;}
.four_col  {width: 340px;}
.five_col  {width: 430px;}
.six_col   {width: 520px;}
.eight_col {width: 700px;}

.left_panel {
	text-align: right;}

/* header */
#top {
	position: relative;
	height: 8em;
	display: table;
	margin-right: 20px;}
#top h1 {
	//display: none;
	font-size: medium;
	font-weight: normal;}
#top ul{
	display: table-row;}
#top li{
	display: table-cell;
	vertical-align: bottom;
	border-bottom: 3px double #b2b2b2;
	width: 160px;
	padding-right: 20px;}
#top li:last-child, #top li:first-child, #top li#spacer {
	padding-right: 0;}
#top li#header {
	text-align: right;}
#top li#header span, #top li#title {
	font-weight: 500;
	color: #b2b2b2;}
#top li#spacer {
	width: 20px;
	border: 0;}
#top li#prev_next{
	text-align: center;}
#top li#back{
	text-align: right;}
#sub{
	height: 1.6em;
	padding-top: 0.4em;
	text-align: right;
	font-size: smaller;}
#footer{
	height: 6em;
	margin-top: 2em;
	border-top: 1px solid #b2b2b2;
	padding-top: 0.4em;
	text-align: right;}

/* left panel */
.menu li {
	list-style: none;
	/*line-height: 1.2em;*/}
.menu li.current_page_item a {
	color: #990f0f;}
	
/* main contents area */
.contents {
	margin-right: 0;}
.contents .post, #error ul {
	margin-top: 2em;
	clear: both;}
.contents .post:first-child {
	margin-top: 0;}
.contents h2 {
	margin: 0.2em 20px 0.2em 0;}

/* single blog entry page */
#blog_entry .entry p, #blog_entry .entry div, #blog_entry .entry table, #blog_entry .entry ol, #blog_entry .entry ul, #error ul, #blog_page p {
	margin-bottom: 1em;}
#blog_entry .entry table {
	border: 3px double #b2b2b2;
	border-collapse: collapse;}
#blog_entry .entry table tr {border: 1px solid #f2f2f2;}
#blog_entry .entry table td {
	height: 100%;
	vertical-align: top;
	padding: 0.4em 1em 0.1em 1em;
	margin: 0;}
#blog_entry .entry ul, #blog_entry ol, #error ul {
	list-style: inside circle;}
#blog_entry .entry ul li {
	margin-bottom: 0.5em;}
#blog_entry .entry  p:last-child:after {
	content: "\0000a0\2234";}
#blog_entry h2 + .note, #blog_page h2 + .note {
	width: 100%;
	margin-bottom: 2em;
	text-transform: lowercase;}
#blog_entry h3 {
	text-transform: lowercase;
	margin-top: 4em;}
#blog_page dd {
	padding-left: 20px;}

/* styling comments */
.commentlist li {
	list-style: none;
	border: 1px solid #e5e5e5;
	padding: 1em 20px 1em 20px;
	margin-bottom: 1em;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;}
.commentlist li:first-child {margin-top: 1em;}
.commentlist li div {
	text-transform: lowercase;
	margin-bottom: 0.5em;}
.commentlist li:before {
/*	float: left;
	content: "\2118";
	color: #b2b2b2;*/}
.commentlist li p {
	margin: 0 1em;}
.author {font-style: normal; color: black;}

/* styling comment box */
#comments #respond {
	margin-top: 1em;}
#comments #respond textarea, #comments #respond input, #comments #respond p {
	margin: 0 0 0.5em 20px;
	width: 330px;
	float: left;}
#comments #respond p {
	line-height: 1.4em;}
#comments #respond label {
	margin: 0 0 0.5em 0;
	padding-top: 0.3em;}
#comments #respond input#submit {
	width: 160px;
	margin-left: 180px;}
    
/*styling of archive page */
#archive div {
	padding-bottom: 1em;
	margin-bottom: 1em;}
#archive form {
	clear: both;}
#archive div.six_col {
	border-bottom: 1px solid #e5e5e5;}
#archive form input.four_col {
	width: 330px;}
#archive form input.two_col {
	width: 158px;}
#archive .two_col:last-child {
	margin-right: 0;}
#archive li {
	list-style: none;}
#archive h3 {
	color: #444;}
#archive li ul {
	margin-bottom: 1em;}
#archive li li {
	padding-left: 20px;}
#archive .four_col h2 {
	margin-top: 2em;}
#archive .four_col h2:first-child {
	margin-top: 0;}
#archive #older span:after {
	content: "\00a\022C5 ";}
#archive #older span:last-child:after {
	content: "";}

/*specific pages*/
#about .boxed {
	color: #999;
	padding: 1em 20px 1em 20px;
	clear: both;
	margin: 1em 0;
	border: 1px solid #e5e5e5;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 2px 2px 2px #888;
	-moz-box-shadow: 2px 2px 2px #888;
	-webkit-box-shadow: 2px 2px 2px #888;}
#about .boxed:hover {
	color: #444;
	border: 1px solid #b2b2b2;}
#about .boxed h2 {
	color: inherit;}
#about .three_col:last-child {margin-right: 0;}
#portfolio div.project {
	margin-top: 2em;}
#portfolio div.project + .note {
	margin-top: 3em;}
#portfolio div.project:first-child {
	margin-top: 0;}
#portfolio div.project h2 {
	margin-bottom: 0.5em;}	
#portfolio div.project dt {
	margin-top: 1em;
	font-weight: bold;}
#portfolio div.project dd ul {
	list-style: inside circle;}
#portfolio div.project dd li {
	margin-bottom: 0.5em;
	line-height: inherit;}
/*#portfolio div.project dd .download:before {
	content: "\2193\00a";}*/
#portfolio a.img_thumb {margin-right: 20px;}
#portfolio a.img_thumb:last-child {margin-right: 0;}
