/* 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,
#eleven, #twelve { clear: left; }

/* Skin */
.ui-tabs-nav {
    margin: 0;
    padding: 0;
    height: 28px;
	line-height: 28px;
    
    list-style: none;
    border: 1px solid #990000 !important;
    background: #0f0f0f url('../images/gradient-soft-30.png') repeat-x top left !important;
    
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 4px !important;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 !important;
}
.ui-tabs-nav a {
    position: relative;
    z-index: 2;
    padding-left: 0;
    line-height: 1.4;
    
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */
    background: transparent;
    color: #999;
    border: 0;
    font-size: 85%;
    
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}
.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;
    border: 0;
    color: #fff;
	
    border-radius: 20px;
	-moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    
    box-shadow: -1px 1px 2px rgba(70, 70, 70, .4);
    -moz-box-shadow: -1px 1px 2px rgba(70, 70, 70, .4);
    -webkit-box-shadow: -1px 1px 2px rgba(70, 70, 70, .4);
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:active {
    outline: 0; /* prevent dotted border in Firefox */
    
    background-color: 990000;
	color: #fff;
	border: 0;
	
	border-radius: 20px;
	-moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

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

.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 {
    min-width: 64px;
    height: 20px; /* IE 6 treats height as min-height */
    min-height: 20px;
    line-height: 19px;
    padding: 0 10px !important;
}
*>.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;
    
    background: #050505; /* 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%;
}