body {
  word-wrap: break-word;
  background-color: #edeff2;
  color: #151e3a;
  font-size: 13px;
}
h1,
h2,
h3 {
  margin-top: 0;
}
h1 {
  font-size: 2em;
}
h2,
h3 {
  font-size: 1.5em;
}
p {
  margin-bottom: 5px;
}
.header {
  border-bottom: 1px solid #A2A6B1;
  margin: 10px 15px 30px;
}
.main {
  max-width: 1600px;
  margin: auto;
  position: relative;
  overflow: hidden;
}
.figure {
  width: 100%;
  min-height: 640px;
  background-image: url(figure.png);
  background-position: right 255px center;
  background-repeat: no-repeat;
  position: relative;
}
@media screen and (min-width: 700px) {
  .figure {
    padding-right: 320px;
    background-position: right 590px center;
  }
  .figure:before,
  .figure:after {
    display: block;
    content: "";
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100px;
    bottom: 0;
    background-image: url(waves.png);
    background-repeat: repeat-x;
  }
  .figure:before {
    background-position: 20px top;
    animation: wavesa 1.2s ease-in-out infinite alternate, bgmove 5s linear infinite;
  }
  .figure:after {
    background-position: 70px top;
    animation: wavesb 1.2s ease-in-out infinite alternate;
  }
}
@media screen and (min-width: 1200px) {
  .figure {
    padding-right: 550px;
    background-position: right 860px center;
  }
}
.theproblem {
  width: 100%;
  font-size: 12px;
  padding: 20px;
}
@media screen and (min-width: 700px) {
  .theproblem {
    height: 640px;
    overflow: auto;
    padding: 0 20px 100px 20px;
    width: 320px;
    position: absolute;
    top: 0;
    right: 0;
  }
}
@media screen and (min-width: 1200px) {
  .theproblem {
    font-size: 13px;
    width: 550px;
  }
}
/* figure */
.calculators {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
}
@media screen and (min-width: 700px) {
  .calculators {
    position: absolute;
    width: 260px;
    right: 320px;
    top: 0;
    z-index: 10;
  }
}
@media screen and (min-width: 1200px) {
  .calculators {
    width: 300px;
    right: 550px;
  }
}
.utt-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.utt-wrap .unittype-toggle {
  display: inline-block;
  margin-bottom: 15px;
}
.plus {
  font-size: 2em;
  margin-top: -6px;
  text-align: center;
}
.arrow {
  height: 60px;
  width: auto;
  margin: -30px 0 -30px -40px;
}
.calc1,
.calc2,
.calc3 {
  background-color: #FAFAFB;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
  border-left: 4px solid #233159;
  padding: 10px 15px 1px;
}
.help-block {
  font-size: 11px;
}
.unit-imperial {
  display: none;
}
.footer {
  padding-top: 30px;
  padding-bottom: 30px;
  min-height: 300px;
  position: relative;
}
.footer:before {
  display: block;
  content: "";
  position: absolute;
  z-index: 5;
  top: -30px;
  left: 0;
  height: 30px;
  width: 100%;
  background: linear-gradient(rgba(237, 239, 242, 0), #edeff2);
}
#references {
  font-size: 12px;
}
#references img {
  max-width: 350px;
}
@keyframes wavesa {
  0% {
    transform: translate3d(0, 0px, 0);
  }
  100% {
    transform: translate3d(0, 15px, 0);
  }
}
@keyframes wavesb {
  0% {
    transform: translate3d(0, 50px, 0);
  }
  100% {
    transform: translate3d(0, 35px, 0);
  }
}
@keyframes bgmove {
  0% {
    background-position: 20px top;
  }
  100% {
    background-position: 120px top;
  }
}
