.tabs{
    margin: 35px 0;
    position: relative;
}

.tabs .tl{
	float: left;
	background: url('/i/tabs_tl.png') no-repeat left top;
	width: 12px;
	height: 11px;
	display: block;	
	position: absolute;
}	

.tabs .tr{
	float: right;
	background: url('/i/tabs_tr.png') no-repeat right top;
	width: 12px;
	height: 11px;
	display: block;
    right: 0;
	position: absolute;	
}

.tabs .bl{
	clear: both;
	float: left;
	background: url('/i/tabs_bl.png') no-repeat left bottom;
	width: 13px;
	height: 12px;
	display: block;		
	margin: -12px 0 0px 0px;					
}	

.tabs .br{	
	float: right;
	background: url('/i/tabs_br.png') no-repeat right bottom;
	width: 13px;
	height: 12px;
	display: block;
	position: relative;
	margin: -12px 0px 0px 0px;
	border: none;	
}

/* root element for mainTabs  */
ul.mainTabs { 
	list-style:none; 
	margin:0 !important; 
	padding:0 0 0 20px !important;	
	border:1px solid #b6b6b5;          	
	height:39px;
    background: #dcd8b9;
}

/* single tab */
ul.mainTabs li { 
	float:left;	 
	text-indent:0;
	padding:0;
	margin:0 !important;
	list-style-image:none !important; 
}

/* link inside the tab. uses a background image */
ul.mainTabs a { 
	background: url(/i/blue.png) no-repeat -420px 0;
	font-size:1.2em;
	display:block;
	height: 30px;  
	line-height:30px;
	width: 130px;
	text-align:center;	
	text-decoration: underline;
	color:#000;
	padding:0px;
	margin:0px;	
	position:relative;
	top:10px;
}

ul.mainTabs a:active {
	outline:none;		
}

/* when mouse enters the tab move the background image */
ul.mainTabs a:hover {
	background-position: -0px -31px;	
	color:#000;	
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
ul.mainTabs a.current, ul.mainTabs a.current:hover, ul.mainTabs li.current a {
	background-position: -0px -62px;		
	cursor:default !important; 
	color:#000 !important;
}

ul.mainTabs a.l 			{ background-position: -151px -0px; width:211px; }
ul.mainTabs a.l:hover 	{ background-position: -151px -31px; }
ul.mainTabs a.l.current  { background-position: -151px -62px; }


/* initially all panes are hidden */ 
div.panes div.pane {
	display:none;		
}

/* tab pane styling */
div.panes div.pane {
	display:none;		
	padding:15px 20px;
	border:1px solid #b6b6b5;
	border-top:0;
	background-color:#fff;
}

