/* Template Style
*/

/* General Structure */
    body, td, th, input { /* redundant rules for bad browsers  */
            font-family: verdana, sans-serif;
            font-size: x-small;
            voice-family: "\"}\"";
            voice-family: inherit;
            font-size: small;
    }

	h1, h2, h3, h4, h5, h6 {
		margin: 1em 0 0.2em 0;
		border-bottom: 1px solid #ccc;
		font-family: arial, verdana, sans-serif;
	}
	li h1, li h2, li h3, li h4, li h5, li h6 {
		border: none;
	}

	hr {
		height: 1px;
		background-color: #000;
		color: #000;
		margin: 2em 0;
	}

	#header h1 { border: 0; }

	h1 { font-size: 160%; font-weight: normal; }
	h2 { font-size: 150%; font-weight: normal; }
	h3 { font-size: 120%; }
	h4 { font-size: 100%; }
	h5 { font-size: 90%; }
	h6 { font-size: 90%; border: 0; }

/* Navigation */

        :link { color: #039; }
        :visited { color: #636; }
        :link:hover, :visited:hover { color: #333; }
        :link:active, :link:active { color: #000; }




/* Basic Structure */
	body {
		min-width: 800px;
		margin: 20px;
		background: #fff;
		color: #000;
	}

	#container {
		max-width: 70em;
		margin: 0 auto;
	}

	#mBody {
		clear: both;
		padding: 0 0 1em 0;
		/* background: url("./binarx1.jpg"); */
	}

	#side {
		float: left;
		width: 23%;
		margin-bottom: 1em;
		background: #fff;
		line-height: 1.3; /* value other than 'normal' needed for WinIE */
		color: #000;
	}

	#mainContent {
		margin-left: 25%;
		background: #fff;
		line-height: 1.3; /* value other than 'normal' needed for WinIE */
		color: #000;
	}
	.nomenu #mainContent {
		margin-left: 0;
	}
	.bodyleft {
		margin-left: 25% ! important
	}
	#mainContent.right {
		float: left;
		width: 62%;
		margin-bottom: 1em;
		margin-left: 0;
	}


/* Asides */


	.key-point:before {
		line-height: 0.1;
		font-size: 1px;
		background: transparent url("../images/key-point_tr.gif") no-repeat top right;
		margin: -15px -15px 0 -15px;
		height: 15px;
		display: block;
		border: none;
		content: url("../images/key-point_tl.gif");
	}
	.key-point {
		/* background: #e4ecec url("./binarx1.jpg") right repeat-y; */
		background:  url("./binarx1.jpg");
		padding: 15px;
		margin-bottom: 1em;
	}
	.key-point:after {
		display: block;
		clear: both;
		padding-top: 15px;
		line-height: 0.1;
		font-size: 1px;
		content:  url("../images/key-point_bl.gif");
		margin: -15px;
		height: 8px;
		background: transparent url("../images/key-point_br.gif") scroll no-repeat bottom right ;
	}

	.key-point h2, .key-point h3, .key-point h4, .key-point h5 {
		border: none;
		margin-top: 0;
		color: #4C5C5C;
	}



	#side.right {
		float: right;
		width: 35%;
	}


/* Header */

	#header {
		background: #455372 url("../images/header_bl.png") bottom left repeat-x;
		position: relative;
		min-height: 39px;
		height: 5em;
		padding: 0;
		voice-family: "\"}\"";
		voice-family: inherit;
		height: 3em;
		padding: 15px 0;
	} #ignored {}

	#header h1 {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		font-size: 2px;
		background: url("../images/header_tl.gif") no-repeat; 
		height: 8px;
		z-index: 100; /* above the UL */
	}
	#header h1 a {
		display: block;
		width: 125px;
		height: 80px;
		background: transparent url("../images/header_logo.gif") no-repeat;
		text-indent: -700em;
		text-decoration: none;
	}
	#header ul {
		width: auto;
		position: absolute;
		bottom: 0;
		right: 0;
		margin: 0;
		padding: 0 15px 0 0;
		list-style: none;
		background: url("../images/header_br.gif") no-repeat bottom right; 
		z-index: 90; /* below the H1 */
	}
	#header li {
		float: right;
		background: transparent url("../images/header_tab.gif") 100% -600px no-repeat; 
		padding: 0 6px 0 0;
		margin: 0 1px 0 0;
		border-bottom: 1px solid #515358;
	}
	#header ul a {
		float: left;
		display: block;
		padding: 4px 4px 4px 10px;
		background: transparent url("../images/header_tab.gif") 0% -600px no-repeat;
		font-weight: bold;
		color: #fff;
		text-decoration: none;
	}
	#header ul li:hover a { background-position: 0% -400px; }
	#header ul li:hover { background-position: 100% -400px; }

	body.sectionHome li#menu_home a,
	body.sectionCV li#menu_cv a,
	body.sectionScience li#menu_science a,
	body.sectionTeaching li#menu_teaching a,
	body.sectionPubli li#menu_publi a,
	body.sectionLinks li#menu_links a,
	body.sectionDownload li#menu_download a,
	body.sectionPhotos li#menu_photos a,
	body.sectionContact li#menu_contact a {
		background-position: 0% -200px;
		color: #039;
	}

	body.sectionHome li#menu_home,
	body.sectionCV li#menu_cv,
	body.sectionScience li#menu_science,
	body.sectionTeaching li#menu_teaching,
	body.sectionPubli li#menu_publi,
	body.sectionLinks li#menu_links,
	body.sectionDownload li#menu_download,
	body.sectionPhotos li#menu_photos,
	body.sectionContact li#menu_contact {
		background-position: 100% -200px;
		border-bottom: 1px solid #fff;
	}

	body.sectionHome li#menu_home:hover,
	body.sectionCV li#menu_cv:hover,
	body.sectionScience li#menu_science:hover,
	body.sectionTeaching li#menu_teaching:hover,
	body.sectionPubli li#menu_publi:hover,
	body.sectionLinks li#menu_links:hover,
	body.sectionDownload li#menu_download:hover,
	body.sectionPhotos li#menu_photos:hover,
	body.sectionContact li#menu_contact:hover {
		background-position: 100% 0%;
	}

	body.sectionHome li#menu_home:hover a,
	body.sectionCV li#menu_cv:hover a,
	body.sectionScience li#menu_science:hover a,
	body.sectionTeaching li#menu_teaching:hover a,
	body.sectionPubli li#menu_publi:hover a,
	body.sectionLinks li#menu_links:hover a,
	body.sectionDownload li#menu_download:hover a,
	body.sectionPhotos li#menu_photos:hover a,
	body.sectionContact li#menu_contact:hover a {
		background-position: 0% 0%;
		color: #333;
	}

/* Search Field */

	#header form {
		position: absolute;
		top: 0;
		right: 0;
		padding: 12px 20px 0 0;
		background: url("../images/header_tr.gif") no-repeat top right; 
		margin: 0; /* need for IE Mac */
		text-align: right; /* need for IE Mac */
		white-space: nowrap; /* for Opera */
	}

	#header form label { color: #fff; font-size: 85%; }
	#header form input { font-size: 85%; }

	#header form #submit {
		font-size: 85%;
		background: #6A7389;
		color: #fff;
		padding: 1px 4px;
		border-right: 1px solid #283043;
		border-bottom: 1px solid #283043;
		border-top: 1px solid #9097A2;
		border-left: 1px solid #9097A2;
	}

	#header form #target {
		width: 100px;
		font-size: 85%;
		border:	1px solid #9097A2;
		background: #D9DBE1;
		padding: 2px;
	}
	#header form #target:hover, #header form #target:focus {
		background: #fff;
	}

/* Sidebar */

	#nav:before {
		line-height: 0.1;
		font-size: 1px;
		background: transparent url("../images/menu_tr.gif") no-repeat top right;
		margin: 0;
		height: 9px;
		display: block;
		border-bottom: 1px solid #ddd;
		content: url("../images/key-point_tl.gif");
	}
	#nav {
		background: #E0E9E9 url("../images/menu_back.gif") right repeat-y; 
		/* background:  url("./binarx1.jpg"); */
		line-height: 1em;
	}
	#nav:after {
		display: block;
		padding-top: 0;
		line-height: 0.1;
		font-size: 1px;
		content:  url("../images/key-point_bl.gif");
		margin: 0 0 0 0;
		height: 8px;
		background: transparent url("../images/menu_br.gif") scroll no-repeat bottom right ;
		border-top: 1px solid #fff;
	}

	#nav, #nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	#nav {
		margin-bottom: 1em;
	}
	#nav li {
		display: inline;
		padding: 0;
		margin: 0;
	}

	#nav li span { /* used for un-linked menu items */
		display: block;
		padding: 6px 10px;
		font-weight: bold;
		color: #666;
		/* background:  url("./binarx1.jpg"); */
	}

	#nav li span#configParent, #nav li span #configuration {
		display: inline;
		font-weight: normal;
		padding: 0;
	}

	#nav li a {
		display: block;
		padding: 8px 10px;
		text-decoration: none;
		background: #EDF2F2;
		border-bottom: 1px solid #ddd;
		border-top: 1px solid #fff;
		border-right: 1px solid #ddd;
		/* background:  url("./binarx1.jpg"); */
	}

	#nav li a:hover {
		background: #E0E9E9;
	}

	#nav li li span { /* used for un-linked menu items */
		padding: 4px 8px 4px 20px;
	}

	#nav li li a {
		padding: 6px 8px 6px 20px;
	}

	#oN {
		background-color: #E0E9E9;
	}
	#oN:hover {
		background-color: #C6DCDC;
	}

/* Footer */

	#footer {
		border-top: 1px solid #999;
		margin: 2em 0;
		padding: 1em 0;
		text-align: center;
	}

	#footer ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	#footer li {
		display: inline;
	}

	#footer span,#footer a {
		white-space: nowrap;
		padding: 0 1em;
	}

	#footer p span,#footer p a {
		white-space: nowrap;
		padding: 0 0.3em;
	}

	#footer span a {
		padding: 0;
	}

	#footer p,#footer p a {
		color: #666;
	}

	#footer p a:hover {
		color: #000;
	}
