body {
  margin: 0px;
  padding: 0px;
}

* {
  margin: 0px;
  box-sizing: border-box;
}

/* flex box  start*/
.BMITP_d_flex {
  display: flex;
}

/* flex box  end*/
.BMITP_macro_calculator {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: 1100px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.BMITP_macro_calculator > div {
  width: 50%;
}
.BMITP_main_title {
  text-align: center;
  color: #009fe1 !important;
  text-align: center;
  font-size: clamp(16px, 4vw, 2rem);
  margin-bottom: 1rem;
}

.BMITP_macro_calculator > div:first-child {
  background: rgba(23, 110, 207, 0.05);
  padding: 10px;
}

/* form styling  */
/* step 1 styling  */
.BMITP_step_1 .BMITP_d_flex {
  flex-wrap: wrap;
  column-gap: 4%;
}

.BMITP_step_1 .BMITP_d_flex > .BMITP_form-group {
  width: 48%;
}

.BMITP_w_100 {
  width: 100% !important;
}

.BMITP_form-group {
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.BMITP_form-group input,
.BMITP_form-group select {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-bottom: 1px solid #80808061;
  transition: border-color 0.3s ease-in-out;
  height: 45px;
  outline: 0;
}

.BMITP_form-group input:focus,
.BMITP_form-group textarea:focus,
.BMITP_form-group select:focus {
  border-color: black;
}

.BMITP_custom-radio-button .BMITP_custom-control {
  float: left;
  padding-left: 0;
}

.BMITP_custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5rem;
}

.BMITP_custom-control-input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.BMITP_custom-radio-button > .BMITP_custom-control > label {
  background: #fff;
  border: none;
  border-bottom: 1px solid #80808061;
  transition: border-color background 0.3s ease-in-out;
  padding: 20px 20px 20px 35px;
  line-height: 0 !important;
  color: #666;
  cursor: pointer !important;
}
.BMITP_custom-radio-button
  > .BMITP_custom-control
  > [type="radio"]:checked
  + label {
  border-color: black;
}

.BMITP_custom-control-label {
  position: relative;
  margin-bottom: 0;
  vertical-align: top;
}

.BMITP_custom-control-input:checked ~ .BMITP_custom-control-label::before {
  color: #fff;
  border-color: #007bff;
  background-color: #007bff;
}

.BMITP_custom-radio-button .BMITP_custom-control label:before,
.BMITP_custom-radio-button .BMITP_custom-control label:after {
  left: 7px;
  top: 12px;
}

.BMITP_custom-control-label::before {
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: -1.5rem;
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}

.BMITP_custom-radio
  .BMITP_custom-control-input:checked
  ~ .BMITP_custom-control-label::after {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPSczJyBmaWxsPScjZmZmJy8+PC9zdmc+);
}

.BMITP_custom-control-label::after {
  position: absolute;
  top: 1px;
  left: -1.5rem;
  display: block;
  width: 18px;
  height: 18px;
  content: "";
  background: no-repeat 50%/50% 50%;
}

/* action button  styling */
.BMITP_actions {
  width: 100%;
  text-align: center;
}

.BMITP_actions button {
  outline: none;
  border: none;
  cursor: pointer;
  margin: 0px 3px;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  display: inline-block;
  font-weight: 400;
  padding: 0.475rem 1.75rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 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;
}

.BMITP_actions button:hover {
  color: #fff;
  background-color: #009fe1;
  border-color: #0062cc;
}

/* result styling  */
.BMITP_bar {
  width: 100%;
  height: 20px;
  margin: 20px 0 50px;
  border-radius: 50px;
  position: relative;
  background-image: linear-gradient(
    to right,
    #39f 0,
    #093 33%,
    #ffd633 65%,
    #d81e05 100%
  );
}

.BMITP_bar .BMITP_underweight {
  width: 17%;
  border-right: 1px solid #000;
  padding-top: 25px;
  text-align: center;
  float: left;
  position: relative;
}

.js_BMITP_indicator {
  position: absolute;
  height: 25px;
  width: 60px;
  background: #fdce31;
  top: -40px;
  font-weight: bolder;
  color: #fff;
  left: -30px;
  border-radius: 5px;
  opacity: 0;
  animation-name: indicator_hide;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

.js_BMITP_indicator#BMITP_indicator_underweight {
  background: #2e99ec;
}

.BMITP_bar .BMITP_section-name {
  font-size: 0.8rem;
}

#BMITP_indicator_underweight.js_BMITP_indicator::before {
  border-top: 10px solid #2e99ec;
}

.BMITP_bar .BMITP_normal {
  width: 38%;
  border-right: 1px solid #000;
  padding-top: 25px;
  text-align: center;
  float: left;
  position: relative;
}

.js_BMITP_indicator#BMITP_indicator_normal {
  background: #02993b;
}

#BMITP_indicator_normal.js_BMITP_indicator::before {
  border-top: 10px solid #02993b;
}

.js_BMITP_indicator::before {
  content: "";
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
  bottom: -20px;
  left: calc(50% - 10px);
}

.BMITP_bar .BMITP_overweight {
  width: 28%;
  border-right: 1px solid #000;
  padding-top: 25px;
  text-align: center;
  float: left;
  position: relative;
}

#BMITP_indicator_overweight.js_BMITP_indicator::before {
  border-top: 10px solid #fdce31;
}

.js_BMITP_indicator#BMITP_indicator_obese {
  background: #de3d0c;
}

#BMITP_indicator_obese.js_BMITP_indicator::before {
  border-top: 10px solid #de3d0c;
}

.BMITP_bar .BMITP_obese {
  width: 17%;
  padding-top: 25px;
  text-align: center;
  float: left;
  position: relative;
}

.js_BMITP_indicator.BMITP_active {
  animation-name: indicator_show;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

.BMITP_hiddenTd {
  display: none;
}

@keyframes indicator_show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes indicator_hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    left: 0;
  }
}
#BMITP_res_head {
  font-size: 0.9rem !important;
  padding: 0.5rem !important;
  line-height: 30px;
  word-spacing: 0.5px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.BMITP_calculator-result-section {
  background: rgba(23, 110, 207, 0);
  padding: 1.5rem 1rem;
}
#BMITP_rslt_section {
  visibility: hidden;
}
/* //gender icon  */
.BMITP_gender {
  display: inline-block;
  font-weight: bold;
  font-style: normal;
  font-size: 20px;
  background: lightgray;
  padding: 4px 8px;
  border-radius: 50%;
}

.BMITP_main_result .BMITP_title,
.BMITP_main_result .BMITP_result-value {
  color: #009fe1 !important;
  text-align: center;
  font-size: 1.5rem;
  display: block;
  font-size: 1.875rem;
}
.BMITP_result_bar {
  margin-top: 3rem !important;
}
.BMITP_gender_section {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.BMITP_main_result p {
  line-height: 30px;
  word-spacing: 0.5px;
  margin-block-start: 1rem;
  margin-block-end: 1rem;
}
.BMITP_main_result ul {
  padding-left: 14px;
}
.BMITP_main_result a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}
