/* Start of CMSMS style sheet 'Navigation: CSSMenu - Horizontal' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */
#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
/* Fix for Opera 8 */ 
/*   overflow: hidden;  */ 
/*   background-color: #ECECEC;*/
/*   border-bottom: 1px solid #CcCcCc;*/
   width: 100%;

}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
/*   width: 200px; */
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding-left: 15px;
   padding-right: 15px;
   padding-top: 2px;
   padding-bottom: 2px;
   text-decoration: none; 
   color: #f2e07e;
   font-weight: bold;
   font-size: 14px;
   font-variant:small-caps;
}
#primary-nav li a { 
   border-right: 1px solid #Cccccc;
   border-left: 1px solid #Cccccc;
}
#primary-nav li li a { 
   border: 1px solid #Cccccc;
}	
#primary-nav li, #primary-nav li.menuparent { 
   /*background-color: #ececec; */

}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #2b5c1a; 
   color: #ffffff;
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #2b5c1a; 
   color: #ffffff;
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'Navigation: CSSMenu - Horizontal' */

/* Start of CMSMS style sheet 'ramidecor_menu' */
/********************
DYNAMICZNE PIONOWE MENU
*********************/
#menu_vert {
   margin-left: -40px;
   font-family:Verdana, sans-serif;
   font-size:8pt;
width: 188px;
}
/* piekielne IE7 compatibility */
#menu_vert ul{
margin: 0px;
padding-left: 40px;
}
/* third level has some padding to have it stand out */
div#menu_vert ul ul ul ul {
   padding-bottom: 0px;
}
/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   display: block;
   border-bottom: 1px dotted #f2e07e;
}
#menu_vert ul ul li {
   border: none;
}
/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   text-align:left;
   font-weight: bold;
   display: block; /* IE has problems with this, fixed above */
   padding: 4px 20px 4px 20px; /* some air for it */
   color: #f2e07e;  /* this will be link color for all levels */
   min-height: 1em; /* Fixes IE7 whitespace bug */ 
width: 110px;
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   text-decoration:none; /* no underline for links */
   text-align:left;
   margin-left: 100px;
   display: block; /* IE has problems with this, fixed above */
   font-size: 10px;
   padding:  2px 3px 2px 30px;
   color: #f2e07e; /* this will be link color for all levels */
   margin-left: -40px; /*cofniecie glebszych  elementow  w menu */
   width: 116px;
 font-weight: normal;
}

/* third level links, more padding*/
div#menu_vert ul ul ul a {
   text-decoration:none; /* no underline for links */
   text-align:left;
   display: block; /* IE has problems with this, fixed above */
   font-size: 10px;
   padding:  2px 3px 2px 40px; 
   margin-left: -80px; /*cofniecie glebszych  elementow  w menu */
   width: 151px;
}
/* fourth level links, more padding*/
div#menu_vert ul ul ul ul a {
   text-decoration:none; /* no underline for links */
   text-align:left;
   display: block; /* IE has problems with this, fixed above */
   font-size: 10px;
   padding:  2px 3px 2px 60px; 
   margin-left: -120px; /*cofniecie glebszych  elementow  w menu */
   width: 121px;
}


div#menu_vert a:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

div#menu_vert ul ul a:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

div#menu_vert ul ul ul a:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

div#menu_vert ul ul ul ul a:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

div#menu_vert a.activeparent:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

div#menu_vert ul ul a.activeparent:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}
div#menu_vert ul ul ul a.activeparent:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}
div#menu_vert ul ul ul ul a.activeparent:hover {
   display:block;
   background-color: #f0f1c7;
   color: #2b5c1a;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   text-align:left;
   display: block; 
   padding: 4px 20px 4px 20px;  /* some air for it */
   color: #2b5c1a;                 /* this will be link color for all levels */
   font-size: 11px; /*1em;       /* instead of the normal font size for <h3> */
   font-weight: bold;
   margin: 0;                         /* as <h3> normally has some margin by default */
   background-color: #f0f1c7;
}

div#menu_vert ul ul li a.activeparent {
   display: block; /* IE has problems with this, fixed above */
   text-align:left;
   background-color: #f0f1c7;
   border-bottom: none;
   color: #2b5c1a;
   font-size: 11px;
   padding:  2px 3px 2px 30px; 
   margin-left: -40px; /*cofniecie glebszych  elementow  w menu */
   width: 116px;
}
div#menu_vert ul ul ul li a.activeparent {
   display: block; /* IE has problems with this, fixed above */
   text-align:left;
   background-color: #305070;
   border-bottom: none;
   color: #ffffff;
   font-size: 11px;
   padding:  2px 3px 2px 40px; 
   margin-left: -80px; /*cofniecie glebszych  elementow  w menu */
   width: 151px;
}
div#menu_vert ul ul ul ul li a.activeparent {
   display: block; /* IE has problems with this, fixed above */
   text-align:left;
   background-color: #355575;
   border-bottom: none;
   color: #ffffff;
   font-size: 11px;
   padding:  2px 3px 2px 50px; 
   margin-left: -120px; /*cofniecie glebszych  elementow  w menu */
   width: 121px;
}
/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   text-align:left;
   background-color: #f0f1c7;
   color: #2b5c1a;
   display: block; 
   padding: 4px 20px 4px 20px;  /* some air for it */
   font-size: 11px; /*1em;     /* instead of the normal font size for <h3> */
   font-weight: bold;
   margin: 0;                  /* as <h3> normally has some margin by default */
width: 110px;
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   display: block; /* IE has problems with this, fixed above */
   text-align:left;
   background-color: #f0f1c7;
   border-bottom: none;
   color: #2b5c1a;
   font-size: 11px;
   padding:  4px 3px 4px 30px; 
   margin-left: -40px; /*cofniecie glebszych  elementow  w menu */
   width: 116px;
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   text-decoration:none; /* no underline for links */
   text-align:left;
   display: block; /* IE has problems with this, fixed above */
   font-size: 10px;
   padding:  4px 3px 4px 40px; 
   background-color: #f0f1c7;
   margin-left: -80px; /*cofniecie glebszych  elementow  w menu */
   width: 151px;
}

div#menu_vert ul ul ul ul h3 {
   text-decoration:none; /* no underline for links */
   text-align:left;
   display: block; /* IE has problems with this, fixed above */
   font-size: 10px;
   padding:  4px 3px 4px 60px; 
   background-color: #355575;
   margin-left: -120px; /*cofniecie glebszych  elementow  w menu */
   width: 131px;
}
/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}

/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}
/* End of 'ramidecor_menu' */

