/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

#tabs {
	float: left;
	width: 100%;
	margin: 1em 0;
}

#one, #two, #three, #four, #five,
#six, #seven, #eight, #nine, #ten { clear: left; }

/* Skin */
.ui-tabs-nav {
    margin: 0;
    padding: 0;
    
    list-style: none;
}
.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 3px 0 0;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 15px;
}
.ui-tabs-nav a {
    position: relative;
    z-index: 2;
    padding-left: 0;
    line-height: 1.4;
    
    font-size: 92%;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */
	border: 1px solid transparent;
    border-bottom: 0;
	background: #990000 url('../images/gradient-soft-30.png') repeat-x center left;
	border: 1px solid #555;
	border-bottom: 0;
	color: #ccc;
	text-shadow: 0px 1px 0px rgba(70, 70, 70, .8);
    
	border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
}
.ui-tabs-nav .ui-tabs-selected {}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav .ui-tabs-selected a:hover {
    outline: 0; /* prevent dotted border in Firefox */
    
	background: #990000 url('../images/menu-bg-active.png') repeat-x center left;
	color: #fff;
	border: 1px solid #fff;
	border-bottom: 0;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, .4);
	
	border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:active {
    outline: 0; /* prevent dotted border in Firefox */
    
    background: #990000 url('../images/gradient-soft-50.png') repeat-x center left;
	color: #fff;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
}

.ui-tabs-disabled a {
    outline: 0; /* prevent dotted border in Firefox */
    
    background-color: #990000;
    color: #ccc;
}
.ui-tabs-disabled a:hover {
    outline: 0; /* prevent dotted border in Firefox */
    
    background-color: #990000;
    color: #ccc;
}

.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 {}

.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 21px; /* IE 6 treats height as min-height */
    min-height: 21px;
    padding-top: 4px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span { padding-top: 4px; }

.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 {}

.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 {}

.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 { cursor: pointer; }

.ui-tabs-nav a:hover,
.ui-tabs-nav a:focus,
.ui-tabs-nav a:active { cursor: pointer; }

.ui-tabs-nav .ui-tabs-disabled { opacity: .4; }
.ui-tabs-panel {
    padding: .5em 8px;
    
    border-top: 3px solid #990000;
    background: #000; /* 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/loading.gif) no-repeat 0 50%;
}