/* File name			: shared.css
 * Author				: Fabian Kostadinov
 * Creation date		: 25.12.05
 * Purpose		 		: General styling of the web site
 * Version				: 1.0
 * 
 * Modification date : 16.05.06
 * Version				: 2.0
 * Author				: Jalil Zerdani
 * Reason				: Re-structuration and menus are now made with CSS not JavaScript
*/


/********************************************** General settings ***********************************************/

/* For resetting the default-value of the browsers */ 
* 
{
	margin: 0px; 
	padding: 0px; 
	border: 0px; 
}

body 
{ 
	width: 770px; 
	color: #002868; 
	background-color: #FFFFFF; 
	font-family: Tahoma, Gill Sans MT, Sans-Serif, Verdana, Helvetica; 
	font-size: 12px; 
	line-height: 15px;
	margin: 0 auto;
}

a 
{	
	font-size: 12px; 
	font-family: Tahoma, Gill Sans MT, Sans-Serif, Verdana, Helvetica;	
	color: #002868; 
}

a:hover 
{ 
	color: #BDC8E3; 
}

br 
{ 
	line-height: 8px; 
}

br.br42px 
{ 
	line-height: 40px; 
}

p 
{ 
	margin-bottom: 5px 
}

img 
{ 
	border: none; 
}

table 
{
	border-collapse: collapse; 
} 

td 
{ 
	padding: 0px; 
}

div.center 
{ 
	text-align: center; 
}

div.right 
{ 
	text-align: right;
}


/********************************************** Header ***********************************************/

#header 
{ 
	position: absolute; 
	top: 0px; 
	left: 0px; 
	width: 770px; 
	height: 75px; 
}

#header #maflogo 
{ 
	position: absolute; 
	left: 0px; 
}

#header #maflogopic 
{ 
	width: 229px; 
	height: 71px; 
	margin: 3px 0px 1px 3px; 
}

#header #mafmotto 
{ 
	font-weight: bold; 
	font-size: 40px; 
	font-style: italic; 
	width: 280px; 
	height: inherit; 
	line-height: 75px; 
	margin-left : 483px;
	color : #C10538;
}

/************************************************* MENU *****************************/

#menu 
{
	position: relative; top: 80px; left: 1px; 
	height : 20px;
	width : 763px;
	z-index : 1;/* for menu being visible over boxes */
}

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	height : 20px;
	display: block;
	

}

#nav a {
	display: block;
	width: 151px;
	color : #FFFFFF;
	font-weight : bold;
	text-decoration : none;
	text-align : center;
	padding : 5px 0px 5px 0px;
}

#nav a:hover {
	color : #002868;
}

#nav li { /* all list items */
	float: left;
	width: 151px; /* width needed or else Opera goes nuts */
	background: #002868;
	border-left : solid 1px #FFFFFF;
	
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 151px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

/* second level elements */
#nav li ul li {
	border-left : none;
	border-top : solid 1px #FFFFFF;
}

/* second level links */
#nav li ul li a {
	text-align : center;
	font-size : 10px;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li:hover, #nav li.sfhover 
{
	background-color : #BDC8E3;
}


/********************************************* Position of the user in the web site **********************************/

#siteposition 
{ 
	position: absolute; 
	top: 105px; 
	width: 100%; 
	height: 1.5em; 
	background-color: #BDC8E3; 
	font-weight: bold; 
}

#siteposition a 
{ 
	color: #002868; 
	font-size: 12px; 
	font-weight: bold; 
	text-decoration: none; 
}
#siteposition a:hover 
{ 
	text-decoration: underline; 
}

/********************************************* Left content **********************************/
#leftcontent 
{ 
	position: absolute; 
	left: 0px; 
	top: 135px; 
}


/********************************************* Main content  **********************************/

/* Due to the use of round corners in the boxes, absolute positioning to be used */
#maincontent 
{ 
	position: absolute; 
	left: 141px; 
	top: 135px; 
	width: 629px; 
	font-size: 12px; 
}

/********************************************* Boxes  **********************************/


div.box 
{ 
	border: 2px solid #002868; 
}

div.box .tl 
{ 
	position: absolute; 
	width: 0px; 
	height: 0px; 
}

div.box .tr 
{ 
	position: absolute; 
	width: 0px; 
	height: 0px; 
}

div.box .br 
{ 
	position: absolute; 
	width: 0px; 
	height: 0px; 
}

div.box .bl 
{ 
	position: absolute; 
	width: 0px; 
	height: 0px; 
}

div.box .corner 
{ 
	position: relative; 
	width: 4px; 
	height: 4px; 
}

div.box .tl .corner 
{ 
	top: -2px; 
	left: -2px; 
	background: url(../images/corners/tl.gif) no-repeat; 
}

div.box .tr .corner 
{ 
	top: -2px; 
	right: 2px; 
	background: url(../images/corners/tr.gif) no-repeat; 
}

div.box .br .corner 
{ 
	bottom: 2px; 
	right: 2px; 
	background: url(../images/corners/br.gif) no-repeat; 
}

div.box .bl .corner 
{ 
	bottom: 2px; 
	left: -2px; 
	background: url(../images/corners/bl.gif) no-repeat; 
}

div.box .boxcontent 
{ 
	position: absolute; 
	width: 100%; 
}

div.box .boxcontent .boxtitle 
{ 
	color: #FFFFFF; 
	background-color: #002868;
	font-size: 17px; 
	font-weight: bold; 
	text-align: center; 
	padding: 0px 2px 2px 2px;
}

div.box .boxcontent .boxtext 
{ 
	padding: 0px 6px 0px 6px; 
	font-size : 12px
}


/********************************************* Footer **********************************/

#footer 
{	
	position: absolute; 
	top: 685px;
	width : 764px;
	background-color: #002868; 
	color: #FFFFFF; 
	padding-bottom : 2px;
	text-align: center;
}

#footer li 
{
	font-size: 10px; 
	display : inline;
	list-style-type: none;
}


#footer a 
{ 
	color:#FFFFFF; 
	font-size: 10px; 
	font-weight: bold; 
	text-decoration: none; 
}

#footer a:hover 
{	
	text-decoration: underline;	
	color: #FFFFFF;	
}	

