/* root element for tabs  */
ul.tabs {
  list-style: none;
  width: 494px;
  margin: 0 !important;
  padding: 0;
  height: 22px;
  border-bottom: 1px solid #9a9a9a;
}

/* single tab */
ul.tabs li {
  float: left;
  text-indent: 0;
  padding: 0;
  margin: 0 5px 0 0 !important;
  list-style-image: none !important;
}

/* link inside the tab. uses a background image */
ul.tabs a {
/*background: url(../images/site/bg_tabs_blue.png) no-repeat -652px 0;*/
  background: url(../images/site/bg_tabs.gif) no-repeat 0 0;
  font-size: 11px;
  font-weight: bold;
  display: block;
  height: 22px;
  line-height: 22px;
  width: 112px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 0 4px 0 0;
  margin: 0;
  position: relative;
  top: 1px;
}

ul.tabs a:active {
  outline: none;
}

/* when mouse enters the tab move the background image */
ul.tabs a:hover {
/*background-position: -652px -31px;*/
  background-position: 0 -23px;
  color: #fff;
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
ul.tabs a.current, ul.tabs a.current:hover, ul.tabs li.current a {
  background-position: -652px -62px;
  background-position: 0px -46px;
  cursor: default !important;
  color: #8dc169 !important;
}

div.pane_frame {
  padding: 0 8px 8px 0;
  width: 494px;
  background: url(../images/site/bg_tabpanel_shadow.gif) 100% 100% no-repeat;
}

/* initially all panes are hidden */
div.panes div.pane {
  display: none;
}

div.panes {
  border-left: 1px solid #9a9a9a;
  padding: 20px 14px;
}

.grid4 ul.tabs {
  width: 584px;
}

.grid4 ul.tabs li {
  margin-left: 20px !important;
  margin-right: 0 !important;
}

.grid4 ul.tabs li:first-child {
  margin-left: 0 !important;
}

.grid4 ul.tabs a {
  background-image: url(../images/site/bg_green_tabs.gif);
  width: 125px;
  height: 23px;
}

.grid4 div.pane_frame {
  width: 585px;
  background-image: url(../images/site/bg_green_tabpanel_shadow.gif);
}
