.wh-calc-modal {
  overflow: hidden;
}

.wh-calc-modal .wh-calculator {
  position: relative;
  z-index: 1003;
}
.wh-calc-modal .wh-global-header {
  z-index: 1002;
}
.calc-cntr {
  text-align: center;
}
.calc-error {
  border-color: red !important;
}
.calc-is-required>label:after {
  content: '*';
  color: #e36d1f;
}
#content .content-wrap.selective {
  padding-top: 60px;
}
#content .content-wrap.selective .out {
  text-align: center;
}
.content-wrap {
  margin-top: 0px !important;
}
.cal-results-holder {
  margin-top: 50px;
}
.cal-results-holder .calc-label-input>*:last-child {
  width: 170px;
}
.cal-results-holder .calc-label-input label {
  min-width: calc(100% - 180px);
}
.calc-label-input label span {
  font-weight: inherit;
}
.calc-input-radio .calc-input {
  text-align: right;
}
.calc-input-radio .calc-input label {
  display: inline-block;
  padding: 4px 0px;
  max-width: none;
  margin-left: 10px;
}
.calc-input-radio .calc-input label input {
  float: left;
  margin-right: 5px;
}
@media(min-width: 850px){
 .cacl-2-col {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;

  }
  .cacl-2-col>*:first-child {
    width: calc(100% - 600px);
    position: relative;
  }
  .cacl-2-col>*:last-child {
    width: 571px;
  }
  .cal-results-holder {
    position: sticky;
    top: 106px;
    margin-top: 0px;
  }
}


.cal-results-holder .calc-hdr {
  padding: 12px 8px;
  text-align: center;
}
.calc-results {
  padding: 20px 20px 30px 20px;
}
.calc-results input {
  padding-right: 0px;
  text-align: right;
}
.calc-label-input {
  margin-top: 10px;
}
.calc-label-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.calc-label-input.calc-label-on-top label {
  display: block;
  margin-bottom: 4px;
}
.calc-label-input.calc-label-on-top input:not([type=submit]),
.calc-label-input.calc-label-on-top textarea {
  width: 100%;
  display: block;
}
.calc-input-advanced-checkbox {
  margin-top: 10px;
}

.calc-label-input>*:last-child {
  width: 120px;
}
.calc-input-date.calc-label-input>*:last-child {
  width: 140px;
}
.calc-label-submits {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
  flex-wrap: wrap;
}
.calc-label-submits * {
  margin-right: 0;
  margin-bottom: 0;
}
.calc-label-input.calc-input-select>*:last-child,
.calc-label-input.calc-input-text>*:last-child,
.calc-label-input.calc-input-email>*:last-child {
  width: 220px;
}

.calc-hdr-1 {
  font-size: 20px;
  line-height: 1.1em;
  font-weight: 700;
}
.calc-hdr-2,
.calc-accordion summary {
  font-size: 18px;
  line-height: 1.1em;
  font-weight: 700;
}
.calc-hdr-3 {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
}
.calc-accordion a {
  text-decoration: underline;
}
.calc-accordion a:hover {
  text-decoration: none;
}
.calc-accordion summary {
  cursor: pointer;
}
.calc-accordion summary:not(first-child) {
  margin-top: 15px;
}
.calc-mt-10 {
  margin-top: 10px;
}
.calc-mt-20 {
  margin-top: 20px;
}
.calc-mt-30 {
  margin-top: 20px;
}
.calc-input {
  position: relative;
}
.calc-label-input {
  position: relative;
}
.calc-label-input label,
.calc-input-advanced-checkbox label {
  line-height: 1.1em;
  max-width: calc(100% - 240px);
  font-family: "proxima-nova";
  font-weight: 400;
}
.calc-bold-label *,
.calc-bold-label label {
  font-weight: 700;
}

.calc-input input:not([type='radio']),
.calc-input select {
  border: 1px solid #eaeaea;
  font-size: 16px;
  line-height: 1.4em;
  padding: 8px;
  -moz-appearance: textfield;
  width: 100%;
  box-sizing: border-box;
}
.calc-input select {
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M212.7 331.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4 75.3 148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z'/%3E%3C/svg%3E");
  background-position: calc(100% - 8px) center;
  background-size: 15px auto;
  background-repeat: no-repeat;
  color: #000;
}

.calc-input-number .calc-input input {
  padding-left: 20px;
}
.calc-input input:read-only {
  border: 0px;
  background-color: transparent;
}
.calc-input input[type="number"]::-webkit-outer-spin-button, 
.calc-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-input input:focus {
  outline: 0px;
}
.calc-input input:not(:read-only):focus {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.calc-input-number .calc-input:before {
  content: '$';
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}
.calc-percent-field.calc-input-number .calc-input:before {
  content: '%';
  left: 4px;
}
.calc-no-dollar.calc-input-number .calc-input:before {
  content: '';
}
.cacl-2-col hr {
  background-color: transparent;
  border-top: 1px solid #052642;
  border-bottom: 1px solid #052642;
  height: 5px;
  margin: 30px 0;
}
.calc-field-checkbox {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}
.calc-results-row {
  padding: 10px;
  background-color: #F8F8F8;
  margin-left: -10px;
  margin-right: -10px;
}

.calc-hidden>label,
.calc-hidden .calc-main-input,
.calc-hidden .calc-input:before {
  opacity: .2;
  pointer-events: none;
}
.calc-totally-hidden {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
.calc-subfield {
  padding-left: 20px;
}
.calc-subsubfield {
  padding-left: 40px;
}
.calc-help-btn {
  text-indent: -5000px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z'/%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  background-size: 80% 80%;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 0px;
  border: 0px;
  box-shadow: none !important;
  text-shadow: none;
  background-color: transparent;
}

.calc-help-btn:focus ~ .calc-help,
.calc-help-btn:hover ~ .calc-help {
  display: block;
}
.calc-help {
  display: none;
  position: absolute;
  width: 320px;
  font-family: "proxima-nova";
  font-size: 13px;
  line-height: 1.4em;
  background-color: #e8e8e8;
  padding: 0px 10px 20px 10px;
  font-weight: 500;
  z-index: 10;
}
@media(min-width: 1300px) {
  .calc-help {
    position: absolute;
    right: calc(100% + 10px);
    top: 0;
    width: 10vw;
  }
}
.calc-help-hdr {
  font-size: 16px;
  line-height: 1.2em;
  padding: 7px 0px;
  font-weight: 700;
  text-align: center;
  margin-left: -10px;
  margin-right: -10px;
  background-color: #e36d1f;
  color: #fff;
  margin-bottom: 10px;
}

.calc-checkbox-activate-input {
  position: absolute;
  display: block;
  margin-left: -15px;
  margin-top: 15px;
}
.calc-checkbox-activate-input + input {
  opacity: .2;
}
.calc-checkbox-activate-input:checked + input {
  opacity: 1;
}

.calc-hidden-field {
  display: none !important;
}


.calc-hidden-modal {
  position: fixed; 
  background-color: rgba(0,0,0,.8);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
}
.calc-open-email-fields-thank-you .calc-send-email-fields-thank-you {
  display: block;
}
.calc-open-email-modal .calc-send-email-fields  {
  display: block;
}
.calc-send-email-fields-inner {
  background-color: #fff;
  padding: 30px;
  width: 80%;
  max-width: 500px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  max-height: 80vh;
  overflow: auto;
}
.calc-label-input-submit-right {
  text-align: right;
  margin-top: 20px;
}
.calc-toal-load-hdr {
  margin-top: 20px;
}
.calc-box-total {
  border-top: 1px solid #000;
  padding-top: 10px;
  
}
.calc-results .calc-box-total {
  padding-top: 0px;
  margin-bottom: 20px;
}
.calc-box-total input {
  color: #000;
}
.calc-box-total label {
  font-weight: 700;
}
.calc-label-on-top {
  display: block;
}
.calc-label-on-top textarea {
  width: 100% !important;
  display: block;
}.calc-footer, #main .calc-footer p {
  font-size: 16px !important;
  color: #666666;
  margin-bottom: 4px;
}
.mc-date {
  vertical-align: middle !important;
}
.calc-sellers-net-sheet-total .calc-label-input,
.cal-results-holder-loan-estimate-worksheet .calc-label-input {
  margin-top: 0px;
}
.calc-sellers-net-sheet-total .calc-send-email-fields-inner .calc-label-input {
  margin-top: 10px;
}

.cal-results-holder-loan-estimate-worksheet .calc-label-input input {
  padding: 2px 10px;
}

.cal-results-holder.calc-sellers-net-sheet-total .calc-box-total input {
  font-weight: bold;
}
.calc-subtraction-field .calc-input:after {
  content: '-';
  position: absolute;
  left: -6px;
  top: 2px;
  font-weight: 500;
  font-size: 30px;
  line-height: 30px;
}
.calc-repeating-inputs-header {
  margin-top: 10px;
  
}
.calc-repeating-inputs-header>div {
  font-weight: 700;
}
.calc-repeating-inputs>div>div,
.calc-repeating-inputs-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  align-items: center;
}
.calc-repeating-inputs>div>div>div,
.calc-repeating-inputs-header>div {
  width: 15%;
}
.calc-repeating-inputs>div>div>div:nth-child(1),
.calc-repeating-inputs-header>div:nth-child(1) {
  width: calc(80% - 150px);
}
.calc-repeating-inputs>div>div>div:nth-child(3),
.calc-repeating-inputs-header>div:nth-child(3) {
  width: 80px;
}
.calc-repeating-inputs>div>div>div:last-child,
.calc-repeating-inputs-header>div:last-child {
  width: 20px;
}

.calc-repeating-inputs-existing-loans {

}

.calc-repeating-inputs-existing-loans .calc-repeating-inputs>div>div>div:nth-child(2),
.calc-repeating-inputs-existing-loans .calc-repeating-inputs-header>div:nth-child(2) {
  width: 30%;
}

.calc-undo-button {
  background-color: transparent;
  border: 0px;
  border-radius: 0px;
  box-shadow: none;
}
.calc-repeating-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
.ind-calc-btn {
  margin-right: 0;
}

.calc-btn-remove {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Pro 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M16 48V464H432V48H16zM0 32H16 432h16V48 464v16H432 16 0V464 48 32zM153.8 174.5l5.7 5.7L224 244.7l64.6-64.6 5.7-5.7 11.3 11.3-5.7 5.7L235.3 256l64.6 64.6 5.7 5.7-11.3 11.3-5.7-5.7L224 267.3l-64.6 64.6-5.7 5.7-11.3-11.3 5.7-5.7L212.7 256l-64.6-64.6-5.7-5.7 11.3-11.3z'/%3E%3C/svg%3E");
  width: 20px;
  height: 23px;
  background-size: 100% 100%;
  text-indent: -5000px;
  overflow: hidden;
  padding: 0px;
}

.calc-other-closing-costs-repeater {
  
}
.calc-other-closing-costs-repeater .calc-repeating-inputs>div>div>div:nth-child(1),
.calc-other-closing-costs-repeater .calc-repeating-inputs-header>div:nth-child(1) {
  width: calc(85% - 130px);
}
.calc-other-closing-costs-repeater  .calc-repeating-inputs>div>div>div:nth-child(3),
.calc-other-closing-costs-repeater  .calc-repeating-inputs-header>div:nth-child(3) {
  width: 30px;
}
.calc-other-closing-costs-repeater .calc-repeating-inputs>div>div>div,
.calc-other-closing-costs-repeater .calc-repeating-inputs-header>div {
  width: 120px;
}
.calc-upside-down,
.calc-upside-down input {
  color: #A90A0A;
}
.calc-bottom-spacer {
  margin-bottom: 20px;
}.calc-table-style tr:nth-child(odd) {
  background-color: #e6e6e6
}
.calc-table-style {
  border: 1px solid #000;
}
.calc-table-style tr td,
.calc-table-style tr th {
  padding: 4px;
  border: 1px solid #000;
}.calc-amort-month-annual .calc-input {
  width: 170px;
}

#calc-btn-send-email {
  margin-right: 0px;
}

#calc-amortization {
  overflow: auto;
}