.tabs {
	padding: 2px;
	font-size: .9em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FFCC00;
	font-weight: bold;
	margin: 2px;
}

.tabs a
 {
	padding: 2px 12px;
	display: block;
	float: left;
	color: #FFFFFF;
	text-decoration: none;
	background-color: Maroon;
	border: 1px solid #333;
	border-bottom: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
 .tabs a:focus {
	outline: 1px dotted;
	outline-color: #CCCCCC;
              background-color: #000044;
}
.tabs a:active {
	color: #FFCC00;
	background-color: #002200;
}
.tabs a:hover {
	color: #FFCC00;
	background-color: #003300;
	}


/*The ul tag is assigned with the class of nav. That's the only class needed to be refered from the style sheet. The CSS codes are shown below, with comments:*/


ul.tabs,
.tabs ul{
/*Remove all spacings from the list items*/
	margin: 0;
	padding: 0;
	cursor: default;
	list-style-type: none;
	display: inline;
}

ul.tabs{
	display: table;
}
ul.tabs>li{
	display: table-cell;
	position: relative;
	padding: 2px 6px;
}


ul.tabs>li:hover{
	padding-right: 1px;
} 

ul.tabs li>ul {
/*Make the sub list items invisible*/
	display: none;
	position: absolute;
	max-width: 40ex;
	margin-left: -6px;
	margin-top: 2px;
}

ul.tabs li:hover>ul {
/*When hovered, make them appear*/
	display : block;
}

.tabs ul li a{
/*Make the hyperlinks as a block element, sort of a hover effect*/
	display: block;
	padding: 2px 10px;
}

/*** Menu colors (customizable) ***/

ul.nav,
.nav ul,
.nav ul li a{
	background-color: #fff;
	color: #369;
}


ul.nav li:hover,
.nav ul li a:hover{
	background-color: #369;
	color: #fff;
}

ul.nav li:active,
.nav ul li a:active{
	background-color: #036;
	color: #fff;
}

ul.nav,
.nav ul{
	border: 1px solid #369;
}

.nav a{
	text-decoration: none;
}
