* {
  box-sizing: border-box;
}

body,
.list {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#degreePrograms,
.box-panel {
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(220, 220, 220, 0.14);
  border: 1px solid rgba(204, 204, 204, 0.7);
  border-radius: 18px;
}

.box-panel {
  margin-top: 24px;
}

td {
  padding:10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: top;
}

td.windows_specs,
td.mac_specs {
  white-space: pre-wrap;
  vertical-align: top;
  word-wrap: break-word;
}

input {
  border:solid 1px #ccc;
  border-radius: 5px;
  padding:7px 14px;
  margin-bottom:10px;
  width: 100%;
  max-width: 600px;
  font-size: 16px;
}
input:focus {
  outline:none;
  border-color:#aaa;
}
.autocomplete {
  position: relative;
  width: 100%;
  max-width: 600px;
}
.autocomplete-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.autocomplete-options.hidden {
  display: none;
}
.autocomplete-option {
  padding: 10px 14px;
  cursor: pointer;
}
.autocomplete-option:hover {
  background: #f3f8ff;
}
.autocomplete-option.no-results {
  color: #666;
  cursor: default;
}
.sort {
  padding:8px 30px;
  border-radius: 6px;
  border:none;
  display:inline-block;
  color:#fff;
  text-decoration: none;
  background-color: #28a8e0;
  height:30px;
}
.sort:hover {
  text-decoration: none;
  background-color:#1b8aba;
}
.sort:focus {
  outline:none;
}
.sort:after {
  display:inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  content:"";
  position: relative;
  top:-10px;
  right:-5px;
}
.sort.asc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  content:"";
  position: relative;
  top:4px;
  right:-5px;
}
.sort.desc:after {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  content:"";
  position: relative;
  top:-4px;
  right:-5px;
}

table {
  max-width: 600px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

@media (max-width: 768px) {
  #degreePrograms {
    padding: 10px;
  }

  table {
    width: 100%;
    font-size: 14px;
  }

  td {
    padding: 15px;
  }

  input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    box-sizing: border-box;
  }

  td.windows_specs,
  td.mac_specs {
    font-size: 14px;
  }

  thead td {
    font-size: 16px;
    font-weight: bold;
  }
}

.autocomplete { position: relative; width: 100%; max-width: 600px; }
.autocomplete-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 8px 8px;
  max-height: 240px;
  overflow-y: auto;
}