
/* root element for tabs  */
.tabs,
.subtabs {
	list-style:none; 
	padding:0px;
	height:20px;
	border-bottom:1px solid #379;
	min-width:16em;
	width:auto;
	margin:0; !important;
}

.subtabs {
  min-width:10.8em;
  width: auto;
  font-size:0.9em;
}

/* single tab */
.tabs li,
.subtabs li { 
	float:left;	 
	text-indent:0;
	padding:0px;
	margin:0 !important;
	list-style-image:none !important;
}

/* link inside the tab. uses a background image */
.tabs a,
.subtabs a { 
	/*background: url(../img/tabs.png) no-repeat 0 0;*/
	display:block;
	height: 19px;  
	line-height:19px;
	text-align:center;	
	text-decoration:none;
	padding:0px 0.5em;
	margin:0px;	
	border-bottom:none;
	color:#707070;
	background-color:#cae1ff;
	border:1px solid #bbb;
  border-bottom:none;
  border-radius:3px 3px 0px 0px;
}

.subtabs a {
  background-color:#fff;
  padding:0px 0.4em;
}

.tabs a:active,
.subtabs a:active  {
	outline:none;
}

/* when mouse enters the tab move the background image */
.tabs a:hover.
.subtabs a:hover {
  background-color:#379;
	color:#fff;
	text-shadow:#fff 0 0 0;
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
/* Stylesheet for tabs */

.tabs a.current, .tabs a.current:hover, .tabs li.current a, .tabs li.current a:hover,
.subtabs a.current, .subtabs a.current:hover, .subtabs li.current a, .subtabs li.current a:hover {
	background-color:#fff;		
	cursor:default !important; 
	color:#379; !important;
	text-shadow: #379 0 0 0;
	border:1px solid #379;
	border-bottom:1px solid #fff;
}

.subtabs a.current, .subtabs a.current:hover, .subtabs li.current a, .subtabs li.current a:hover {
	background-color:#fc4;
}

/* initially all panes are hidden */
div.pane,div.subpane {
  background-color:#fff;
	border-style:solid;
	border-width:1px;
	border-color:#379;
	border-top:none;
	padding:1em;
	min-width:14em;
	width:auto;
}

div.subpane {
  min-width:9.8em;
  width:auto;
  display: block; 
  max-height:60em;
  overflow:auto;
}