/* ================================================================
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: transparent;
}

/* 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:980px;}

/* 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:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}
.menu1 ul ul > li.last {padding-bottom:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}
.menu1 ul ul ul li.last {padding-bottom:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}
.menu1 ul ul ul > li.last {padding-bottom:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}
.menu1 ul ul ul ul li.last {padding-bottom:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}
.menu1 ul ul ul ul > li.last {padding-bottom:10px; background:url(../im_ruzne/sub_bottom_4.gif) bottom left no-repeat;}

/* 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(../im_ruzne/menu_poz_4_1.png); text-align:center; border-left: 1px solid #82ACC2;border-right: 1px solid #FFFFFF;border-top: 1px solid #82ACC2;border-bottom: 1px solid #82ACC2;}
.menu1 > a, .menu1 :visited > a {display:block; float:left; height:20px; width:78px;  text-decoration:none; color:#000000; background-image: url(../im_ruzne/menu_poz_4_1.png); text-align:center; border-left: 1px solid #82ACC2;border-right: 1px solid #FFFFFF;border-top: 1px solid #82ACC2;border-bottom: 1px solid #82ACC2;}
/* 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; w\idth:78px;}

.menu1 a.posledni, .menu1 a.posledni:visited {display:block; float:left; height:22px; width:180px;  text-decoration:none; color:#000000; background-image: url(../im_ruzne/menu_poz_4_posledni.png); text-align:center; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}
.menu1 > a.posledni, .menu1 :visited > a.posledni {display:block; float:left; height:22px; width:180px;  text-decoration:none; color:#000000; background-image: url(../im_ruzne/menu_poz_4_posledni.png); ; text-align:center; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}
* html .menu1 a.posledni, * html .menu1 a.posledni:visited {width:180px; w\idth:180px;}

.menu1 a.prvni, .menu1 a.prvni:visited {display:block; float:left; height:22px; width:80px;  text-decoration:none; color:#000000; background-image: url(../im_ruzne/menu_poz_4_prvni.png); text-align:center; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}
.menu1 > a.prvni, .menu1 :visited > a.prvni {display:block; float:left; height:22px; width:80px;  text-decoration:none; color:#000000; background-image: url(../im_ruzne/menu_poz_4_prvni.png); ; text-align:center; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}
* html .menu1 a.prvni, * html .menu1 a.prvni:visited {width:80px; w\idth:80px;}

/* style the sub level links */
.menu1 ul ul a, .menu1 ul ul a:visited {text-align:left; display:block; background:#0078B0; /*background-image: url(../im_ruzne/menu_poz_1_1.png);*/ color:#FFFFFF;width:128px; height:100%; line-height:1em; padding:5px 10px; border:1px solid #82ACC2; border-width:0 1px;}
.menu1 ul ul > a , .menu1 ul ul :visited > a {text-align:left; display:block; background-image: url(../im_ruzne/menu_poz_4_1.png); color:#FFFFFF;width:128px; height:100%; line-height:1em; padding:5px 10px; border:1px solid #82ACC2; border-width:0 1px;}
* html .menu1 ul ul a, * html .menu1 ul ul a:visited  {width:150px; w\idth:128px;}


/* 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:#0078B0;}
/* style the fourth level background */
.menu1 ul ul ul ul a, .menu1 ul ul ul ul a:visited {background:#0078B0;}
/* style the sub level 1 background *//* to je kdyz je podmenu jeste tak ten prvni*/
.menu1 ul :hover a.sub1 {
	background: #006393;
	border: 1px solid #82ACC2;
	border-width: 0 1px;
	 color:white;
} /* IE */
.menu1 ul :hover > a.sub1 {background: #9DBED0; border:1px solid #82ACC2; border-width:0 1px; color:white;} /* FF */
/* style the sub level 2 background */
.menu1 ul ul :hover a.sub2 {background:#0078B0;  color:white;}

/* style the level hovers */
/* first */
* html .menu1 a:hover {color:#FFFFFF; background:#0078B0; /*background-image: url(../im_ruzne/menu_poz_1_2.gif);*/ height:20px; position:relative; z-index:100; border-left: 1px solid #82ACC2;border-right: 1px solid #0078B0;border-top: 1px solid #82ACC2;border-bottom: 1px solid #82ACC2;}
.menu1 li:hover {position:relative;}
.menu1 :hover > a {background:#0078B0; /*background-image: url(../im_ruzne/menu_poz_1_2.gif);*/ color:#FFFFFF; height:20px;border-left: 1px solid #82ACC2;border-right: 1px solid #0078B0;border-top: 1px solid #82ACC2;border-bottom: 1px solid #82ACC2;}

* html .menu1 a.posledni:hover {color:#FFFFFF;background: transparent; background-image: url(../im_ruzne/menu_poz_4_posledni2.png); height:22px; position:relative; z-index:100; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red; }
.menu1 li:hover {position:relative;}
.menu1 :hover > a.posledni {background: transparent;background-image: url(../im_ruzne/menu_poz_4_posledni2.png); color:#FFFFFF; height:22px;border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}

* html .menu1 a.prvni:hover {color:#FFFFFF; background: transparent; background-image: url(../im_ruzne/menu_poz_4_prvni2.png); height:22px; position:relative; z-index:100; border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}
.menu1 li:hover {position:relative;}
.menu1 :hover > a.prvni {background: transparent; background-image: url(../im_ruzne/menu_poz_4_prvni2.png); color:#FFFFFF; height:22px;border-left: 1px hidden red;border-right: 1px hidden red;border-top: 1px hidden red;border-bottom: 1px hidden red;}

/* second */
* html .menu1 ul ul a:hover{color:white; background:#9DBED0;  position:relative; z-index:110; height:100%; border:1px solid #82ACC2; border-width:0 1px;}
.menu1 ul ul li:hover {position:relative;}
.menu1 ul ul :hover > a {color:white;background:#9DBED0; /*background-image: url(../im_ruzne/menu_poz_1_2.png); */ z-index:110; height:100%; border:1px solid #82ACC2; border-width:0 1px;}
/* third */
* html .menu1 ul ul ul a:hover {background:#9DBED0; position:relative; z-index:120;}
.menu1 ul ul ul :hover > a {background:#9DBED0;}
/* fourth */
.menu1 ul ul ul ul a:hover {background:#9DBED0; 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 {visibility:visible; height:auto; padding:15px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_4_1.gif) 30px 0 no-repeat; left:-31px;} /* IE */
.menu1 ul :hover > ul {visibility:visible; height:auto; padding:15px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_4_1.gif) 30px 0 no-repeat; left:-30px;} /* FF */
.menu1 ul :hover ul.left {visibility:visible; height:auto; padding:15px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_left_4.gif) 30px 0 no-repeat; left:-100px;} /* IE */
.menu1 ul :hover > ul.left {visibility:visible; height:auto; padding:15px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_left_4.gif) 30px 0 no-repeat; left:-99px;} /* FF */


/* 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; padding:10px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_4_2.gif) 30px 0 no-repeat;}
.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; padding:10px 30px 30px 30px; background:transparent url(../im_ruzne/sub_top_4_2.gif) 30px 0 no-repeat;}

