html { margin: 0; padding: 0; }

body {
	font: 12pt serif;
	margin: 0; 
	padding: 0;
	background: silver;
	text-align: center; 
}

#container {
	padding: 0;
	text-align: left;
	margin: 1em auto;
	width: 1000px;
/*	background: #ccc url('engine_css/paper.jpg') repeat-y center top; */
	background: white;
	border: 1px solid black;
}

#header {
	clear: both;
	margin: 1em;
	padding: 0 0 1em 0;
	height: 50px;
	border-bottom: 1px dashed silver;
}

#header h1 {
	text-align: center;
	color: navy;
	font-size: 2.5em;
	font-family: serif;
	font-weight: normal;
	letter-spacing: 0.35em;
}

#header a, #header a:visited {
	text-decoration: none;
	color: navy;
}

#header a:hover {
	text-decoration: none;
	color: #d00;
}

#text {
/*	background: white; */
	margin: 0 200px 0 0;
	padding: 0 2em 0 2em;
	border-right: 1px dashed silver;
}

#footer {
/*	background: red; */
	clear: both;
	margin: 1em;
	padding: 1em 0 0 0;
	text-align: center;
	border-top: 1px dashed silver;
	color: navy;
}

#news, #quick, #related {
	font-size: 0.8em;
	margin: 0;
}

#news {
	width: 60%;
/*	background: green; */
	padding-top: 1px;
}

#quick {
	float: right;
/*	background: red; */
	width: 40%;
	padding-top: 1px;
}

#news li {
	list-style-type: none;
	text-align: left;
	marker-offset: 0;
}

#quick li {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: left;
	marker-offset: 0;
	border-bottom: 1px solid silver;
	padding: 0.4em;
	margin-bottom: 0.4em;
}

/* Menu */

#menu {
	float: right;
/*	position: absolute; */
/*	top: 50px; */
	padding: 0;
	margin: 0;
	width: 200px;
	height: 100%;
}

#menu ul {
	margin: 0;
	padding: 0;
}

#menu li {
	margin: 0;
	padding: 0.5em;
	list-style-type: none;
	color: red;
	background: white;
	text-align: left;
}

#menu a {
	font-size: 0.9em;
	font-weight: bold;
	color: red;
	text-decoration: none;
}

#menu a:hover {
	border-top: 1px solid red;
	border-bottom: 1px solid red;
}

/* Hlavní stránka */
h1 { 
	font-size: 2em;
	text-align: center;
}

h2 {
	font-size: 1.5em;
/*	border-top: 1px solid black; */
}

/* articlelist */

div.category {
margin: 0;
padding: 0;
}

ul.articleslist li {
	list-style-type: square;
	padding: 0.25em 0 1em 0;
	border-bottom: 1px dotted silver;
}

/* Novinky */

#news li {
	margin: 0;
	padding: 0
	list-style-type: none;
}

span.date {
	color: red;
}

/* textové prvky */

div.info {
	font-size: 0.7em;
	text-align: center;
	color: #555;
	margin: 0; padding: 0;
}

p {
	margin-top: 0;
	margin-bottom: 0.25em;
	text-align: justify;
	text-indent: 1.5em; /* odsazeni odstavce */
}

pre {
	background: #f0f0f0;
	padding: 0.5em;
	font-size: 0.8em;
	border-left: 0.5em solid silver;
}

li {
	text-align: justify;
}

div.figure {
	text-align: center;
	margin: 0 auto;
	padding: 10px;
    margin-bottom: 2em;
}

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

div.source:before {
	content: "Původní zdroj:";
}

div.source {
/*	width: 400px;
	float: center; */
	text-align: center;
	margin: 10px;
	padding: 3px;
	border-bottom: 1px solid black;
}


tt.command {}

tt {
    font-family: monospace;
    font-size: 0.85em;
	background: #f0f0f0;
}

ol.numeric {
	list-style-type: decimal;
}

ol.alpha {
	list-style-type: lower-alpha;
}



/* odkazy */

a:link {
  font-weight: normal;
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover, a:active {
	 text-decoration: underline;
}

/* Tabulky */

table {
	border-collapse: collapse;
	margin: 1em auto;
}

td {
	padding: 0.2em;
}

img {
	border: 0px;
}

a.news {
	color: black;
}

div.download {
	text-align: center;
	padding: 1em;
}

/* Diskuze */
#nazory {
	margin: 1em;
	padding-left: 1em;
}

div.message {
	width: 48%;
	border-bottom: 1px solid silver; 
	margin-bottom: 1em;
}

div.name {
	font-weight: bold;
	font-size: 0.9em;
}

div.msgtext {
	padding: 1em;
	font-weight: normal;
	font-size: 0.9em;
}

#msgnum {
	margin: 1em;
	padding: 1em;
	border-top: 1px dashed silver;
}

div.time {
	padding: 1em;
	font-size: 0.8em;
	color: silver;
}

div.notaccepted {
	margin: 1em;
	padding: 1em;
	border: 1px solid red;
	color: red;
}

#messageform {
	width: 50%;
	float: right;
	font-size: 0.8em;
}

#animace {
	border: 1px solid #999;
	background-color: silver;
	margin: 1em auto;
	padding: 0.5em;
	text-align: center;
}

#animace img {
	margin: 0em auto;
}

/* Itemization, enumeration */

ol.parenthesis { 
	list-style-position: outside;
	counter-reset:	counter; 
}

ol.parenthesis li {
	list-style-type: none;
	margin-top: 0.5em;
	margin-bottom: 0.25em;
}


ol.parenthesis li:before {display: marker;
						  content: counter(counter) ")";
						  counter-increment: counter;
						  counter-reset:none;
						  width: 2em;float: left;
						  }

ol li { margin-bottom: 1em; }

div.adsense {
	position: absolute;
}

q[lang=cs]:before {content: "\201E"}
q[lang=cs]:after {content: "\201C"}
q { font-style: italic; }
