/* CSS Document */

/* ----------------------------------------------------------------------- */
/*                                                Padding and margin reset */
/* ----------------------------------------------------------------------- */
body,
h1, h2, h3, h4, h5, h6,
p, hr,
ul, ol, li,
form, fieldset,
div {
  margin: 0px;
  padding: 0px;
}

hr {
  display: none;
}

a img { border: none; }

/* ----------------------------------------------------------------------- */
/*                                                             Main styles */
/* ----------------------------------------------------------------------- */
body {
  background-image: url(img/bg-body.png);
  background-position: top left;
  background-repeat: repeat;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 150%;
  color: #996600;
}

h1 {
  display: block;
  background-image: url(img/logo-obecni-dum.png);
  background-position: top left;
  background-repeat: no-repeat;
	width: 215px;
	height: 61px;
}

h1 a {
  display: block;
	height: 100%;
	width: 100%;
}

h1 span {
  display: none;
}

h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  text-align: center;
  color: #996600;
}
h2 {
  font-size: 20px;
  font-weight: normal;
	margin-bottom: 0.5em;
}
h3 {
  font-size: 14px;
  font-weight: bold;
	margin-bottom: 0.5em;
}

a {
 text-decoration: underline;
 font-weight: bold;
}
a:link    { color: #664500; }
a:visited {color: #996600; }
a:hover   { color: #993300; }

.right { text-align: right; }
.center { text-align: center; }
.left { text-align: left; }
.cleaner { clear: both;}
/* ----------------------------------------------------------------------- */
/*                                                                    Form */
/* ----------------------------------------------------------------------- */
fieldset {
  border: none;
	padding: 5px;
	text-align: center;
}

label {
  display: block;
	text-align: right;
	width: 250px;
	margin: 0 auto;
}

input, textarea {
  border: 1px solid #C5A461;
	background-color: #ffffff;
	width: 200px;
}

button.send {
  height: 35px;
	width: 75px;
  border: none;
	background-image: url(img/bg-btn-send.png);
	background-position: 6px 1px;
	background-repeat: no-repeat;
	color: #664500;
	font-weight: bold;
	font-size: 11px;
	text-align: center;
	line-height: 35px;
}

/* ----------------------------------------------------------------------- */
/*                                                                  Layout */
/* ----------------------------------------------------------------------- */
#page {
  text-align: center; /* IE block align */
  background-image: url(img/bg-page-top.jpg);
  background-repeat: repeat-x;
  background-position: top left;
}

#wrapper {
  text-align: left; /* reset of text align */
	margin: 0 auto; /* block align for non-IE browsers */
	width: 600px;
	background-image: url(img/bg-wrapper.png);
	background-position: top left;
	background-repeat: repeat-y;
	position: relative;
}

#head {
	padding-top: 76px;
	padding-left: 169px;
}

#page-content {}

#menu {}

#footer {}
/* ----------------------------------------------------------------------- */
/*                                                                    head */
/* ----------------------------------------------------------------------- */
#head #photo-1 {
  display: block;
	width: 193px;
	height: 158px;
	background-image: url(img/foto-1.png);
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	top: 0px;
	left: -11px;
	z-index: 2;
}

#head #photo-2 {
  display: block;
	width: 280px;
	height: 225px;
	background-image: url(img/foto-2.png);
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	top: 0px;
	right: -56px;
	z-index: 2;
}

/* ----------------------------------------------------------------------- */
/*                                                            page-content */
/* ----------------------------------------------------------------------- */
#page-content {
  margin: 34px 28px 5px 185px;
	min-height: 453px;
	height: auto;
	_height: 453px;
	_overflow: visible;
}
#page-content h2 {
  background-image: url(img/bg-horizontal-line.png);
	background-position: bottom center;
	background-repeat: no-repeat;
	padding-bottom: 20px;
}

/*#page-content p {
  text-indent: 2em;
}*/

#page-content .hrline {
  display: block;
	height: 14px;
	background-image: url(img/bg-horizontal-line.png);
	background-position: top center;
	background-repeat: no-repeat;
	border: none;
	margin-top: 1em;
	margin-bottom: 0.5em;
	clear: both;
}

#page-content ul {
  padding-left: 1.3em;
}

/* ----------------------------------------------------------------------- */
/*                                                                    menu */
/* ----------------------------------------------------------------------- */
#menu {
  position: absolute;
	top: 134px;
	left: -20px;
}
#menu h2 { display: none; }

#menu ul {
  list-style-type: none;
	display: block;
	width: 189px;
	height: 235px;
	background-image: url(img/bg-menu.png);
	background-position: top left;
	background-repeat: no-repeat;
}

#menu ul li {
  margin-left: 11px;
}

/* Odsazeni menu od horniho okraje se zachovanim pozadi */
#menu ul li#jidelni-listek{
  padding-top: 45px;
}
#menu ul li a {
  display: block;
	width: 134px;
	height: 30px;
	background-position: top left;
	background-repeat: no-repeat;
}

#menu ul li#jidelni-listek a {
  height: 34px;
}

#menu ul li a span { display: none; }

/* Chovani odkazu */
#menu ul li a:link { background-position: 0px 0px; }
#menu ul li a:visited { background-position: 0px 0px; }
#menu ul li a:hover { background-position: 0px -30px; }
#menu ul li#jidelni-listek a:hover { background-position: 0px -34px; }

/* Pozadi jednotlivych polozek menu */
#menu ul li#jidelni-listek a { background-image: url(img/bg-menu-jidelni-listek.png); }
#menu ul li#o-nas a          { background-image: url(img/bg-menu-o-nas.png); }
#menu ul li#fotogalerie a    { background-image: url(img/bg-meni-fotogalerie.png); }
#menu ul li#akce a           { background-image: url(img/bg-menu-akce.png); }
#menu ul li#kontakt a        { background-image: url(img/bg-menu-kontakt.png); } 

/*Odsazeni jednotlivych polozek */
#menu ul li#jidelni-listek { padding-left: 0px; }
#menu ul li#o-nas          { padding-left: 4px; }
#menu ul li#fotogalerie    { padding-left: 8px; }
#menu ul li#akce           { padding-left: 12px; }
#menu ul li#kontakt        { padding-left: 16px; }

/* Mapka Sepekova */
#mapa {
  width: 153px;
	height: 267px;
	position: relative;
	left: 35px;
}
/* ----------------------------------------------------------------------- */
/*                                                                  footer */
/* ----------------------------------------------------------------------- */
#footer {
  background: black url(img/bg-footer-top.png) top left no-repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding: 30px 5px 5px 5px;
}
#footer * {
	color: #999999;
	font-size: 10px;
	font-style: normal;
	line-height: 120%;
}

#footer address {
  display: block;
	width: 370px;
	float: right;
}
#footer #address {
  width: 150px;
	float: left;
}
#footer #phone-numbers {
  width: 220px;
	float: left;
	text-align: right;
}

#footer #created-by * {color: #666666;}
#footer #createdy-by {
  width: 150px;
	float: left;
}

/* ----------------------------------------------------------------------- */
/*                                                          jidelni listek */
/* ----------------------------------------------------------------------- */
table {
  width: 100%;
	border-collapse: collapse;
}

th {
  padding: 10px 5px 2px 5px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	text-align: left;
	background: none;
}

td {
  background-color: #F0DEB5;
	padding: 1px 5px 1px 5px;
	vertical-align: top;
	border: 1px solid #F3E5C4;
}

td.nowrap { white-space: nowrap; }
/* ----------------------------------------------------------------------- */
/*                                                             fotogalerie */
/* ----------------------------------------------------------------------- */
.galerie .thumb {
  display: block;
	height: 129px;
	width: 129px;
	float: left;
	text-align: center;
}

.galerie .thumb a {
  display: block;
	width: 126px;
	height: 98px;
	background-image: url(img/bg-thumb.png);
	background-position: top left;
	background-repeat: no-repeat;
	margin: 0 auto;
	text-align: left;
}
.galerie .thumb a img {
   margin-left: 6px;
	 margin-top: 5px;
}

.galerie .thumb a.ver {
  width: 98px;
	height: 126px;
	background-image: url(img/bg-thumb-ver.png);
}


/* ----------------------------------------------------------------------- */
/*                                                                  listky */
/* ----------------------------------------------------------------------- */
#page-content #listky { margin: 0px; padding: 0px; margin-left: 30px; }
#listky li { list-style: none; float: left; padding: 0px 10px 10px 0px; }
#listky li a { display: block; height: 30px; line-height: 30px; width: 100px; text-align: center; float: left; background-color: #F0DEB5; border: 1px solid #E2C072; }
#listky li a:hover,
#listky li.active a { background-color: #ECD59F; }
