.center {
  margin-left: auto;
  margin-right: auto;
  width: max-content;
}

.sig {
  font-weight: bold;
}

.wy-nav-content {
  overflow-x: auto;
}

.wy-table-responsive * {
  white-space: normal;
}
.rst-content {
  position: relative;
}

a {
  color: #3344dd;
}

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

.rst-content code.literal {
  color: black;
}

.syntax-block {
  margin-bottom: 20px;
  display: block;
}

.syntax-block * {
  display: inline;
  margin: 0;
}

/* BEGIN Syntax Tables */
.syntax-rule-tbl {
  display: table;
  border-spacing: 20px 0;
  border-collapse: separate;
  margin: 0 -20px;
  padding-left: 5px;
}

.syntax-rule-tbl .syntax-rule {
  
  display: table-row;
}

.syntax-rule-tbl .syntax-rule > p {
}

.syntax-rule-tbl .syntax-rule > p > *  {
  display: table-cell;
}
/* END Syntax Tables */

.syntax-definition {
  display: flex;
  flex-direction: row;
}

.syntax-rule {
  margin-left: 25px;
  display: flex;
  flex-flow: row wrap;
  column-gap: 1ch;
  white-space: nowrap;
}


.syn-term {
  font-weight: bold;
  display: inline;
}

.syn-nonterm {
  font-style: italic;
  display: inline;
}

.syntax-text-rule {
  margin-left: 65px;
  display: flex;
  flex-flow: row wrap;
}

.syntax-text-rule > :first-child {
  margin-left: -40px;
}

.syn-opt {
  vertical-align: sub;
  font-size: 80%;
  font-style: italic;
}


.snum {
  position: absolute;
  left: -10px;
  width: 0;
  white-space: nowrap;
  text-align: right
}

.snum > *{
  position: absolute;
  right: 0;
}

.context-highlighting {
  font-family: monospace;
  font-weight: bold;
  background: #f7f7f7;
  border: 1px solid rgb(100, 100, 0, 0.1);
  padding: 0 0.25ch;
  margin: 0 0.25ch
}
