/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0;
/*    min-width: 100px;*/
}
.ui-tabs-nav em {
	font-style: normal;
	font-size: 0.9em;
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background:  url(../images/carousel/tab.png) no-repeat;
    _background: url(../images/carousel/tab.gif) no-repeat;
}
.ui-tabs-nav a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    color: #909b1d;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    _white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    z-index: 2;
    margin-top: 0;
	font-size: 16px;
    color: #5a481c;
}
.ui-tabs-nav a span {
    _width: 85px; /* IE 6 treats width as min-width */
    min-width: 85px;
    _height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 21px;
    padding-right: 4px;
	padding-bottom: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    _width: 100px; /* IE 6 treats width as min-width */
    min-width: 100px;
	  padding-top: 16px;
    padding-bottom: 5px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-deselectable a:hover, .ui-tabs-nav .ui-tabs-deselectable a:focus, .ui-tabs-nav .ui-tabs-deselectable a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
	height: 305px;
	margin-top: -4px;
    padding: 12px 10px 8px;
    background: transparent; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(../images/carousel/loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}

ul.tabs li {
  position: relative;
  margin-left: -10px;
}

li.tab-1 { z-index: 99; margin-left: 0px; }
li.tab-2 { z-index: 98;}
li.tab-3 { z-index: 97;}
li.tab-4 { z-index: 96;}

li.ui-tabs-selected {
  z-index: 101;
}

li.hover {
  z-index: 100;
}

#carouselContent table {
  margin: 0 auto;
  width: 100%;
}

#carouselContent td {
  text-align: center;
}

#carouselContent a.prev,
#carouselContent a.next {
  text-align: center;
  position: relative;
  display: block;
  margin-top: 7px;
  padding: 5px 7px 0;
}

#carouselContent a.prev {
	padding-right: 16px;
	}
	*+html #carouselContent a.prev { padding-right: 0; /* IE7 */ }

/* "The Green Nut" text for Challenge tab */

#carouselContent .tabs a strong {
	position: absolute;
	font-size: 10px;
	top: 12px;
	right: 22px;
	}

#carouselContent .ui-tabs-selected a strong {
	top: 6px;
	right: 23px;
	}
	
/* Fixes for IE */

#carouselContent table { width: 481px; }