/* Based partially on Matthew Carroll's keyboard accessible flavor of Suckerfish 
 * Dropdowns by Patrick Griffiths and Dan Webb. 
 * http://carroll.org.uk/sandbox/suckerfish/bones2.html
*/

/* ----[ LINKS ]----*/

/* all menu links */
#nav a, #subMenusContainer a{
	text-decoration:none;
	display:block;
	padding:10px 20px;
	background-color:#fff ;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a{
	margin:0;
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	text-align:left;
}

/* All menu links on hover or focus */
#nav a:hover, #nav a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	background-color:#F6C739 ;
	color:blue;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#nav a.mainMenuParentBtnFocused, 
#subMenusContainer a.subMenuParentBtnFocused,
#nav li a:hover,
#nav li a:focus{
	background-color:#F6C739 ;
	color:blue;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn{ 
	background: url(pics/arrow_right.gif) right center no-repeat;
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused{ 
	background: url(pics/arrow_right_over.gif) right center no-repeat;
}

/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{	
	background: url(pics/arrow_right.gif) right center no-repeat;
}

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	background: url(pics/arrow_right_over.gif) right center no-repeat;
}

/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{ 
	display:none;
	position: absolute;
	overflow:hidden;
	/*the 2px left & right padding lets you have a 1px border
	  on the ul or ol inside since overflow is set to hidden*/
	padding:0 2px;
	margin:0 0 0 -2px;
}

/* All submenu OLs and ULs */
#nav ol, #nav ul, #subMenusContainer ul, #subMenusContainer ol {	
	/*border around submenu goes here*/
	background:#fff;
	border:1px solid #C3D46A;
	left:0;
}

/* All ULs and OLs */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
}

#subMenusContainer li{
	list-style: none;
}

/* main menu ul or ol elment */
#nav{
	display:block;
	position: absolute;
	list-style:none;
	margin:0;
	width:190px;
	z-index:5;
	top:0px;
	left:0px;
	text-align: left;
	display:block;
}

#subMenusContainer{	display:block; 	position:absolute;	top:0;	left:0;	width:100%;	height:0;	overflow:visible;	z-index:1000000000; }


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#nav li li{	float:none; }

#nav li li a{ /* Just submenu links*/	
			  position:relative;
			  float:none;
}

#nav li ul { /* second-level lists */
			 position: absolute;
			 width: 10em;
			 margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

/* third-and-above-level lists */
#nav li ul ul { margin: -1em 0 0 -1000em; }
#nav li:hover ul ul {	margin-left: -1000em; }

/* lists nested under hovered list items */
#nav li:hover ul{	margin-left: 186px; margin-top:-2.5em;}
#nav li li:hover ul {	margin-left: 10em; }

/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul {  margin-left: 186px; margin-top:-2.5em; }
#nav li li a:focus + ul { left:186px; margin-left: 1010em; margin-top:-2.5em;}
#nav li li a:focus {left:186px;  margin-left:1000em; width:10em;  margin-top:-2.5em;}
#nav li li li a:focus {left:186px; margin-left: 2010em; width: 10em;  margin-top:-2.5em;}
#nav li:hover a:focus{ margin-left: 0; }
#nav li li:hover a:focus + ul { margin-left: 10em; }



/* ======================== top menu ======================== */

div#tmenu{
	width: 462px;
	height: 32px;
	position: relative;
	margin: 0 auto;
	/*background-image: url(img/backcara.gif);
	background-repeat: repeat-x;
	background-position: 0 21px;*/
}

#menuTop{
	position: absolute;
	top: 9px;
	left: 0;
}

#menuTop, #menuTop  ul {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index:90;
}

#menuTop ul {
	display: none;
	position: absolute;
	top: 0;
	left: -2px;
	margin-top: 14px;
	width: 90px;
	border: 2px solid #000066;
	border-top: none;
}

#menuTop li {
	float: left;
	display: block;
	position: relative;
	background: transparent;
	border-left: 2px solid #000066;
	font-size: 11px;
	width: 90px;
	text-align: center;
	font-weight: bold;
	line-height:14px;
	z-index:90;
}

#menuTop a {
	display: block;
	color: #000066;
	text-decoration: none;
}

#menuTop ul li a {
	font-weight: normal;
	padding: 1px;
	color: #000;
}




/* ======================== left menu ======================== */

/* All <ul> tags in the menu including the first level */
.menuReklama, .menuReklama ul {
 margin: 0;
 padding: 0;
 width: 157px;
 list-style: none;
 text-align: left;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menuReklama ul {
 display: none;
 position: absolute;
 top: -1px;
 left: 155px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menuReklama li {
 position: relative;
 border: none;
 margin-bottom: -1px;

}

.menuReklama a {
 display: block;
 padding: 5px;
 color: #000;
 text-decoration: none;
 font-size: 11px;
 font-weight: bold;
 background: transparent url(img/back_menuleftv3.gif) repeat-y;
 margin-bottom: 3px;
}

/*
.menuReklama ul a {
	font-size: 10px;
	padding-bottom: 8px;
	background-image: url(img/back_menuleft2v2.gif);
	font-weight: normal;
}
*/

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menuReklama a:hover {
 color: blue;
 font-weight: bold;
 background: #F6C739 ;
}



/* ======================== right menu ======================== */

/* All <ul> tags in the menu including the first level */
.menuStavebnictvi, .menuStavebnictvi ul {
 margin: 0;
 padding: 0;
 width: 157px;
 list-style: none;
 text-align: left;
}

/*
 Submenus (<ul> tags) are hidden and absolutely positioned across from their parent.
 They don't *have* to touch their parent menus, but is' a good idea as CSS-only fallback
 mode requires menus to touch/overlap (when JS is disabled in the browser).
*/
.menuStavebnictvi ul {
 display: none;
 position: absolute;
 top: -1px;
 left: -155px;
}

/*
 All menu items (<li> tags) are relatively positioned to correctly offset their submenus.
 They have borders that are slightly overlaid on one another to avoid doubling up.
*/
.menuStavebnictvi li {
 position: relative;
 border: none;
 margin-bottom: -1px;

}
.menuStavebnictvi ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menuStavebnictvi a {
 display: block;
 padding: 5px;
 color: #000;
 text-decoration: none;
 font-size: 11px;
 font-weight: bold;
 background: transparent url(img/back_menurightv3.gif) repeat-y ;
 padding-left: 10px;
 margin-bottom: 3px;
}

/*
.menuStavebnictvi ul a{
	font-size: 10px;
	padding-bottom: 8px;
	background-image: url(img/back_menuright2v2.gif);
	font-weight: normal;
}
*/

/*
 Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus.
*/
.menuStavebnictvi a:hover {
 color: blue;
 font-weight: bold;
 background: #F6C739 ;
}
