#inputs, .mortgage-info-wrapper {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 11px 0 var(--shadow-box);
  background-color: var(--white-color);
}

.mortgage-info-wrapper label {
  font-size: 14px;
}

#inputs h3 {
  font-size:   18px;
  font-weight: bold;
  text-align:  center;
}

#inputs .input-group {
  border-radius: 0.25rem!important;
  border: 1px solid #e9e9e9 !important;
  box-shadow: 0 0 rgba(255, 255, 255, 0.25);
}

input[type="number"] {
  border-radius: 0px!important;
}

#inputs-heading {
  padding: 0px 15px;
}

#inputs-heading h4.page-header {
  text-align: center;
}

#payment-inputs .info-heading {
  margin-bottom: 15px;
  margin-top:    10px;
}

#chart {
  /* width:    100%; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

#chart #chart-title {
  font-size:   18px;
  font-weight: bold;
  text-align:  center;
}

svg {
  font-weight:  bold;
  height:       100%;
  padding-left: 105px;
  padding-top:  20px;
  width:        100%;
}

path.slice {
  stroke-width: 2px;
}

path.slice:first-child {
  fill: #24304C!important;
}

path.slice:nth-child(2) {
  fill: #3b4f7e!important;
}

path.slice:nth-child(3) {
  fill: #637cb6!important;
}

polyline {
  opacity:      0.4;
  stroke:       #000;
  stroke-width: 1px;
  fill:         none;
}

svg text[text-anchor='middle'] {
  font-size: 22px;
}

.section-header {
  margin-top: 12px;
  text-align: center;
}

.section-divider {
  margin: 12px auto;
  width:  35%;
}

#payment-breakdown #breakdown-container,
#total-cost #total-cost-container {
  font-size:  18px;
  margin-top: 20px;
}

#amortization-table {
  font-weight: 200;
  margin:      0px auto;
  width:       85%;
}

#amortization-table tbody tr {
  height:    20px;
}

#amortization-table tbody tr td {
  padding: 0px;
}

#amortization-table .amortization-first-column {
  text-align: center;
}

#amortization-table tbody #amortization-totals {
  background-color: #ccc;
  font-weight:      bold;
}

.tabs {
  overflow: hidden;
}

.tablink {
  background-color: #fff;
  color: #24304C;
  float: left;
  border: 1px solid #ccc;
  padding: 10px 20px;
  cursor: pointer;
}

.tablink:hover {
  background-color: #ddd;
  color: #000;
}

.tablink-active {
  background-color: #24304C;
  color: #fff;
}

.tablink:focus {
  background-color: #24304C;
  color: #fff;
}

.tabcontent {
  padding: 20px;
}

@media screen and (min-width:992px){
  .tabscontainer {
    max-height: 550px;
  }
}

#tab2 {
    overflow: auto;
    max-height: 500px;
}

.calculator-notes {
  font-size: 12px;
}

.monthly-payment {
    width: 90%;
    background-color: #ebebeb;
    margin: 1rem;
    padding: 1rem;
}

.monthly-payment p {
  font-weight: bold;
  margin: 0;
  font-size: 1.2rem;
}

label, p, #inputs h3 {
  cursor: default!important;
}

label {
  width: max-content!important;
}

#inputs .form-group {
  width: min-content;
}

.calc-btn {
  float: right;
  margin-top: 1rem;
  background-color: #24304C;
  border-color: #24304C;
}

.calc-btn:hover, .calc-btn:active, .calc-btn:focus {
  float: right;
  margin-top: 1rem;
  background-color: #017cba;
  border-color: #017cba;
}

@media screen and (max-width:992px){
  .mortgage-info-wrapper label {
    font-size: 12px;
  }
  #inputs .form-group {
    width: -webkit-fill-available;
  }
  #amortizationTable {
    font-size: 10px;
  }
}