/*==================================================
Template:	OWMX-1
Resource:	http://owmx.com/templates/owmx-1
Version:	1.1
Date:	2010-09-13
Editor:	Jonas Jacek
		http://jabz.net/contact/jonas-jacek
License:	CC Attribution-Share Alike 3.0 Unported	
==================================================*/

/* Reset */
header, footer, article, 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 : #FFF;
	border-top : 5px solid #DB0202;
	color : #444;
}

#a A {
	color : #0A647C;
	text-decoration : none;
	}
	A:HOVER {
		color : #DB0202;
	}
	
#a H1 {
		display: inline;
		font-size: 100%;
		-webkit-margin-before: 0.67em;
		-webkit-margin-after: 0.67em;
		-webkit-margin-start: 0px;
		-webkit-margin-end: 0px;
		font-weight: bold;
	}
	
#a H2, H3, H4, H5, H6 {
		background : url(../i/ai4.png) no-repeat 0 7px;
		border-bottom : 1px dotted #B5B3A9;
		color : #222;
		font-weight : bold;
		margin : 10px 0 10px;
		padding : 0 0 0 25px;
	}

#a H2 {
		background : url(../i/ai4.png) no-repeat 0 6px;
		font-size : 14px;
		margin : 10px 0 20px 0;
	}
	
#a H3 {
		background : url(../i/ai5.png) no-repeat 0 7px;
	}
#a H3, H4, H5, H6 {
		font-size : 13px;
	}

#a SUP {
	top : -4px;
}

/* Header */	
#a header {
	/* background : url(../i/hd.png) no-repeat top left; */
	background : url(../i/header.jpg) no-repeat top left;
	height : 230px;
	position : relative;
	}
#a header a, header p, header h1 {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		color : #FFF;
	}
#a header h1 {
		background : #DB0202;
		font-size: 16px;
		margin : 0 0 0 10px;
		padding : 5px 10px;
	}
	
#a header p {
		background : #000;
		bottom:30px;
		font-weight: bold;
		opacity: 0.7;
		padding : 10px;
		position:absolute;
		right : 0;
		width : 400px;
	}

/* Article */
#a article {
	border-right : 1px dotted #666;
	float : left;
	height : auto;
	padding : 0 20px 0 0;
	width : 660px;
	}
#a article p {
		margin : 0 0 20px 0;
		text-align: justify;
	}
#a article img {
		float : left;
		margin : 6px 10px 0 0;
	}
	
#a article img.right {
		float : right;
		margin : 6px 0 0 10px;
	}

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

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

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

/* Pre & Code */
#a 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--*/
	}
#a pre code {
		background : #EEE;
		border-left : 2px solid #DB0202;
		margin : 0 0 10px 0;
		padding : 5px;
		display : block;
	}

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

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

/* Forms */
#a article form {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background : #DDD;
	margin : 0 0 20px;
	padding : 10px;
	}
#a article label {
		color : #666;
		display : block;
		font-size : 10px;
		font-weight : bold;
		margin : 0 0 0 2px;
	}
#a article input, article textarea {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border : 1px solid #CCC;
		font-size : 11px;
		padding : 4px 5px;
		width : 458px;
	}
#a article input {
		margin : 0 0 10px;
	}
#a 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%;
	}
#a article textarea {
		height : 100px;
	}

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

/* Sidebar */
#a aside {
	float : right;
	margin : 0 0 20px 0;
	width : 200px;
}
	
/* Search Box */
#a .s {
	-moz-border-radius : 4px;
	-webkit-border-radius : 4px;
	margin : 0 0 20px 0;
	padding : 10px;
	width : 179px;
	}
#a .s input {
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border : 1px solid #CCC;
		color : #999;
		font-size : 11px;
		padding : 4px 5px;
		width : 168px;
	}

/* Navigation & Menu */
#a nav ul {
	list-style : none;
	}
#a nav li {
		background : url(../i/ai1.png) no-repeat 0 8px;
		padding : 0 0 0 15px;
	}
#a nav li ul, aside li ul li ul {
	margin : 0;
	}
#a nav li li a {
		font-size : 11px;
	}
#a nav li li li a {
		font-size : 10px;
		}
#a nav li li li, aside li.active li li {
		background : url(../i/ai8.png) no-repeat 0 10px;
	}
#a nav li.active, aside li.active li {
		background : url(../i/ai2.png) no-repeat 0 8px;
	}
/* Gallery */
#a .gallery {  
	list-style : none;
	margin : 0 0 10px;
	}
#a .gallery li {
		display: inline;
		margin : 0 15px 0 0;
	}
#a .gallery a img {
		border : 1px solid #999;
		height : 50px;
		opacity: 0.8;
		padding : 1px;
		width : 50px;
	}
#a .gallery li:last-child {
		margin : 0 0 10px 0;
	}
#a .gallery a img:hover{
		opacity: 1;
	}
	
/* Ad Space */
#a  .adspace {
	-moz-border-radius : 4px;
	-webkit-border-radius : 4px;
	-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;
	}
#a .adspace a img {
		border : none;
	}

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

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

/* Wrappers */
#a, #b {
	margin : 0 auto;
	position : relative;
	}
	#a {
		width : 900px;
	}
	#b {
		overflow : hidden;
	}

/* Shadow-Boxes*/
#c, .meta, .s {
	-moz-border-radius : 4px;
	-webkit-border-radius : 4px;
	-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;
	}
	#c {
		background : #EEE;
		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;
		}


#a  .clear {
	clear : both;
}

#a  .jumpto {
	background : url(../i/ai1.png) no-repeat 0 7px;
	padding : 0 0 0 18px;
	margin : 0 0 10px 23px;
}


#a .addthis_toolbox {
	margin : 0 auto;
	width: 250px;
}

#a .button {
   display: block; 
   margin: 0 auto;
   width: 300px;
}

#a .button { 
   border-top: 1px solid #96d1f8;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
   background: -moz-linear-gradient(top, #3e779d, #65a9d7);
   background: -ms-linear-gradient(top, #3e779d, #65a9d7);
   background: -o-linear-gradient(top, #3e779d, #65a9d7);
   padding: 16px 32px;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 20px;
   font-family: Georgia, Serif;
   text-decoration: none;
   vertical-align: middle;
}

.no-cssgradients #a .button {
	background: #65a9d7;
	}

#a .button:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #ccc;
   }
#a .button:active {
   border-top-color: #1b435e;
   background: #1b435e;
   }
   
#a .button img {
   margin: -20px 0px 0px 0px;
   float: left;
   border: 0px;
   }
