/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/tab_padding.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
/* style the outer div to give it width */
.menu1 {
	width: 100%;
	font-weight: bold;
	font-size: 11px;
	height: 20px;
	background-color: #90BEE2;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu1 ul {
  padding:0px;
  margin:0px;
  list-style-type:none;
}
/* style the sub-level lists */
.menu1 ul ul {
  width:625px;
}
/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu1 ul li {
  float:left;
  height:20px;
  line-height:20px;
  display:block;
}
.menu1 ul > li {
  float:left;
  height:20px;
  line-height:20px;
  display:block;
}
/* style the sub level list items */
.menu1 ul ul li {
  display:block;
  width:150px;
  height:auto;
  line-height:1em;
}
.menu1 ul ul li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
.menu1 ul ul > li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
.menu1 ul ul ul li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
.menu1 ul ul ul > li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
.menu1 ul ul ul ul li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
.menu1 ul ul ul ul > li.last {
  padding-bottom:5px;
  background:url('../img/sub_bottom.gif') no-repeat bottom left;
}
/* style the links for the top level */
.menu1 a, .menu1 a:visited {
	display:block;
	float:left;
	height:20px;
	width:78px;
	text-decoration:none;
	color:#000000;
/*	background-image: url('../img/menu_poz.jpg');*/
	text-align:center;
	border-left: 1px solid #90BEE2;
	border-right: 1px solid #E8F1F9;
}
.menu1 > a, .menu1 :visited > a {
	display:block;
	float:left;
	height:20px;
	width:78px;
	text-decoration:none;
	color:#000000;
	background-image: url('../img/menu_poz.png');
	text-align:center;
	border-left: 1px solid #90BEE2;
	border-right: 1px solid #E8F1F9;
}
/* hack IE5.x to get the correct the faulty box model and get the width right */
* html .menu1 a, * html .menu1 a:visited {
  width:78px;
}
/* style the sub level links */
.menu1 ul ul a, .menu1 ul ul a:visited {
	border-left:1px solid #90BEE2;
  border-right:1px solid #90BEE2;
  text-align:left;
	display:block;
	background: #E6F0F8;
	color:#000000;
	width:128px;
	height:100%;
	line-height:1em;
	padding-left:10px;
  padding-right:10px;
  padding-top:5px;
  padding-bottom:5px;
}
.menu1 ul ul > a, .menu1 ul ul :visited > a {
	border-left:1px solid #90BEE2;
  border-right:1px solid #90BEE2;
  text-align:left;
	display:block;
	background-image: url('../img/menu_poz.png');
	color:#000000;
	width:128px;
	height:100%;
	line-height:1em;
	padding-left:10px;
  padding-right:10px;
  padding-top:5px;
  padding-bottom:5px;
}
* html .menu1 ul ul a, * html .menu1 ul ul a:visited  {
  width:150px;
}
/* style the table so that it takes no part in the layout - required for IE to work */
.menu1 table {
  border-collapse:collapse;
  padding:0px;
  margin:0px;
  width:0px;
  height:0px;
  font-size:1em;
  z-index:1;
}
/* style the third level background */
.menu1 ul ul ul a, .menu1 ul ul ul a:visited {
	background: #E6F0F8;
}
/* style the fourth level background */
.menu1 ul ul ul ul a, .menu1 ul ul ul ul a:visited {
	background: #E6F0F8;
}
/* style the sub level 1 background */
/* to je kdyz je podmenu jeste tak ten prvni*/
.menu1 ul :hover a.sub1 {/* IE */
	border-left:1px solid #A9CCE8;
  border-right:1px solid #A9CCE8;
  border-top:0px solid #A9CCE8;
  border-bottom:0px solid #A9CCE8;
  background:#8BCCFF;
  color: black;
} 
.menu1 ul :hover > a.sub1 {/* FF */
	border-left:1px solid #A9CCE8;
  border-right:1px solid #A9CCE8;
  border-top:0px solid #A9CCE8;
  border-bottom:0px solid #A9CCE8;
  background:#BBE1FD;
  color: Red;
}  
/* style the sub level 2 background */
.menu1 ul ul :hover a.sub2 {
	background: #8BCCFF;
	color: Black;
}
.menu1 ul ul :hover >  a.sub2 {
	border-left:1px solid #A9CCE8;
  border-right:1px solid #A9CCE8;
  border-top:0px solid #A9CCE8;
  border-bottom:0px solid #A9CCE8;
  background:#BBE1FD;
  color: Red;
}
/* style the level hovers */
/* first */
* html .menu1 a:hover {
	color:red;
	background: #8DBADE;
	height:20px;
	position:relative;
	z-index:100;
	border-left: 1px solid #90BEE2;
	border-right: 1px solid #E8F1F9;
}
.menu1 li:hover {
  position:relative;
}
.menu1 :hover > a {
	background: #E6F0F8;
	color:red;
	border:0;
	height:20px;
	border-left: 1px solid #90BEE2;
	border-right: 1px solid #E8F1F9;
}
/* second */
* html .menu1 ul ul a:hover{
	border-left:1px solid #90BEE2;
  border-right:1px solid #90BEE2;
  color:red;
	background: #8DBADE;
	position:relative;
	z-index:110;
	height:100%;
}
.menu1 ul ul li:hover {
  position:relative;
}
.menu1 ul ul :hover > a {
	border-left:1px solid #90BEE2;
  border-right:1px solid #90BEE2;
  color:red;
	background: #8DBADE;
	z-index:110;
	height:100%;
}
/* third */
* html .menu1 ul ul ul a:hover {
	background: #8DBADE;
	position:relative;
	z-index:120;
}
.menu1 ul ul ul :hover > a {
	background: #8DBADE;
}
/* fourth */
.menu1 ul ul ul ul a:hover {
	background: #8DBADE;
	position:relative;
	z-index:130;
}
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu1 ul ul {
  visibility:hidden;
  position:absolute;
  height:0;
  top:20px;
  left:0;
  width:150px;
}
/* position the third level flyout menu */
.menu1 ul ul ul{
  top:-10px;
  width:150px;
}
/* make the second level visible when hover on first level list OR link */
/* zahyb do prava */
.menu1 ul :hover ul { /* IE */
  visibility:visible;
  height:auto;
  background:url('../img/sub_top.gif') no-repeat 30px 0;
  left:-31px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
.menu1 ul :hover > ul {/* FF */
  visibility:visible;
  height:auto;
  background:url('../img/sub_top.gif') no-repeat 30px 0;
  left:-30px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
.menu1 ul :hover ul.left {/*IE*/
  visibility:visible;
  height:auto;
  background:url('../img/sub_top_left.gif') no-repeat 30px 0;
  margin-top: 4px;
  left:-100px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
.menu1 ul :hover > ul.left {/* FF */
  visibility:visible;
  height:auto;
  background:url('../img/sub_top_left.gif') no-repeat 30px 0;
  margin-top: 4px;
  left:-99px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu1 ul :hover ul ul{
  visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu1 ul :hover ul :hover ul ul
{
  visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu1 ul :hover ul :hover ul{
  visibility:visible;
  left:90px;
  height:auto;
  background:url('../img/sub_top_left.gif') no-repeat 30px 0;
  margin-top: 4px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
.menu1 ul :hover ul.left :hover ul {
  left:-150px;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu1 ul :hover ul :hover ul :hover ul {
  visibility:visible;
  left:90px;
  height:auto;
  background:url('../img/sub_top_left.gif') no-repeat 30px 0;
  margin-top: 4px;
  padding-left:30px;
  padding-right:30px;
  padding-top:6px;
  padding-bottom:30px;
}
.menu1_aktivni a {
	background: #E6F0F8;
}

