#main-menu { 
	 background-color: #3c78b5; 
	width:100%; height: 15px; 
	border-bottom: 1px solid white;
}

/* This is the part for the CSS menu - these settings are for a horizontal menu */
    #dmenu{                         /* menu list container */
        list-style-type: none;      /* disable the display of the list item bullets */
                
        /*margin-left: 185px;*/         /* space around the list container */
        /*_margin-left: 68px;*/
        /*margin-top:63px;*/
        padding: 0px;               /* space within the list container */
        position: absolute;           /* need this so that the z-index stuff works correctly */
        /*background-color: #fff;*/     /* the default background color within the main menu container */
        color: #000;                /* the default font color (not links) within the main menu container */
        z-index: 200;                /* push the menu up in the layer order a bit so it isn't hidden behind anything */
        font-size: 11px;
        margin:0;
        /* Browser plug-ins like Flash or Quicktime may not allow you to overlap then with this menu! */
    }
    #dmenu li {                      /* top-level menu element */
        list-style-type: none;      /* disable the display of the list item bullets */
        float: left;                /* this is to allow for the horizontal main menu */
        border: none;    			/* border for each of the main menu items */
        background-color: #dedede;     /* main menu item background color */
        color: #000;                /* main menu item font color (not links) */
        margin: 0px;                /* spacing between main menu items */
        padding: 0px 0px;				/* padding within main menu items */
        width: 126px;                /* the width of each main menu item */
        display: block;
		font-weight: normal;
		line-height: 1.2em;
    }
    
/*    #dmenu li ul {
    	width: 174px;
    }*/

    #dmenu ul {                     /* third-level (or greater) menu element list elements */
        position: absolute;         /* this is so that it doesn't push that page content around on hover */
        margin: 0px;                /* space around the list container */
        padding: 0px;               /* space within the list container */
        list-style-type: none;      /* disable the display of the list item bullets */
        display: none;
        width: 174px;               /* should be the same as #dmenu li width */
        background-color: transparent;     /* sub-menu default background color */
        border: none;     			/* the border around the sub-menu list */
        color: #000;                /* sub-menu default font color (not links) */
        z-index: 300;               /* want to be sure this is above the rest of the menu */
        border-left:1px solid black;
        border-right:1px solid black;
        border-bottom:1px solid black;
        
    }

    #dmenu ul li{                   /* second-level or greater menu element links */
        background-color: #eeeeee;     /* default background color for sub-menu container */
        color: #000;                /* default font color (not links) for sub-menu container */
        border: none;               /* sub-menu item border settings */
        margin: 0px;                /* spacing between sub-menu containers */
        padding: 0px;               /* This is for padding between menu items in the drop-downs */
        width: 174px;               /* (padding*2) must be subtracted from #dmenu li width and set for this one, or borders won't display properly. */
        border-top: 1px solid #000;
        font-size: 10px;
    }

    #dmenu li a{                    /* top-level menu element links */
        text-align: center;         /* text alignment in main menu item links */
        width: 126px;           /* set this to #dmenu ul width */
        display: block;
        color: #000;
        text-decoration: none;
    }
    
    #dmenu ul a {                   /* all the other level menu link elements */
        padding: 0;
        width: 171px;               /* (padding*2) must be subtracted from #dmenu ul li width and set for this one, or borders won't display properly. */
        display: block;
        border: none;
        padding: 0;
        text-align:left;
        padding: 3px 0px 3px 3px;
    }

    #dmenu a:hover,                 /* top-level hovering properties */
    #dmenu li:hover{
        display: block;
        /*background-color: red;*/
        color: #000;
    }
    
    #dmenu ul li:hover,             /* higher level hovering properties */
    #dmenu ul li a:hover{
        display: block;
        _width: 171px;               /* should be set to the same value as #dmenu ul li width */
        background-color: #cccccc;
        color: #000;
        z-index: 300;
        _padding: 3px 0px 3px 3px;
    }
    

    #dmenu ul ul{                   /* higher-level list containers */
        display: none;             /* don't display by default */
        position: absolute;
        margin-left: 174px;         /* this should be the width of #dmenu ul li */
        margin-top: -19px;           /* this will push the sub-menu up to the level of it's parent */
    }

    /* only non-MSIE browsers use this */
    #dmenu ul li>ul,
    #dmenu ul ul li>ul{
        margin-top: -19px;           /* should be set to the same as #dmenu ul ul margin-top */
    }

    /* additional sub-menu levels in the next 2 blocks. (For up to 5 levels of drop menus) */
    #dmenu li:hover ul ul,              
    #dmenu li:hover ul ul ul,
    #dmenu li:hover ul ul ul ul,
    #dmenu li:hover ul ul ul ul ul{
        display:none;
    }

    #dmenu li:hover ul,
    #dmenu ul li:hover ul,
    #dmenu ul ul li:hover ul,
    #dmenu ul ul ul li:hover ul,
    #dmenu ul ul ul ul li:hover ul{
        display:block;
    }   
    
    li>ul {
        top: auto;
        left: auto;
    }
   
    #dmenu li.firma a.top, #dmenu li.produkty a.top, #dmenu li.znacky a.top, #dmenu li.reseni a.top, #dmenu li.sluzby a.top, #dmenu li.knihovna a.top {
    	height: 14px;
    	padding-top: 1px;
    }
    
    #dmenu li.firma a, #dmenu li.firma { background-color: #dddddd; width: 152px;  }
    #dmenu li.firma ul li { width: 174px;  }
    #dmenu li.firma ul li a { width: 171px; }
    
    #dmenu li.produkty a, #dmenu li.produkty { background-color: #eeeeee;  width: 152px; }
    #dmenu li.produkty ul li { width: 174px; }
    #dmenu li.produkty ul li a { width: 171px; }
    
    #dmenu li.znacky a, #dmenu li.znacky { =width: 126px; background-color: #4f85bc; color: white; width: 152px; }
    #dmenu li.znacky ul li { width: 174px; background-color: #4f85bc;  }
    #dmenu li.znacky ul li a { width: 171px; }
    
    #dmenu li.reseni a, #dmenu li.reseni { =width: 126px; background-color: #3c78b5; color: white; width: 152px; }
    #dmenu li.reseni ul li { width: 174px;  }
    #dmenu li.reseni ul li a { width: 171px; }
    
    #dmenu li.sluzby a, #dmenu li.sluzby { =width: 126px; background-color: #4f85bc; color: white;  width: 152px;}
    #dmenu li.sluzby ul li { width: 174px;  }
    #dmenu li.sluzby ul li a { width: 171px; }
    
    #dmenu li.knihovna a, #dmenu li.knihovna { =width: 126px; background-color: #3c78b5; color: white; width: 152px;}
    #dmenu li.knihovna ul li { width: 174px;  }
    #dmenu li.knihovna ul li a { width: 171px; }
       
    #dmenu a.have-sub 		{ background: #eeeeee url('../images/background/main-menu-have-sub.gif') 165px center no-repeat; cursor:default;}
    #dmenu a.have-sub:hover { background: #cccccc url('../images/background/main-menu-have-sub-active.gif') 165px center no-repeat; }
    
    #dmenu li.znacky ul, #dmenu li.reseni ul, #dmenu li.sluzby ul, #dmenu li.knihovna ul {
    	border-left:1px solid white;
        border-right:1px solid white;
        border-bottom:1px solid white;
    }
    
    #dmenu li.znacky ul li, #dmenu li.reseni ul li, #dmenu li.sluzby ul li, #dmenu li.knihovna ul li {
    	border-top:1px solid white;
    }
    
    #dmenu li.znacky a.have-sub,#dmenu li.znacky a.have-sub:hover { background: none; }
    #dmenu li.znacky a.have-sub:hover { color: white; }
	
	
	/* darky */
	.bottomInfo { border:1px red solid;}
	
/*	.bottomInfo p.upozorneni { float:right;}*/
	
	.koddarku { padding-top:20px; }
	
	.darkynavi { height:40px; color:#02803E; }
	.darkynavi a { padding:0 5px; font-size:1.1em;}
	
	a.darky-active { font-weight:bold;}
	
	a.darky-kategorie{
		line-height:20px;
		text-decoration:none;

	}