/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Font definitions */

@font-face {
	font-family: OpenSans;
	src: url('http://krakonos.org/font/OpenSans-Bold.ttf') format('truetype');
	/* src: url('http://krakonos.org/font/OpenSans-Bold.eot?#iefix'), url('http://krakonos.org/font/OpenSans-Bold.ttf') format('truetype'); */
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: OpenSans;
	src: url('http://krakonos.org/font/OpenSans-BoldItalic.ttf') format('truetype');
	/* src: url('http://krakonos.org/font/OpenSans-BoldItalic.eot?#iefix'), url('http://krakonos.org/font/OpenSans-BoldItalic.ttf') format('truetype'); */
	font-weight: bold;
	font-style: italic;
}
@font-face {
	font-family: OpenSans;
	src: url('http://krakonos.org/font/OpenSans-Regular.ttf') format('truetype');
	/* src: url('http://krakonos.org/font/OpenSans-Regular.eot?#iefix'), src: url('http://krakonos.org/font/OpenSans-Regular.ttf') format('truetype'); */
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: OpenSans;
	src: url('http://krakonos.org/font/OpenSans-Italic.ttf') format('truetype');
	/* src: url('http://krakonos.org/font/OpenSans-Italic.eot?#iefix'), url('http://krakonos.org/font/OpenSans-Italic.ttf') format('truetype'); */
	font-weight: normal;
	font-style: italic;
}

body {
	margin: 0;
	padding: 0;
	font-family: OpenSans;
	font-style: normal;
	font-weight: normal;
	background: url('http://krakonos.org/img/sandpaper.gif');
	font-size: 15px;
	line-height: 20px;
}

/* Generic hypertext style */

a {
	text-decoration: none;
}

/* Generic heading style */

h1, h2, h3 {
	margin-top: 1em;
}

h1 + h2, h2 + h3, h3 + h4 {
	margin-top: 8px;

}

h1, h2, h3, h4, h5, h6 {
	text-shadow: 1px 1px 1px #D6D6D6;
}

h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 16px; }

/* Header style */

div#header {
	display: inline-block; /* Block does not work */
	margin-top: -3px;
	background: url('http://krakonos.org/img/npn.png') no-repeat;
	height: 100px;
}

div#header * {
	margin-left: 90px;
}

div#header h1 {
	margin-bottom: 12px;
	font-size: 40px;
}

div#header h2 {
	font-size: 12px;
	color: #aaa;
}

/* Main menu style */

div#mmenu {
	border-top: 5px solid #138900;
	background-color: #242424;
	padding-left: 50px;
}

div#mmenu a {
	display: inline-block;
	color: #ff9c00;
	padding: 1em;
	font-weight: bold;
	font-style: italic;
}

div#mmenu a:hover {
	/*background-color: #4284d3; */
	/*background-color: #138900;*/
	color: #eee;
}

div#mmenu div.fright {
	float: right;
}

/* Page style */

div#page {
	margin-left: 50px;
	margin-right: 50px;
	min-height: 600px;
}

/* Foot style */

div#foot {
	border-top: 2px dashed #aaa;
	line-height: 1.5;
	text-align: center;
	margin-top: 3em;
}

div#foot div.toe {
	display: inline-block;
	color: #333;
	text-align: left;
	padding-bottom: 1em;
	float: left;
	margin: 10px;
}

div#foot div.toe h2 {
	font-size: 18px;
	font-weight: bold;
}

div#foot div.toe h3 {
	font-weight: bold;
}

/* Paragraph style */

article p{
    margin: 15px 0 15px 0;
	text-indent: 3em;
}

article p em {
	font-weight: bold;
	font-style: italic;
}

article ul, article ol {
    margin: 0 4em 0 4em;
}

article ul {
    list-style: disc;
}

article ol {
    list-style: upper-greek;
}

/*p + * {
	margin-top: 30px;
}*/

div.alignCenter {
	text-align: center;
}

div.alignCenter table {
	margin: 0 auto 0 auto;
	text-align: left;
}

table td.right, table th.right {
	text-align: right;
}

table td.center, table th.center {
	text-align: center;
}

/* Images */
a img.lightboxThumbnail {
	padding: 4px;
	margin: 0.5em;
	-webkit-box-shadow: 2px 2px 3px 3px rgba(0,0,0,0.25);
	box-shadow: 2px 2px 3px 3px rgba(0,0,0,0.25);
}

/* Code style, adjusting font and box style. */

pre.chroma {
	background-color: #eee;
	border: 1px dashed #ccc;
	padding: 5px;
}

code {
	font-family: courier;
}

/* Tables */
table tr th {
	background-color: #e9e9e9;
	font-weight: bold;
	text-align: left;
}

table tr td, table tr th {
	padding: 5px;
}

table, table tr, table tr td, table tr th {
	border: 1px solid #ccc;
}

/* Page index */
div#page div.indexItem {
	margin-top: 1em;
	padding: 0.5em;
	border: 1px solid #ccc;
	background-color: white;
	min-height: 130px;
}

div#page div.indexItem span.published {
	font-size: 90%;
	color: #888;
	float: right;
	margin-top: -1em;
}

div#page div.indexItem a {
	font-size: 130%;
	color: black;
	text-decoration: underline;
	display: block;
}

div#page div.indexItem p {
	text-indent: 0px;
	
}

div#page div.indexItem img {
	/*height: 100px; */
	margin: 5px;
	border: 2px solid #ccc;
	float: left;
}

/* Misc styles */
.overline     { text-decoration: overline; }
.underline    { text-decoration: underline; }
.line-through { text-decoration: line-through; }
sub { 
	vertical-align: sub;
    font-size: smaller;
}
