#rent-sell-calc {
            --primary-font: 'darkmode-off', sans-serif;
          	--secondary-font: 'depot-new-web', sans-serif;
          }

          main { overflow: hidden; }
#secondary-banner { display: none; }

/* Add margin-top to Calc Hero if #Header is covering the banner - should be height of #header */
.calc-hero { margin-top: 0; }

          #rent-sell-calc { font-family: var(--primary-font); padding-bottom: 85px; }
          .printed-header { display: none; text-align: center; }
          .printed-header address, .printed-header address span { display: inline-block; }

          /* Hero */
          .calc-hero { background-color: var(--dark); color: #fff; padding: 0 5vw; background-repeat: no-repeat; background-position: center right; }
          .calc-hero__prompt { font-size: 40px; padding: 80px 0; width: 1350px; max-width: 100%; margin: auto; }
          .calc-hero__heading { font-size: 1em; text-transform: uppercase; margin: 0; width: 485px; display: inline-block; max-width: 100%; line-height: 1; letter-spacing: .05em; font-weight: 400; font-family: var(--secondary-font); color: inherit; }
          .calc-hero__sub { font-size: .5em; font-style: italic; font-family: var(--secondary-font); margin: 10px 0 0; color: inherit; }
          @media (min-width: 992px) {
            .calc-hero { height: 555px; display: flex; justify-content: center; align-items: center; background-image: url('https://resources.nesthub.com/images/rentsellcalc-banner.png'); }
            .calc-hero__prompt { font-size: 60px; }
          }
          @media (max-width: 991px) {
            .calc-hero { text-align: center; }
          }

          /* Instructions */
          .calc-instructions { text-align: center; padding: 70px 5vw 30px; width: 1350px; max-width: 100%; margin: auto; letter-spacing: .05em; }
          .calc-instructions__heading { font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); margin: 0 0 20px; font-family: var(--primary-font); font-weight: 500; }
          .calc-instructions__toggle { margin: 0 0 35px; padding: 0; display: flex; justify-content: center; align-items: center; }
          .calc-instructions__steps { font-size: 16px; line-height: 1.875; text-align: left; }
          .calc-instructions .custom-switch__label { }
          .calc-instructions .custom-switch__label--left { padding-right: 45px; }
          .calc-instructions .custom-switch__label--right { padding-left: 45px;  }
          .calc-instructions .custom-switch .custom-control-label::before { width: 72px; height: 22px; top: 2px; border-radius: 11px; border: 0; box-shadow: inset 0px 2px 16px 0px rgba(0, 0, 0, 0.2)!important; }
          .calc-instructions .custom-switch .custom-control-label::after { top: 4px; left: calc(-2.25rem + 2px); width: 18px; height: 18px; border-radius: 50%; background: #c7c7c7; background: -moz-linear-gradient(top, #c7c7c7 0%, #919191 100%); background: -webkit-linear-gradient(top, #c7c7c7 0%,#919191 100%); background: linear-gradient(to bottom, #c7c7c7 0%,#919191 100%); }
          .calc-instructions .custom-control-input:checked~.custom-control-label::before { color: #fff; background-color: var(--primary); }
          .calc-instructions .custom-switch .custom-control-input:checked~.custom-control-label::after { background-color: #fff; background: -moz-linear-gradient(top, #fff 0%, #919191 100%);  background: -webkit-linear-gradient(top, #fff 0%,#919191 100%);  background: linear-gradient(to bottom, #fff 0%,#919191 100%); -webkit-transform: translateX(50px); transform: translateX(50px); }


          /* Form */
          .calc-form { text-align: center; padding: 0 5vw; width: 1350px; max-width: 100%; margin: 0 auto; letter-spacing: .05em;  }
          .calc-form__carousel .carousel-inner { overflow: visible; }
          .calc-form__carousel .carousel-item { padding: 50px 15px; background: #fff; border-radius: 20px; box-shadow: 0px 6px 43px 0px rgba(0, 0, 0, 0.17); }

          .calc-form__heading { font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: var(--body-text); margin: 0 0 10px; font-family: var(--primary-font); font-weight: 500; }
          .calc-form__sub { font-size: 18px; letter-spacing: .05em; text-transform: uppercase; color: var(--body-text); margin: 0 0 55px; font-family: var(--primary-font); font-weight: 400; }

          .calc-form__container { display: flex; flex-wrap: wrap; text-align: left; margin: -10px -10px 25px; }
          .calc-form .form-group { padding: 10px; flex: 1 1 300px; margin-bottom: 10px; }
          .calc-form .form-group label { font-size: 20px; display: block; }
          .calc-form .form-group input { border: 0; border-radius: 0; background: #f3f3f3; height: 54px; }
          .calc-form .input-group-text { color: #737373; font-size: 20px; border: 0; border-radius: 0; background-color: #e0e0e0; min-width: 40px; text-align: center; }

          .calc-form__advanced-toggle { display: block; margin: 30px 0 60px; font-size: 18px; text-transform: uppercase; color: var(--body-text); transition: .4s; }
          .calc-form__advanced-toggle:hover { text-decoration: none; color: var(--primary); transition: .4s; }

          .calc-form__controls { display: flex; justify-content: space-between; }
          .calc-form__btn { display: block; text-transform: uppercase; font-weight: 500; font-size: 18px; height: 47px; line-height: 47px; padding: 0 20px!important; border-radius: 10px; background: var(--body-text); color: #fff; border: 0; min-width: 115px; transition: .5s; }
          .calc-form__btn:hover { color: #fff; background: var(--primary); text-decoration: none; transition: .5s; }

          /* Carousel Transitions */
          .carousel-item-next:not(.carousel-item-left), .active.carousel-item-right { transform: translateX(100%) scale(0); }
          .carousel-item-prev:not(.carousel-item-right), .active.carousel-item-left { transform: translateX(-100%) scale(0); }

          @media (min-width: 992px) {
            .calc-form__carousel .carousel-item { padding: 50px; }
          }


          /* Results */
          .calc-results { padding: 85px 15px; text-align: center; position: absolute; transform: scale(0); opacity: 0; }
          .calc-results__heading { font-size: 60px; font-weight: 500; text-transform: uppercase; margin: 0 0 50px; }
          .calc-results__value { font-size: 22px; margin: 0 0 60px; font-weight: 400; line-height: 2; }
          .calc-results__option { font-weight: 500; }
          .calc-results__amount { font-size: 32px; font-weight: 500; color: var(--primary);}

          .calc-form:has(.ion-form-success) + .calc-results, .calc-results.show { position: relative; transform: scale(1); opacity: 1; }

          .calc-results__plot { position: relative; width: 1350px; max-width: 100%; margin: 0 auto; padding: 0 0 85px; }
          .calc-results__plot .legend { font-size: 24px; text-transform: uppercase; font-weight: 500; line-height: 1; display: inline-flex; align-items: center; padding: 10px; }
          .calc-results__plot .legend::before { content: ''; height: 17px; width: 17px; border-radius: 50%; display: block; margin-right: 15px; background-color: currentColor; }
          .calc-results__plot .legend--rent { color: #1367a7; }
          .calc-results__plot .legend--sell { color: #2eaeea; }
          .calc-results__plot .jqplot-yaxis-label { position: absolute; transform: rotate(-90deg); transform-origin: center; top: 50%; left: 0; }
          .calc-results__plot .jqplot-xaxis-label, .calc-results__plot .jqplot-yaxis-label { font-size: 22px; color: #a1a1a1; text-transform: uppercase; font-weight: 500; }
          .jqplot-event-canvas, .jqplot-series-canvas { border-radius: 20px!important; }
          @media (min-width: 992px) {
            .calc-results__plot { padding: 0 140px 85px 50px; }
            .calc-results__plot #legend { position: absolute; right: 0; top: 15px; display: flex; flex-direction: column; }
          }
          @media (max-width: 991px) {
            .calc-results__plot #legend { padding-bottom: 35px; }
          }
          @media (max-width: 500px) {
            .calc-results__heading { font-size: 35px; }
          }

          .calc-results__table { width: 1718px; max-width: 100%; margin: 0 auto; border-radius: 20px; overflow: hidden; text-align: left; }
          .calc-results__table tr { background: #f3f3f3; }
          .calc-results__table tbody tr:nth-child(odd) { background: #e3e3e3; }
          .calc-results__table th { font-size: 18px; width: 10%; font-weight: 500; text-transform: uppercase; text-align: left; vertical-align: middle; padding: 15px; }
          .calc-results__table td { font-size: 16px; font-weight: 400; height: 50px; padding: 0 15px; }

          /* Mobile Table */
          @media (max-width: 1100px){
            .calc-results__table table { width: 100%; }
          	.calc-results__table, .calc-results__table table, .calc-results__table thead, .calc-results__table tbody, .calc-results__table th, .calc-results__table td, .calc-results__table tr { display: block; border: 0!important; }
          	.calc-results__table thead { display: none; }
          	.calc-results__table td { display: flex; justify-content: space-between; height: auto; min-height: 50px; padding: 8px; align-items: center; background: #fff; text-align: right; border: 1px solid var(--border-color)!important;  }
          	.calc-results__table td:first-child { background: var(--primary); color: #fff; font-size: 18px; font-weight: bold; border: 0!important; }
          	.calc-results__table td:nth-of-type(even) { background: var(--gray); border-top: 0!important; border-bottom: 0!important; }
          	.calc-results__table td::before { content: 'Year'; display: block; flex: 0 0 50%; text-align: left; padding-right: 15px; white-space: normal; font-weight: 500; }
          	.calc-results__table td:nth-child(2)::before { content: 'Rental Income'; }
          	.calc-results__table td:nth-child(3)::before { content: 'Mortgage Expense'; }
          	.calc-results__table td:nth-child(4)::before { content: 'Other Costs'; }
          	.calc-results__table td:nth-child(5)::before { content: 'Net Cash Flow'; }
          	.calc-results__table td:nth-child(6)::before { content: 'House Value'; }
          	.calc-results__table td:nth-child(7)::before { content: 'House Equity'; }
          	.calc-results__table td:nth-child(8)::before { content: 'Wealth (Rent Out)'; }
          	.calc-results__table td:nth-child(9)::before { content: 'Wealth (Sell Now)'; }
          	.calc-results__table td:nth-child(10)::before { content: 'Difference in Wealth (Rent Out to Sell Now)'; }
          }

          .calc-results__buttons { display: flex; margin: -15px; justify-content: center; padding-top: 80px; }
          .calc-results__buttons a { margin: 15px; }
