/*
Copyright 2016-2017, University of Colorado Boulder

@author Michael Kauzmann (PhET Interactive Simulations)
*/
.playback table {
  background-color: #222;
  border: solid #ccc 1px;
  border-radius: 4px;
  width: 850px;
  margin-bottom: 10px;
  table-layout: fixed;
  border-collapse: collapse;
}

.playback div.center {
  /*Make sure this width is the same as the widest element in the div (table)*/
  width: 850px;
  display: block;
  margin: 10px auto;
}

.playback tbody {
  display: block;
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
  max-height: 405px;
}

.playback thead {
  background-color: #ccc;
  color: #222;
}

.playback thead tr {
  display: block;
  position: relative;
}

.playback thead tr {
  margin-right: 17px;
}

.playback th, td {
  text-align: center;
  border-left: solid black .1em;
  font-size: 13px;
  padding: 5px;
  vertical-align: middle;

}

.playback tr:nth-child(even) {
  background-color: #7d7e7d;
}

.playback tr {
  border-bottom: solid black .1em;
}

th:first-child,
.playback td:first-child {
  border-left: none;
}

/* @formatter:off */
.playback td:nth-child(1), th:nth-child(1) {
  max-width: 42px;
  width: 42px;
}

.playback td:nth-child(2), th:nth-child(2) {
  max-width: 85px;
  width: 85px;
}

.playback td:nth-child(3), th:nth-child(3) {
  max-width: 285px;
  width: 285px;
}

.playback td:nth-child(4), th:nth-child(4) {
  max-width: 190px;
  width: 190px;
}

.playback td:nth-child(5), th:nth-child(5) {
  max-width: 90px;
  width: 90px;
}

.playback td:nth-child(6), th:nth-child(6) {
  max-width: 90px;
  width: 90px;
}

.playback td:nth-child(7), th:nth-child(7) {
  max-width: 50px;
  width: 50px;
}

/* @formatter:on */

.playback tr:last-child {
  border-bottom: none;
}

.playback td:last-child button {
  width: 100%;
  margin: auto;
}

.playback iframe {
  margin-left: 50px;
}

.playback input[type="file"] {
  margin-bottom: 5px;
}

.playback button {
  margin-bottom: 5px;
  background: #1a1a1a;
  padding-top: 9px;
  border: #ccc;
  border-radius: 5px;
  color: white;
  padding-bottom: 9px;
  font-weight: bold;
}

.playback span {
  color: #ffffff;
  margin: 10px 10px 20px 10px;
}

.playback .hidden {
  display: none;
}

.playback .cannot-click {
  pointer-events: none;
}

.playback table tr.highlighted {
  background-color: #202c54
}

.playback #progressBar {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #ddd;
}

.playback #barStatus {
  position: absolute;
  width: 0;
  height: 100%;
  background-color: #202c54;
}