/* Start of CMSMS style sheet 'navigation: CSS menu images 2' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

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

/* Fix for Opera 8 */
.clearb { clear: both; }

#menuwrapper { 
width:575px;
  margin-left: 6.8em;
   margin-top:0em;
   margin-bottom:5.3em;
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
   border-bottom: 0px solid #C0C0C0;
   float:left;
   
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#imagemenu li li { 
   width: 160px; 

}


/* Unless you know what you do, do not touch this */ 
#imagemenu, #imagemenu ul { 
   list-style: none; 
   padding: 0px; 
margin-left: auto;
margin-right: auto;
top:0px;
}

#imagemenu ul { 
   position: absolute; 
   top:auto;
   display: none; 
}
#imagemenu ul ul { 
   margin-top: 0px;
   margin-left: -1px;
   left: 0px; 
   top: 0px; 
}
	
#imagemenu li { 
   margin-left: -1px;
   float: left; 


}
#imagemenu li li { 
   margin-left: 0px;
   margin-top: 0px;
   position: relative;
   height: 1.5em; 
   background-color:transparent;
z-index: 2;
}
#imagemenu li li li {
    margin-left: 0px;
    margin-top: -1px; 
}
#imagemenu li li a{
    margin-left: 0px;
    margin-top: -1px;
    position: relative;
}

/* Styling the basic apperance of the menu elements */
#imagemenu a { 
   display: block; 
   margin: 0px 0px 0px 0px;
   padding-left: 0px;
   padding-right: 5px;  
   text-decoration: none; 
   color: #cc3366;
   font-size: 100%;
   background-color: #fff;
}

/*and for hiding the text*/
#imagemenu li a {
text-indent:-9000px; background-color:transparent;}


#imagemenu li a { 
   border-right: 0px solid #C0C0C0;
   border-left: 0px solid #C0C0C0;

}
#imagemenu li li a { 
   text-indent:0px; /*this makes the second level words in the drop downs show up or else they will inherit the action of the line above*/
   border-bottom: 0px solid #C0C0C0;
   font-size: 100%;
   color: #cc3366;
   background-color: #fff;
   margin-top:1em;
   margin-left:0em;
}	
#imagemenu li, #imagemenu li.menuparent { 
   background-color: transparent; 


}



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

#imagemenu li.menuactive { 

}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#imagemenu ul li.menuparent, 
#imagemenu ul li.menuparent:hover, 
#imagemenu 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 */

#imagemenu li:hover, 
#imagemenu li.menuh, 
#imagemenu li.menuparenth, 
#imagemenu li.menuactiveh { 

}

/* hover state for all links */
#imagemenu a:hover {
   background-color: #fff;
   color:#999;
}

#imagemenu a.activeparent:hover {
   background-color: #fff;
}

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

/* 
just add 
#imagemenu li:hover ul ul, 
#imagemenu li.menuparenth ul ul ul,
for fourth level 
*/
#imagemenu ul, 
#imagemenu li:hover ul, 
#imagemenu li:hover ul ul, 
#imagemenu li.menuparenth ul, 
#imagemenu li.menuparenth ul ul { 
   display: none;
   background-color: #fff;
}

/* add 
#imagemenu ul ul ul li:hover ul, 
#imagemenu ul ul ul li.menuparenth ul,
for fourth level
*/
#imagemenu li:hover ul, 
#imagemenu ul li:hover ul, 
#imagemenu ul ul li:hover ul, 
#imagemenu li.menuparenth ul, 
#imagemenu ul li.menuparenth ul, 
#imagemenu ul ul li.menuparenth ul { 
   display: block; 
   background-color: transparent;
   position:absolute;
   left:0;
   top:140px;
}

/* image menu*/

/*Image for the ul and some height and width properties*/
#imagemenu {
display:block;
width: 570px;
height: 117px;
background: url('uploads/images/az-new-site-logos.jpg');
position:relative;
}

/*We want li as block and to be as tall as image*/
#imagemenu li {
display:block;
width: 570px;
height: 117px;
padding: 0;
list-style: none;
position: absolute;
top: 0;
}

/*a should also be block and 84px tall*/
ul#imagemenu li a {
display:block;
height: 145px;
position:relative;
z-index: 1;
}
  
/* place the <li>s in the correct absolute position */
#imagemenu li {
  position:absolute;
  padding:0;
  margin:0;

  }

.projecttitletext {
   color: #999;
   font-size: 0.9em;
   line-height: 1.2em;
   margin:-28px 0px 0px 0px;

   background-color: #fff;
z-index: -1;

}

.projecttitletext: hover {
   color: #cc3366;
   font-weight:bold;
}


/*This is the boring part, every link has to be positioned according to the image*/


#imagemenu #iproject-developing-companies {
background: url('uploads/images/az-new-site-logos.jpg');
left: 0px;
width: 95px;
}

#imagemenu #iproject-war-stories {
background: url('uploads/images/az-new-site-logos.jpg') -95px 0px;
left: 95px;
width: 95px;
}

#imagemenu #iproject-the-deal {
background: url('uploads/images/az-new-site-logos.jpg') -190px 0px;
left: 190px;
width: 95px;
}

#imagemenu #iproject-the-cannibals {
background: url('uploads/images/az-new-site-logos.jpg') -285px 0px;
left: 285px;
width: 95px;
}

#imagemenu #iproject-the-watch {
background: url('uploads/images/az-new-site-logos.jpg') -380px 0px;
left: 380px;
width: 95px;
}

#imagemenu #iproject-producer-development {
background: url('uploads/images/az-new-site-logos.jpg') -475px 0px;
left: 475px;
width: 95px;
} 



#imagemenu #iproject-developing-companies a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) 0 -117px no-repeat;

}
#imagemenu #iproject-war-stories a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) -95px -117px no-repeat;
}
#imagemenu #iproject-the-deal a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) -190px -117px no-repeat;
}
#imagemenu #iproject-the-cannibals a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) -285px -117px no-repeat;
}
#imagemenu #iproject-the-watch a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) -380px -117px no-repeat;
}
#imagemenu #iproject-producer-development a:hover {
background: transparent url(uploads/images/az-new-site-logos.jpg) -475px -117px no-repeat;
}


/* IE Hacks */
/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
* html #main {height: 1%;}
/* End */

#imagemenu li li { 
   float: left;
   clear: both;  
}

#imagemenu li li a { 
   height: 1%; 
}


*html .projecttitletext {
height:28px;
}

*html #imagemenu {
position:relative;
left:-70px;
top:18px;
}
/* End of 'navigation: CSS menu images 2' */

