/* $Id: tabs.css,v 1.2 2009/08/12 08:03:53 johnalbin Exp $ */

/**
 * @file
 * Tabs Styling
 *
 * Adds styles for the primary and secondary tabs.
 *
 * Compare this with default CSS found in the system module's stylesheet (a copy
 * of which is in drupal6-reference.css, line 510.)
 */


div.tabs {
  margin: 0 0 5px 0;
  z-index: 100;
  position: relative;
}

ul.primary {
  margin: 0;
  padding: 0 0 0 10px; /* LTR */
  border-width: 0;
  list-style: none;
  white-space: nowrap;
  line-height: normal;
  background: url(../images/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 5px; /* width of tab-left.png */
  border-width: 0;
  font-weight: bold;
  text-decoration: none;
  color: #777;
  background-color: transparent;
  background: url(../images/tab-left.png) no-repeat left -38px;
}

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/tab-right.png) no-repeat right -38px;
}

ul.primary li a:hover {
  border-width: 0;
  background-color: transparent;
  background: url(../images/tab-left.png) no-repeat left -76px;
}

ul.primary li.active a,
ul.primary li.active a:hover {
  border-width: 0;
  color: #000;
  background-color: transparent;
  background: url(../images/tab-left.png) no-repeat left 0;
}

ul.primary li.active a .tab,
ul.primary li.active a:hover .tab {
  background: url(../images/tab-right.png) no-repeat right 0;
}

ul.secondary {
  margin: 0;
  padding: 0 0 0 5px; /* LTR */
  border-bottom: 1px solid #c0c0c0;
  list-style: none;
  white-space: nowrap;
  background: url(../images/tab-secondary-bg.png) repeat-x left bottom;
}

ul.secondary li {
  float: left; /* LTR */
  margin: 0 5px 0 0;
  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/tab-secondary.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/tab-secondary.png) repeat-x left bottom;
}

ul.secondary a.active,
ul.secondary a.active:hover {
  border: 1px solid #c0c0c0;
  color: #000;
  background: url(../images/tab-secondary.png) repeat-x left top;
}

/* LOGIN tabs */

.page-user ul.primary,
.page-user ul.primary li,
.page-user ul.primary li a,
.page-user ul.primary li a .tab,
.page-user ul.primary li a:hover,
.page-user ul.primary li a:hover .tab,
.page-user ul.primary li.active a,
.page-user ul.primary li.active a .tab,
.page-user ul.primary li.active a:hover,
.page-user ul.primary li.active a:hover .tab,
.page-user ul.secondary,
.page-user ul.secondary li,
.page-user ul.secondary li a,
.page-user ul.secondary li a .tab,
.page-user ul.secondary li a:hover,
.page-user ul.secondary li a:hover .tab,
.page-user ul.secondary li.active a,
.page-user ul.secondary li.active a:hover,
.page-user-password ul.primary,
.page-user-password ul.primary li,
.page-user-password ul.primary li a,
.page-user-password ul.primary li a .tab,
.page-user-password ul.primary li a:hover,
.page-user-password ul.primary li a:hover .tab,
.page-user-password ul.primary li.active a,
.page-user-password ul.primary li.active a .tab,
.page-user-password ul.primary li.active a:hover,
.page-user-password ul.primary li.active a:hover .tab,
.page-user-password ul.secondary,
.page-user-password ul.secondary li,
.page-user-password ul.secondary li a,
.page-user-password ul.secondary li a .tab,
.page-user-password ul.secondary li a:hover,
.page-user-password ul.secondary li a:hover .tab,
.page-user-password ul.secondary li.active a,
.page-user-password ul.secondary li.active a:hover {
  background: none;
  border-width: 0;
  list-style: none;
  color: #FFFFFF;
  font-size: 11px;
  font-style: normal;
  font-weight: normal;
}

.page-user ul.primary li.active a .tab,
.page-user-password ul.primary li.active a .tab {
  color: #B8B8B8;
}


.page-user ul.primary,
.page-user-password ul.primary {
	left: 506px;
    line-height: normal;
    margin: 0;
    padding: 0 0 0 10px;
    position: relative;
    top: -6px;
    z-index: 2;
    background: none;
    width: 360px;
}


/* Kuvagalleria + Tapahtumat + Uutiset tabs */

.section-tapahtumat div.tabs,
.section-kuvagalleria div.tabs,
.section-uutiset div.tabs {
    margin: 42px 0 5px;
    position: relative;
    z-index: 3;
}

/* Front page tabs*/
body.front div.tabs {
    margin: 0 0 40px;
}