/* Start of CMSMS style sheet 'MCY GRIS : Menu - Horizontal' */
/********************
MENU
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}


/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
   background-color: inherit;  /* couleur de fond du menu */
  /* width: 50%;*/
   padding-top : 0px ;
   padding-bottom : 0px ;
   margin-top : 111px ;
   margin-bottom : 0px ;
   margin-left:  0px;    /* marge à gauche */
   margin-right:  0px;     /* marge à droite */
}


/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   margin: 0 0px 0 0px;
   padding-top: 0px;
   padding-right: 0px;
   padding-left: 0px;
   border-top: 00px solid #fff;
   border-left:  0px solid #C0C0C0;
   border-bottom: 0px solid #121212;
   height: 28px; 
 background: url(images/cms/menu-h-mcy.gif) repeat-x;
}


/* menu list items */
div#menu_horiz li {
   float: right; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   border-left: 0.0px solid #C0C0C0;
   margin: 3px ;
}


/* the links, that is each list item */
div#menu_horiz a {
   padding: 4px 10px 5px 6px;            /* padding inside the list item box */
   margin: 0;                                   /* margin outside each list item box */
   text-decoration: none;                  /* no underline for links */
 background: url(images/cms/menu-h-mcy.gif) repeat-x;
   color: #fff;                                  /* couleur du txt des menus non selectionnes */
   display: block;                              /* IE has problems with this, fixed above */

}


/* survol menu */
div#menu_horiz li a:hover {
  color: #fff;
  background: url(images/cms/menu-survol.gif) no-repeat;
  background-position : center bottom ;
}

div#menu_horiz a.activeparent:hover {
   background-color: #ff6500; /* couleur du menu selectionne  */
   color: #fff;                       /* couleur du txt du menu selectionne */
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   background: url(images/cms/menu-h-mcy.gif) repeat-x; /*menu selectionne */
   color: #ff6500;
}


div#menu_horiz h3 {
   padding: 4px 4px 5px 10px;             /* padding inside the list item box */
   margin: 0;                                    /* margin outside each list item box */
   text-decoration: none;                   /* no underline for links */
   /*background: url(images/cms/menu-h-mcy.gif) repeat-x;*/
   color: #ff6500;                             /* color menu selectionne*/
   display: block; /* IE has problems with this, fixed above */
   font-size: 1em;                             /* instead of the normal font size for <h3> */
}

/* End of 'MCY GRIS : Menu - Horizontal' */

/* Start of CMSMS style sheet 'MCY GRIS : Menu - Vertical' */
/********************
MENU
*********************/
#menu_vert {
   padding-top: 00px;
   padding-right: 0;
   padding-left: 0;
   padding-bottom: 00px;
   margin-right: 5em;
   margin-left: 1em;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 1.0em; /* decalage entre menu choisi et le menu suivant*/
}

/* menu li block */
#menu_vert li {
   list-style: none;

   margin: 0 0px 0px 0;
   border-bottom: 2px solid #c0c0c0;  
   display: block;
}


#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 **/

/* 1er niveau */
div#menu_vert a {
  text-decoration:none; /* no underline for links */
  display: block; /* IE has problems with this, fixed above */
  color: #222; /* color txt à tous les niveaux */
  margin: 0px 0px 1px 0px;
  padding-left: 00px;
  padding-top: 08px;
  padding-bottom: 08px; 
  background-color: #d3d3d3;  
  /*background-position: 0px 50%;  */
  min-height:1em; /* Fixes IE7 whitespace bug */ 
}


/* next level links, more padding and smaller font */
/* 1er niveau non selectionne*/
div#menu_vert ul ul a {
   font-size: 90%;
   margin: 1px 0px 01px 0px;
   padding-left: 20px;
   padding-top: 08px;
   padding-bottom: 08px; 
   background-position: 1em center;

}


/* third level links, more padding */
/* 2eme niveau après selection du 1er niveau*/
div#menu_vert ul ul ul a {
  margin: 1px 0px 1px 35px;
  padding-left: 25px;
  padding-top: 08px;
  padding-bottom: 08px;  
  background-color: #d3d3d3;  /* couleur 2eme niveau*/
  background-position: 15px 50%; 
}


/* couleur de survol */
div#menu_vert a:hover {
   background-color: #d3d3d3;
}


div#menu_vert a.activeparent:hover {  
   background-color: #d3d3d3;  /* color 1er niveau lors du survol lorsque 3eme niveau selectionne*/
   color: #222;
}


/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
/* 1er niveau lorsque 2eme niveau  selectionne */
  padding-left: 20px;
  padding-top: 08px;
  padding-bottom: 08px;  
  margin-top: 1em;
  margin-bottom: 0em;
  margin-right: 0em;
  margin-left: 0em; 
  color ; #fff;
  font-weight: bold;

}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: #d3d3d3; /*couleur menu 1er niveau lorsque 3eme selectionne;*/  
   color: #000;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
  padding-left: 20px;
  padding-top: 08px;
  padding-bottom: 08px;  
  margin: 10px 0px 10px 25px;
  background: url(images/cms/arrow-right.gif) no-repeat 00px ; 
  background-color: #e3e3e3;  
  display: block; 
  color: #ff0;                                 /* this will be link color for all levels */
  font-size: 1em;                           /* instead of the normal font size for <h3> */

}


/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
/* 2eme selectionne*/
div#menu_vert ul ul h3 {
  font-size: 90%;
  padding-left: 20px;
  padding-top: 08px;
  padding-bottom: 08px;  
  margin: 10px 0px 010px 0px;  
  background: url(images/cms/arrow-right.gif) no-repeat 0px ; 
  background-color: #d3d3d3;
  border-bottom: none;
  color: #222;     
}

/* 3eme selectionne*/
div#menu_vert ul ul ul h3 {
  margin: 1px 0px 1px 35px;
  padding-left: 25px;
  padding-top: 8px;
  padding-bottom: 08px;  
  background: url(images/cms/arrow-right.gif) no-repeat 00px ; 
  background-color: #e3e3e3;  
  background-position: 0px 50%; 


}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding-left: 25px;
   padding-top: 8px;
   padding-bottom: 08px;  
   margin: 10px 0px 10px 0px
   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: 10px;

   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 'MCY GRIS : Menu - Vertical' */

