* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

body {
  font-family: verdana;
  background-color: #e5e5e5;
  color: #222222;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 1200px;
  margin: 20px auto 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  font-size: 12px;
}

/* MEYERHOF STARTS*/
.title {
  text-align: center;
  font-weight: bold;
  color: #666666;
  font-size: 16px;
  margin-bottom: 10px;
}
section.input {
  margin: 20px 0px 30px 0px;
}
main {
  border: #aaaaaa 1px solid;
  border-radius: 10px;
  background-color: #f5f5f5;
  padding: 15px;
  margin-bottom: 20px;
}
div.line {
  margin-bottom: 10px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

div.lineError {
  margin-bottom: 10px;
  margin-top: 10px;
  display: block;
}
div.lineResult {
  justify-content: space-evenly;
}

p.error {
  margin-top: 10px;
  color: red;
}
.resultColumns {
  text-align: center;
  font-size: 14px;
}
.resultColumns div {
  margin-top: 15px;
}
.resultColumns h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid;
  font-weight: bold;
}
.layer-input-header {
  padding-top: 10px;
}

.input-button .cell {
  width: 48%;
}
div.sol {
  width: 100%;
}

div.sag {
  width: 100%;
  margin-top: 25px;
  margin-left: 25px;
}

.sag img {
  width: 100%;
  border: #a9a9a9 1px solid;
}
section {
  margin-bottom: 20px;
}

.cell {
  width: 13%;
  text-align: center;
}

label {
  display: block;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  padding-bottom: 5px;
}
input {
  font-weight: bold;
  color: #999999;
  text-align: center;
  width: 100%;
  height: 25px;
}
select {
  height: 25px;
  color: #999999;
}
.immutable-input {
  padding: 6px 0px 6px 0px;
  height: 25px;
  font-weight: bold;
  color: #999999;
  text-align: center;
  background-color: #ebebe4;
  border: #a9a9a9 1px solid;
}

div.button {
  border: #999999 1px solid;
  border-radius: 5px;
  padding: 4px;
  text-align: center;
  cursor: pointer;
  background-color: #ffffff;
  color: #444444;
  font-size: 14px;
  width: 25%;
}

div.button-blue {
  border-color: #7e78fa;
  background-color: #ffffff;
  color: #2f25ff;
}

div.button-blue:hover {
  background-color: #2f25ff;
  color: #ffffff;
  transition: background 0.5s;
}

div.button-red {
  border-color: #ec6d6d;
  background-color: #ffffff;
  color: #fb1c1c;
}

div.button-red:hover {
  background-color: #fb1c1c;
  color: #ffffff;
  transition: background 0.5s;
}

div.button-green {
  border-color: #006600;
  background-color: #ffffff;
  color: #006600;
}

div.button-green:hover {
  background-color: #006600;
  color: #ffffff;
  transition: background 0.5s;
}

.formulaBox {
  font-size: 12px;
  padding: 3px;
}

table {
  width: 100%;
}
th {
  width: 25%;
  text-align: left;
}

table,
th,
td {
  padding: 3px;

  border: #e0d5d5 0.1px solid;
  border-collapse: collapse;
}

/* FORMULATION STARTS*/
.theory {
  text-align: justify;
  line-height: 25px;
  font-size: 14px;
}
.theory h1 {
  font-weight: bold;
  margin-bottom: 10px;
}
.theory h2 {
  font-weight: bold;
  margin: 20px 0 10px 0;
}
.theory h3 {
  text-decoration: underline;
  margin: 20px 0 10px 0;
}
.theory p {
  margin-top: 10px;
}
.theory a:hover {
  text-decoration: underline;
}

.theory a {
  font-style: italic;
}

p.center {
  text-align: center;
}

.theory-header {
  display: flex;
  justify-content: space-between;
}

.theory-header img {
  width: 600px;
  border: #a9a9a9 1px solid;
  margin-top: 15px;
}

.notations .inner {
  display: flex;
  justify-content: space-between;
}
.notations .left {
  margin-right: 40px;
}

.notations p {
  margin-bottom: 15px;
}
.notations > h2 {
  text-align: center;
  border: #a9a9a9 1px solid;
}
/* FORMULATION ENDS*/

/* RESULTS ANIMATION STARTS*/
.moveUp {
  position: relative;
}
@-webkit-keyframes moveUp {
  0% {
    top: 200px;
  }
  100% {
    top: 0px;
  }
}
@keyframes moveUp {
  0% {
    top: 200px;
  }
  100% {
    top: 0px;
  }
}
/* RESULTS ANIMATION ENDS*/
.resultIteration:last-of-type,
.resultHe:last-of-type,
.resultC:last-of-type,
.resultPhi:last-of-type {
  color: forestgreen;
  font-weight: bold;
  border-bottom: 1px solid;
  border-top: 1px solid;
  padding: 5px 0 5px 0;
}
