html {
  font-size: 16.5px;
  -webkit-text-size-adjust: 100%;
}



/* RESET */

body, h1, h2, h3, p, ol, ul, li, th, td,
address, time, pre, code, figure, input {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: normal;
}



/* TYPOGRAPHY */

h1 {
  margin-top: 0.75em;
  margin-bottom: 0.35em;
  text-indent: -1px;
  line-height: 1.1;
  font-size: 2em;
  font-weight: bold;
}

h2 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  text-indent: -1px;
  line-height: 1.1;
  font-size: 1.5em;
  font-weight: bold;
}

h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  line-height: 1.1;
  font-size: 1.25em;
  font-weight: bold;
}

p {
  margin-bottom: 0.9em;
  line-height: 1.5;
}

p.quote, p.note {
  font-style: italic;
}

ol {
  margin-bottom: 0.9em;
  padding-left: 1em;
}

ul {
  margin-bottom: 0.9em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.1em;
  line-height: 1.5;
}

ol li {
  padding-left: 0.25em;
}

ul li li {
  list-style-type: disc;
}

ol.spaced > li, ul.spaced > li {
  margin-bottom: 0.9em;
}

address {
  margin-top: 0.75em;
  margin-bottom: 0.6em;
}

time {
  display: block;
  margin-bottom: 1.5em;
  color: #999;
}

pre {
  overflow-x: auto;
  margin-bottom: 1em;
  padding: 0.5em;
  border-radius: 6px;
  background-color: #eee;
}

code {
  font: 14px "Source Code Pro", monospace;
}

sup {
  line-height: 1;
  font-size: 0.7em;
}

a {
  border-bottom: 1px solid #d99;
  color: #c00;
  text-decoration: none;
}

span.term {
  font-weight: bold;
}

span.keyboard-shortcut {
  white-space: nowrap;
}

div.footnotes {
  margin-top: 2em;
}

div.footnotes p {
  margin-top: 0;
  margin-bottom: 0.25em;
  line-height: 1.1;
  font-size: 0.8em;
}



/* TABLES */

table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 540px;
  margin-bottom: 0.75em;
}

tr {
  border-top: 2px solid #ccc;
}

tr:nth-child(1) {
  border-top: none;
}

th, td {
  padding: 5px 0;
  text-align: left;
  line-height: 1.25;
}

th {
  font-weight: bold;
}

figure {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

figure img {
  display: block;
  max-width: 100%;
  margin: auto;
}

figure.max-60 img {
  max-width: 60%;
}

figure.bordered img {
  border: 1px solid #ddd;
  border-radius: 6px;
}

figcaption {
  margin-top: 1em;
  font-size: 0.9em;
}



/* MAIN CONTENT CONTAINER */

main {
  max-width: 540px;
  margin: 0 auto 3em;
  padding: 0 15px;
}

main.narrow {
  max-width: 360px;
}



/* HEADERS */

header {
  margin-bottom: 1em;
}

header div {
  max-width: 540px;
  margin: auto;
  padding: 1em 15px;
}

header.portrait {
  max-width: 360px;
  margin: auto;
}

header.portrait img {
  display: block;
  width: 100%;
}

@media (min-width: 361px) {
  header.portrait {
    padding: 0 15px;
  }
  header.portrait img {
    border-radius: 0 0 6px 6px;
  }
}

.tech-help header div {
  padding-top: 2em;
}

.tech-help header time {
  margin-bottom: 0.5em;
  color: inherit;
}

.tech-help header a {
  border-bottom: none;
  color: inherit;
}

.tech-help.learn header {
  background-color: #ddd;
  color: black;
}

.tech-help.how-to header {
  background-color: #005eb8;
  color: white;
}

.tech-help.kb header {
  background-color: #00376b;
  color: white;
}



/* FOOTERS */

footer {
  background-color: #ddd;
}

footer div {
  max-width: 540px;
  padding: 2em 15px;
  margin: auto;
}

footer.narrow div {
  max-width: 360px;
}

footer a {
  border-bottom-color: #999;
  color: black;
}

footer span {
  margin-left: 0.5em;
  margin-right: 0.5em;
  vertical-align: 10%;
}

.tech-help footer {
  background-color: #222;
  color: white;
}

.tech-help footer div {
  padding-top: 0.75em;
  padding-bottom: 0.75em;
}

.tech-help footer h2 {
  margin-top: 0.75em;
}

.tech-help footer a {
  border-bottom-color: white;
  color: white;
}



/* MISCELLANEOUS AND UTILITIES */

p.old-content-notice {
  padding: 0.75em 1em;
  border-radius: 6px;
  background-color: #555;
  color: white;
}

.can-scroll-sideways {
  overflow-x: auto;
}



/* COLLAPSIBLE SECTIONS */

section.expander {
  margin-bottom: 1.25em;
}

section.expander button {
  position: relative;
  border: none;
  background: none;
  padding: 0 0 0 1.25em;
  text-align: left;
  font: inherit;
  color: black;
  cursor: pointer;
}

section.expander button[aria-expanded]::before {
  content: "+︎";
  position: absolute;
  left: 0;
  top: -0.15em;
  transition: transform 0.3s ease-out;
  font-size: 1.4em;
  color: #aaa;
}

section.expander button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}



/* HOME PAGE */

ul#contact {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding: 0.75em 1em;
  list-style: none;
  background-color: #555;
  border-radius: 6px;
  color: white;
}

ul#contact li {
  margin: 0.1em 0;
  font-weight: bold;
}

ul#contact a {
  border-bottom-color: #555;
  color: white;
}

ul#contact a:hover {
  border-bottom-color: white;
}



/* REMOTE CONNECTION */

form#remote h1 {
  text-align: center;
}

form#remote input {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

form#remote input#key {
  width: 200px;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 5px;
  font-size: 1.5em;
}

form#remote input#connect {
  padding: 5px 15px;
  font-size: 1.25em;
}



/* LEARN ABOUT COMPUTERS + HOW TO GUIDE INDEXES */

ul.icons {
  padding-left: 0;
  list-style: none;
}

ul.icons li {
  margin-bottom: 0.5em;
  line-height: 1.25em;
}

ul.icons a {
  display: flex;
  align-items: center;
  border: 1px solid #f3f3f3;
  border-radius: 6px;
  padding: 0.25em 0 0.25em 0.5em;
  background-color: #f3f3f3;
}

ul.icons a:hover {
  border-color: #ccc;
  background-color: unset;
}

ul.icons.how-to a {
  color: #005eb8; /* Blue on how-to index page. */
}

ul.icons img {
  width: 50px;
  margin-right: 10px;
  vertical-align: middle;
}



/* HOW-TO GUIDES + KB ARTICLES */

.tech-help.how-to main a,
.tech-help.kb main a {
  color: #005eb8;
  border-bottom-color: #66b4ff;
}



/* MAILING LIST UNSUBSCRIBE */

form#unsubscribe h1,
h1#unsubscribe-successful {
  text-align: center;
}

form#unsubscribe input {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 15px;
  font-size: 1.25em;
}



/* MISCELLANEOUS ON SPECIFIC PAGES */

.tech-help.learn.licensing-microsoft-office table th:nth-child(1) {
  width: 20%;
}

.tech-help.learn.licensing-microsoft-office table th:nth-child(2) {
  width: 40%;
}

.tech-help.learn.urls p.url {
  margin-top: 1.1em;
  margin-bottom: 1.1em;
  padding: 7px 10px;
  background-color: #f1f1f1;
  border: 1px solid #bbb;
  border-radius: 6px;
}

.tech-help.learn.urls p.url span {
  background-color: #ffd6d6;
  font-weight: bold;
}

main#wodc-local-plan-hanborough table {
  margin-top: 2em;
  margin-bottom: 2em;
}

main#wodc-local-plan-hanborough table tr {
  border-top: none;
}

main#wodc-local-plan-hanborough table td {
  vertical-align: top;
}

main#wodc-local-plan-hanborough table td:first-child {
  width: 20%;
}

main#wodc-local-plan-hanborough table tr:last-child td {
  font-weight: bold;
}