body {
    background: #fff url("images/document-bg.gif") repeat-x top left;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #fff;
}
#main {
	width: 960px;
	text-align: left;
	margin: 0 auto;
}
#top-menu {
	height: 33px;
	line-height: 33px;
	text-align: right;
	color: #fff;
}
#top-menu input[type="text"] {
	border: 1px solid #000;
	font-size: 12px;
	width: 90px;
}
#top-menu input[type="submit"] {
	border: 1px solid #b9b8b8;
	font-size: 12px;
	background-color: #5c5c5c;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}
#top-menu input[type="submit"]:hover {
	background-color: #888;
}
#top-menu form, #top-menu p {
	display: inline;
	margin: 0;
	padding: 0;
}
#top-menu a {
	font-weight: bold;
}
#green-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 52px;
}
#green-menu ul li {
	float: left;
	display: block;
}
#green-menu ul li a {
	display: block;
	width: 239px;
	height: 32px;
	line-height: 32px;
	padding-top: 20px;
    background: url("images/green-menu.gif") no-repeat top left;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    margin-left: 1px;
}
#green-menu ul li a.first {
    margin-left: 0;
	background-position: left -208px;
}
#green-menu ul li a.second {
	width: 240px;
	background-position: left -104px;
}
#green-menu ul li a:hover {
	text-decoration: underline;
	background-position: left -52px;
}
#green-menu ul li a.second:hover {
	background-position: left -156px;
}
#header {
	height: 241px;
    background: #fff url("images/header.jpg") no-repeat top left;
}
#header #logo {
	display: block;
	width: 100%;
	height: 207px;
}
#main.home #header #logo {
	height: 241px;
}
#header #logo span {
	display: none;
}
#header h1 {
	margin: 0;
	padding: 0;
	border: 0;
}
#header .description {
	display: none;
}
#header-menu {
	height: 34px;
	line-height: 34px;
	padding-left: 360px;
	margin-top: 0;
	float:left;
	width: 600px;
    background: #6b6b6b url("images/header-menu.jpg") no-repeat top left;
}
#header-menu span {
	margin: 0 5px;
}
#main.home #header-menu {
	display: none;
}
#main-content {
	margin-top: 3px;
	margin-bottom: 3px;
	min-height: 200px;
    background: #f4f4f4 url("images/content-bg.gif") repeat-x top left;
    color: #333;
}
#main-content a {
	color: #a3c200;
}
#main-content a:hover {
	color: #d3f230;
}
#main-content a.more {
	display: block;
	float: right;
	width: 86px;
	height: 30px;
	background: url("images/button.gif") no-repeat top left;
	border: 0;
	font-size: 11px;
	cursor: pointer;
	padding: 1px;
	line-height: 28px;
	color: #000;
	text-decoration: none;
	text-align: center;
	margin-right: -5px;
}
#main-content a.more:hover {
	padding: 2px 0 0 2px;
	background-position: 0 -30px;
}
#main-content a.more.big {
	width: 120px;
	background: url("images/button-form.gif") no-repeat top left;
}
#main-content a.more.big:hover {
	background-position: 0 -30px;
}
#left-bar h2, #news-bar h2, #reference-bar h2 {
	width: 180px;
	height: 75px;
	margin: 0 0 20px 0;
	padding: 0;
    background: url("images/headline-nabizime.gif") no-repeat top left;
    position: relative;
    left: -23px;
}
#left-bar h2 span, #news-bar h2 span, #reference-bar h2 span {
	display: none;
}
#left-bar h2 a, #news-bar h2 a, #reference-bar h2 a {
	display: block;
	height: 75px;
}
#left-bar h2 a:hover {
    background-image: url("images/headline-nabizime-hover.gif");
}
#left-bar {
	width: 320px;
	float: left;
}
#left-bar .content {
	padding: 15px 38px;
}
#left-bar ul {
	list-style-type: none;
    margin: 0;
    padding: 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #fff;
}
#left-bar ul li {
    margin: 0;
    padding: 0;
}
#left-bar ul li a {
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	background: url("images/left-menu-bullet.gif") no-repeat left center;
	padding: 6px 0 7px 20px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ddd;
	color: #7e9600;
}
#left-bar ul li a:hover {
    	background-color: #fff;
	color: #7e9600;
}
#left-bar ul li a.selected {
    	background-color: #fff;
	color: #7e9600;
	font-weight: bold;
}
#left-bar ul li ul {
	border: none;
}
#left-bar ul li ul li a {
	font-size: 11px;
	padding: 6px 0 7px 40px;
    background: url("images/left-menu-bullet2.gif") no-repeat 20px center;
}
#left-bar ul {
	list-style-type: none;
    margin: 0;
    padding: 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #fff;
}
#main-bar {
	float: right;
	width: 640px;
}
#content {
	padding: 60px 38px 20px 38px;
	border-left: 1px solid #ccc;
	_height: 550px;
	min-height: 550px;
}
#reference-bar {
	float: right;
	width: 290px;
}
#reference-bar .content {
	padding: 15px 35px;
	border-left: 1px solid #ccc;
	_height: 550px;
	min-height: 550px;
}
#reference-bar h2 {
	background-image: url("images/headline-reference.gif");
	left: -20px;
	margin-bottom: 0;
}
#reference-bar h2 a:hover {
	background-image: url("images/headline-reference-hover.gif");
}

#news-bar {
	float: left;
	width: 330px;
}
#news-bar .content {
	padding: 15px 18px 15px 38px;
	border-left: 1px solid #ccc;
	_height: 550px;
	min-height: 550px;
}
#news-bar h2 {
	background-image: url("images/headline-novinky.gif");
	margin-bottom: 18px;
}
#news-bar h2 a:hover {
	background-image: url("images/headline-novinky-hover.gif");
}
#news-bar h3 {
	clear: right;
}
#footer {
	height: 59px;
    background: #6b6b6b url("images/footer-bg.gif") repeat-x top right;
    color: #fff;
}
#footer ul {
	margin: 0; padding: 0;
    padding-top: 10px;
	padding-left: 56px;
    background: url("images/footer-img.gif") no-repeat top right;
    height: 59px;
}
#footer ul li {
	float: left;
	width: 190px;
	line-height: 18px;
}
#footer-end {
	color: #555;
	text-align: center;
	line-height: 30px;
}
#footer-end a {
	color: #555;
}
#footer-end a:hover {
	color: #aaa;
}
#footer-end p {
	padding: 0;
	margin: 0;
}

hr {
	clear: both;
	border: 0;
	margin: 0;
	padding: 0;
}
hr.cleaner {
	display: block;
	clear: both;
	border: 0;
	margin: 0;
	padding: 0;
}
img {
	border: 0;
}
#main-content form {
	border: 1px solid #ccc;
	background-color: #eee;
	margin:0;
	padding: 0 10px 10px 10px;
}
#main-content form p {
	padding: 0;
	margin: 10px 0 0 0;
	color: #555;
}
#main-content form label {
	display: block;
	float: left;
	width: 80px;
}
#main-content form input {
	border: 1px solid #ccc;
	background-color: #fff;
	width: 200px;
}
#main-content form input[type="submit"] {
	display: inline;
	width: 120px;
	height: 30px;
	background: url("images/button-form.gif") no-repeat top left;
	border: 0;
	font-size: 11px;
	cursor: pointer;
	padding: 1px;
	line-height: 28px;
	color: #000;
}
#main-content form input[type="submit"]:hover {
	background-position: 0 -30px;
}
#main-content form input.big {
	width: 300px;
}
#main-content form textarea {
	border: 1px solid #ccc;
	background-color: #fff;
	width: 410px;
}
.text-error {
	font-weight: bold;
	color: #a00;
}
/* ----- */
#content.publikacni-system-moduly img, #content.obce-mesta-moduly img {
	margin:  0 10px 10px 0;
	position: relative;
	top: -5px;
}
#content.publikacni-system-moduly h2, #content.obce-mesta-moduly h2 {
	clear: both;
	margin: 20px 0 0 0;
}
#content.publikacni-system-moduly ul, #content.obce-mesta-moduly ul {
	position: relative;
	left: 20px;
}

ul.reference {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.reference li {
	display: block;
	clear: both;
	margin: 0;
	padding: 10px 0 0 0;
	border-bottom: 1px solid #dadada;
	height: 150px;
}
ul.reference li:last-child {
	border-bottom: none;
}
ul.reference li img {
	border: 1px solid #aaa;
	margin-right: 10px;
	float: left;
}
ul.reference .datum {
	margin-top: 10px;
}
ul.reference .popis {
	margin-top: 10px;
	font-size: 90%;
	text-align: justify;
}
#content.reference h2 {
	border-bottom: 1px solid #a3c200;
}

