.calculator {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
}
.calculator_inner {
  padding: 100px 0;
}
.calculator__wrapper {
  position: relative;
  overflow: auto;
  max-width: 1100px;
  margin: 0 auto;
}

.calculator__title {
  margin-bottom: 60px;
}
.calculator__subtitle {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.calculator__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls {
  padding-left: 30px;
  max-width: 450px;
  width: 100%;
}

.control__wrapper:first-child {
  margin-bottom: 30px;
}

.control__name {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 30px;
}

.irs--flat .irs-line {
  height: 5px !important;
  background: #bb8300 !important;
  opacity: 0.5 !important;
}

.irs--flat .irs-bar {
  height: 5px !important;
  background: #ffb400 !important;
}

.irs--flat .irs-min,
.irs--flat .irs-max {
  display: none !important;
}

.irs--flat .irs-handle {
  cursor: pointer !important;
  top: 16px !important;
  width: 23px !important;
  height: 23px !important;
  background: #ffb400 !important;
  border: 2px solid #0d0d0d !important;
  border-radius: 50% !important;
}

.irs--flat .irs-handle i {
  display: none !important;
}

.irs--flat .irs-handle::after {
  position: absolute;
  content: '';
  top: calc(50% - 5px);
  right: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: #0d0d0d;
  border-radius: 20px;
}

.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
  top: -24px !important;
  font-size: 28px !important;
  line-height: 34px !important;
  font-weight: 700 !important;
  background-color: unset !important;
  padding: 0 !important;
  font-family: 'ProximaNova' !important;
}

.irs--flat .irs-from:before,
.irs--flat .irs-to:before,
.irs--flat .irs-single:before {
  display: none !important;
}

.control__range {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.control__range span {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
}

.output {
  max-width: 600px;
  width: 100%;
  background: #ffb400;
  border-radius: 20px;
  padding: 50px;
}
.output_title {
  font-weight: 800;
  font-size: 35px;
  line-height: 43px;
  /* text-indent: 30px; */
  color: #000000;
  margin-bottom: 40px;
}
.output__title {
  font-family: 'ProximaNova';
  font-weight: 400;
  font-size: 30px;
  line-height: 37px;
  color: #000;
  margin-bottom: 10px;
}
.output__earn {
  font-family: 'ProximaNova';
  white-space: nowrap;
  font-weight: 800;
  font-size: 64px;
  line-height: 78px;
  color: #000;
  margin-bottom: 40px;
}

.output__inner {
  display: flex;
  justify-content: space-between;
}

.output__subtitle {
  font-family: 'ProximaNova';
  font-size: 16px;
  line-height: 22px;
  color: #000;
  margin-bottom: 10px;
}

.output__value {
  font-family: 'ProximaNova';
  font-weight: 800;
  font-size: 36px;
  line-height: 44px;
  color: #000;
}

@media (max-width: 1200px) {
  .irs--flat .irs-from,
  .irs--flat .irs-to,
  .irs--flat .irs-single {
    top: -15px !important;
  }
  .output {
    max-width: 480px;
    padding: 35px;
  }
  .controls {
    margin: 0 20px 0 auto;
    max-width: 420px;
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .calculator__wrapper {
    padding: 25px 0 0;
  }

  .calculator {
    max-width: calc(100% - 38px);
    margin: 0 auto;
  }

  .control__range span:last-child {
    margin-right: 0;
  }
}

@media (max-width: 1023px) {
  .calculator .container {
    padding: 0 30px;
  }
  .calculator_inner {
    padding: 75px 0;
  }
  .calculator__title {
    margin-bottom: 50px;
  }
  .calculator__inner {
    flex-direction: column-reverse;
  }
  .output {
    padding: 50px;
    max-width: 100%;
    margin-bottom: 25px;
  }
  .controls {
    max-width: calc(100% - 80px);
    margin: 0 -20px;
  }
}
@media (max-width: 767px) {
  .calculator .container {
    padding: 0 10px;
  }
  .calculator {
    max-width: calc(100% - 20px);
    margin: 0 auto;
  }
  .calculator_inner {
    padding: 30px 0;
  }
  .calculator__title {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 10px;
  }
  .calculator__subtitle {
    font-size: 14px;
    line-height: 20px;
  }
  .output_title {
    font-size: 24px;
    line-height: 27px;
    margin-bottom: 20px;
  }
  .calculator__wrapper {
    padding: 28px 0 0;
  }
  .output {
    padding: 20px;
    margin-bottom: 30px;
  }
  .output__title {
    font-size: 16px;
    line-height: 19 px;
    margin-bottom: 5px;
  }

  .output__earn {
    font-size: 44px;
    line-height: 54px;
    margin-bottom: 10px;
  }
  .output__inner {
    flex-direction: column;
  }
  .output__subtitle {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 0;
    margin-top: 10px;
  }

  .output__value {
    font-size: 30px;
    line-height: 37px;
  }

  .controls {
    padding-right: 0;
    max-width: calc(100% - 40px);
  }

  .control__name {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 20px;
  }

  .irs--flat .irs-from,
  .irs--flat .irs-to,
  .irs--flat .irs-single {
    font-size: 15px !important;
    line-height: 100% !important;
    top: -10px !important;
  }
  .control__range span {
    font-size: 14px;
    line-height: 17px;
  }
  .control__wrapper:first-child {
    margin-bottom: 20px;
  }
}
