:root {
  --accentColor: lightblue;
  --color2: lightblue;
  --textPadding: 8px;
  --colGap: 20px;
  /--secGap: 5px;
  --pageMargin: 0 5vw;
  --pagePadding: 20px 5vw;
  /--divisionLine: 2px solid lightgray;
}

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: var(--accentColor);
  background-color: white;
  margin: 0;
}

.row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: var(--textPadding);
}

.col {
  display: flex;
  flex-flow: column nowrap;
  gap: var(--textPadding);
}

.wrap {
  flex-wrap: wrap;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: var(--textPadding);
  padding: 0;
  font-size: 1em;
}

h1 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.2em;
}

ul {
  margin: 0;
  padding-left: 1.5em;
}
li + li {
  padding-top: .25em;
}

button {
  font-size: 1em;
  background-color: initial;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

a:link, .topicAlias {
  color: gray;
}
a:visited {
  color: gray;
}
a:hover {
}
a:active {
}



.collHead, .collSect {
  /background-color: #f1f1f1;
  /background-color: lightgray;
  /color: gray;
  background-color: inherit;
  color: inherit;
  border: 2px solid lightgray;
  padding: var(--textPadding);
}

.collHead {
  cursor: pointer;
  justify-content: space-between;
  border-radius: 8px;
}
.collHead.active {
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}
.collHead:after {
  font: var(--fa-font-solid);
  content: "\f107";
  align-self: center;
  /color: var(--color1D);
}
.collHead.active:after {
  content: "\f106";
}

.collSect {
  border-radius: 0 0 8px 8px;
  border-top: none;
}

.collHead:not(.active) + .collSect {
  display: none;
}
.collHead.hidden, .collHead.hidden + .collSect {
  display: none;
}
.collSect + .collHead {
  margin-top: var(--textPadding);
}



.item.collHead, .item.collSect {
  border-color: var(--color2);
}
.item.collSect {
  align-items: stretch;
  flex-wrap: nowrap;
}
@media only screen and (orientation: portrait) {
  .item.collSect {
    flex-direction: column;
  }
}
.item.collSect > .col {
  align-items: flex-start;
}








:root {
  --headHeight: 6em;
  --leftColWidth: 20em;
  --rightColWidth: 18em;
}

body > * {
  padding: 16px;
}

#head {
  position: sticky;
  top: 0;
  height: var(--headHeight);

  background-color: white;
  border-bottom: 1px solid lightgray;

  display: grid;
  align-content: center;
  align-items: center;
  justify-items: center;
  row-gap: var(--textPadding);
}

#headButtons {
  grid-area: headButtons;
  justify-content: space-around;
  color: gray;
}
#headButtons a {
  text-decoration:none;
  text-align: center;
}

#leftCol {
  position: absolute;
  top: var(--headHeight);
  bottom: 0;
  width: var(--leftColWidth);

  overflow-y: auto;

  background-color: whitesmoke;
}
#leftCol:not(.active) {
  display: none;
}

#page {
  position: absolute;
  top: var(--headHeight);
  bottom: 0;
  left: 0;
  right: 0;

  overflow-y: auto;

  background-color: white;

  display: grid;
  align-items: start;
  gap: 20px;
}

#rightCol {
  grid-area: rightCol;
}

#items {
  grid-area: items;
}

#items a {
  word-break: break-word;
}

@media only screen and (min-width: 1000px) {
  #page {
    /padding-right: 10vw;
    grid-template-areas: 'items rightCol';
    grid-template-columns: auto max-content;
  }
  #rightCol {
    width: var(--rightColWidth);
    max-width: 30vw;
  }
}
@media only screen and (orientation: landscape), (min-width: 1000px) {
  #leftCol {
  }
  #leftCol.active ~ #page {
    left: var(--leftColWidth);
  }
  #leftCol:not(.active) ~ #page {
    /padding-left: 10vw;
  }
  #head {
    grid-template-areas: 'menu title' 'menu headButtons';
    grid-template-columns: max-content auto;
  }
}

@media only screen and (max-width: 1000px) {
  #page {
    /flex-direction: column;
    grid-template-areas: 'items' 'rightCol';
    grid-template-rows: auto max-content;
  }
  #rightCol {
    border-top: 1px solid lightgray;
    padding-top: 20px;
  }
}
@media only screen and (orientation: portrait) and (max-width: 1000px) {
  #leftCol {
    width: 100vw;
  }
  #leftCol.active ~ #page {
    display: none;
  }
  #head {
    grid-template-areas: 'title menu' 'headButtons menu';
    grid-template-columns: auto max-content;
  }
}



.criteria {
  color: gray;
  font-size: .9em;
  /text-wrap: nowrap;
  gap: 4px;
  /padding-top: var(--textPadding);
  /border-top: 1px solid lightgray;
}

.filters {
  color: dimgray;
}

.checkboxButton {
  padding: 0;
  /align-items: flex-start;
  text-align: left;
}

#menu {
  grid-area: menu;
  color: silver;
  height: 2em;
  width: 2em;
  border-radius: 1em;
}
#menu.active {
  background-color: silver;
  color: whitesmoke;
  background-color: whitesmoke;
  background-color: lightgray;
  color: silver;
  color: gray;
}

#title {
  grid-area: title;
}

input {
  border: none;
  background-color: inherit;
  font-size: 1em;
  outline:none;
  color: inherit;
  padding: var(--textPadding);
}

.search {
  border-bottom: 2px solid lightgray;
}

.search input::placeholder {
  color: lightgray;
}

.note, #resultCount, .showMore {
  color: gray;
  font-size: .8em;
  font-style: italic;
}

.showMore, #resultCount {
  text-align: right;
  /float: right;
}

hr {
  margin: 0;
  border: none;
  border-top: 1px solid lightgray;
  margin: var(--textPadding) 0;
}

#rightCol hr {
  margin: 4px 0;
  border-color: var(--accentColor);
}


.item.collHead .col {
  flex-grow: 10;
}

img.thumbnail {
  /max-height: 3.5em;
  max-width: 2.5em;
  width: 2.5em;
  border-radius: .2em;
}


#steps {
  justify-content: space-around;
}
#steps > p {
  text-wrap: nowrap;
  gap: 4px;
}
#steps i {
  color: silver;
  font-size: .8em;
}

/*
.circleNum {
  background-color: silver;
  border-radius: .7em;
  display: inline-block;
  height: 1.4em;
  width: 1.4em;
  color: white;
  padding: .2em;
  text-align: center;
}

num1::after {
  content: "1";
}
*/


.quote {
  background-color: whitesmoke;
  padding: 8px;
  border-radius: 8px;
  color: dimgray;
}

.quote i {
  float: left;
  font-size: 2em;
  padding-right: 8px;
  color: silver;
}

.quote .author {
  font-size: .9em;
  font-style: italic;
  text-align: center;
}