#vl-calculator {}

main { overflow: hidden; }
#secondary-banner { display: none; }
#vl-calculator { font-family: var(--primary-font); padding-bottom: 85px; }
:root {
	--primary: #132531;
	--primary-rgb: 0,123,255;
	--secondary: #132531;
	--dark: #243642;
	--gray: #f2f2f2;
	--gray-dark: #252525;
	--muted: #707070;
	--body-text: #212529;
	--text-dark: #343a40;
	--border-color: #cccccc;
	--box-shadow: 0 5px 10px rgba(0, 0, 0, 0.19), 0 2px 4px rgba(0, 0, 0, 0.23);
}
/* Hero */
.calc-hero { padding-top: 144px!important; background-color: #111; color: #fff!important; 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; color: #fff!important; }
.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: #fff!important; }
.calc-hero__sub { font-size: .5em; font-style: italic; font-family: var(--secondary-font); margin: 10px 0 0; color: #fff!important; }
@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; }
  .calc-hero__heading {padding-top: 70px;}
}

/* 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: 85px;  }
.calc-instructions .custom-switch .custom-control-label::before { width: 72px; height: 22px; top: 0; 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: 2px; 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 .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, .calc-form .form-group textarea { border: 0; border-radius: 0; background: #f3f3f3; height: 54px; box-shadow: none; }
.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 .form-group-comments, .calc-form .form-group-services { flex: 1 1 100%; }

.input-group--readonly input, .input-group--readonly .input-group-text { background: #fff!important; }

.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 */
.item.next:not(.item.left), .item.active.right { transform: translateX(100%) scale(0)!important; }
.item.prev:not(.item.right), .item.active.left { transform: translateX(-100%) scale(0)!important; }

@media (min-width: 992px) {
  .calc-form__carousel .item { padding: 50px; }
}



/* Results */
#results { display: block; }
#results h3 { margin: 15px 0; }
.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; }
@media (max-width: 500px) {
  .calc-results__heading { font-size: 35px; }
}

#calculate { color: #fff!important; }
.calc-results__buttons { display: flex; margin: -15px; justify-content: center; padding-top: 80px; }
.calc-results__buttons a { margin: 15px; }



/* BS3 Fix */
.d-none { display: none!important; }
#vl-calculator .row { display: flex; flex-wrap: wrap; }
#vl-calculator .input-group { position: relative; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: stretch; align-items: stretch; width: 100%; }
#vl-calculator .justify-content-center { justify-content: center; }
.input-group-prepend { margin-right: -1px; }
.input-group-append, .input-group-prepend { display: -ms-flexbox; display: flex; }
.input-group-text { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; justify-content: center; padding: 0.375rem 0.75rem; margin-bottom: 0; font-weight: 400; line-height: 1.5; white-space: nowrap; }
.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control, .input-group>.form-control-plaintext { flex: 1 1 auto; width: 1%; }
.ml-auto { margin-left: auto; }
.form-check-inline { display: -ms-inline-flexbox; display: inline-flex; -ms-flex-align: center; align-items: center; padding-left: 0; margin-right: 0.75rem; }
.form-check-inline .form-check-input { position: static; margin-top: 0; margin-right: 0.3125rem; margin-left: 0; }
.form-check-label { margin-bottom: 0; }
.custom-control { position: relative; display: block; min-height: 1.5rem; padding-left: 1.5rem; }
.custom-control-inline { display: inline-flex; margin-right: 1rem; }
.custom-control-input { position: relative; z-index: -1; opacity: 0; }
.custom-control-input:checked ~ .custom-control-label::before { color: #fff; border-color: #007bff; background-color: #007bff; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { border-color: #80bdff; }
.custom-control-input:not(:disabled):active ~ .custom-control-label::before { color: #fff; background-color: #b3d7ff; border-color: #b3d7ff; }
.custom-control-input:disabled ~ .custom-control-label { color: #6c757d; }
.custom-control-input:disabled ~ .custom-control-label::before { background-color: #e9ecef; }
.custom-control-label { position: relative; margin-bottom: 0; vertical-align: top; }
.custom-control-label::before { position: absolute; top: 0.25rem; left: -1.5rem; display: block; width: 1rem; height: 1rem; pointer-events: none; content: ""; background-color: #fff; border: #adb5bd solid 1px; }
.custom-control-label::after { position: absolute; top: 0.25rem; left: -1.5rem; display: block; width: 1rem; height: 1rem; content: ""; background: no-repeat 50% / 50% 50%; }
.custom-switch { padding-left: 2.25rem; }
.custom-switch .custom-control-label::before { left: -2.25rem; width: 1.75rem; pointer-events: all; border-radius: 0.5rem; }
.custom-switch .custom-control-label::after { top: calc(0.25rem + 2px); left: calc(-2.25rem + 2px); width: calc(1rem - 4px); height: calc(1rem - 4px); background-color: #adb5bd; border-radius: 0.5rem; transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .custom-switch .custom-control-label::after { transition: none; }
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after { background-color: #fff; transform: translateX(0.75rem); }
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(0, 123, 255, 0.5); }
/* End BS3 Fix */
