.hidden {
  display: none;
}

.input-table-small {
  display: none;
}

#interestCalculator {
  width: 100%;
  padding: 3em 0;
}

.interestCalculator__wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.info-text-div {
  padding: 1em;
  margin-top: 3em;
}

.interestCalculator__wrapper table,
.interestCalculator__wrapper tbody th,
.interestCalculator__wrapper tbody td,
.interestCalculator__wrapper tbody tr {
  border: none !important;
  border-bottom: none;
  border-left: none;
  border-top: none;
  border-right: none;
  padding: 0;
}

.interestCalculator__wrapper__column {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-shadow: 0px 10px 80px -10px rgba(44, 54, 92, 0.2);
}

table.input-table tbody tr {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  padding: 0.5em 0;
}

.inputCalculator {
  padding: 2em;
  background: #fafafa;
}

tr.generated th {
  padding: 0.5em 0;
  /* display: block; */
}

tr.generated:last-child {
  background: #edf8f0;
  display: flex;
  height: 50px;
  align-items: center;
  margin-top: 1em;
}

table.calculator_table {
  padding: 0 !important;
  margin: 0 !important;
}

tr.generated:last-child th {
  padding: 0px 9px !important;
  margin: 0px 9px !important;
}

.outputCalculator {
  width: 100%;
  background: white;
  padding: 2em;
  display: flex;
}

.sumTd {
  font-weight: 600;
}

.calculator_table {
  width: 100%;
}

.calculator_table th {
  /* padding:7px; */
  display: inline-block;
  font-size: 100%;
  width: 20%;
  text-align: center;
}

.input-table label {
  padding: 6;
  display: inline-block;
  font-weight: 700;
  font-size: 10pt;
}

.input-table input {
  border: 1px solid #cecece;
  height: 40px;
  width: 100%;
}

.input-table-wrapper {
  display: flex;
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
}

.input-table-wrapper th {
  width: 100%;
  display: block;
}

tr.generated:last-child th {
  padding: 10px !important;
  margin: 0 !important;
}

@media only screen and (max-width: 1100px) {
  .interestCalculator__wrapper {
    padding: 0 0em;
  }
}
@media only screen and (max-width: 920px) {
  .inputCalculator {
    padding: 4em;
  }
  .input-table-small {
    display: block;
  }
  .input-table {
    display: none;
  }
  .interestCalculator__wrapper__column {
    flex-direction: column;
  }
  tr.title_calculator_tr {
    display: block;
    margin-bottom: 1em;
  }
  table.input-table-small tr {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    /* min-width: 564px; */
  }
  table.input-table-small tbody {
    width: 100%;
    display: block;
  }
  .input-table-small tr.input-table-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  table.input-table-small tr th {
    padding-right: 1em;
    width: 100%;
  }
  table.input-table-small tr:last-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 1em;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  tr.input-table-wrapper th:last-child {
    display: flex;
    justify-content: flex-end;
    /* float: right; */
    /* display: block; */
    width: 100% !important;
    /* align-items: stretch; */
  }
  table.input-table-small tr:last-child th:last-child {
    /* background: red; */
    padding-top: 1em;
  }
  /* table.input-table-small tr:last-child {
    display: inline-block;
  } */
  table.input-table-small tr:last-child th {
    width: 100px;
  }
  table.input-table-small tr th {
    padding-right: 0 !important;
  }
}
@media only screen and (max-width: 500px) {
  .interestCalculator__wrapper {
    padding: 0 0em;
  }
}
@media only screen and (max-width: 680px) {
  .outputCalculator th {
    min-width: 90px;
  }
  .outputCalculator {
    width: 100%;
    background: white;
    padding: 2em 1em;
    display: flex;
    overflow-x: auto;
  }
  .input-table-small tr.input-table-wrapper {
    flex-direction: column;
    padding-bottom: 0.5em;
  }
  tr.input-table-wrapper th:last-child {
    justify-content: flex-start;
  }
  table.input-table-small tr:last-child {
    display: flex;
  }
  table.input-table-small tr:last-child th:last-child {
    /* background: red; */
    padding-top: 1em;
    width: 100%;
    display: block;
  }
  table.input-table-small tr:last-child {
    display: flex;
    width: 50%;
  }
  tr.input-table-wrapper input {
    width: 100%;
    max-width: 200px;
  }
}
@media only screen and (max-width: 500px) {
  .inputCalculator {
    padding: 2em;
  }
}