/* Start of CMSMS style sheet 'act Nav: h-CSSmenu' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

#horizontal_menu {
   margin-left: 0px;
   margin-right: 1px;
}

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

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper-h { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   background-color: #B2C1B2;
   border-top: 0px solid #990033;
   border-bottom: 1px solid #990033;
   border-left: 1px solid #003300;
   border-right: 1px solid #003300;
   width: 100%;
}

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


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

/* Styling the basic apperance of the menu elements */
#primary-nav-h a { 
   display: block; 
   margin: 0px; 
   padding: 2px 8px 2px 8px; 
   text-decoration: none; 
}

#primary-nav-h a.menuactive { 
   display: block; 
   margin: 0px; 
   padding: 2px 8px 2px 8px; 
   text-decoration: none; 
   color: #FFFFFF;
}

#primary-nav-h li a { 
   border-right: 0px solid #990033;
   border-left: 0px solid #990033;
}

#primary-nav-h li:hover > a {
	background-color: #990033;
	color: #FFFFFF;
}

#primary-nav-h li li a { 
   border: 1px solid #990033;
}

#primary-nav-h li, #primary-nav-h li.menuparent { 
   background-color: #B2C1B2; 
}



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

#primary-nav-h li.menuactive { 
   background-color: #990033; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav-h ul li.menuparent, 
#primary-nav-h ul li.menuparent:hover, 
#primary-nav-h 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-h li:hover, 
#primary-nav-h li.menuh, 
#primary-nav-h li.menuparenth, 
#primary-nav-h li.menuactiveh { 
   background-color: #990033; 
}

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

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

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


/* IE Hacks */
#primary-nav-h li li { 
   float: left; 
   clear: both; 
}
#primary-nav-h li li a { 
   height: 1%; 
}
/* End of 'act Nav: h-CSSmenu' */

/* Start of CMSMS style sheet 'act Format: custom classes' */
table.center_table_and_text {
     text-align: center;
     margin: auto;
}

table.center_table_and_text td {
     text-align: center;
     margin: auto;
     padding: 2px 4px 2px 4px;
}
table.center_table {
     margin: auto;
}

table.center_table td {
     margin: auto;
     padding: 2px 4px 2px 4px;
}

.emphasis {
	color: #990033;
	font-weight: bold;
}

div#footer p.copyright {
	font-size: .833em;
	padding: 5px;		/* some air for footer */
	text-align: center; /* centered text */
	margin:0px;
}

div#footer p a {
	color: #FFFFFF; /* needed becouse footer link would be same color as background otherwise */
}

div#footer p a:hover {
	color: #FFFFFF; /* needed because footer link would be same color as background otherwise */
	text-decoration: none;
	background-color: #990033;
}
/* End of 'act Format: custom classes' */

