div.section {
  margin: 1em 0 0 0;
}

div.kovaak {
  max-width: 632px;
  font-size: 1em;
  font-family: "Lucida Console", "Courier New", monospace;
}

div#chartsection {
  margin: 0 3px;
}

canvas#kovaak {
  margin: 1em 0;
}

h1 {
  color: #303030;
  font-family: 'Trocchi', serif;
  font-size: 45px;
  font-weight: normal;
  line-height: 48px;
  margin: 10 0;
  display: none;
}

table td div.link {
  background-color: blue;
  color: white;
  cursor: pointer; 
  padding: 1px 2px;
}

table.kovaak tbody {
  max-width: 628px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: start;
}

table.kovaak tr {
  width: 143px;
  border: 1px solid black;
  background-color: lightgrey;
  padding: 1px 5px;
  margin: 1px 1px;
  font-size: 10px;
  line-height: normal;
  display: inline-block;
  text-align: center;
}

table.kovaak td {
  margin: 0px 1px;
  padding: 2px;
  vertical-align: middle;
  display: inline-block;
}

table.kovaak td div {
  display: inline-block;
  margin: 0px 1px;
  padding: 1px 2px;
  border: none;
}

/* Player info */
table#player-info tr {
  text-align: right;
}

table#player-info td.name {
  font-weight: bold;
}

table#player-info div.record {
  background-color: green;
  color: white;
}

/* Session */
div#sessionsection {
  display: flex;
  flex-wrap: wrap;
  max-width: 594px;
  border: 1px solid black;
  padding: 0 15px 10px 15px;
  margin: 0 3px;
  background-color: lightgrey;
  font-size: 10px;
}

div#sessionsection h2 {
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  cursor: pointer; 
  background-color: lightgrey;
  margin: 6px 0;
}

div#sessionsection ul {
  list-style-type: square;
  margin: 0;
  padding: 0 2em;
}

/* Records */
table#records {
  margin: 1em 0 0 0;
}

table#records thead {
  display: none
}

table#records tr {
  width: 300px;
  text-align: right;
}

table#records td.record {
  background-color: green;
  color: white;
  width: 50px;
}

table#playlists tbody tr.selected {
  background-color: darkgrey;
}

table#playlists tbody tr {
  cursor: pointer;
}

/*
 * Load screen
 */
div#loading {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(loading.gif) center no-repeat #fff;
}

/* 
 * Playlists
 */

div.playlist {
  display: flex;
  flex-wrap: wrap;
  max-width: 650px;
  border: 1px solid black;
  padding: 0 15px;
  margin: 0 3px;
  display: inline-block;
  background-color: lightgrey;
}

div.playlist h1 {
  display: block;
}

div.playlist h2 {
  width: 100%;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  background-color: lightgrey;
  margin: 12px 0;
}

div.playlist div.timing {
  padding-left: 1em;
  font-size: 10px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;

  position: absolute;
  top: 0;
  left: 0;
  margin-left: -14px;

  transform-origin: 0 0;
  transform: rotate(90deg);
}

div.playlist table {
  border-collapse: collapse;
  width: 100%;
}

div.playlist table td {
  border-top: 1px solid black;
  vertical-align: top;
  font-size: 10px;
}

div.playlist table td:nth-child(1) {
  padding: 4px;
  width: 60px;
}

div.playlist table td:nth-child(2) {
  width: 200px;
}

div.playlist table td:nth-child(3) {
  padding: 4px;
}

div.tracking {
  background-color: #5B9BD5;
  color: black;
  padding: 2px;
  display: flex;
  margin: 2px;
}

div.clicktiming {
  background-color: #C65911;
  color: black;
  padding: 2px;
  display: flex;
  margin: 2px;
}

div.targetswitching {
  background-color: #FFC000;
  color: black;
  padding: 2px;
  display: flex;
  margin: 2px;
}
