/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
sup {
  font-weight: 600;
}

x-atom {
  display: block;
  margin: 0 auto;
}

x-atom canvas {
  width: 100%;
  height: auto;
}

.col-grid td {
  padding: 0.4em 0.6em;
}
.col-grid tr:first-child td {
  padding: 0 0.6em 0.4em;
  border: 0;
}

.col {
  background: #fd8c00;
  height: 120px;
  width: 50px;
  margin: 0 auto;
  transform-origin: center bottom;
  transition: opacity 0.2s, transform 1s;
  box-shadow: 0 0 12px 1px rgba(253, 140, 0, 0.6);
  border-radius: 2px;
}
.col.c1, .col.c2, .col.c3, .col.c4 {
  opacity: 0;
  transform: scaleY(0);
}
.col.on {
  opacity: 1;
  transform: none;
}
.col.c1 {
  height: 60px;
  margin-top: 60px;
}
.col.c2 {
  height: 30px;
  margin-top: 90px;
}
.col.c3 {
  height: 15px;
  margin-top: 105px;
}
.col.c4 {
  height: 7.5px;
  margin-top: 112.5px;
}

.text-wrap {
  display: block;
  float: right;
  shape-margin: 24px;
  margin: 0 0 24px 24px;
  shape-outside: circle();
}
@media (max-width: 560px) {
  .text-wrap {
    float: none !important;
    margin: 0 auto 1em;
  }
}

.decay-box {
  position: relative;
  height: 112px;
}
.decay-box x-atom {
  position: absolute;
  top: 0;
}
.decay-box x-atom:first-child:hover {
  transform: scale(1.08);
}
.decay-box x-atom:first-child:active {
  transform: scale(0.92);
}
.decay-box .label {
  position: absolute;
  top: 72px;
  width: 72px;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
}
.decay-box .operator {
  position: absolute;
  top: 16px;
  font-size: 20px;
  color: #333;
}

x-algebra-flow x-blank input {
  min-width: 74px;
  transition: min-width 0.2s;
}
x-algebra-flow x-blank.invalid input {
  min-width: 54px;
}