/* root element for tabs  */
ul.tabs { 
	list-style:none; 
	margin:0 !important; 
	padding:0;
	height:30px;
	border-bottom:1px solid #999;
}

/* single tab */
ul.tabs 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.tabs a { 
	background: url(blue.png) no-repeat -553px 0;
	font-size:11px;
	display:block;
	height: 30px;  
	line-height:30px;
	width: 81px;
	text-align:center;	
	text-decoration:none;
	color:#333;
	padding:0px;
	margin:0px;	
	position:relative;
	top:1px;
}

ul.tabs a:active {
	outline:none;		
}

/* when mouse enters the tab move the background image */
ul.tabs a:hover {
	background-position: -553px -31px;	
	color:#fff;	
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
ul.tabs a.current, ul.tabs a.current:hover, ul.tabs li.current a {
	background-position: -553px -62px;		
	cursor:default !important; 
	color:#000 !important;
}

/* Different widths for tabs: use a class name: w1, w2, w3 or w4 */

/* width 1 */
ul.tabs a.w1 			{ background-position: -420px 0; width:134px; }
ul.tabs a.w1:hover 	{ background-position: -420px -31px; }
ul.tabs a.w1.current  { background-position: -420px -62px; }

/* width 2 */
ul.tabs a.w2 			{ background-position: -248px -0px; width:174px; }
ul.tabs a.w2:hover 	{ background-position: -248px -31px; }
ul.tabs a.w2.current  { background-position: -248px -62px; }


/* width 3 */
ul.tabs a.w3 			{ background-position: 0 -0px; width:248px; }
ul.tabs a.w3:hover 	{ background-position: 0 -31px; }
ul.tabs a.w3.current { background-position: 0 -62px; }

div.panes div {
	display:none;		
	padding:15px 10px 0px 10px;
	border:1px solid #999;
	border-top:0;
	font-size:14px;
	background-color:#fff;
	margin-bottom: 30px;
}
div.panes_sidebar div {
	display:block;		
	padding:15px 0 0 0;
	border:none;
}
div.panes_sidebar div ul {
	padding: 0 !important;
}
div.panes_sidebar div ul li {
	margin: 0 8px 5px 0 !important;
}	

div.wrap {
	width:100%;
	margin-bottom:15px;
}

div.pane div.sbtabs  {	
	display:none;		
	padding: 20px;
	border:1px solid #999;
	border-top:0;
}

ul.bvgallery { margin: 0 0 10px 10px !important; padding: 0; list-style: none; }
ul.bvgallery li { float: left; margin: 0 5px 5px 0; }
ul.bvgallery li a {  padding: 2px !important; border: 2px solid #999; border-radius: 5px 5px 5px 5px; display: block; }
ul.bvgallery li a:hover { border: 2px solid #000; border-radius: 5px 5px 5px 5px; display: block; }
