/**
 * @file
 * Visual styles for tabs.
 */

div.tabs {
  margin: 1em 0;
}
ul.tabs {
  margin: 0 0 0.5em;
  padding: 0;
  list-style: none;
}
.tabs > li {
  display: inline-block;
  margin-right: 0.3em; /* LTR */
  text-transform: none;
  letter-spacing: normal;
}
[dir="rtl"] .tabs > li {
  margin-right: 0;
  margin-left: 0.3em;
}
.tabs a {
  display: block;
  padding: 0.2em 1em;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
}
.tabs a.is-active {
  background-color: #eee;
}
.tabs a:focus,
.tabs a:hover {
  background-color: #f5f5f5;
}

/**
 * Hide admin local tasks block on the homepage only.
 * The homepage template embeds page.content inside the bio section,
 * which drags the admin tabs into the middle of public copy. On every
 * other page the tabs are fine — they're properly isolated in the
 * content region.
 */
body.path-frontpage .block-local-tasks-block {
  display: none;
}
