/**
 * Tabs
 */
.tabs-container {
	text-align: center;
	width: 100%;
}

td.tabs-container-left {
	width: 4px;
	background: transparent url("../images/tabs/tabs-bottom-bckg-left-4x4.png") no-repeat scroll left bottom;
}

td.tabs-container-content {
	background: transparent url("../images/tabs/tabs-bottom-bckg-1x4.png") repeat-x scroll left bottom;
}

td.tabs-container-right {
	width: 14px;
	background: transparent url("../images/tabs/tabs-bottom-bckg-right-11x4.png") no-repeat scroll left bottom;
}

table.tabs-footer {
	height: 10px;
	width: 100%;
}

td.tabs-footer-left {
	width: 4px;
	height: 10px;
	background: transparent url("../images/tabs/tabs-bottom-td-left-11x27.png") no-repeat scroll top left;
}

td.tabs-footer-center {
	background-color: #fff;
}

td.tabs-footer-right {
	width: 11px;
	height: 10px;
	background: transparent url("../images/tabs/tabs-bottom-td-right-11x27.png") no-repeat scroll top right;
}

ul.tabs-init {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.tabs-container li div {
	float: left;
}

div.tab-wrap {
	position: relative;
	width: auto;
	height: 46px;
	line-height: 46px;
	padding: 0;
	float: left;
}

li div.tab-wrap {
	background: transparent url("../images/tabs/tabs-background-repeat-1x42.png") repeat-x scroll left bottom;
}

li.tab-inactive div.tab-wrap-left, li.tab-inactive div.tab-wrap-right {
	position: relative;
	width: 11px;
	height: 46px;
	float: left;
}

li.tab-inactive div.tab-wrap-left {
	background: transparent url("../images/tabs/tabs-background-left-11x42.png") no-repeat scroll bottom left;
}

li.tab-inactive div.tab-wrap-right {
	background: transparent url("../images/tabs/tabs-background-lr.png") no-repeat scroll bottom left;
}

ul.tabs-init li {
	float: left;
	height: 46px;
}

li.tab-active, li.tab-inactive:hover {
	background: transparent url("../images/tabs/tabs-background-repeat-1x42.png") repeat-x scroll bottom right;
}

ul.tabs-init li.tab-inactive {
	line-height: 46px;
	background: transparent url("../images/tabs/tabs-background-div-2x46.png") no-repeat scroll bottom right;
}

div.tab-wrap a {
	font: 18px Arial;
	font-weight: normal;
	color: #dedfe2;
	text-decoration: none;
	line-height: 50px;
	padding: 0 10px;
	float: left;
}

li.tab-active div.tab-wrap-left, li.tab-inactive:hover div.tab-wrap-left  {
	background: transparent url("../images/tabs/tabs-active-left-11x46.png") no-repeat scroll left;
	height: 46px;
	margin-left: -4px;
	width: 11px;
	left: 0;
}

li.tab-active div.tab-wrap-right, li.tab-inactive:hover div.tab-wrap-right {
	background: transparent url("../images/tabs/tabs-active-lr.png") no-repeat scroll bottom left;
	width: 11px;
	height: 46px;
	margin-right: -2px;
}

li.tab-active div.tab-wrap, li.tab-inactive:hover div.tab-wrap {
	background: transparent url("../images/tabs/tabs-active-repeat-1x46.png") repeat-x scroll;
}

li.tab-active div.tab-wrap a, li.tab-inactive:hover div.tab-wrap a {
	color: #4c4c4c;
	text-decoration: none;
}

/**
 * CSS2(3) rules
 */

ul.tabs-init li.tab-active:last-child, ul.tabs-init li.tab-inactive:hover:last-child {
	margin-left: -4px;
	background: transparent none;
}

ul.tabs-init li.tab-active:first-child div.tab-wrap-left, ul.tabs-init li.tab-inactive:hover:first-child div.tab-wrap-left {
	background: transparent url("../images/tabs/tabs-rborder-left-11x46.png") no-repeat scroll right bottom;
	height: 46px;
	width: 11px;
}

ul.tabs-init li.tab-active:last-child div.tab-wrap-right, ul.tabs-init li.tab-inactive:hover:last-child div.tab-wrap-right {
	background: transparent url("../images/tabs/tabs-rborder-right-11x46.png") no-repeat scroll right bottom;
	width: 11px;
	height: 46px;
}

ul.tabs-init li.tab-active:last-child div.tab-wrap-left, ul.tabs-init li.tab-inactive:hover:last-child div.tab-wrap-left {
	margin-left: 0px;
}

ul.tabs-init li.tab-inactive:last-child {
	background: transparent none;
}

ul.tabs-init li.tab-inactive:first-child div.tab-wrap-left {
	background: transparent url("../images/tabs/tabs-background-left-7x42.png") no-repeat scroll right bottom;
	width: 11px;
}

ul.tabs-init li.tab-inactive:last-child div.tab-wrap-right {
	background: transparent url("../images/tabs/tabs-background-right-7x42.png") no-repeat scroll left bottom;
	width: 7px;
}

ul.tabs-init li.tab-active:first-child, ul.tabs-init li.tab-inactive:hover:first-child {
	background: none;
}

/**
 * IE7 :last-child fix
 */
html>body ul.tabs-init li.tab-active, html>body ul.tabs-init li.tab-inactive:hover {
	background: transparent none;
}

html>body ul.tabs-init li.tab-inactive {
	background-position: expression(this.nextSibling!=null ? 'bottom right' : '-2px 0');
}

html>body ul.tabs-init li.tab-inactive div.tab-wrap-right {
	background-position: expression(this.parentNode.nextSibling!=null ? 'bottom left' : 'bottom right');
    width: expression(this.parentNode.nextSibling!=null ? '11px' : '7px');
}

html>body ul.tabs-init li.tab-active div.tab-wrap-right, html>body ul.tabs-init li.tab-inactive:hover div.tab-wrap-right {
	background-position: expression(this.parentNode.nextSibling!=null ? 'bottom left' : 'bottom right');
}

html>body ul.tabs-init li.tab-inactive:hover div.tab-wrap-right {
    width: 11px;
}
