body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

#costGraph {
  width: 100% !important;
  max-height: 500px !important;
}

#inputs tr {
  margin-bottom: 5px;
}

#inputs td {
  vertical-align: middle;
}

#inputs input {
  width: 60px;
  text-align: right;
}

/* Disable arrows */
#inputs input::-webkit-outer-spin-button,
#inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#inputs label,
#inputs input {
  /* margin-bottom: 10px; */
}

#inputs input[type="range"] {
  width: 200px;
}

#inputs input {
  margin-left: 10px;
}

#resultsTable table {
  margin-top: 20px;
  border-collapse: collapse;
}

#resultsTable tr,
#resultsTable tr .td-div,
#resultsTable tr td {
  transition: all 1s;
  overflow: hidden;
}

#resultsTable tr .td-div {
  max-height: 70px;
}

#resultsTable .hidden-row .td-div {
  max-height: 0;
}

#resultsTable .hidden-row td {
  padding: 0;
}

#resultsTable th,
#resultsTable td {
  border: 1px solid black;
  padding: 5px;
  text-align: right;
}

#resultsTable td:first-child {
  font-weight: bold;
  text-align: center;
}

#resultsTable tr:first-child td {
  font-weight: bold;
  text-align: center;
}


/****************************** Slider Switch ******************************/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: calc(2rem + 8px);
  height: 1.5rem;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(1rem);
  -ms-transform: translateX(1rem);
  transform: translateX(1rem);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-div {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.switch-div>* {
  margin: 0 5px;
}

.switch-div>*:first-child {
  margin-left: 0;
}