.calc.bmi {
    margin: 0;
    box-sizing: border-box;
    background: #d6f5f3;
    border-radius: 20px;
    padding: 24px 16px;
}
.calc.bmi {
    min-height: 634px;
}
.calc.bmi .buttons-bmi-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.calc.bmi .main-cycle-wrapper__items {
    width: 48% !important;
}
div#child-group button {
    background: white;
    margin-top: 40px;
    width: 60%;
    border-radius: 20px;
}

.calc.bmi .button.calculate {
    background: #FFFFFF !important;
    color: #151719 !important;
    border: none;
    width: 60% !important;
    height: 48px;
    border-radius: 30px;
    text-transform: uppercase;
}

.calc.bmi .gender {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.calc.bmi .gender .female,
.calc.bmi .gender .male,
.calc.bmi .gender .child {
    display: flex;
    justify-content: center;
    position: relative;
    height: 220px;
    background: #1bd7c8;
    border-radius: 20px;
    flex-direction: column;
    width: 30%;
    cursor: pointer;
}

.calc.bmi .gender .female span,
.calc.bmi .gender .male span,
.calc.bmi .gender .child span {
    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 80%;
}

.calc.bmi .scroll-age {
  display: block;
  position: relative;
    height: 114px;
    justify-content: center;
    align-items: center;
    background: #1bd7c8;
    border-radius: 20px;
    margin: 20px 0;
}

.calc.bmi .gender .child::after {
    content: '';
    background: url("https://cdn.files.smcloud.net/t/ico-04.svg");
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    width: 100px;
    height: 100px;
}

.calc.bmi .gender .male::after {
    content: '';
    background: url("https://cdn.files.smcloud.net/t/ico-05.svg");
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    width: 100px;
    height: 100px;
}

.calc.bmi .gender .female::after {
    content: '';
    background: url("https://cdn.files.smcloud.net/t/ico-06.svg");
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    width: 100px;
    height: 100px;
}

.calc.bmi .scroll-age > label {
    position: absolute;
    top: 20px;
    left: 0px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.calc.bmi .scroll-age input#age {
    width: 94%;
    display: block;
    margin: auto;
    font-size: 57px;
    text-align: center;
    outline: none;
    appearance: none;
}
.scroll-age label {
    width: 94%;
    text-align: center;
}
input[type="range"] {
  height: 8px;
  appearance: none;
  border: none;
  border-radius: 30px;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

input[type="range"]:hover {
  outline:none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: #20c4be;
  cursor: pointer;
  border: 4px solid #FFFFFF;
  border-radius: 30px;
}

.calc.bmi .scroll-age .start {
    position: absolute;
    top: 84px;
    left: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.calc.bmi .scroll-age .end {
    position: absolute;
    top: 84px;
    right: 30px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.calc.bmi .main-cycle-wrapper__items input , .scroll-age input {
    background-color: rgba(255,255,255,0);
    border: none;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 600;
    left: 30px;
    top: 24px;
    position: absolute;
    outline: none;
}

.calc.bmi .main-cycle-wrapper__items label {
 position: absolute;
    top: 20px;
    left: 30px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.calc.bmi .main-cycle-wrapper__items input::placeholder {
    color: #FFFFFF;
}

.calc.bmi .gender .child.active,
.calc.bmi .gender .female.active,
.calc.bmi .gender .male.active {
    background: #17a9a4;
    transition: 0.6s;
}

.calc.bmi .scroll-age > div {
	width: 100%;
}
.scroll-age .main-cycle-buttons-wrapper {
    width: 50px !important;
}
div#age-outrange {
    position: absolute;
    width: 200px;
    color: red;
    font-size: 12px;
    top: 90px;
    left: 13px;
}
.bmi-button{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
}
div#age-outrange.hidden {
    display: none;
}
.buttons-bmi-wrapper label {
    left: 12px !important;
}
.main-cycle-wrapper__items input {
    top: 36px !important;
}
.calculator-bmi h2 {
    text-align: center;
    margin-bottom: 24px;
}
div#height-required, div#weight-required {
    position: absolute;
    font-size: 12px;
    color: red;
    bottom: 0;
    left: 13px;
}
div#height-required.hidden, div#weight-required.hidden{
    display: none;
}
.calc.bmi .scroll-age #selectValue {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: 600;
    margin-left: 8px;
}

.calc.bmi .scroll-age #selector {
    position: absolute;
    top: 48px;
    margin-left: 90px;
}
button.button.calculate {
    background: #b1181b;
    border: 1px solid #b1181b;
    box-sizing: border-box;
    border-radius: 2px;
  }
  .calc h2 {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #014341;
    margin-bottom: 24px;
    margin-left: 0;
  }
  button.plus {
    background: url(https://cdn.files.smcloud.net/t/ico-08.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
  }
  button.minus {
    background: url(https://cdn.files.smcloud.net/t/ico-09.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
  }
  button.minus,
  button.plus {
    color: transparent;
  }
  .main-cycle-wrapper__items,
  .main-chosen-week-wrapper__items {
    display: flex;
    justify-content: center;
    position: relative;
    height: 104px;
    background: #1bd7c8;
    border-radius: 20px;
    flex-direction: column;
  }
  .main-cycle-buttons-wrapper,
  .main-chosen-week-buttons-wrapper {
    position: absolute;
    right: -10px;
    width: 50px;
    height: 103px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  div#child-group {
    font-size: 17px;
    text-align: center;
    padding: 24px 0;
}
div#child-group button {
    font-weight: 400 !important;
    text-transform: uppercase;
}
div#child-group a {
    font-size: 13px;
}
div#child-group button {
    background: white;
    margin-top: 40px;
    width: 77%;
    border-radius: 20px;
}
div#child-group .bmiMessage {
    font-size: 14px;
    color: #014341;
}
div#child-group .bmiTitle {
    color: #014341;
}
.change-value-button-wrapper.increase{
    position: relative;
}
.change-value-button-wrapper.increase:after {
    content: "";
    width: 43px;
    height: 1px;
    background: hsla(0,0%,100%,.72);
    position: absolute;
    left: -7px;
    bottom: -13px;
}
@media (min-width: 800px) {
  .calc.bmi .main-cycle-buttons-wrapper {
    margin-top: -10px;
  }
  .scroll-age label {
    left: 29px !important;
    top: 5px !important;
}
.calc.bmi .main-cycle-wrapper__items label{
    left: 39px !important;
}
.calc h2{
    font-size: 32px;
}
}

@media (max-width: 799px) {
  .calc.bmi .scroll-age input#age {
      width: 94%;
  }
  .scroll-age label {
    left: 0 !important;
}

  .calc.bmi .main-cycle-wrapper__items input , .scroll-age input {
      font-size: 32px;
      left: 8px;
      top: 32px;
  }

  .calc.bmi .main-cycle-wrapper__items label,
  .calc.bmi .scroll-age>label,
  .calc.bmi .scroll-age .start {
      left: 8px;
  }

  .calc.bmi .scroll-age .end {
    right: 8px;
  }

  .calc.bmi .scroll-age #selector {
    margin-left: 40px;
}
}
.calc input::-webkit-outer-spin-button,
.calc input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.calc input[type=number] {
  -moz-appearance: textfield !important;
}
.gender.gender-invalid > div {
    border: 2px solid red;
}
.calc.bmi button.button.calculate {
    font-weight: 400 !important;
}