/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

#nav { padding:0 20px 0 20px; font-size:1.1em; z-index:999; margin: 0 auto;}


/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav ul { border-bottom: #000 solid 1px;}
#nav li {
	list-style:none;
	position:relative;
	text-align:left;
	margin-right: 2px;
	}
#nav li.over { z-index:99; }
#nav li.active { z-index:98; } /* to prevent the li separator from showing through on mouseover on li */
#nav a { line-height:1.3em;
	background: url('../images/design01/tab_left.gif') 0 0 no-repeat;
	}
#nav a, #nav a:hover { display:block; text-decoration:none;}

#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

#nav li.level0 {
	height: 28px; margin-top: 1px;
}
#nav li.level0 a span.r {
	line-height: 28px;
	background: url('../images/design01/tab_right.gif') right 0 no-repeat;
	padding:  0 12px;
	}
#nav li.level0 a:hover span.r {
	background-position: right -28px;
	}

/************ 1ST LEVEL  ***************/
#nav li { float:left;}
#nav li.active.level0  > a { color:#fff;  font-weight: bolder;
	background: url('../images/design01/tab_left.gif') 0 -28px no-repeat;}
#nav li.active > a span.r{
background: url('../images/design01/tab_right.gif') right -28px no-repeat;
line-height: 28px;
}

#nav li.active.level1 > a { color: #fff !important; font-weight: bolder !important; background: #d82c1b;}
#nav a { float:left; padding:0; color:#222; font-weight:bold;}
#nav .level0 a:hover {
background-position: 0 -28px;
color: #fff;}


/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none;
	margin:0;
	padding-bottom:1px;
	background:#fdf5e0 url(../images/nav_divider.gif) repeat-x 0 100%;	
	}
#nav ul li.over {background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%;}
#nav ul li.last { background:#fdf5e0; padding-bottom:0; }

	
#nav ul a, #nav ul a:hover {
	float:none;
	padding:0;
	background:none;
	}
#nav ul li a { font-weight:normal !important; }


/************ 2ND LEVEL ************/
#nav ul {
	position: absolute;
	width:15em;
	top:25px;
	left:-10000px;
  border:1px solid #b3b3b3;
}

/* Show menu */
#nav li.over > ul { left:0; }
#nav li.over > ul li.over > ul { left:100px; }
#nav li.over ul ul { left:-10000px; }


#nav ul li a { }
#nav ul li a:hover { background:#d82c1b; }
#nav ul li a{ color:#2f2f2f !important;}
#nav ul li a:hover { color:#fff !important; font-weight: bold !important;}
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px;}



/************ 3RD+ LEVEL ************/

#nav ul ul { top:5px; }

/*
#nav ul ul ul { left:-10000px; }
#nav li.over ul li.over ul ul { left:-10000px; }
#nav li.over ul li.over ul li.over ul { left:100px; }
*/

/* Fix for the IE bug */

#nav iframe {
position: absolute;
left: -1px;
top: 0;
z-index: -1;
background:transparent;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}
.debug {border:1px solid red!important;}


/*************** podkategorie, male guziki  ***************************************// 

#nav2 { font-size:0.8em !important;}

#nav2 ul { margin:0; padding:0;list-style-type: none;
}
#nav2 li {
	width: 195px;
	list-style:none;
	position:relative;
	display: block;
	text-align:left;
	}
#nav2 a { 
	font-size:0.9em !important; font-wieght: normal !important;line-height: 24px;
	background: url('../images/design01/tab_small_left.gif') 0 0 no-repeat;
	}
#nav2 a, #nav2 a:hover { display:block; text-decoration:none;}

#nav2 span { display:block; cursor:pointer; white-space:nowrap; }

#nav2 li ul span {white-space:normal; }

#nav2 li{
	height: 24px;
	 margin-top: 1px;
}
#nav2 li a span.r {
	line-height: 24px;
	background: url('../images/design01/tab_small_right.gif') right 0 no-repeat;
	padding:  0 12px;
	}
#nav2 li a:hover span.r {
	background-position: right -24px;
	}

#nav2 a {padding:0; color:#222; font-weight:bold;}
#nav2 a:hover {
background-position: 0 -24px;}

#nav2 li.active.level0  > a { color:#000;  font-weight: bold;
	background: url('../images/design01/tab_small_left.gif') 0 -24px no-repeat;}
#nav2 li.active > a span.r{
background: url('../images/design01/tab_small_right.gif') right -24px no-repeat;
line-height: 24px;
}