/*
'**************************************************************************'
' COPYRIGHT                                                                '
' UNITED BUILDING CENTERS                                                  '
' 125 WEST FIFTH STREET                                                    '
' WINONA, MN 55987-9985                                                    '
'**************************************************************************'
' PURPOSE: Used for dynamic menu system.                                   '
'**************************************************************************'
' VERSION 01: KLR - 03-10-06 - Initial Build                               '
' VERSION 01: KLR - 06-23-06 - RFS 2006-135                                '
'                              Added this Versioning Documentation.        '
'**************************************************************************'*/

/***** menu CSS *****/
@media print {
/*A l'impression on cache le menu, marche au moins pour IE, Moz et Opéra.*/
	.menu, .ssmenu, .sSsmenu {
		visibility:hidden;
	}
}
.menu{
/* Il est important de laisser une largeur, au cas où le Javascript soit désactivé.
margin aussi */
	font-size:10px;
	text-align:center;
	text-decoration:none; 
	/*padding:1px 1px 1px 1px;*/
	padding:0px 0px 0px 0px;
	/*margin:1em;*/
	margin:0em;
	margin-left:0px;
}
.menu
{
	font-weight:normal;
	vertical-align:middle;
	height:33px;
	width:100%;
	background-color:#B2B1D0;
	border: 1px solid #342152;
}

.menu a, .menu a:visited{
/* Les liens qui ne sont pas sous le curseur.
	Un width:100% fait planter Mozilla, sans le width:100% c'est IE et Opera...
	La combinaison aucun width et height:100% marche sur tous, donc ne pas toucher */
	font-family:Verdana, MS Sans Serif, arial, sans-serif;
	text-decoration:none;
	color:#342152;
	padding:0px 0px 0px 0px;
	/*BORDER-RIGHT: #f0f 1px solid; BORDER-TOP: #f0f 1px solid; BORDER-LEFT: #f0f 1px solid; BORDER-BOTTOM: #f0f 1px solid*/
/* Ne pas modifier le block */
	display:block;
/*	Un width:100% fait planter Mozilla, sans le width:100% c'est IE et Opera... La combinaison
	aucun width et height:100% marche sur tous, donc ne pas toucher ces 2 lignes */
	margin:0px;
	width:100%;
	height:100%;
	vertical-align:middle;
}

.menu a:hover, .menu a:focus
{
	color:#342152;
	font-weight:normal;
	vertical-align:middle;
	height:31px;
	background-color:#342152;
	vertical-align:middle;
}

.ssmenu {
	background-color:#FFFFFF;
	height:auto; 
	padding:0px 0px 0px 0px;
	/*width:auto;*/
	font-size:9px;
	text-align:center;
	text-decoration:none; 
	/*margin:1em;*/
	margin:0em;
	margin-left:0px;
}

.ssmenu li 
{
	height:auto; /*commented out 4-7-2006*/
	/*width:140px; /*Commented out 4-18-2006 so the .clientwidth property in the .js file would work in IE.   default...set width in javascript file also so it can be modified and read in from database*/
	border-bottom:solid 1px #D6D6D6;
}

.ssmenu ul
{
	/*border:1px solid #D6D6D6;*/
}

.ssmenu a, .ssmenu a:visited {
/* Les liens qui ne sont pas sous le curseur.
	Un width:100% fait planter Mozilla, sans le width:100% c'est IE et Opera...
	La combinaison aucun width et height:100% marche sur tous, donc ne pas toucher */
	font-family:Verdana, MS Sans Serif, arial, sans-serif;
	text-decoration:none;
	color:black;
	padding:2px 2px 2px 2px;
/* Ne pas modifier le block */
	display:block;
/*	Un width:100% fait planter Mozilla, sans le width:100% c'est IE et Opera... La combinaison
	aucun width et height:100% marche sur tous, donc ne pas toucher ces 2 lignes */
	margin:0px;
	width:auto;  /*4-7-2006 changed from 100% to auto so the <a> will stay in the border in Netscape and Firefox. Threw subSubMenu & subMenu_3 off, but added .sSsmenu a & a:visited below to fix this.*/
	/*width:100%;  4-7-2006. If using 100%, Netscape & Firefox allows <a> tag to display beyond the border.*/
	vertical-align:middle;
}

.ssmenu li:hover, .ssmenu li:focus, .ssmenu a:hover, .ssmenu a:focus {
/* Les liens sous le curseur.
	On change les couleurs du texte et de fond, et on enlève le soulignement.
	*/
	background-color:#FFF;
	color:#FFF;
	text-decoration:none;
	border: 1px dotted #D6D6D6;
}

.menu span, .ssmenu span{
/* pour cacher les ; en fin de <li>, ce qui permet aux synthèse vocales de prendre une
	pause dans l'élocution */
	display:none;
}

.ssmenu ul, .ssmenu li, .sSsmenu ul, .sSsmenu li {
/* Les items (les <li>) des sous-menus, notamment pour enlever les puces des liste */
	padding:0;
	margin:0;
	list-style-type:none;
}

.sSsmenu
{
	background-color:#EFEFEF;
    color:black;
	width:100%;  /*cannot use "auto" here; Netscape goes crazy*/
	font-size:9px;
	text-align:center;
	text-decoration:none; 
	/*padding:1px 1px 1px 1px;*/
	padding:0px 0px 0px 0px;
	/*margin:1em;*/
	margin:0em;
	margin-left:0px;
}

.sSsmenu li
{
	border-bottom:solid 1px #D6D6D6;
}

.sSsmenu ul
{
	/*border:1px solid #D6D6D6;*/
}
.sSsmenu a, .sSsmenu a:visited
{
	width:100%;  /*add 4-7-2006*/
}

.ssItems
{
	background-color:#FFF;
	/*width:100%;*/
	height:100%; /*This filled in the color in the subMenu drop down items with subSubMenu 4-7-2006*/
	font-size:10px;
	text-align:center;
	text-decoration:none; 
	margin-left:0px;
}

.ssItems td:hover, .ssItems td:focus, .ssItems a:hover, .ssItems a:focus
{
	background-color:#FFF;
	color:#FFF;
	text-decoration:none;
}
.ssItems a, .ssItems a:visited
{
	font-family:Verdana, MS Sans Serif, arial, sans-serif;
	text-decoration:none;
	color:black;
	display:block;
	margin:0px;
	vertical-align:middle;

}

.ssmenu img.hr {
	/*margin-top:1px;
	margin-bottom:1px;*/
	margin-left:0;
	margin-right:0;
	width:100%;
	height:1px;
	display:block;
	border:0px;
}
/*.sSsmenu img.hr {
	margin-left:0;
	margin-right:0;
	width:100%;
	height:1px;
	display:block;
	border:0px;
}/*

/*
Bref... pour résumer, ce qu'il y a à modifier à la base, c'est :
- couleurs, police, bordure et largeur des menu et ssmenu.
- l'effet spécial IE pour les ssmenu
- police et couleurs des liens "non survolés" et "survolés".
*/