/* @override 
 
	http://localhost/thehumanbrain/web/css/navigation.css
*/

/*
######################################################## 
################ comment all selectors #################
######################################################## 
*/

/* #### HACK to exclude IE6 ########## */
html>/**/body .menu {
	border-right: 0px solid #000;
	height: 30px;
	float: left;
	/*margin: 0 auto 0 auto ;*/ 
	/*margin: 0 auto 0 156px ;*/ 
	/*margin: 0 auto 0 138px ;*/ 
	width: 844px;
	/*width: 844px;*/
	z-index: 100;
	font-size: 1em;
	text-align: left;
}

/* #### HACK for IE7 only ########## */
html>body .menu {
	*float: left;
}

.menu {
	border-right: 0px solid #000;
	float: left;
	/*height: 30px;*/
	
	width: 840px;
	z-index: 100;
}

/* #### HACK to correct IE5.5 faulty box model */

* html .menu {
	width: 844px;
	w\idth: 854px;
}

/* #### remove all the bullets, borders and padding 
from the default list styling */

.menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.menu ul ul {
	width: 120px;
}

/* #### float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */

.menu li {
	
	float: left; 
	position: relative;
	/*margin: 0 2px;*/
	width: 120px;
	}

/* #### style the links for the top level */

.menu a, 
.menu a:visited {
	color: #fff;
	display: block;
	font-size: 13px;
	height: 32px;
	line-height: 30px;
	margin-left: 0px;
	padding:  0px 0px 0px 0px;
	text-decoration: none;
	text-indent: 4px;
	width: 120px;
	font-weight: bold;
	text-shadow: rgba(51,51,51,0.62) 0 -1px 0;
}

.menu li.service a, 
.menu li.service a:visited {
	/*border-right: 1px solid #666;*/
	width: 122px;
}
/* a hack so that IE5.5 faulty box model is corrected */

* html .menu a, 
* html .menu a:visited {
	height: 30px;
	width: 120px;
	line-height: 28px;
	text-align:left ;
}

/* style the second level background */

.menu ul ul a.drop, 
.menu ul ul a.drop:visited {
	background: #bc0008;
 
}

/* style the second level hover */

.menu ul ul a.drop:hover {
	background: #bc0008 no-repeat right;
}

.menu ul ul :hover > a.drop {
	background: #bc0008;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */

.menu ul ul {
	border-top: 4px solid #e2e2e2;

	height: 0;
	left: 0;
	min-height: 13px;
	padding: 0px 0 0px 0px;
	position: absolute;
	text-indent: 4px;
	top: 32px;
	visibility: hidden;

	}

/* another hack for IE5.5 */

* html .menu ul ul {
	top: 30px;
	t\op: 30px;
}

/* style the table so that it takes no part in the layout - required for IE to work */

.menu table {
	position: static;
	top: 0;
	left: 0;
	/*border-collapse: collapse;*/
	border: none;
	width: 120px;
	
}

/* style the second level links */

.menu ul ul a,
.menu ul ul a:visited {
	-moz-opacity: 0.8;
	background: #eee;
	border-bottom: 1px solid #d8dcdf;
	color: #000;
	font-weight: normal;
	height: auto;
	line-height: 13px;
	margin: 0px 0 0 0 ;
	min-height: 13px;
	opacity: 0.8;
	padding: 1px 0px 1px 0px;
	w\idth: 120px;
	width: 120px;
	text-shadow: none;
}

/* hack for IE5.5 */

* html .menu ul ul a, 
* html .menu ul ul a:visited {
	background: #eee;
	height: 10px;
	width: 120px;
	w\idth: 120px;
	}

/* style the top level hover */

.menu a:hover {
	color: #fff;
	background: url(../img/_style/navigation_hover.jpg) no-repeat -0px -0px;
	width: 120px;
	w\idth: 120px;
	text-shadow: none;
	}
	
.menu a:active {
	color: #fff;
	background: url(../img/_style/navigation_hover.jpg) no-repeat 0px -0px;
	width: 120px;
	w\idth: 120px;
	}

.menu ul ul a:hover {
	color: #870000;
	background: #fff;
	opacity: 1;
	-moz-opacity: 1;
	text-decoration: none;
	text-shadow: none;
}

.menu :hover > a, 
.menu ul ul :hover > a {
	color: #fff;
	background: #eee url(../img/_style/navigation_hover.jpg) no-repeat -0px -0px;
	-moz-opacity: 0.8;
	opacity: 0.8;
	text-shadow: none;
}

.menu :active > a, 
.menu ul :active > a {
	color: #fff;
	background: url(../img/_style/navigation_hover.jpg) no-repeat -120px -0px;
	-moz-opacity:0.8;
	opacity: 0.8;
	text-shadow: none;
	width: 120px;
	w\idth: 120px;
}

.menu ul ul :hover > a {
	color: #870000;
	background: #fff;
	opacity: 1;
	-moz-opacity:1;
}

/* make the second level visible when hover on first level list OR link */

.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility: visible;
}

/* keep the third level hidden when you hover on first level list OR link */

.menu ul :hover ul ul {
	visibility: hidden;
}

/* make the third level visible when you hover over second level list OR link */

.menu ul :hover ul :hover ul {
	visibility: visible;
}

/*li.home,
li.home a,*/
li.book,
li.book_on,
li.mri,
li.mri_on,

li.headbrain,

li.headbrain_on,
li.brain,
li.brain_on,
li.otherbrains,
li.otherbrains_on,
li.histoch,

li.histoch_on,
li.database,
li.database_on,

li.service,
li.service_on,

li.teaching
{
	color: #ccc;
	/*border-left: 1px solid #ccc;*/
	display: inline-block;
	float: left;
	height: 150px;
	
}

/*
li.home,
li.home a{
	background: url(../img/_style/navigation.jpg) -3px -0px;}

li.home_on,
li.home a_on {
		background: url(../img/_style/navigation_hover.jpg) -3px -0px;
}
*/

li.book {
	background: url(../img/_style/navigation.jpg) -0 -0px;
	margin: 0 0px;
}

li.book_on,
li.book a_on {
	background: url(../img/_style/navigation_hover.jpg) 0px -0px;
	margin: 0 0px 0 0px;}

/*li.book a:hover {
	background: url(../../png/navigation.png) -123px -250px;
}*/

li.mri {
	background: url(../img/_style/navigation.jpg) -120px 0px;
}

li.mri_on {
	background: url(../img/_style/navigation_hover.jpg) -120px -0px;
}


li.headbrain {
	background: url(../img/_style/navigation.jpg) -120px 0px;
}

li.headbrain_on {
	background: url(../img/_style/navigation_hover.jpg) -120px -0px;
}

li.brain
{
	background: url(../img/_style/navigation.jpg) -240px 0px;
}

li.brain_on,
li.brain a_on {
	background: url(../img/_style/navigation_hover.jpg) -240px -0px;
}

li.otherbrains {
	background: url(../img/_style/navigation.jpg) -360px 0px;
}

li.otherbrains_on,
li.otherbrains a_on {
	background: url(../img/_style/navigation_hover.jpg) -360px -0px;
}

li.database {
	background: url(../img/_style/navigation.jpg) -480px 0px;
}

li.database_on,
li.database a_on {
	background: url(../img/_style/navigation_hover.jpg) -480px 0px;
}


li.histoch{
	background: url(../img/_style/navigation.jpg) -480px 0px;
}

.menu ul li.histoch ul,
.menu ul li.histoch:hover,
li.histoch ul li:hover,
.menu ul li.histoch_on ul,
.menu ul li.histoch_on:hover,
li.histoch_on ul li:hover {
	border-top: 0px solid;
}

li.histoch_on,
li.histoch a_on {
	background: url(../img/_style/navigation_hover.jpg) -480px -0px;
}


li.service {
	background: url(../img/_style/navigation.jpg) -600px 0px;
	width: 122px;
}

li.service_on,
li.service a_on {
	background: url(../img/_style/navigation_hover.jpg) -600px 0px;
	width: 122px;
}


li.teaching {
	background: url(../img/_style/navigation.jpg) -720px 0px;
}

li.teaching_on,
li.teaching a_on {
	background: url(../img/_style/navigation_hover.jpg) -720px 0px;
}


li.histoch table,
li.histoch td,
li.histoch td a {
	border: collapse;
	height: 0px;
	visibility: hidden;
}

* html li.histoch ul li a {
	line-height: 0px;
	 height: 0px;
}
