body {
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1#search_main {
  color: #4e4e4e;
  text-align: center;
  font-size: 22pt;
}

#search_elements {
  text-align: center;
}

#search_link {
  text-align: center;
  font-size: 20pt;
}

a {
  color: #337ab7;
  text-decoration: none;
}

a:hover {
  color: #c82d2b;
  text-decoration: underline;
}

button {
  margin-top: 5px;
  margin-bottom: 5px;
  color: white;
  border: none;
  width: 15%;
  padding: 6px;
  font-size: 16px;
  cursor: pointer;
}

button#execute_search {
  background-color: #1b1873;
}

button#execute_search:hover {
  background-color: #337ab7;
}

button#clear_search {
  background-color: #e60118;
}

button#clear_search:hover {
  background-color: #fd5d6d;
}

input[type="text"] {
  width: 50%;
  padding: 6px 10px;
  margin: 4px 0;
  box-sizing: border-box;
}

table {
  width: 50%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-left: auto;
  margin-right: auto;
}

#firstRow th {
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  background-color: #060822;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  font-weight: bold;
  color: #dddddd;
  position: sticky;
  top: 0;
}

tr:nth-child(even) {
  background-color: #2d3157;
}
tr:nth-child(odd) {
  background: #0e123e;
}

table td {
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  text-align: center;
  color: #dddddd;
  padding: 12px;
  font-size: 12px;
  font-weight: bold;
}

p {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #ff0000;
}

/*Mobile Settings */
@media only screen and (max-width: 400px) {
  h1#search_main {
    font-size: 16pt;
  }

  #search_link {
    font-size: 14pt;
  }

  table {
    width: 90%;
  }

  input[type="text"] {
    width: 100%;
  }

  button {
    font-size: 12px;
  }

  button#execute_search,
  button#clear_search {
    border: none;
    width: 49%;
  }

  #firstRow th {
    font-size: 10px;
    padding: 4px;
  }

  table td {
    font-size: 8px;
    padding: 4px;
  }
}
