.mattblacktabs{
width: 100%;
overflow: hidden;
border-bottom: 1px solid black; /*bottom horizontal line that runs beneath tabs*/
}

.mattblacktabs ul{
margin: 0;
padding: 0;
padding-left: 10px; /*offset of tabs relative to browser left edge*/
font: bold 12px Verdana;
list-style-type: none;
}

.mattblacktabs li{
display: inline;
margin: 0;
}

.mattblacktabs li a{
	float: left;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 7px 8px; /*padding inside each tab*/
	border-right: 1px solid white; /*right divider between tabs*/
	color: white; /*background of tabs (default state)*/
	background-color: #020167;
}

.mattblacktabs li a:visited{
color: white;
}

.mattblacktabs li a:hover, .mattblacktabs li.selected a{
	background-color: #FF0000;
}









#underlinemenu{
	margin: 0;
	padding: 0;
	width: 630px;
}

#underlinemenu ul{
	margin-bottom: 1em;
	padding-left: 0;
	float: left;
	font-weight: bold;
	width: 630px;
	border: 1px solid #DFDFDF;
	border-width: 1px 0;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
}

* html #underlinemenu ul{ /*IE only rule. Delete extra margin-bottom*/
	margin-bottom: 0;
	width: 630px;
}

#underlinemenu ul li{
	display: inline;
}


#underlinemenu ul li a{
	float: left;
	color: #FF0000;
	font-weight: bold;
	padding: 2px 6px 4px 6px;
	text-decoration: none;
	background: white url(http://www.ecocars-technologie.com/images/menudivide.gif) top right repeat-y;
}

#underlinemenu ul li a:hover{
	color: #020167;
	background-color: #F3F3F3;
	border-bottom: 4px solid red;
	padding-bottom: 0;
}
