@charset "UTF-8";
.col {
  flex-grow: 1;
  padding: 16px 4px;
}
.col:first-of-type {
  padding-left: 16px;
}
.col:last-of-type {
  padding-right: 16px;
}

.eq-button {
  padding-bottom: 16px;
  padding-right: 16px;
  display: block;
  flex-grow: 0;
  align-self: flex-end;
  line-height: 32px;
}

.row {
  display: flex;
  justify-content: stretch;
  align-items: center;
}

.wrapper {
  background-color: #FAFAFA;
  width: 100%;
  max-width: 640px;
  margin: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  margin-top: 80px;
  padding-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 4px;
  z-index: 10;
  position: relative;
  padding-left: 4px;
  margin-left: 0;
  margin-right: 4px;
  padding-right: 4px;
}

.new-value {
  position: relative;
  transition: all 75ms 0 ease-in-out;
  height: 36px;
  padding: 8px;
  opacity: 0;
  background-color: white;
  border: solid 1px rgba(0, 0, 0, 0.1);
  border-top-width: 0;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  margin-bottom: -52px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: -5;
}

.new-value-appear {
  position: relative;
  background-color: white;
  border: solid 1px rgba(0, 0, 0, 0.1);
  opacity: 1;
  border-top-width: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

input {
  position: relative;
  font-family: "Proxima Nova";
  display: block;
  width: 100%;
  border: none;
  font-size: 16px;
  line-height: 16px;
  padding: 8px;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
input:focus {
  border: none;
  outline: none;
}

body {
  width: 100%;
  font-family: "Proxima Nova";
}

button.calc {
  color: rgba(0, 0, 0, 0.2);
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
button.calc:before {
  font-family: "fontawesome";
  display: block;
  content: "";
}
button.calc:focus {
  outline: none;
}
button.calc:active {
  color: rgba(0, 0, 0, 0.3);
}

button.calc.calculating {
  color: black;
}
button.calc.calculating:before {
  font-family: "fontawesome";
  display: block;
  content: "";
}

.input-wrapper {
  display: flex;
  justify-items: stretch;
  background-color: white;
  border: 1px solid #DDDDDD;
}
.input-wrapper:focus {
  border: 1px solid #00e7b2;
  box-shadow: 0 0 2px #00e7b2;
}

* {
  box-sizing: border-box;
}

.colorcode {
  transition: all 300ms ease-in-out;
  display: block;
  border-radius: 0.25em;
  width: 0em;
  height: 1em;
  background-color: black;
  float: left;
  margin-right: 0;
}
.colorcode.showcode {
  width: 0.5em;
  height: 1em;
  margin-right: 8px;
}
.colorcode.price {
  background-color: #FF5722;
}
.colorcode.margin {
  background-color: #4CAF50;
}
.colorcode.cost {
  background-color: #2196F3;
}

.price {
  color: #FF5722;
}

.margin {
  color: #4CAF50;
}

.cost {
  color: #2196F3;
}

.calcToggle {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
  display: block;
  padding: 4px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0 16px;
  margin-top: 16px;
}

.well {
  transition: all 300ms ease-in-out;
  max-height: 0;
  overflow: hidden;
  margin: 16px;
  margin-bottom: 0;
  margin-top: 0;
  background-color: white;
  border: solid 1px transparent;
  border-top-width: 0;
}
.well.showCalc {
  max-height: 400px;
  border: solid 1px rgba(0, 0, 0, 0.05);
  border-top-width: 0;
}
.well div div {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  padding-bottom: 16px;
}

math {
  display: block;
}

.mathLabel {
  width: 100%;
  display: block;
  margin: auto;
  margin-top: 16px;
  text-align: center;
  font-family: georgia;
  font-size: 14px;
}

p {
  position: relative;
  font-family: georgia;
  max-width: 480px;
  margin: auto;
  margin-top: 80px;
  line-height: 1.4;
  padding-left: 24px;
  border: solid 2px rgba(0, 0, 0, 0.1);
  border-width: 0;
  border-left-width: 2px;
  left: -26px;
}

.markup {
  border: none;
  font-style: italic;
  margin-top: 2rem;
  font-size: 14px;
  color: #999;
}

.new-value-appear .inc {
  color: #28a745;
}
.new-value-appear .dec {
  color: #dc3545;
}
.new-value-appear .inc, .new-value-appear .dec {
  float: right;
}

.particle-z {
  z-index: 100;
}

.inc, .dec {
  opacity: inherit;
}


#article {
  padding: 10% 10% 0;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#article p{
  all: revert;
}

h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}