/*
  Based on ui.tabs.css packaged with ui.tabs (http://stilbuero.de/jquery/tabs_3/)
  but modified for our needs.. do not be afraid to make further tweaks. 
  
  Context-specific tab styles should probably be in another location, though.
  This is mainly a global setup kind of file, to be used any time you are using ui.tabs.
*/

/* 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}

/* clearing without presentational markup, IE gets extra treatment */
.ui-tabs-nav:after {display: block; clear: both; content: " "}

.ui-tabs-nav li {
    float: left;
/*    margin: 0 0 0 1px;*/
    min-width: 84px; /* be nice to Opera */
}

.ui-tabs-nav a {
    display: block;
    /*
    padding: 0 10px;
    background: url(tab.png) no-repeat;
    */
}

.ui-tabs-nav a {
    /* margin: 1px 0 0;  position: relative makes opacity fail for disabled tab in IE */
    white-space: nowrap; /* required in IE 6 */
    outline: 0; /* prevent dotted border in Firefox */
}

/*
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 2;
    margin-top: 0;
    color: #000;
}
*/

/* @ 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}

/* @ 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}

.ui-tabs-disabled {
  opacity: .4;
  filter: alpha(opacity=40);
}

/* declare background color for container to avoid distorted fonts in IE while fading */
.ui-tabs-panel {background: #fff}

/* "loading" spinner?
.ui-tabs-loading em {
  padding: 0 0 0 20px;
  background: url(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;
}

