/* Qualitative Methods Workbook — C. George Boeree */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  color: #222;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 1100px;
  margin: 20px auto;
  padding: 2em;
  border: 1px solid #aaa;
  border-radius: 25px;
  box-shadow: 2px 2px 8px #aaa;
}
main { width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.2; }
h1 { text-align: center; margin-bottom: .35rem; }
h2 { margin-top: 2rem; }
h3 { margin-top: 1.5rem; }
.workbook-header { text-align: center; }
.workbook-header p { margin: .25rem 0; }
.author { font-weight: 700; }
a { color: #0645ad; text-decoration: underline; text-underline-offset: .12em; }
a:hover, a:focus { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .table-wrap:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: #fff;
  border: 2px solid #222;
}
.toc { margin: 1.5rem 0 2rem; }
.toc-details { border: 1px solid #777; border-radius: .35rem; padding: .5rem .75rem; }
.toc-details summary { cursor: pointer; font-weight: 700; }
.toc ul { margin-bottom: .25rem; }
ol, ul { padding-left: 2rem; }
li { margin: .35rem 0; }
figure { margin: 1.5rem auto; }
.figure-center { text-align: center; }
figure img { max-width: 100%; height: auto; }
figcaption { margin-top: .4rem; font-size: .95rem; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  padding-bottom: .25rem;
}
table {
  border-collapse: collapse;
  min-width: 36rem;
  margin: 0 auto;
}
caption { font-weight: 700; text-align: left; padding: 0 0 .5rem; }
th, td { border: 1px solid #555; padding: .45rem .6rem; text-align: center; }
th { font-weight: 700; }
.reference { padding-left: 1.5rem; text-indent: -1.5rem; }
.center { text-align: center; }
hr { margin: 2rem 0; border: 0; border-top: 1px solid #777; }
footer { margin-top: 2rem; }
@media (max-width: 700px) {
  body {
    margin: 0;
    padding: 1rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  table {
    min-width: 32rem;
  }
}
}
