html {
  box-sizing: border-box;
  height: 100vh;
  scrollbar-gutter: stable;
}
*,
:after,
:before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    Fira Sans,
    Droid Sans,
    Helvetica Neue,
    Segoe UI Emoji,
    Apple Color Emoji,
    Noto Color Emoji,
    sans-serif;
  font-size: 1.375rem;
  line-height: 1.6;
  word-wrap: break-word;
  hyphens: auto;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1 {
  line-height: 1.1;
}
h2 {
  line-height: 1.2;
}
h3 {
  line-height: 1.3;
}
h4 {
  line-height: 1.4;
}
h5 {
  line-height: 1.5;
}
ol,
ul {
  margin-left: 1.5rem;
}
.color-red {
  color: red;
}
img,
video,
iframe {
  display: block;
  block-size: auto;
  max-inline-size: 100%;
}
.ruler-parent {
  overflow-x: hidden;
  background-image: url("img/ruler.png");
  background-repeat: no-repeat;
  height: 38px;
  outline: 1px solid #777;
}
.ruler-parent img {
  max-width: initial;
}
#headwidth,
#menuwidth,
#mainwidth,
#sidewidth {
  width: fit-content;
  margin-inline: auto;
  height: 36px;
  color: black;
  background-color: yellow;
  margin-bottom: 8px;
  padding-inline: 0.5rem;
  border: 1px solid black;
  border-radius: 10px;
}
#menuwidth,
#mainwidth,
#sidewidth {
  position: sticky;
  top: 100px;
  z-index: 3333333;
  left: 0;
  right: 0;
}
#menu-main-side-wrapper {
  flex-grow: 1;
  display: flex;
  width: 100%;
  max-width: 1750px;
  margin: 1rem auto;
  padding-inline: 10px;
}
#menu-main-side {
  flex-grow: 1;
  display: grid;
  gap: 10px;
}
header {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 10px 0;
  outline: 1px dotted red;
  background-color: #fff;
}
#menucolumn {
  position: relative;
  padding: 10px 0;
  display: none;
  outline: 1px dotted red;
}
#maincolumn {
  position: relative;
  padding: 10px 0;
  outline: 1px dotted red;
}
#maincontent section > h1,
#maincontent section > h2,
#maincontent section > h3,
#maincontent section > h4,
#maincontent section > h5,
#maincontent section > h6,
#maincontent section > p + p {
  margin-top: 2em;
  margin-bottom: 0.5em;
}
#maincontent section > table {
  margin-top: 1em;
}
section {
  margin-top: 7rem !important;
}
#sidecolumn {
  position: relative;
  padding: 10px 0;
  outline: 1px dotted red;
  display: none;
}
footer {
  outline: none;
  margin-top: 5rem;
  background-color: #333;
  padding-block: 25px;
  font-size: 0.75em;
}
footer .cq-row {
  outline: none;
}
footer .cq-row > div {
  outline: none;
  background-color: transparent !important;
  color: #ddd;
  padding-inline: 25px;
  a {
    color: inherit;
    &:hover {
      color: #fff;
    }
  }
}

@media (min-width: 1000px) {
  #menucolumn {
    display: block;
  }
  #menu-main-side {
    grid-template-columns: 250px 1fr;
  }
}
@media (min-width: 1400px) {
  #sidecolumn {
    display: block;
  }
  #menu-main-side {
    grid-template-columns: 250px 1fr 250px;
  }
}
@media (min-width: 1600px) {
  #menu-main-side {
    grid-template-columns: 300px 1fr 300px;
  }
}
#stepwidthtable,
#filesizestable {
  margin-left: 1.5rem;
}
#stepwidthtable,
#stepwidthtable th,
#stepwidthtable td,
#filesizestable,
#filesizestable th,
#filesizestable td {
  border-top: 2px solid gray;
  border-collapse: collapse;
  text-align: right;
  padding-inline: 10px;
}
#stepwidthtable,
#stepwidthtable th,
#filesizestable,
#filesizestable th {
  border-top: none;
}

.cq-row {
  outline: 1px dotted green;
  margin-inline: auto;
}
.cq-row > * {
  outline: 1px solid blue;
}
.cq-row > :first-child {
  background-color: rgb(255, 255, 192);
}
.cq-row > :nth-child(2) {
  background-color: rgb(255, 227, 127);
}
.cq-row > :nth-child(3) {
  background-color: rgb(255, 192, 192);
}
.cq-row > :nth-child(4) {
  background-color: rgb(192, 255, 192);
}
.cq-row > :nth-child(5) {
  background-color: rgb(192, 255, 255);
}
.cq-row > :nth-child(6) {
  background-color: rgb(227, 227, 255);
}

.textAreaContainer textarea {
  width: 100%;
  border: none;
  background-color: #eee;
  padding: 1.25rem 0 0 1rem;
  font-size: 1.1rem;
  resize: none;
}

.caniuse img {
  width: 100%;
}

@media print {
  * {
    break-inside: avoid;
  }
  body {
    font-size: 20px;
  }
  #menu-main-side-wrapper * {
    outline: none;
  }
  header,
  #headcolumn,
  #headwidth,
  #menucolumn,
  #menuwidth,
  #maincolumn,
  #mainwidth,
  #sidecolumn,
  #sidewidth,
  .ruler-parent {
    display: none;
  }
  #maincolumn {
    display: block !important;
  }
}
