* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  margin-top: 1vh;
}

.php-msg {
  margin: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  background-color: rgb(255, 240, 240);
}

#tabs {
  font-weight: bold;
  height: 29px;
}

#tabs > * {
  border: 2px solid #000;
  padding: 5px;
  float: left;
  margin-left: 5px;
  margin-right: 3px;
  border-bottom: none;
}

#tabs > a {
  text-decoration: none;
  color: #000;
}

#add-btn {
  border: none;
  margin-top: -5px;
}
#add-btn button {
  padding: 4px;
  font-size: smaller;
}

#line-segment {
  border: 1px solid #000;
}

#line-segments > .col-left {
  position: absolute;
  left: 5px;
  top: 0;
}

#line-segments > .col-right {
  position: absolute;
  right: 5px;
  top: 0;
}

table {
  width: 100%;
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
}

th {
  width: 50%;
  border-bottom: 1px solid #000;
  padding: 5px;
}

td {
  text-align: center;
  vertical-align: top;
  padding: 5px 2px;
}

td:first-child {
  border-right: 1px solid #000;
}

#table-frame {
  margin: 0 5px;
}

table .task {
  border: 1px solid #ccc;
  padding: 2px 1px;
  padding-bottom: 4px;
  margin: 4px 2px;
}

.task button {
  margin: 5px;
  padding: 5px;
  font-size: smaller;
}

.task-description {
  font-size: 0.75em;
}

footer {
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  font-size: smaller;
  color: #666;
}

footer a {
  color: #666;
}

.middle {
  vertical-align: middle;
}

/* TASK FORM */

#task-page {
  margin-top: 60px;
}

#task-form {
  margin: auto;
  width: 70%;
  border: 2px solid #000;
  text-align: left;
  padding: 20px;
}

#task-form input[type="text"] {
  width: 100%;
  height: 2em;
}

#task-form textarea {
  width: 100%;
}

#task-form input[type="radio"] {
  margin-top: 8px;
  width: 1em;
  height: 1em;
}

.buttons {
  text-align: center;
}

.buttons button {
  width: 49%;
  margin-top: 10px;
  padding: 10px;
  font-size: 1em;
  border: none;
  cursor: pointer;
}
