/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
x-wallpaper {
  display: block;
  position: relative;
}
x-wallpaper canvas {
  width: 100%;
  height: auto;
  background: #f5f5f6;
  border-radius: 6px;
}
@media screen and (max-width: 540px) {
  x-wallpaper canvas {
    border-radius: 0;
  }
}
x-wallpaper x-select.tabs {
  position: relative;
  z-index: 1;
}
x-wallpaper x-select.tabs .group {
  width: 36px;
  text-align: center;
  padding: 0;
}
@media screen and (max-width: 740px) {
  x-wallpaper x-select.tabs .group {
    width: 30px;
  }
}
@media screen and (max-width: 1020px) and (min-width: 840px) {
  x-wallpaper x-select.tabs .group {
    width: 30px;
  }
}
x-wallpaper .colours {
  display: block;
  position: absolute;
  bottom: -1px;
  right: -1px;
  background: rgba(245, 245, 246, 0.9);
  border-top-left-radius: 12px;
  padding: 4px 0;
}
x-wallpaper .colour {
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 30px;
  margin: 4px 8px;
  opacity: 0.4;
  border: 2px solid #3a3645;
  box-sizing: border-box;
}
x-wallpaper .colour.active {
  border-width: 4px;
  opacity: 1;
}
@media screen and (max-width: 640px) {
  x-wallpaper .colour {
    width: 24px;
    height: 24px;
    margin: 2px 4px;
  }
}
x-wallpaper .colour:nth-child(1) {
  background: #cd0e66;
}
x-wallpaper .colour:nth-child(2) {
  background: #eb4726;
}
x-wallpaper .colour:nth-child(3) {
  background: #fd8c00;
}
x-wallpaper .colour:nth-child(4) {
  background: #bfc212;
}
x-wallpaper .colour:nth-child(5) {
  background: #22ab24;
}
x-wallpaper .colour:nth-child(6) {
  background: #009ea6;
}
x-wallpaper .colour:nth-child(7) {
  background: #0f82f2;
}
x-wallpaper .colour:nth-child(8) {
  background: #6d3bbf;
}
x-wallpaper .btn-row {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

x-geopad .paths path.drag {
  cursor: move;
  pointer-events: none;
}

x-geopad x-img {
  position: absolute;
  z-index: -1;
}

.draw {
  cursor: pointer;
}

.draw.reflection[grid] .paths path {
  stroke: #cd0e66;
  stroke-width: 6px;
}

.reflection circle {
  display: none;
}

x-geopad .paths path.blue1 {
  fill: #258dab;
}
x-geopad .paths path.green1 {
  fill: #289782;
}
.focus x-geopad .paths path.blue1:not(.focus) {
  fill: #e0ebef;
}
.focus x-geopad .paths path.green1:not(.focus) {
  fill: #e1ecea;
}

.letters {
  flex-wrap: wrap;
  justify-content: center;
}

.letters .item {
  width: 56px;
  line-height: 56px;
  text-align: center;
  font-weight: 600;
  font-size: 40px;
  color: black;
  margin: 4px;
}

.palindromes {
  margin: 2em 0;
}
.palindromes .check {
  margin: -3px 30px 0 -30px;
}
.palindromes input {
  display: inline-block;
  text-align: center;
  width: 180px;
  padding: 0.3em 0.6em !important;
}
.palindromes input.correct {
  border-color: #22ab24;
  pointer-events: none;
}

.animation, .symmetry {
  position: relative;
  margin: 0 auto;
}

.animation {
  width: 200px;
}

.symmetry {
  width: 320px;
  overflow: hidden;
}

.symmetry img:nth-child(2) {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.5;
}

.sym-sum {
  display: inline-block;
  width: 54px;
  height: 54px;
  background: #c5c2cc;
  vertical-align: middle;
}
.sym-sum:hover {
  transform: scale(1.08);
}
.sym-sum:active {
  transform: scale(0.92);
}
.sym-sum img {
  display: block;
  transition: opacity 0.3s;
}
.sym-sum.pending {
  cursor: pointer;
}
.sym-sum.pending img {
  opacity: 0;
}

.cubes:before, .cubes:after {
  display: table;
  content: " ";
  clear: both;
}
.cubes .cube {
  display: block;
  float: left;
  margin: 10px;
}

.calculator {
  background: #3a3645;
  max-width: 420px;
  padding: 8px;
  margin: 2em auto;
  border-radius: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.calculator:before, .calculator:after {
  display: table;
  content: " ";
  clear: both;
}
.calculator .display {
  background: #c5c2cc;
  border-radius: 4px;
  padding: 8px;
  height: 40px;
  position: relative;
  margin: 6px 6px 12px 6px;
}
.calculator .display img {
  width: 40px;
  height: 40px;
  position: absolute;
  display: none;
}
.calculator .operator {
  font-size: 24px;
  position: absolute;
  color: #3a3645;
  top: 10px;
}
.calculator .operator:first-child {
  left: 56px;
}
.calculator .operator:nth-child(2) {
  left: 127px;
}
.calculator .clear {
  width: 24px;
  height: 24px;
  background: rgba(58, 54, 69, 0.6);
  color: #c5c2cc;
  position: absolute;
  right: 12px;
  border-radius: 12px;
  line-height: 24px;
  text-align: center;
  font-size: 24px;
  top: 16px;
  cursor: pointer;
  display: none;
  transition: background 0.2s;
}
.calculator .clear:hover {
  background: #3a3645;
}
.calculator .button {
  background: #5e5870;
  border-radius: 4px;
  float: left;
  width: 70px;
  height: 40px;
  padding: 8px;
  margin: 6px;
  line-height: 40px;
  font-size: 24px;
  color: white;
  text-align: center;
  box-shadow: 0 3px 0 #181824;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
.calculator .button:hover {
  background: #6a637e;
}
.calculator .button:active {
  box-shadow: none;
  transform: translateY(3px);
}
.calculator .button .cube {
  margin: 0 4px;
}

.axiom {
  margin: 1em 0;
}
.axiom .cube {
  margin: 2px 0;
}
.axiom .space {
  display: inline-block;
  width: 40px;
}
.axiom mn {
  background: #00b200;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 15px;
  line-height: 28px;
  margin: 0 2px;
}

.footsteps {
  width: 600px;
  max-width: 100%;
  height: 120px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(to right, #f2994a, #f2c94c);
}
.footsteps img {
  max-width: none;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: -50px;
}

article.stars .page-background {
  transform: translate3D(0, 0, 0);
  background: #121b3c url("/content/transformations/images/universe.jpg");
  background-size: cover;
  background-position: center;
}

.space {
  display: inline-block;
  width: 30px;
}