html,
body {
  margin: 0;
  padding: 0;
}

html {
  background-color: #ddd;
  height: 100%;
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-size: 2em;
}

h2 {
  padding-bottom: 5px;
  border-bottom: 2px solid #ddd;
  margin: 20px 0;
}

h1,
h2,
article {
  color: black;
}

a {
  text-decoration: none;
  color: #006bb7;
}

a:hover {
  text-decoration: underline;
}

body {
  margin: 0 auto;
  padding: 0 32px 0 16px;
  max-width: 1200px;
  min-height: 100%;
  border-width: 0 1px;
  border-color: #aaa;
  border-style: solid;
  background-color: white;
  box-shadow: 0 0 10px 10px #ccc;
  display: flex;
  flex-direction: column;
}

#viewingTimes table {
  border-collapse: collapse;
  width: 100%;
}

#viewingTimes th,
#viewingTimes td {
  text-align: center;
  padding: 4px;
  border: solid gray 1px;
}

#viewingTimes tr:nth-child(even) {
  background-color: lightgray;
}
#viewingTimes table thead {
  position: sticky;
}
#viewingTimes table thead {
  inset-block-start: -1px; /* "top" */
  background-color: white;
  border: solid gray 1px;
}
p {
  margin: 5px 0 5px 0;
}

.button-4 {
  appearance: none;
  background-color: #FAFBFC;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: #24292E;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 16px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
}

.button-4:hover {
  background-color: #F3F4F6;
  text-decoration: none;
  transition-duration: 0.1s;
}

.button-4:disabled {
  background-color: #FAFBFC;
  border-color: rgba(27, 31, 35, 0.15);
  color: #959DA5;
  cursor: default;
}

.button-4:active {
  background-color: #EDEFF2;
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

.button-4:focus {
  outline: 1px transparent;
}

.button-4:before {
  display: none;
}

.button-4:-webkit-details-marker {
  display: none;
}
/*
button {
  background-color: lightgray;
  border: 1px solid black;
  color: black;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
*/
#inputValues {
  display: flex;
  flex-direction: column;
}
#inputValues ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#inputValues li {
  display: inline;
  cursor: pointer;
  color: #0087ff;
  margin-right: 10px;
  font-size: 0.8em;
  text-decoration: underline;
}
#inputValues img {
  cursor: pointer;
  margin-left: 5px;
}
#inputValues input {
  width: 6em;
}
#inputValues #date {
  width: 12em;
  font-size: 12px;
  font-family: sans-serif;
}
#inputValues h2 {
  margin-bottom: 10px;
}
#inputValues button {
  border: 1px solid gray;
  padding: 5px 10px;
  background-color: white;
  border-radius: 1px;
  margin-right: 5px;
  cursor: pointer;
}
#inputValues form:invalid #calc {
  pointer-events: none;
  color: lightgray;
  border-color: lightgrey;
  cursor: default;
}

#output {
  display: none;
}

.row {
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 5px 0;
}

.row label {
  flex-basis: 250px;
  flex-shrink: 0;
  font-weight: bold;
}
