html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-columns {
  @include media-breakpoint-only(lg) {
    column-count: 4;
  }

  @include media-breakpoint-only(xl) {
    column-count: 5;
  }
}

.code pre {
  height: 100%;
  background: #303030;
  color: #f1f1f1;
  padding: 10px 16px;
  border-radius: 2px;
  border-top: 4px solid #00aeef;
  -moz-box-shadow: inset 0 0 10px #000;
  box-shadow: inset 0 0 10px #000;
  counter-reset: line;
}
.code pre span {
  display: block;
  line-height: 1.5rem;
}
.code pre span:before {
  counter-increment: line;
  content: counter(line);
  display: inline-block;
  border-right: 1px solid #ddd;
  padding: 0 .5em;
  margin-right: .5em;
  min-width: 3em;
  color: #888
}

.notes pre {
  white-space: break-spaces;
}

.model-diagram {
  display: block;
  max-height: 800px;
  max-width: 100%;
  margin: 0 auto;
}

.col-form-label {
  font-weight: bold;
}

.text-underline-hover {
  text-decoration: none;
  cursor: pointer; 
}

.text-underline-hover:hover {
  text-decoration: underline;
}

#odes-table .MathJax, #rate-rules-table .MathJax {
  text-align: left !important;
}

#odes-table svg {
    max-width: 100%;
}

.math-container {
    display: none;
    position: relative;
    overflow: hidden;
    width: 900px;
    overflow-wrap: break-word;
    word-break: break-word;
}
