.r-tabs {
	position: relative;
}

.r-tabs .r-tabs-nav {
	background-color: #f2f2f2;
	height: 33px;
	border: 1px solid #ccc;
	border-width: 0 0 1px 0;
	border-top: 2px solid #fff;
}

.r-tabs .r-tabs-nav .r-tabs-tab {
	float: left;
	height: 33px;
	line-height: 33px;
	overflow: visible;
	display: block;
	background-color: #f2f2f2;
}

.r-tabs .r-tabs-nav .r-tabs-anchor {
	margin-bottom: 3px;
	padding: 1px 15px;
	display: inline-block;
	text-decoration: none;
	font-weight: bold;
}

.r-tabs .r-tabs-nav .r-tabs-state-active {
	background-color: #fff;
	height: 34px;
	border: 1px solid #ccc;
	border-width: 0 1px 0 1px;
	position: relative;
	margin-bottom: -1px;
	margin-top: -1px;
	border-top: 1px solid #666;
	overflow: visible;
	width: auto;
}

.r-tabs .r-tabs-nav .r-tabs-state-disabled {
	opacity: 0.5;
}

.r-tabs .r-tabs-nav .r-tabs-state-active .r-tabs-anchor {
	color: #333;
	background-color: #fff;
}

.r-tabs .r-tabs-panel {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title .r-tabs-anchor {
	display: none;
	padding: 10px;
	background-color: #00aadd;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 3px;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-disabled {
	opacity: 0.5;
}

.r-tabs .r-tabs-accordion-title.r-tabs-state-active .r-tabs-anchor {
	background-color: #fff;
	color: #00aadd;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
	margin-bottom: 0;
}