﻿.foo
{
}

.HorizontalMenu1 ul.AspNet-Menu /* Tier 1 */
{
    width: auto; /* This is more than (6em x 2) because we want to leave room for borders around the <li> elements that are selected */
    text-align:right;
    background-image: url(bullet2.gif);
    background-repeat:no-repeat;
    background-position:right;
}

.HorizontalMenu1 ul.AspNet-Menu ul  /* Tier 2 */
{
    width: auto;
    top: 100%;
    left: 4px;
    text-align:left;
}

.HorizontalMenu1 ul.AspNet-Menu ul ul  /* Tier 3+ */
{
    top: -0.5em;
    left: 6em;
}

.HorizontalMenu1 li /* all list items */
{
    width: auto;
    /* background: #aaaaaa; */
    font-size: 8pt;
    padding-left:14px;
    background-image: url(bullet2.gif);
    background-repeat:no-repeat;
    _background-image:none;

}

.HorizontalMenu1 li li /* šířka rozbalované části */
{
    width: 165px;
    height:24px;
    white-space: nowrap; 
    background: #FEB72C;
    padding-left:0px;
    background-image: url(bkg_horiz_menu.gif);
    background-position: 0 bottom;
}


.HorizontalMenu1 li:hover, /* list items being hovered over */
.HorizontalMenu1 li.AspNet-Menu-Hover
{

}

.HorizontalMenu1 a, /* all anchors and spans (nodes with no link) */
.HorizontalMenu1 span
{
    color: #ddd; /*edit*/
    padding: 2px 8px 2px 8px;
    /*background: transparent url(arrowRight.gif) right center no-repeat; */
    line-height: 19px;
    vertical-align:middle;
    font-weight:bold;
}

.HorizontalMenu1 a
{
    color: #ddd; /*edit*/
}

.HorizontalMenu1 li.AspNet-Menu-Leaf a, /* leaves */
.HorizontalMenu1 li.AspNet-Menu-Leaf span
{
    /*background-image: none !important;*/
    font-weight:normal;
    padding-left:10px; /* tady je odsazení písma v rozbalovací části */
}


.HorizontalMenu1 a:hover
{
    color:#ddd; /*edit*/
    font-weight:normal;
    background-image: url(bkg_horiz_menu.gif);
    background-position: -170px 24px;
    _background-position: -170px bottom;
    text-decoration: underline;

}
/*.HorizontalMenu1 li:hover li a,  the tier above this one is hovered 
.HorizontalMenu1 li:hover li span,
.HorizontalMenu1 li.AspNet-Menu-Hover li a,
.HorizontalMenu1 li.AspNet-Menu-Hover li span,
.HorizontalMenu1 li:hover li:hover li a,
.HorizontalMenu1 li:hover li:hover li span,
.HorizontalMenu1 li.AspNet-Menu-Hover li.AspNet-Menu-Hover li a,
.HorizontalMenu1 li.AspNet-Menu-Hover li.AspNet-Menu-Hover li span
{
    color: Black;
    /*background: transparent url(arrowRight.gif) right center no-repeat;
}*/

.HorizontalMenu1 .AspNet-Menu-Selected /* this tier is selected */
{
    border: solid 1px #00ff00 !important;
}

.HorizontalMenu1 .AspNet-Menu-ChildSelected /* a tier below this one is selected */
{
    border: solid 1px #ff0000 !important;
}

.HorizontalMenu1 .AspNet-Menu-ParentSelected /* a tier above this one is selected */
{
    border: solid 1px #0000ff !important;
}


/* ----------------------------------------------------------- */

.VerticalMenu1 .AspNet-Menu-Vertical
{
    position: relative;
    top: 0em; /* Určuje horní odsazení */
    left: 5px;
    z-index: 300;
}

/* The menu adapter renders an unordered list (ul) in HTML for each tier in the menu. */
/* So, effectively says: style all tiers in the menu this way... */
.VerticalMenu1 ul
{
    background: transparent;
}

/* Top tier */
.VerticalMenu1 .AspNet-Menu-Vertical ul.AspNet-Menu
{
    width: 130px; /* šířka menu první úrovně */
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. */
.VerticalMenu1 ul.AspNet-Menu ul
{
    width: 135px; /* šířka menu druhé a další úrovně */
    left: 130px; /* posun menu druhé a další úrovně horizontálně */

    top: 0; /* posun menu druhé a další úrovně vertikálně */
    z-index: 400;
}

.VerticalMenu1 ul.AspNet-Menu ul ul /* menu další úrovně... */
{
    width: 150px; 
    left: 135px;

}

/* The menu adapter generates a list item (li) in HTML for each menu item. */
/* Use this rule create the common appearance of each menu item. */
.VerticalMenu1 ul.AspNet-Menu li
{
    background-color: transparent;
    background-image: url(rollover.gif);
    background-position: 0px 0px;

}

/* Within each menu item is a link or a span, depending on whether or not the MenuItem has defined it's */
/* NavigateUrl property. By setting a transparent background image here you can effectively layer two images */
/* in each menu item.  One comes from the CSS rule (above) governing the li tag that each menu item has. */
/* The second image comes from this rule (below). */
.VerticalMenu1 ul.AspNet-Menu li a, .VerticalMenu1 ul.AspNet-Menu li span
{
    color: black; /* barva textu menu */
    padding: 4px 5px 4px 5px; /*Tady se nastavuje odsazení text položky menu */
    border: none;
    border-bottom: none;
    background: transparent url(arrowRight.gif) right center no-repeat; /* doplněno mnou */
    font-size: 8pt;
    height: 10px; /* výška prvku */
    line-height: 10px; /* výška prvku */
    white-space:nowrap;
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
.VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Leaf a, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: url(rollover.gif);
    background-position: 0px 0px;
}

/* Not used presently.  This is here if you modify the menu adapter so it renders img tags, too. */
.VerticalMenu1 ul.AspNet-Menu li a img
{
    border-style: none;
    vertical-align: middle;
}

/* When you hover over a menu item, this rule comes into play. */
/* Browsers that do not support the CSS hover pseudo-class, use JavaScript to dynamically change the */
/* menu item's li tag so it has the AspNet-Menu-Hover class when the cursor is over that li tag. */
/* See MenuAdapter.js (in the JavaScript folder). */
.VerticalMenu1 ul.AspNet-Menu li:hover, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background: transparent; /* pozadí rolloveru */
    background-image: url(rollover.gif); /* pozadí rolloveru */
    background-position: -180px 0px;
}

.VerticalMenu1 ul.AspNet-Menu li:hover a, .VerticalMenu1 ul.AspNet-Menu li:hover span, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover a, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover span, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover a, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover span, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover ul a:hover, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
    color: Green; /* barva textu položky s hoverem - stejná i u rodiče */
}

.VerticalMenu1 ul.AspNet-Menu li:hover ul a, .VerticalMenu1 ul.AspNet-Menu li:hover ul span, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover ul a, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover ul span, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover ul a, .VerticalMenu1 ul.AspNet-Menu li:hover li:hover ul span, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a, .VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    color: Black; /*barva textu druhé a další úrovně bez hoveru */
}

/* While you hover over a list item (li) you are also hovering over a link or span because */
/* the link or span covers the interior of the li.  So you can set some hover-related styles */
/* in the rule (above) for the li but set other hover-related styles in this (below) rule. */
.VerticalMenu1 ul.AspNet-Menu li a:hover, .VerticalMenu1 ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color: Black; /* barva položky první úrovně s hoverem */
    background: transparent url(activeArrowRight.gif) right center no-repeat;
}

.VerticalMenu1 ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none
}




