/* global definitions */
html, html body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: medium;
	border: 0;
	padding: 0;
	margin: 0;
	text-align: center;
	color: #333;
	background-color: #fff;
}

a img {
	border: solid 1px #fff;
}

a:hover img {
	border: solid 1px #666;
}

textarea {
	height: 8em;
}

input, textarea {
	display: block;
	color: #000;
	background-color: #fff;
	border: solid 1px #333;
	width: 60ex;
}

select {
	color: #000;
	background-color: #fff;
	border: solid 1px #333;
}

textarea.long {
	height: 20em;
}

input.submit, input.checkbox, input.hidden {
	width: auto;
	border: none 1px #fff;
}

table.layoutonly, table.layoutonly tr, table.layoutonly tr td {
    margin: 0;
    padding: 0;
    border: none 0px #fff;
    width: 100%;
    vertical-align: top;
}

table.layoutonly td.menu {
    width: 20ex;
}

/* basic page regions */

#body {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background-color: #fff;
	position: relative;
}

#header {
	border-top: solid 1px #def;
	background-color: #669;
	margin: 0;
	height: 3.5em;
	padding-left: 1em;
	padding-right: 3ex;
	padding-bottom: 0.2ex;
	text-align: right;
}

#header a, #position a {
	color: #000;
	text-decoration: none;
}

#header h1 {
	font-size: 100%;
	font-weight: bold;
	text-align: left;
	color: #fff;
}

#position {
	display: block;
	height: 1.3em;
	margin-bottom: 0em;
	padding-left: 2ex;
	background-color: #99c;
	border-bottom: solid 1px #bcd;
	border-top: solid 1px #def;
	font-size: smaller;
}

#footer {
	border-top: solid 1px #aaf;
	background-color: #99c;
	margin: 0;
	padding-left: 1em;
	font-size: smaller;
	clear: both;
}

#menu, ul#menu {
	min-height: 15em;
	padding-bottom: 0.5em;
}

#menu, ul#menu, ul#tags, #tags {
	display: block;
	width: 20ex;
	padding: 0;
	padding-top: 0.5em;
	margin: 0;
	margin-bottom: 1em;
	border-bottom: solid 1px #9be;
	background-color: #999;
}

ul#menu li, ul#tags li {
	display: block;
	padding-left: 0.3em;
	border-bottom: solid 1px #ccc;
	font-size: smaller;
}

ul#menu li a, ul#tags li a {
	color: #fff;
	text-decoration: none;
}

ul#menu li:hover, ul#tags li:hover {
	background-color: #aaa;
}

ul#menu li:hover a, ul#tags li:hover a {
	color: #666;
}

/* content regions */
p.noticebox {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1.5ex;
    height: 1em;
}

.userlong, .itemlong, .categorylong, .imagelong, .taglist {
	margin-left: 2ex;
	margin-bottom: 1em;
}

.pagelong {
}

.userlong {
}

.itemshort {
    float: none;
}

.itemshort h3 {
    margin-bottom: 0;
    margin-top: 1em;
}

.itemshort .perex {
    text-align: left;
}

.itemshort .cleaner {
    margin: 0;
    padding: 0;
    height: 1px;
    font-size: 1px;
    clear: both;
    width: 1ex;
}

.itemlong {
}

.categorylong {
}

.categorytree {
}

.categorytree ul, .categorytree li {
	display: block;
}

.categorytree > ul {
	padding-left: 0;
}

.categorytree > ul > li {
	padding-left: 0;
	border-left: none 0px #666;
}

.categorytree li {
	border-left: solid 1px #666;
	padding-left: 1ex;
}

.categorytree li a {
	color: #000;
	text-decoration: none;
}

.categorytree li.item a {
	color: #66a;
}

.categorytree li:hover, .categorytree li a:hover {
	background-color: #ccc;
}

.categorytree li:hover ul {
	background-color: #fff;
}

img.imageshort {
    float: left;
    margin: 0ex 1ex 0.5ex 0ex;
    text-align: left;
}

.imagelong {
	text-align: center;
}

.imagelong * {
	text-align: left;
}

.imagelong img {
	margin-left: auto;
	margin-right: auto;
}

.imagelong div.navigation, .imagelong div.navigation a {
	text-align: center;
	font-weight: bold;
	color: #000;
	text-decoration: none;
	margin-bottom: 1em;
	font-size: smaller;
}

.imagelong .exif {
    display: none;
    font-size: smaller;
    background-color: #eee;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

.imagelong .exif td {
    padding-left: 0.5ex;
    padding-right: 0.5ex;
}

/* administracni bloky */
.categoryadmin, .itemadmin, .useradmin {
	margin-left: 2ex;
}

.categoryadmin, .itemadmin, .useradmin, .imageadmin {
	border-top: solid 1px #faa;
	border-bottom: solid 1px #faa;
	margin-bottom: 1em;
	background-color: #fee;
	padding: 0;
}

.categoryadmin h3 {
	margin-top: 0;
}

.itemadmin {
}

.imageadmin {
}

.useradmin {
}

/* textove bloky */
p.metainfo {
	margin-top: 0;
	font-size: smaller;
	text-align: right;
}

p.metainfo a {
	text-decoration: none;
	color: #999;
}

p.price, .perex, .categorylong p.content, .categorytree p.content, .imagelong p.content {
	margin-right: 2%;
	margin-left: 2%;
	font-size: smaller;
	background-color: #eee;
	padding: 1ex 1ex 1ex 1ex;
}

.categorylong p.content {
	margin-right: 1%;
	margin-left: 1%;
}

p.content {
	padding: 0ex 1ex 0ex 1ex;
}

p.content img {
    margin-right: 1ex;
}

p.content span.odrazka {
    padding-left: 2ex;
    background-repeat: no-repeat;
    background-position: 0.5ex 0.4em;
    background-image: url("img/odrazka.png");
}

/* nadpisove bloky */
h2 {
	margin-top: 0;
	font-size: 100%;
	font-weight: bold;
	padding-left: 1em;
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
	color: #fff;
	background-color: #999;
	position: relative;
}

h2 .treecontrol {
    position: absolute;
    right: 1ex;
    top: 0;
}

h2 a {
	text-decoration: none;
	color: #eee;
	font-size: smaller;
}

h3 {
	font-size: 100%;
	font-weight: normal;
	padding-left: 1em;
	border-bottom: solid 1px #aaa;
	color: #000;
	background-color: #ccc;
	margin-top: 0;
	font-size: smaller;
}

h3 a {
	color: #666;
	text-decoration: none;
	display: block;
}

/* polozky menu v hlavickove casti */
#header a {
	color: #fff;
	text-decoration: none;
	padding-left: 17px;
	padding-right: 0.5ex;
	line-height: 17px;
	margin: 0;
	font-size: smaller;
}

#header a.about {
	background: url("img/about.gif") left center no-repeat;
}
#header a.galerie {
	background: url("img/galerie.gif") left center no-repeat;
}
#header a.reality {
	background: url("img/reality.gif") left center no-repeat;
}
#header a.pocitace {
	background: url("img/pocitace.gif") left center no-repeat;
}
#header a.preklady {
	background: url("img/preklady.gif") left center no-repeat;
}

.onepost .onepost {
    margin-left: 2ex;
}


