* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%; /* Required */
}

body {
  color: #333;
  font: 11px Verdana, sans-serif;
  text-align: center;
}

h1 {
  font-weight: bold;
  font-size: 1.2em;
}

h2 {
  padding: 15px 0 10px 0;
  font-size: 1.1em;
}
h3 {
  padding: 15px 0 10px 0;
  font-size: 1.1em;
  color: #6495ed;
  font-variant: small-caps;
 /* text-decoration: underline;*/
}
h4 {
  padding: 10px 0;
  font-size: 1em;
  font-variant: small-caps;
}
p {
  margin: 5px 0;
  line-height: 1.6em;
}

a {
  color: #b22222;
  font-weight: bolder;
}

a:hover {
  color: #6495ed;
}

#container-page {
	margin: 0 auto;
	width: 789px;
	text-align: left;
	position: relative;
	min-height: 100%; /* For Modern Browsers */
	height: auto !important; /* For Modern Browsers */
	height: 100%; /* For IE */
	background: #FFF url(../img/bgr.gif) repeat-y;
}
#head1 {
  width: 771px;
  height: 160px;
  margin: 0 9px 0 9px;
  position: relative;
}
/*#head1_img{
	position: absolute;
	left: 0;
	top: 0;
	width: 771px;
	height: 160px;
}*/
#head1 h1 {
	margin-top: 10px;
	color:#FFFFFF;
	text-align:center;
}
.one{
	background: url(../img/head1_bgr1.jpg);
}
.two{
	background: url(../img/head1_bgr2.jpg);
}
.three{
	background: url(../img/head1_bgr3.jpg);
}
.four{
	background: url(../img/head1_bgr4.jpg);
}
.five{
	background: url(../img/head1_bgr5.jpg);
}
#head2 {
	width: 771px;
 	height: 31px;
   margin: 0 9px 0 9px;
}
#head2 img{
	float: left;
}

#head3 {
	width: 767px;
	height: 25px;
	margin: 0 11px 0 11px;
	background: #4E4E4E;
}
#head3 ul{
	display: block;
	list-style: none;
	margin: 0 0 0 24px;
}
#head3 ul li{
	float: left;
	padding: 6px 50px 5px 0;
	height: 14px;
}
#head3 ul li a{
	color: #FFF;
	font: bold 11px Tahoma;
	text-decoration: none;
	line-height: 12px;
}
#head3 ul li a:hover{
	color: #FE68FF;
}
#head3 ul li a.external{
	background-image: url(../img/externalSite.png);
	background-position: right;
	background-repeat: no-repeat;
	padding-right: 15px;
}
#head3 ul li a.active{
	color: #FE68FF;
}
#head3 ul li a.active:hover{
	color: #F24EBE;
}
#container-content {
  padding: 10px 33px 40px 33px;
}

#container-content:after {
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

#content {
  width: 100%;
  float: left;
  padding-bottom: 36px;
}

#ls {
	width: 300px;
	margin-right: 20px;
	padding: 0px 10px;
	background-color: #dfdfdf;
	float: left;
}
#ps {
	width: 380px;
	float: right;
}
#loga {
	margin: 25px 25px 10px 25px;
}
#ls ul {
	list-style: none;
	margin: 0px; padding: 0px;
}

#ls a {
	display: block;
	width: 220px;
	height: 25px;
	margin: 5px; padding: 3px 10px;
	background-color: #6495ed;
	color: white;
	font-size: 1.1em;
	text-decoration: none;
	font-weight: bold;
	font-variant: small-caps;
}
#ls a:hover {
  color: Black;
}
#ls h4 {
	color:#0099FF;
}


#content ul{
	line-height: 1.6em;
}

#content ul li{
	margin-left: 25px;
}
#content #kontakty_table{
	margin: 0 0 10px 0;
	border-collapse: collapse;
}
#content #kontakty_table td{
	padding: 5px;
	border-bottom: 1px solid #DDD;
}
#content a.external{
	background-image: url(../img/externalSite2.png);
	background-position: right;
	background-repeat: no-repeat;
	padding-right: 15px;
}

#content #profil_img{
	float: right;
	border: 1px solid #555;
}
#container-foot {
  width: 100%;
  position: absolute;
  left: 0px;
  bottom: 0; !important;
  bottom: -1px; /* For Certain IE widths */
  height: 36px;
}

#foot {
	height: 30px;
	width: 767px;
	margin: 0 11px 0 11px;
	background-color: #333;
	text-align: center;
	color: #FFF;
	padding: 6px 0 0 0;
	font: 11px Tahoma;
}
#foot a{
	color: #FFF;
}
#foot a:hover{
	color: #FE68FF;
}
#odkazy {
	width: 720px;
}
#odkazy td {
	width: 50%;
	vertical-align: top;
}
#reklama {
  width: 755px;
  position: absolute;
  left: 12px;
  bottom: 36; !important;
  bottom: 35px; /* For Certain IE widths */
  height: 16px;
}
#reklama a {
	font-size: 0.9em;
	color: #666666;
	float: right;
}
