/*==================================================
Template:	OWMX-4
Resource:	http://www.owmx.com/
Version:	1.0
Date:	2010-09-14
Editor:	Jonas Jacek
License:	CC Attribution-Share Alike 3.0 Unported	
==================================================*/

/* Reset */
header, footer, article, article-wide, nav, section, aside, time, hgroup {
	display : block;
}
html, body, header, footer, article, nav, section, aside, time, h1, h2, h3, p, a, ul, li, dl, dd, dt, table, thead, tfoot, tbody, th, tr, td {
	border : 0;
	font : 12px/22px Verdana, sans-serif;
	margin : 0;
	outline : 0;
	padding : 0;
}

/* BASICS */
BODY {
	background : -webkit-gradient(linear, left bottom, left top, color-stop(0.01, rgb(238,238,238)), color-stop(1, rgb(221,221,221)));
	background : -moz-linear-gradient(center bottom, rgb(238,238,238) 1%, rgb(221,221,221) 100%);
	margin : 10px 0 0 0;
	color : #444;
}

A {
	color : #016f93;
	text-decoration : none;
	}
	A:HOVER {
		color : #DB0202;
	}

H1, H3 {
	border-bottom : 1px dotted #CCC;
	color : #222;
	font-weight : bold;
	margin : 0 0 10px;
	padding : 0 0 0 25px;
	}
	H1 {
		background : url(images/ai4.png) no-repeat 0 6px; 
		font-size : 15px;
	}
	H2 {
		font-size : 14px;
		margin : 0 0 20px 0;
	}
	H3 {
		background : url(images/ai4.png) no-repeat 0 7px;
		font-size : 13px;
	}
	H4, H5, H6 {
		background : -webkit-gradient(linear, left bottom, left top, color-stop(0.01, rgb(238,238,238)), color-stop(1, rgb(221,221,221)));
		background : -moz-linear-gradient(center bottom, rgb(238,238,238) 1%, rgb(221,221,221) 100%);
		border-top : 1px solid #D5D5D5;
		color : #339900;
		font-size : 13px;
		font-weight : normal;
		margin : 0 0 10px;
		text-align : center;
	}
	
SUP {
	top : -4px;
}

/* Round Corners */
#a, #c, #c img, #tagcloud, .adspace, .highlight-1, .highlight-2, .highlight-3, .meta, .s, article, article-wide, nav ul, caption, form, h1, h2, h3, h4, h5, h6, header, header p, input, textarea {
	-moz-border-radius : 4px;
	-webkit-border-radius : 4px;
}

/* Header */
header {
	background : #0098CC ;
	height : 100px;
	margin : 0 0 10px 0;
	padding : 10px 10px;
	position : relative;
	}
	header a {
		color : #FFF;
		font-size : 16px;
	}
	header a:hover {
		color : #FFF;
	}
	header p {
		background : #FFF;
		bottom : 10px;
		color : #000;
		left : 10px;
		opacity: 0.5;
		padding : 10px;
		position:absolute;
		right : 10px;
		text-align : justify;
	}

/* Article */
article {
	background : #FFF;
	border: 1px solid #CCC;
	float : left;
	height : auto;
	margin : 0 0 0 10px;
	padding : 20px;
	width : 485px;
	}
	article p {
		line-height : 1.4;
		margin : 0 0 20px 0;
	}
	article img {
		border : 1px solid #666;
		float : left;
		margin : 6px 12px 0 0;
		padding : 1px;
	}
	article section.columncount {
		-moz-column-count: 2;
		-moz-column-gap: 20px;
		-moz-column-rule: 1px solid #CCC;
		-webkit-column-count: 2;
		-webkit-column-gap: 20px;
		-webkit-column-rule: 1px solid #CCC;
		list-style : none;
		text-align : justify;
	}

/* Article Wide */
article-wide {
	background : #FFF;
	border: 1px solid #CCC;
	float : left;
	height : auto;
	margin : 0 0 0 10px;
	padding : 20px;
	width : 698px;
	}
	article-wide p {
		line-height : 1.4;
		margin : 0 0 20px 0;
	}
	article-wide img {
		border : 1px solid #666;
		float : left;
		margin : 6px 12px 0 0;
		padding : 1px;
	}
	article-wide section.columncount {
		-moz-column-count: 2;
		-moz-column-gap: 20px;
		-moz-column-rule: 1px solid #CCC;
		-webkit-column-count: 2;
		-webkit-column-gap: 20px;
		-webkit-column-rule: 1px solid #CCC;
		list-style : none;
		text-align : justify;
	}


/* Highlighted Paragraphs */
.highlight-1, .highlight-2, .highlight-3 {
	padding : 5px 10px;
	}
	.highlight-1 {
		background : #FFCCCC;
		border : 1px dotted #FF9966;	
	}
	.highlight-2 {
		background : #FFFF99;
		border : 1px dotted #FFCC33;	
	}
	.highlight-3 {
		background : #CCFF99;
		border : 1px dotted #CCCC33;
	}

/* Citations & Quotes */
cite {
	border-left: 2px solid #0098CC;
	color : #666;
	font-size : 10px;
	font-style : normal;
	font-weight : bold;
	margin : 0;
	padding : 5px 10px;
}

blockquote {
	border-left: 2px solid #0098CC;
	color : #666;
	margin : 0 0 20px 0;
	padding : 5px 10px;
}

/* Pre & Code */
pre {
	color : #333;
	font-size : 10px;
	line-height : 15px; /*--Height of each line of code--*/
	overflow : hidden; /*--If the Code exceeds the width, put "auto" and scrolling is available--*/
	overflow-Y : hidden;  /*--Hides vertical scroll created by IE--*/
	}
	pre code {
		background : #EEE;
		border-left : 2px solid #0098CC;
		margin : 0 0 10px 0;
		padding : 5px;
		display : block;
	}

/* Table */
table {
	border-collapse : collapse;
	text-align:left;
	margin : 0 0 20px 0;
	}
	caption {
		background : #0098CC;
		color : #FFF;
		font-weight : bold;
		}
	tr:nth-child(odd) { 
		background : #FFF;
		}
	tr:nth-child(even) {
		background : #DDD;
		}
	tr:hover td {
		color : #0098CC;
		}
	td, th {
		min-width : 120px;
		padding : 0 5px;
		vertical-align:top;
		}
	th {
		background : #FFF;
		border-bottom : 2px solid #0098CC;
		color : #666;
		font-size : 10px;
		font-weight : bold;
		}
	td {
		border-bottom : 1px solid #CCC;
		font-size : 10px;
		}

/* Calendar */
dl.vevent {
	margin : -20px 0 20px 0;
	padding : 0;
	}
	.vevent dt {
		font-size : 10px;
		position : relative;
		left : 0;
		top : 22px;
		font-weight : bold;
	}
	.vevent dd
	{
		border-left : 2px solid #0098CC;
		font-size : 11px;
		margin : 0 0 0 80px;
		padding : 0 0 0 10px;
	}
	dd.summary {
		font-weight : bold;
	}
	.vevent a {
		font-size : 11px;
	}

/* Forms */
article form {
	background : #DDD;
	margin : 0 0 20px;
	padding : 10px;
	}
	article label {
		color : #666;
		display : block;
		font-size : 10px;
		font-weight : bold;
		margin : 0 0 0 2px;
	}
	article input, article textarea {
		border : 1px solid #CCC;
		font-size : 11px;
		padding : 4px 5px;
		width : 458px;
	}
	article input {
		margin : 0 0 10px;
	}
	article input.button, .btn {
		background: #999;
		border : 1px solid #888;
		color: #FFF;
		cursor : pointer;
		font-weight : bold;
		margin : 10px 0 0 0;
		text-shadow : 0 -1px 1px rgba(0,0,0,0.25);
		width : 25%;
	}
	article textarea {
		height : 100px;
	}

/* Lists */
article ul, aside ul {
	list-style : none;
	margin : 0 0 20px 0;
	}
	article ul {
		margin : 0 0 20px 23px;
	}
	article ul li {
		background : url(images/ai2.png) no-repeat 0 8px;
		padding : 0 0 0 17px;
	}

article-wide form {
	background : #DDD;
	margin : 0 0 20px;
	padding : 10px;
	}
	article-wide label {
		color : #666;
		display : block;
		font-size : 10px;
		font-weight : bold;
		margin : 0 0 0 2px;
	}
	article-wide input, article textarea {
		border : 1px solid #CCC;
		font-size : 11px;
		padding : 4px 5px;
		width : 458px;
	}
	article-wide input {
		margin : 0 0 10px;
	}
	article-wide input.button, .btn {
		background: #999;
		border : 1px solid #888;
		color: #FFF;
		cursor : pointer;
		font-weight : bold;
		margin : 10px 0 0 0;
		text-shadow : 0 -1px 1px rgba(0,0,0,0.25);
		width : 25%;
	}
	article-wide textarea {
		height : 100px;
	}

/* Lists */
article-wide ul, aside ul {
	list-style : none;
	margin : 0 0 20px 0;
	}
	article-wide ul {
		margin : 0 0 20px 23px;
	}
	article-wide ul li {
		 background : url(images/ai2.png) no-repeat 0 8px; 
		padding : 0 0 0 17px;
	}











/* Sidebar */
aside {
	background : #EEE;
	float : right;
	margin : 0 0 20px 0;
	width : 200px;
}

/* Search Box */
.s {
	margin : 0 0 20px 0;
	padding : 10px;
	width : 179px;
	}
	.s input {
		border : 1px solid #AAA;
		color : #999;
		font-size : 11px;
		padding : 4px 5px;
		width : 168px;
	}

/* Navigation & Menu */
nav {
	float : left;
	width : 200px;
	}
	nav ul {
		list-style : none;
		}
		nav li {
			background : url(images/ai1.png) no-repeat 0 8px;  
			padding : 0 0 0 15px; 
		}
		nav li ul {
			margin : 0;
			padding : 5px 0;
		}
		nav li li a {
			font-size : 11px;
		}
		nav li li li a {
			font-size : 10px;
			}
		nav li li li {
			background : url(images/ai8.png) no-repeat 0 10px;
		}
		nav li.active, nav li.active li {
			background : url(images/ai2.png) no-repeat 0 8px;
		}

/* Gallery */
.gallery {  
	list-style : none;
	margin : 0 0 10px;
	}
	.gallery li {
		display: inline;
		margin : 0 15px 0 0;
	}
	.gallery a img {
		border : 1px solid #999;
		height : 50px;
		opacity: 0.8;
		padding : 1px;
		width : 50px;
	}
	.gallery li:last-child {
		margin : 0 0 10px 0;
	}
	.gallery a img:hover{
		opacity: 1;
	}
	
/* Ad Space */
.adspace {
	-moz-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
	-webkit-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
	background : #EEE;
	height : 100%;
	margin : 0 0 20px 0;
	padding : 5px 10px;
	text-align : center;
	width : 178px;
	}
	.adspace a img {
		border : none;
	}

/* Tag Cloud */
#tagcloud {
	overflow : hidden;
	width : 200px;
	}
	#tagcloud li {
		display : inline;
		}
	
		.tagcloudsize-1 a {
			font-size : 14px;
		}
		.tagcloudsize-2 a {
			font-size : 16px;
		}
		.tagcloudsize-3 a {
			font-size : 18px;
		}

/* Footer */
footer {
	

	border-top : 1px dotted #B5B3A9;
	clear : both;
	margin : 20px 0;
	}
	footer a, footer p {
		color : #666;
		display : inline;
		font-size : 10px;
		}


/* Wrappers */
#a, #b {
	margin : 0 auto;
	position : relative;
	}
	#a {
		-moz-box-shadow : 0 2px 2px rgba(0,0,0,0.3);
		-webkit-box-shadow : 0 2px 2px rgba(0,0,0,0.3); 
		background : #EEE;
		padding : 10px 10px 0 10px;
		width : 950px;
	}
	#b {
		overflow : hidden;
	}

/* Shadow-Boxes*/
#c,#tagcloud, .meta, .s{
	-moz-box-shadow : 0 2px 2px rgba(0,0,0,0.4);
	-webkit-box-shadow : 0 2px 2px rgba(0,0,0,0.4);
	background : #EEE;
	}
	#c, #tagcloud {
		margin : 0 0 20px 0;
		padding : 5px 10px;
		width : 178px;
		}
		#c p, #c a {
			font-size : 11px;
			line-height : 15px;
		}
		#c p {
			margin : 0 0 10px 0;
		}
		#c img {
			float : left;
			margin : 4px 10px 2px 0;
		}	
	.meta {
		margin : 20px 0 3px;
		padding : 2px 5px;
		}
		.meta p, .meta a {
			font-size : 10px;
			margin : 0;
		}
	nav ul {
		border : 1px dotted #B5B3A9; 		
		padding : 10px;
		}
		nav ul ul {
			border: none;
		}
