a {
  text-decoration: none;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

table {
  font-size: 8pt;
  font-family: verdana, arial, helvetica, sans-serif;
}

.HighlightOff {
  background-color: #ffffff;
}

.HighlightOn {
  background-color: #e2e2e2;
}

hr {
  color: #000066;
}

th {
  cursor: pointer;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 0 20px;
}

.header h2 {
  color: #fff;
  margin: 0;
}

.topnav {
  display: flex;
}

.topnav a {
  color: #f2f2f2;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.main {
  flex: 1;
  padding: 20px;
}

footer {
  background-color: #333;
  color: #f2f2f2;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

footer a {
  color: #04AA6D;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.script-table {
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.script-table th,
.script-table td {
  padding: 8px 12px;
  border: 1px solid #444;
  text-align: left;
}

/* Column widths */
.script-table th:nth-child(1),
.script-table td:nth-child(1) {
  width: 60px;   /* enough for up to 3 digits */
  text-align: center;
}

.script-table th:nth-child(2),
.script-table td:nth-child(2) {
  width: 200px;  /* slightly thinner than before */
}

.script-table th:nth-child(3),
.script-table td:nth-child(3) {
  min-width: 400px; /* much wider for long writer lists */
}

.script-table th:nth-child(4),
.script-table td:nth-child(4) {
  width: 120px;  /* fits "Finished"/"Unfinished" or dates */
  text-align: center;
}
/* Header row */
.script-table thead tr {
  background-color: #444;
  color: #fff;
}

/* Alternating row colors */
.script-table tbody tr:nth-child(odd) {
  background-color: #cccccc;
}

.script-table tbody tr:nth-child(even) {
  background-color: #999999;
}

.script-table tbody tr:hover {
  background-color: #e2e2e2;
}

img {
  display: block;
  margin: auto;
}
