.calculator {
  background: #022624;
  padding: 100px 0;
}
.calculator--title {
  max-width: 100%;
  margin: 0 auto;
  color: #fff;
}

.calculator--title span {
  color: #be8665;
}
.calculator--title_mob {
  display: none;
}

.calculator--range_form {
  padding-top: 40px;
}

.calculator--content {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 37px;
  background: #36278c;
  border: 3px solid rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(10px); */
  border-radius: 30px;
  filter: drop-shadow(5px 0px 50px rgba(80, 85, 166, 0.5));
}

.calculator .container {
  position: relative;
}
.calculator .container::before {
  content: '';
  position: absolute;
  width: 172px;
  height: 172px;
  right: -120px;
  top: -50px;
  z-index: 2;
  background: center / contain url(../images/img_3-min.png);
}

.calculator--renge_wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0;
  grid-auto-rows: auto;
}

.calculator--renge_title_wrapper {
  grid-column: 1/5;
  grid-row: 1/2;
}

.calculator--renge_result_wrapper {
  grid-column: 1/2;
  grid-row: 2/3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.calculator--renge_body {
  grid-column: 2/5;
  grid-row: 2/3;
  padding-left: 40px;
  box-sizing: border-box;
}

.calculator--values {
  width: 66.6%;
}

.calculator--result {
  width: 33%;
  box-sizing: border-box;
  padding-left: 33px;
}

.result--btn_mob {
  display: none;
}

.calculator--renge_body .irs--round .irs-bar,
.calculator--renge_body .irs--round .irs-line {
  height: 8px;
  top: 23px;
}

.calculator--renge_body .irs--round .irs-handle {
  top: 15px;
}

.calculator--renge_body .irs--round.irs-with-grid {
  height: 55px;
}

.calculator--renge_body .irs--round .irs-handle {
  border: 6px solid #be8665;
  cursor: pointer;
  box-shadow: 0px 0px 5px rgba(89, 0, 0, 0.7);
}

.calculator--renge_body .irs--round .irs-bar {
  background-color: #be8665;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.calculator--renge_body .irs--round .irs-grid-pol {
  background-color: transparent;
}

.calculator--renge_body .irs--round .irs-line {
  background: #e6eaff;
}

.calculator--renge_title {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
}

.calculator--renge_wrapper-padding {
  padding-bottom: 17px;
}

.calculator--renge_result {
  background: #be8665;
  border: 4px solid #ffffff;
  border-radius: 35px;
  height: 50px;
  width: 180px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}

.calculator--result_body {
  height: 147px;
  max-height: 100%;
  margin-top: 83px;
  box-sizing: border-box;
  background: #5055a6;
  border: 4px solid #ffffff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: #ffffff;
}

.irs-grid-text {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 600;
  font-size: 14px !important;
  line-height: 17px;
  color: #ffffff !important;
  top: 15px;
}

.irs-grid-text .js-grid-text-4 {
  left: 108% !important;
}
.calculator_inner {
  width: 100%;
  display: flex;
}
@media (max-width: 1250px) {
  .calculator {
    padding: 180px 0 100px;
  }
  .calculator--content {
    padding: 40px 13px;
  }
  .calculator .container::before {
    transform: rotate(15.77deg);
    width: 161px;
    height: 161px;
    right: 0px;
    top: -140px;
  }
  .calculator_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .calculator--values {
    width: 100%;
  }
  .calculator--renge_wrapper-padding {
    padding-bottom: 37px;
  }
  .calculator--renge_title_wrapper {
    padding-left: 55px;
  }
  .calculator--result {
    padding: 0;
    width: 100%;
  }
  .calculator--result_body {
    max-width: 336px;
    margin: 96px auto 0;
  }
}

@media (max-width: 1023px) {
  .calculator--renge_title_wrapper {
    padding-left: 36px;
  }
}
@media (max-width: 767px) {
  .calculator {
    padding: 77px 0 80px;
  }
  .calculator--content {
    padding: 40px 16px 47px;
  }
  .calculator .container::before {
    width: 75px;
    height: 75px;
    right: -3px;
    top: -40px;
  }
  .calculator--range_form {
    padding-top: 28px;
  }
  .calculator--renge_title_wrapper {
    padding-left: 30px;
  }
  .calculator--renge_wrapper {
    display: flex;
    flex-direction: column;
  }
  .calculator--renge_wrapper-padding {
    padding-bottom: 33px;
  }
  .calculator--renge_body {
    order: 1;
    padding: 0;
  }
  .calculator--renge_title_wrapper {
    padding: 0;
    text-align: center;
  }
  .calculator--renge_title {
    font-size: 16px;
    line-height: 19px;
  }
  .calculator--renge_result {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
  }
  .calculator--result_body {
    margin: 51px auto 0;
    max-width: 276px;
    height: 106px;
    font-size: 30px;
    line-height: 36px;
  }
}
