table {
  padding: 0;
  border-collapse: collapse;
}

table tr {
  border-top: 1px solid #cccccc;
  background-color: white;
  margin: 0;
  padding: 0;
}

table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

table tr th {
  font-weight: bold;
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}

table tr td {
  border: 1px solid #cccccc;
  text-align: left;
  margin: 0;
  padding: 6px 13px;
}

table tr th :first-child,
table tr td :first-child {
  margin-top: 0;
}

table tr th :last-child,
table tr td :last-child {
  margin-bottom: 0;
}

.entry > h2 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.entry > hr {
  margin-top: 35px;
  margin-bottom: 30px;
}

.center {
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.diagram2d {
  width: 50%;
}
@media (max-width: 575px) {
  .diagram2d {
    width: 75%;
  }
}

.diagram2d_wider_on_mobile {
  width: 50%;
}
@media (max-width: 575px) {
  .diagram2d_wider_on_mobile {
    width: 100%;
  }
}

.flextable {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.flextable .slider {
  width: 100%;
  margin-top: 18px;
}
.flextable .item {
  margin-left: 40px;
  margin-right: 40px;
}
.flextable .break {
  flex-basis: 100%;
  height: 0;
}

.diagram2d_wide {
  width: 70%;
}
@media (max-width: 575px) {
  .diagram2d_wide {
    max-width: 400px;
    min-width: 350px;
  }
}

.diagram2d_wide_asdf {
  width: 100%;
  min-width: 500px;
}
@media (max-width: 575px) {
  .diagram2d_wide_asdf {
    min-width: 425px;
    margin-left: -20px;
  }
}

.dropdown-header {
  cursor: pointer;
  background-color: #F1F1F1;
  font-size: 1em;
  padding: 5px;
  padding-left: 40px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 5px;
  border: 1px solid #CCC;
  position: relative;
}

.dropdown-content-pad {
  padding-left: 10px;
  padding-top: 10px;
  padding-right: 10px;
  margin-bottom: -5px;
}

.dropdown-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.1s ease, max-height 0.1s ease, margin 0.1s ease, padding 0.1s ease;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid #CCC;
  background-color: #FFFAEC;
}

.dropdown-content.show {
  max-height: 1250px;
  opacity: 1;
  margin-top: 15px;
  margin-bottom: 15px;
}

.dropdown-header:hover {
  background-color: #ddd;
}

.dropdown-header::before {
  content: "▶︎";
  font-size: 0.9em;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: inline-block;
  padding: 5px;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.dropdown-header.show::before {
  transform-origin: center;
  transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 575px) {
  .wider_on_mobile {
    width: 100%;
  }
}

.fix-katex {
  display: inline-block;
}
.fix-katex .katex-display {
  margin: 0;
}

@media (min-width: 675px) {
  .hide_wide {
    display: none;
  }
}

@media (max-width: 675px) {
  .hide_narrow {
    display: none;
  }
}

.lol_table {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}
.lol_table tr,
.lol_table td {
  background-color: #ffffff;
  padding: 0.5em;
}

.yetanothertable2 {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}
.yetanothertable2 tr,
.yetanothertable2 td {
  background-color: #ffffff;
  border: none;
  padding: 0;
}
.yetanothertable2 td {
  vertical-align: middle;
  width: 50%;
}
@media (max-width: 575px) {
  .yetanothertable2 td {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.imagetable2 {
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
}
.imagetable2 tr,
.imagetable2 td {
  background-color: #ffffff;
  border: none;
}
.imagetable2 td {
  display: inline-block;
  text-align: center;
}

.slider {
  -webkit-appearance: none;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  display: block;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04AA6D;
  cursor: pointer;
}

.review {
  font-style: italic;
}