.animatedtabs {
	overflow: hidden;
	font-size: 14px; /*font of menu text*/
}


.animatedtabs ul {
	list-style-type: none;
	margin: 0;
	margin-left: 10px; /*offset of first tab relative to page left edge*/
	padding: 0;
}

.animatedtabs li {
	float: left;
	margin: 0;
	padding: 0;
}

.animatedtabs a {
	float: left;
	position: relative;
	top: 15px; /* 1) Number of pixels to protrude up for selected tab. Should equal (3) MINUS (2) below */
	background: url(/images/tab-left.gif) no-repeat left top;
	margin: 0;
	margin-right: 3px; /*Spacing between each tab*/
	padding: 0 0 0 9px;
	text-decoration: none;
}

.animatedtabs a span {
	float: left;
	position: relative;
	display: block;
	background: url(/images/tab-right.gif) no-repeat right top;
	padding: 13px 29px 10px 25px; /* 2) Padding within each tab. The 3rd value, or 3px, should equal (1) MINUS (3) */
	font-weight: bold;
	color: #D0B898;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
.animatedtabs a span {float:none;}
/* End IE5-Mac hack */


.animatedtabs .selected a{
background-position: 0 -80px;
top: 0;
}

.animatedtabs .selected a span{
background-position: 100% -80px;
color: white;
padding-top:20px;
padding-bottom: 18px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}

.animatedtabs a:hover{
background-position: 0% -80px;
top: 0;
}

.animatedtabs a:hover span{
background-position: 100% -80px;
padding-top:20px;
padding-bottom: 18px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
color:white;
}