.query-intro h1 {
  text-align: center;
  margin-bottom: 1.75rem;
}
.query-intro h2 {
  text-align: center;
}
.query-intro p,
.intro {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  margin-bottom: 2rem;
}
.query-tabs {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.query-tabs li {
  margin: 0 10px;
  font-size: 18px;
}
.query-tabs a {
  display: block;
  border: 0;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  padding: 15px 30px;
  max-width: 240px;
  text-align: center;
  background: #bfd3db;
  color: #004f6d;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
.query-tabs a:hover,
.query-tabs a:focus {
  background: #cfdee4;
  text-decoration: none;
}
.query-tabs a:visited {
  color: #004f6d;
}
.query-tabs a.router-link-exact-active {
  background: #eb5757;
  color: #fafafa;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}
.fade-enter-active,
.fade-leave-active {
  transition: visibility, opacity 0.2s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
  visibility: hidden;
}
.router-link-exact-active {
  font-weight: bold;
}

.query-wrapper {
  margin-top: 2rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgba(223, 233, 237, 0.45);
  padding: 2rem;
  border-radius: 4px;
}
.query-wrapper h1,
.query-wrapper h2 {
  text-align: center;
}
.query-wrapper h2 {
  font-size: 24px;
}
.query-wrapper .button {
  margin-left: auto;
  margin-right: auto;
}
.query-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 60px;
}
.query-questions ol,
.query-questions li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.query-questions ol {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
}
.query-questions li {
  margin-bottom: 1rem;
}
.query-params {
  display: grid;
  grid-gap: 10px;
  margin-bottom: 2rem;
}
.query-options {
  margin-bottom: 2rem;
}
.query-options ol,
.query-options ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-column-gap: 30px;
  grid-row-gap: 1rem;
}
.query-options ol.columns,
.query-options ul.columns {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.query-options li {
  display: flex;
  align-items: flex-start;
  line-height: 1.1;
}
.query-options li label {
  margin-left: 5px;
  cursor: pointer;
}
.query-options li input[disabled] + label {
  color: #59778a;
}
.query-options li input:checked + label {
  font-weight: 700;
}
.query-options li input:focus + label {
  text-decoration: underline;
}
@media (min-width: 0px) and (max-width: 719px) {
.query-wrapper {
    padding: 1rem;
}
.query-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
}
.query-grid > * {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
}


.questions-list li + li {
  margin-top: 1.25rem;
}

.results-recap,
.results-recap dt,
.results-recap dd {
  margin: 0;
  padding: 0;
  max-width: 960px;
}
.results-recap dd,
.results-recap dt {
  display: inline;
}
.results-recap dd {
  color: #004f6d;
  font-size: 15px;
}
.results-recap dd:not(:last-child):after {
  content: '+';
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.panel-toggle {
  position: absolute;
  top: 25vh;
  right: 0;
  z-index: 888889;
  padding: 14px 13px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  letter-spacing: 0.1em;
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: none;
}
.scotchified .panel-toggle {
  display: block;
}
.panel-toggle,
.panel-toggle:visited {
  background: rgba(0, 79, 109, 0.9);
  color: #bfd3db;
}
.panel-toggle:after {
  display: inline-block;
  content: '';
  width: 12px;
  height: 20px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='%23bfd3db' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M0 20L11.6667 9.84615L0 0L0 20Z'/%3E %3C/svg%3E");
  margin-top: 20px;
  vertical-align: middle;
  transition-duration: 0.425s;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.panel-toggle:hover,
.panel-toggle:focus,
.panel-toggle:active,
.scotch-is-showing .panel-toggle {
  text-decoration: none;
  background: #006187;
  color: #ffffff;
}
.panel-toggle:hover:after,
.panel-toggle:focus:after,
.panel-toggle:active:after,
.scotch-is-showing .panel-toggle:after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='%23fafafa' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M0 20L11.6667 9.84615L0 0L0 20Z'/%3E %3C/svg%3E");
}
.scotch-is-showing .panel-toggle {
  background: #003d53;
}
.scotch-is-showing .panel-toggle:after {
  transform: rotate(180deg);
}

.panel-toggle {
  position: absolute;
  top: 25vh;
  right: 0;
  z-index: 888889;
  padding: 14px 13px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  letter-spacing: 0.1em;
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: none;
}
.scotchified .panel-toggle {
  display: block;
}
.panel-toggle,
.panel-toggle:visited {
  background: rgba(0, 79, 109, 0.9);
  color: #bfd3db;
}
.panel-toggle:after {
  display: inline-block;
  content: '';
  width: 12px;
  height: 20px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='%23bfd3db' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M0 20L11.6667 9.84615L0 0L0 20Z'/%3E %3C/svg%3E");
  margin-top: 20px;
  vertical-align: middle;
  transition-duration: 0.425s;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.panel-toggle:hover,
.panel-toggle:focus,
.panel-toggle:active,
.scotch-is-showing .panel-toggle {
  text-decoration: none;
  background: #006187;
  color: #ffffff;
}
.panel-toggle:hover:after,
.panel-toggle:focus:after,
.panel-toggle:active:after,
.scotch-is-showing .panel-toggle:after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='20' viewBox='0 0 12 20' fill='%23fafafa' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M0 20L11.6667 9.84615L0 0L0 20Z'/%3E %3C/svg%3E");
}
.scotch-is-showing .panel-toggle {
  background: #003d53;
}
.scotch-is-showing .panel-toggle:after {
  transform: rotate(180deg);
}
.panel-filters {
  overflow: auto;
  min-height: calc(100vh - 90px - 16px);
  height: 100%;
  padding-top: 30px;
  padding-bottom: 0px;
}
.panel-filters fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.panel-filters fieldset + fieldset {
  margin-top: 1.5rem;
}
.panel-filters legend {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fafafa;
  margin-bottom: 1.5rem;
  display: block;
  width: 100%;
}
.panel-filters ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  grid-gap: 10px;
}
.panel-filters li {
  display: flex;
  align-items: flex-start;
  line-height: 1.1;
}
.panel-filters li label {
  margin-left: 5px;
  cursor: pointer;
}
.panel-filters li input[disabled] + label {
  color: #eef2f3;
  cursor: not-allowed;
}
.panel-filters li input:checked + label {
  font-weight: 700;
}
.panel-filters li input:hover + label,
.panel-filters li label:hover,
.panel-filters li input:focus + label {
  text-decoration: underline;
}
.panel-filters .button {
  margin-bottom: 30px;
}

header.results-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.results-title h1.title {
  font-size: 1.3em;
  line-height: 1.3;
  margin: 0 1.5em 0 0;
}
header.results-title p {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  color: #59778a;
  margin-bottom: 0;
}
header.results-title p a {
  color: inherit;
}
header.results-title .router-link-active {
  border: 0;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  padding: 8px 16px;
  max-width: 120px;
  text-align: center;
  background: #dfe9ed;
  color: #004f6d;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  margin: auto;
  white-space: nowrap;
}
header.results-title .router-link-active:hover {
  text-decoration: none;
  background: #cfdee4;
}
@media (min-width: 1240px) {
  header.results-title {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
@media (min-width: 1020px) and (max-width: 1239px) {
  header.results-title {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
@media (min-width: 720px) and (max-width: 1019px) {
  header.results-title {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
@media (min-width: 0px) and (max-width: 719px) {
  header.results-title {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header.results-title h1.title {
    font-size: 1.2em;
  }
}