/*
  @file Theming for the tabs region.

  We are theming this in a very generic manner so no site should need to
  override it.
*/

.slimline-region--tabs {
  background-color: black;
  overflow-x: auto;
}

.slimline-region--tabs .nav-tabs > ul {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.slimline-region--tabs .nav-tabs > ul > li a {
  display: inline-block;
  padding: 1rem;
  text-decoration: none;
  color: black;
  background-color: lightgrey;
  font-family: sans-serif;
  font-weight: bold;
}

.slimline-region--tabs .nav-tabs > ul > li a.is-active {
  color: white;
  background-color: green;
}

.slimline-region--tabs .nav-tabs > ul > li a:focus,
.slimline-region--tabs .nav-tabs > ul > li a:hover {
  text-decoration: underline;
  color: black;
  background-color: white;
}
.slimline-region--tabs .nav-tabs > ul > li a:focus {
  position: relative; /* So the outline doesn't hide behind the next item */
  outline: 2px dotted;
}


.off-canvas-is-on .slimline-region--tabs {
  display: none;
}