/* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
@media projection, screen
{
    .ui-tabs-hide
    {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print
{
    .ui-tabs-nav
    {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav
{
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #E0E0F9;
    padding: 0;
    width: 100%;
}
/* clearing without presentational markup, IE gets extra treatment */
.ui-tabs-nav:after
{
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li
{
    float: left;
    margin-right: 3px;
}
.ui-tabs-nav a, .ui-tabs-nav a span
{
    float: left; /* fixes dir=ltr problem and other quirks IE */
}
.ui-tabs-nav a
{
    position: relative;
    top: 1px;
    z-index: 2;
    font-family: Verdana, sans-serif;
    font-size: 11px;
	font-weight: bold;
    border: 1px solid;
    border-bottom: 0;
    padding: 1px 0;
    text-decoration: none;
    white-space: nowrap; /* @ IE 6 */
    outline: 0; /* @ Firefox, prevent dotted border after click */
}
.ui-tabs-nav a:link, .ui-tabs-nav a:visited
{
    border-color: #E0E0F9;
    background-color: #EEE;
    color: #333;
    border-bottom: 1px solid #CCC;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active
{
    border-color: #E0E0F9;
    background-color: #E0E0F9;
    color: #3B5998;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited
{
    border-color: #E0E0F9;
    background-color: #F7F7F7;
    border-bottom: 0;
}
.ui-tabs-nav a span
{    
    display: block;
    padding: 2px 10px;
    height: 12px; /* min-height in IE 6 */
    min-height: 12px;
    line-height: 12px;
}
/* hide from IE 6 */
* > .ui-tabs-nav a span
{
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span
{
    padding-bottom: 3px;
    background: #F7F7F7;
    color: #3B5998; /* apply to span is required for IE 6 */
    
    height: 15px; /* min-height in IE 6 */
    min-height: 15px;
    line-height: 15px;
}
.ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited, .ui-tabs-nav .ui-tabs-disabled a span
{
    border-color: #DDD;
    background: #EEE;
    color: #BBB;
}
/* @ Opera, use pseudo classes otherwise it confuses cursor... */
.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: text;
    text-decoration: none;
}
/* @ Opera, we need to be explicit again here now... */
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active
{
    cursor: pointer;
    text-decoration: none;
}
.ui-tabs-panel
{
    padding: 10px;
    background: #F7F7F7; /* declare background color for container to avoid distorted fonts in IE while fading */
    border-right: 1px solid #E0E0F9;
    border-bottom: 1px solid #E0E0F9;
    border-left: 1px solid #E0E0F9;
}
/*
.ui-tabs-loading em
{
    padding: 0 0 0 20px;
    background: url(loading.gif) no-repeat 0 50%;
}
*/

/* Additional IE specific bug fixes... */
/* auto clear @ IE 6 & IE 7 Quirks Mode */
* html .ui-tabs-nav
{
    display: inline-block;
}
/* auto clear @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
*:first-child+html .ui-tabs-nav
{
    display: inline-block;
}