/* $Id: tabs.css,v 1.3 2008-11-03 23:50:18 jmburnz Exp $ */

/**
 * @file forms.css
 * Stylelized tabs.
 */

/***********************************************************
*                    Tabs 
**********************************************************/
/**
 * RTL supported stylised tabs for local tasks.
 */
div.tabs   {margin: 0 0 5px 0;}
/* Primary local tasks */
ul.primary {
  margin: 0;
  padding: 0 0 0 10px;
  border-width: 0;
  list-style: none;
  white-space: nowrap;
  line-height: normal;
  background: url(../images/tabs/tab-bar.png) repeat-x left bottom;
}
ul.primary li {
  float: left; /* LTR */
  margin: 0;
  padding: 0;
}
ul.primary li a {
  display: block;
  height: 24px;
  margin: 0;
  padding: 0 0 0 4px; /* width of tableft.png */
  border-width: 0;
  font-weight: bold;
  text-decoration: none;
  color: #777;
  background-color: transparent;
  background: url(../images/tabs/tab-left.png) no-repeat left -42px;
}
ul.primary li a .tab {
  display: block;
  height: 20px; /* 24px (parent) - 4px (padding) */
  margin: 0;
  padding: 4px 13px 0 6px;
  border-width: 0;
  line-height: 20px;
  background: url(../images/tabs/tab-right.png) no-repeat right -42px;
}
ul.primary li a:hover {
  border-width: 0;
  background-color: transparent;
  background: url(../images/tabs/tab-left.png) no-repeat left 0;
}
ul.primary li a:hover .tab {
  background: url(../images/tabs/tab-right.png) no-repeat right 0;
}
ul.primary li.active a,
ul.primary li.active a:hover {
  border-width: 0;
  color: #000;
  background-color: transparent;
  background: url(../images/tabs/tab-left.png) no-repeat left 0;
}
ul.primary li.active a .tab,
ul.primary li.active a:hover .tab {
  background: url(../images/tabs/tab-right.png) no-repeat right 0;
}
/* Secondary local tasks */
ul.secondary {
  margin: 0;
  padding: 0 0 0 5px;
  border-bottom: 1px solid #c0c0c0;
  list-style: none;
  white-space: nowrap;
  background: url(../images/tabs/tab-sec-bg.png) repeat-x left top;
}
ul.secondary li {
  float: left; /* LTR */
  margin: 0 5px 0 0; /* LTR */
  padding: 5px 0;
  border-right: none; /* LTR */
}
ul.secondary a {
  display: block;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 1px solid #c0c0c0;
  text-decoration: none;
  color: #777;
  background: url(../images/tabs/tab-sec.png) repeat-x left -56px;
}
ul.secondary a .tab {
  display: block;
  height: 18px; /* 24px (parent) - 6px (padding) */
  margin: 0;
  padding: 3px 8px;
  line-height: 18px;
}
ul.secondary a:hover {
  background: url(../images/tabs/tab-sec.png) repeat-x left bottom;
}
ul.secondary a.active,
ul.secondary a.active:hover {
  border: 1px solid #c0c0c0;
  color: #000;
  background: url(../images/tabs/tab-sec.png) repeat-x left top;
}