@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap');

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #000 url('/images/metal-bg.jpg') no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #FFF;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header, main, footer, nav#toc {
  max-width: 900px;
  margin: 0 auto;
}

a:link,
a:visited {
  color: #DF0000; /* #8F0000 */
  text-decoration: none;
}

a:hover,
a:active {
  color: #FF0000;
  text-decoration: underline;
}

h1 {
  text-align: center;
}

h1, h2, h3 {
  font-family: "Metal Mania";
  font-weight: normal;
}

p {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

h2, h3, h4, h5, h6 {
  margin-top: 1em;
  margin-bottom: 0.25em;
}

.sr-only {
  border: 0;
  clip: rect(0,0,0,0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

header {
  /* display: flex;
  justify-content: space-between; */
}

header .logo {
  height: 250px;
  margin: -35px auto -75px;
  text-align: center;
  background: url(/images/bf-logo-2020-small.png) 50% 50% no-repeat;
  background-size: contain;
}

header.no-logo .logo {
  display: none;
}

header nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

header nav a:link,
header nav a:visited {
  color: #FFF;
  text-decoration: none;
}

header nav a:hover,
header nav a:active {
  color: #FFF;
  background-color: #8F0000;
  text-decoration: none;
}

header nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

header nav li {
  display: block;
  float: left;
  position: relative;
  font-weight: bold;
  white-space: nowrap;

}

header nav ul li a,
header nav ul li span {
  display: inline-block;
  min-height: 40px;
  width: 100%;
  padding: .5em;
}

header nav ul li.icon {
  height: 40px;
}

header nav ul li.icon a {
  padding: 0;
  height: 40px;
}

header nav ul li.icon svg {
  height: 30px;
  width: 30px;
  margin: 5px;
}

header nav ul li ul li {
  margin: 0;
}

header nav ul li:hover {
  cursor: pointer;
}

header nav ul li ul {
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  background-color: #222;
}

header nav ul li ul li ul {
  left: calc(100% + 2px);
  top: 0;
}

header nav ul li:hover {
  background-color: #222;
}

header nav ul li:hover > ul,
header nav ul li ul:hover {
  visibility: visible;
  display: block;
}

header nav ul li ul li {
  width: 100%;
}

header nav ul li ul li > span::after {
  display: inline-block;
  margin-left: .5em;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent transparent;
  content: "";
}

header nav ul li ul li:hover > span {
  width: calc(100% + 2px);
  background-color: #222;
}

header nav ul li ul li:hover > span::after {
  border-color: transparent transparent transparent currentColor;
}

header nav svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

table.tour {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

table.tour tr:not(:first-child) {
  border-top: 1px solid rgba(255,255,255,0.1);
}

table.tour tr:nth-child(even) {
  background-color: rgba(233,0,0,0.1);
}

footer {
  margin-top: 2em;
  text-align: center;
  font-size: 0.8em;
}

footer hr {
  border: 0;
  border-top: 1px solid #222;
}
