*	{ margin:0; padding:0; } /* Bad practise */
html,body {min-height:101%}
ul, ol	{ padding:0 0 0 20px; }
body	{ font-size:0.8em; color:#333333; font-family:Arial; line-height:1.4em; }
a		{ color:#0090c7; text-decoration:none; }
h2		{ margin:5px 0; border-bottom:1px solid #d7d7d7; padding-bottom:5px; margin-top:15px; }
h3		{ margin-top:15px; }
#middle h2:first-child	{ margin-top:5px; }
table	{ font-size:1em; text-align:left; }
p		{ margin:5px 0; }

/** Contact Form **/
form	{ margin:20px auto 0 auto; width:400px; }
input, textarea
	{ width:300px; border:1px solid #34beed; margin:1px 5px; }
table.form td { vertical-align:top; }
table.form tr.mark input, table.form tr.mark textarea
	{ border:1px solid red; }
table.form tr.mark td		{ color:red; }

/** Download Table **/
table.download    { /*border:1px solid #000;*/ }
table.download thead tr:first-child th { font-weight:normal; background-color:#f3f6fb; text-align:center; height:30px; /*padding-left:10px;*/ }
table.download thead tr:first-child th span { text-align:left; display:block; padding-left:10px; }
table.download		{ border-collapse: collapse; margin-top:10px; font-size:1em; }
table.download th	{ text-align:center; font-weight:bold; }
table.download td	{ text-align:center; padding:0 5px; /*vertical-align:top;*/ }
table.download td, table.download th	{ border:1px solid #d7d7d7; }
table.download td.desc	{ width:500px; text-align:left; padding-bottom:2px; }
table.download tfoot th { height:9px; background:url('../images/download/tfoot.png'); }
table.download tfoot th { border:0; }
div.downloadfoot		{ background:url('../images/downloadfoot.png') no-repeat; height:9px; }

/*** Archiv table ***/
table.archive { border:1px solid #000; }


table.first th.rev { background:#e9f0fb; }
table.first td, table.first th	{ border:1px solid #aaa; }

/** Download item **/
div.download_head	{ background:url('../images/download/top.png') no-repeat top; }
div.download_middle	{ background:url('../images/download/middle.png') repeat-y; }
div.download_foot	{ background:url('../images/download/foot.png') no-repeat; }
div.download_head, div.download_middle, div.download_foot
	{ padding:5px; }

/** RSS items, depends heavily on 'Download item' **/
div.rssfoot	{ background:url('../images/rss/rssfoot.png') no-repeat; height:9px; margin-left:146px; }
table.rss	{ margin-left:146px; }

.clear 	{ clear:both; }
.left   { float:left; margin:0 7px auto 0 }
.right	{ float:right; margin:0 0 auto 7px; }
.block	{ display:block; }
.center	{ margin-left:auto; margin-right:auto; }
.noborder { border:0; }
.fblue		{ background:#3A5CAB; }
.tblue		{ background:#32C6FF; }
.red		{ background:red; }
.green		{ background:green; }
.top		{ margin-top:5px; }
.readmore	{ font-size:0.85em; }
.readmore:before{ content:"["; }
.readmore:after	{ content:"]"; }

.margin-left{ margin-left:30px; }
.margin-vert{ margin-top:10px; margin-bottom:10px; }

.white { color:white; }

#wrapper	{ width:900px; margin:auto; }
#round_head	{ height:17px; background:url('../images/theme/head.png') #f2f2f2 repeat-y; }
#round_foot	{ height:17px; background:url('../images/theme/foot.png') repeat-y #f2f2f2; /*margin-bottom:150px;*/ }
#header		{ background:url('../images/theme/middle.png') repeat-y #f2f2f2; position:relative; }
#separation-line	{ height:1px; background:url('../images/theme/middle.png') #d7d7d7; }
#middle		{ background:url('../images/theme/middle.png') repeat-y; text-align:justify; }
#header, #middle, #footer
	{ padding:5px 20px; }
#footer		{ background:url('../images/theme/middle.png') repeat-y #f2f2f2; text-align:center; padding-bottom:0; font-size:0.75em; /*letter-spacing:0.1em;*/ }
#middle		{ padding-bottom:10px; }


#header	h1		{ font-family:Arial; /*font-family: 'Lucida Grande',Tahoma,'Lucida Sans','Trebuchet MS',sans-serif;*/ padding:10px; margin-bottom:14px; }
#header ul		{ margin:0; padding:0; }
#header	ul li 	{ display:inline; }
#header	a		{ font-size:1em; padding:4px 13px 7px; }
#header ul li.active a { background:#fff; border:1px #d7d7d7 solid; border-bottom:0; -moz-border-radius-topright:7px; -moz-border-radius-topleft:7px;}

#flags	{ position:absolute; top:0; left:410px; }
#flags a { padding:0px; }
#flags img { border:none; }

/** rounded blocks **/
a.r_block		{ width:170px; }
div.r_block		{ width:170px; padding:15px; -moz-border-radius:10px; float:left; margin-left:65px; }
div.r_block p	{ font-size:2em; font-weight:bold; color:#fff; margin-bottom:15px; }
div.r_block div.block_inner { width:170px; height:124px; background:#fff; -moz-border-radius:5px; text-align:center; display:table-cell; vertical-align:middle; }
div.r_block img { border:0; }

/** index page **/
/*#middle div.images	{ width:310px; height:100px; }*/
#middle div.images p	{ font-size:0.8em; font-weight:bold; color:#aaa; }
#middle div.images img:first-child { margin-left:3px; margin-right:3px; }
#middle div.images img { margin-top:5px; }

/* News */
div#middle div.news:first-child { margin-top: 0; }
div#middle div.news { /*width:600px;*/ margin: 40px 140px 0; }

/*** Pagination ***/
div.pagination {
	/*font-family:Verdana,Tahoma,Arial,Helvetica,Sans-Serif;*/
	/*font-size: 13px;*/
	text-align:right;
	padding:4px 6px 4px 0;
	background-color:#fff;
	color:#313031;
}

div.pagination a {
	color:#0090C7;
	text-decoration:none;
	padding:4px 6px 4px 5px;
	margin:0 3px 0 3px;
	border:1px solid #b7d8ee;
}

div.pagination a:hover, div.pagination a:active {
	color:#0066a7;
	border:1px solid #b7d8ee;
	background-color:#d2eaf6;
}
div.pagination span.current {
	padding:4px 6px 4px 5px;
	margin:0 3px 0 3px;
	border:1px solid #b7d8ee;
	font-weight:bold;
	color:#444444;
	background-color:#d2eaf6;
}
div.pagination span.disabled {
	display:none;
}
