/* 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;
    
    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: #990099 url('gradient-soft-30.png') repeat-x center left;
	border: 1px solid #770077;
	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: #990099 url('menu-bg-active.png') repeat-x center left;
	color: #fff;
	border: 1px solid #770077;
	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: #990099 url('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: #990099;
    color: #ccc;
}
.ui-tabs-disabled a:hover {
    outline: 0; /* prevent dotted border in Firefox */
    
    background-color: #990099;
    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 #990099;
    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(loading.gif) no-repeat 0 50%;
}

/* Sub Tabs Skin */
.subtabs .ui-tabs-nav {
	height: 28px !important;
	line-height: 28px !important;
	
    border: 1px solid #990099 !important;
    background: #000000 !important;
    
    border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
}
.subtabs .ui-tabs-nav li { margin: 4px !important; }
.subtabs .ui-tabs-nav a, .subtabs .ui-tabs-nav a span {
    display: block;
    padding: 0 !important;
}
.subtabs .ui-tabs-nav a {
    background: transparent !important;
    color: #999 !important;
    border: 0 !important;
    font-size: 85% !important;
    text-shadow: 0px 0px 0px transparent !important;
    
    border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    -webkit-border-radius: 20px !important;
}
.subtabs .ui-tabs-nav .ui-tabs-selected {}
.subtabs .ui-tabs-nav .ui-tabs-selected a,
.subtabs .ui-tabs-nav .ui-tabs-selected a:hover {
    background: #990099 !important;
    border: 0 !important;
    color: #cccccc !important;
	
    border-radius: 20px !important;
	-moz-border-radius: 20px !important;
    -webkit-border-radius: 20px !important;

}
.subtabs .ui-tabs-nav a:hover, .subtabs .ui-tabs-nav a:active {
    background-color: #990099 !important;
	color: #cccccc !important;
	border: 0 !important;
	
	border-radius: 20px !important;
	-moz-border-radius: 20px !important;
    -webkit-border-radius: 20px !important;
}

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

.subtabs .ui-tabs-nav a,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:hover,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:focus,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:active {}

.subtabs .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;
}
.subtabs .ui-tabs-nav .ui-tabs-selected a span {}

.subtabs .ui-tabs-nav .ui-tabs-selected a span, 
.subtabs .ui-tabs-nav a:hover span,
.subtabs .ui-tabs-nav a:focus span,
.subtabs .ui-tabs-nav a:active span {}

.subtabs .ui-tabs-nav a span,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:hover span,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:focus span,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:active span {}

.subtabs .ui-tabs-nav .ui-tabs-selected a:link,
.subtabs .ui-tabs-nav .ui-tabs-selected a:visited,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:link,
.subtabs .ui-tabs-nav .ui-tabs-disabled a:visited { cursor: pointer; }

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

.subtabs .ui-tabs-nav .ui-tabs-disabled { opacity: .4; }
.subtabs .ui-tabs-panel {
    padding: .5em 8px;
    
    border-top: 0 !important;
    background: #050505; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.subtabs .ui-tabs-loading em {
    padding: 0 0 0 20px;
    
    background: url(loading.gif) no-repeat 0 50%;
}