@import url("https://fonts.googleapis.com/css?family=Open+Sans+Condensed:700&display=swap");

:root {
  --black: #2b2b2b;
  --blue: #1691e6;
  --gray-dark: #5b5b5b;
  --gray-light: #f2f2f2;
  --green: #c0d72d;
  --input-border: #b7b7b7;
  --input-placeholder: #adadad;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Helvetica, sans-serif;
  color: var(--black);
}
.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.wrapper {
  position: relative;
  width: 85%;
  margin: 0 auto;
}
div#header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
}
div#title {
  width: 80%;
  text-align: center;
}
div#company-name {
  width: 20%;
  text-align: left;
  font-size: 1.3rem;
}
div#empty {
  width: 20%;
  text-align: left;
  font-size: 1.3rem;
}
h1,
h2,
h3 {
  font-weight: 400;
}
.filterResultsContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin-bottom: 40px;
}
#filterContainer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--gray-light);
  padding: 20px;
}
#filterContainer h2 {
  padding: 10px 10px 30px 10px;
  text-align: left;
  font-weight: 200;
}
.date-time {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.date {
  position: relative;
  width: 50%;
}
.time {
  position: relative;
  width: 50%;
}
#filterContainer .date-time {
  margin-bottom: 20px;
}
#filterContainer .date-time label {
  position: relative;
  top: 2px;
  font-weight: 700;
  padding: 0 10px 0 10px;
}
#filterContainer .date-time input[type="text"] {
  width: 188px;
  height: 35px;
  margin: 0 6px;
  padding-left: 10px;
}
#filterContainer .operator-table {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 20px;
}
.operator-id {
  position: relative;
  width: 50%;
}
.table-number {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  text-align: left;
}
input#tableNumberFilter {
  position: relative;
  right: 6px;
}
#filterContainer .operator-table label {
  position: relative;
  top: 2px;
  font-weight: 700;
  padding: 0 20px 0 4px;
}
#filterContainer .operator-table input[type="text"] {
  width: 320px;
  height: 35px;
  margin: 0 6px;
  padding-left: 10px;
}
#filterContainer input[type="text"]::placeholder {
  color: var(--input-placeholder);
  font-style: italic;
  font-size: 1rem;
  opacity: 1;
}
.filterContainerheader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.hide {
  display: none;
}
show {
  display: block;
}
.total-records::before,
.total-records::after {
  display: inline-block;
  content: "";
  border-top: 0.05rem solid var(--gray-dark);
  width: 4rem;
  margin: 0 1rem;
  transform: translateY(-0.2rem);
}
.total-records {
  font-style: italic;
  font-weight: 200;
  color: var(--dark-gray);
  margin: 20px 0 30px 0;
}
button#filterResults {
  background-color: var(--blue);
  width: 50%;
  padding: 0.5rem 6rem;
  color: #ffffff;
  font-size: 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 auto;
  margin-bottom: 20px;
}
button#clearFilters {
  position: relative;
  bottom: 6px;
  border: none;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  padding: 0;
  margin: 0;
  width: auto;
  cursor: pointer;
}
div.questions {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: auto;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin-bottom: 40px;
}
.left {
  text-align: left;
}
div.results {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin-bottom: 40px;
}
div.results th a {
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
}
/* Tables */
table {
  border-collapse: collapse;
  color: var(--black);
}
table th,
table th a {
  color: var(--blue);
  text-decoration: none;
}
th.table-title {
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--black);
  border: none;
  padding-top: 0;
  padding-bottom: 10px;
  text-align: left;
  padding-left: 0;
}
thead tr:last-child th {
  border-right-color: transparent;
}
thead tr:last-child th:last-of-type {
  border-right-color: var(--input-border);
}
td,
th {
  border: 1px solid var(--input-border);
  padding: 0.5rem;
}
tbody tr td {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  text-align: center;
}
tbody tr td:last-child {
  border-right-color: var(--input-border);
  text-align: left;
}
tbody tr:last-of-type td {
  border-bottom-color: var(--input-border);
}
table.results-table {
  width: 100%;
}
.table.results-table tr:nth-child(2) th a {
  text-transform: uppercase;
}
table.questions-table {
  width: 100%;
}
.table.questions-table tr:nth-child(2) th {
  text-transform: uppercase;
}
/* Zebra colour */
tbody tr:nth-child(even) {
  background: var(--gray-light);
}
/* sort triangles */
.arrow.down {
  position: relative;
  top: 17px;
  right: 4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--blue);
}
.arrow.up {
  position: relative;
  top: unset;
  bottom: 16px;
  right: 4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid var(--blue);
}
