.itd-costcalc {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--distanceSectionPadding)*0.5);
  border-radius: 20px;
  border: 1px solid #333;
}

.itd-costcalc__topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.itd-costcalc__arrow {
  width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: #dee1e3;
    color: #33353A;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    opacity: 1;
	box-shadow: none!important;
}

.itd-costcalc__arrow:hover {
      transform: translateY(-2px);
    background: #a6aeb4;
    color: #333538;
}

.itd-costcalc__arrow:disabled {
	opacity: 0.4;
  cursor: not-allowed;
    transform: none;
    background: #dee1e3 !important;
}

.itd-costcalc__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itd-costcalc__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #DEE1E3;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
    padding: 0;
}

.itd-costcalc__dot.is-active {
 background: #A6AEB4;
    width: 24px;
}

.itd-costcalc__viewport {
  overflow: hidden;
  position: relative;
}

.itd-costcalc__slide {
  display: none;
  opacity: 0;
  transform: translateX(30px);
}

.itd-costcalc__slide.is-active {
  display: block;
}

.itd-costcalc__slide.is-active.is-entering {
  animation: itdCalcSlideIn 0.35s ease forwards;
	max-width: 800px;
    margin: 0 auto;
}
section.itd-costcalc__slide.results {
    max-width: 100%!important;
}
@keyframes itdCalcSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.itd-costcalc__selection-group + .itd-costcalc__selection-group {
  margin-top: 40px;
}

.itd-costcalc__selection-group h3, .itd-costcalc__casehead h3 {
  margin: 0 0 2rem;
}

.itd-costcalc__choice-grid {
  display: flex;
  gap: 32px;
    justify-content: center;
}
.itd-costcalc__selection-group {
    text-align: center;
}
.itd-costcalc__choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    min-height: 100px;
    padding: 1.4rem;
    border: 1px solid var(--grey100);
    border-radius: 16px;
    background: var(--grey100);
    color: #111;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--fontfamilyBold);
    font-weight: 400;
	box-shadow: none!important;
	width: calc(33.3% - 22px);
}

.itd-costcalc__choice:hover,
.itd-costcalc__choice.is-selected {
  background: #fff;
}
a.itd-costcalc__choice.itd-costcalc__choice--link {
    gap: 0;
    font-family: var(--fontfamilybody);
}
.itd-costcalc__message {
  margin-top: 20px;
  color: #c62828;
   font-family: var(--fontfamilyBold);
}

.itd-costcalc__case {
  display: none;
}

.itd-costcalc__case.is-active {
  display: block;
}

.itd-costcalc__casehead {
  margin-bottom: 20px;
}

.itd-costcalc__casepill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.itd-costcalc__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
	    align-items: flex-start;
}

.itd-costcalc__col {
  padding: 0 24px;
  border-radius: 20px;
  background: #fff;
}
.itd-costcalc__col.finalresults {
    background-color: var(--grey100);
	padding: 40px;
}
.itd-costcalc__col h4 {
  margin: 0 0 20px;
}

.itd-costcalc__field + .itd-costcalc__field {
  margin-top: 16px;
}
.itd-costcalc__field {
	display: flex;
    gap: 1.2rem;
    align-items: center;
}
.itd-costcalc__field label {
   display: block;
    font-size: 0.83rem;
    font-family: var(--fontfamilyBold) !important;
    width: 150px;
}

.itd-costcalc__inputwrap {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  align-items: center;
	    width: calc(100% - 150px);
}
#page .itd-costcalc__control input {
    margin-bottom: 0 !important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}
#page .itd-costcalc__control input[data-result=savings] {
    background: #D9EFFF;
}
.itd-costcalc__control {
  position: relative;
}

.itd-costcalc__control input {
  width: 100%;
  height: 48px;
  padding: 0 70px 0 14px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
}

.itd-costcalc__control input[readonly] {
  background: #f2f2f2;
  font-weight: 700;
}

.itd-costcalc__suffix {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #666;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}

.itd-costcalc__info {
 width: auto;
    height: 100%;
    border: 0;
    border-radius: 8px;
    background: none transparent !important;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1rem;
    padding: 0;
    border: 1px solid;
    color: var(--grey700);
    box-shadow: none !important;
}
.itd-costcalc__col.finalresults .itd-costcalc__field:last-child button.itd-costcalc__info {
    background: #002C45!important;
background: linear-gradient(90deg, rgba(0, 44, 69, 1) 0%, rgba(0, 100, 149, 1) 100%)!important;
	color:#fff!important;
}
.itd-costcalc__actions {
  margin-top: 26px;
  text-align: center;
}

.itd-costcalc__calcerror {
  min-height: 24px;
  margin-bottom: 10px;
  color: #c62828;
  font-weight: 600;
}

.itd-costcalc__calculate {
  min-width: 220px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.itd-costcalc__calculate:hover {
  transform: translateY(-1px);
}

.itd-costcalc__popover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}
.itd-costcalc__popover[hidden] {
  display: none !important;
}

.itd-costcalc__popover-inner {
  position: relative;
  width: min(500px, 100%);
  padding: 30px;
  border-radius: 20px;
  background: #fff;
}

.itd-costcalc__popover-close {
  position: absolute;
  top: 5px;
    right: 10px;
  border: 0;
      background: none !important;
    padding: 0;
  font-size: 1.1rem;
  cursor: pointer;
}

.itd-costcalc__popover-content {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
	.itd-costcalc__choice img {
    display: none;
}
	.itd-costcalc__field {
    flex-direction: column;
    align-items: flex-start;
		gap: 0.2rem;
}
	.itd-costcalc__field label, .itd-costcalc__inputwrap {
		width: 100%;
	}
	.itd-costcalc__col.finalresults  {
		padding: 24px;
	}
	.itd-costcalc__columns {
    grid-template-columns: repeat(1, 1fr);
}
	.itd-costcalc__choice-grid {
		flex-direction: column;
		gap: 20px;
	}
	a.itd-costcalc__choice.itd-costcalc__choice--link {
    display: block;
}
.itd-costcalc__choice {
    width: 100%;
    min-height: auto;
	padding: 1rem;
	font-size: 0.9rem;
}
	.itd-costcalc__choice.size-24 , .itd-costcalc__choice .size-24 {
		font-size: 1rem!important;
	}
}