.stair_calc h1 {
    font-weight: 800;
    font-size: 30px;

    align-items: center;
    text-align: center;
    letter-spacing: 1.4px;
    text-transform: uppercase;

    color: #333333;
    margin-top: 50px;
}

.stair_calc h5 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 18px;
    text-align: center;
    align-items: center;
    text-transform: uppercase;

    color: #333333;
    margin-top: 20px;
}

.stair {
    margin-top: 100px;
}

.stair__inputs .input-group-text, .stair__inputs .form-control {
    font-size: 13px;
}

.stair__inputs.grid-container {
    --grid-layout-gap: 10px;
    --grid-item--min-width: 300px;
    width: 100%;
    height: fit-content;
}

.stair__inputs .input-group {
    height: fit-content;
}

.stair__input_des {
    margin-left: 40px;
    color: #000000;
}

.stair__input_des h5 {
    font-size: 20px;
    align-items: center;
    text-align: left;
    font-weight: 400;
    margin-bottom: 20px;
}

.stair__input_des p {
    margin: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    align-items: center;
    max-width: 343px;
}

.yellow-color {
    color: #FFCD6C;
}

.double-arrow {
    position: absolute;
    display: inline-block;
    width: 100%; /* Задайте желаемую ширину стрелки */
    height: 1px;
    background-color: #8f8f8f;
  }
  
  .double-arrow::before,
  .double-arrow::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 3px solid transparent; /* Задайте желаемый размер стрелки */
  }
  
  .double-arrow::before {
    border-right-color: #8f8f8f;
    border-left: none;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .double-arrow::after {
    border-left-color:#8f8f8f;
    border-right: none;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
.double-arrow-vert {
    position: absolute;
    display: inline-block;
    height: 100%;
    width: 1px;
    background-color: #8f8f8f;
}

.double-arrow-vert::before,
.double-arrow-vert::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 3px solid transparent; /* Задайте желаемый размер стрелки */
}

.double-arrow-vert::before {
  border-bottom-color: #8f8f8f;
  border-top: none;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.double-arrow-vert::after {
  border-top-color:#8f8f8f;
  border-bottom: none;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.box {
    border: 1px solid #8f8f8f;
    position: relative;
    margin: 0 auto;
}

em {
    margin-left: 3px;
}

.draw {
    width: fit-content;
    margin: 0 auto;
    margin-top: 40px;
}

.draw h5 {
    margin-bottom: 50px;
}

.result {
    margin-top: 50px;
}

.vertical-line {
    border-left: 1px solid #8f8f8f;
    height: 30px;
    position: relative;
    top: -15px;
}

.vertical-line.line_left {
    left: -1px;
}

.vertical-line.line_right {
    left: 1px;
}

.plan {
    font-size: 11px;
    font-style: italic;
    text-align: center;
    position: absolute;
    width: 100%;
    top: -18px;
}

.upper_mark {
    width: 100%;
    padding: 0;
    position: absolute;
    top: -15px;
}

.left_mark {
    height: 100%;
    padding: 0;
    position: relative;
    left: -15px;
}

.step_sup {
    position: absolute;
    background-color: white;
    border: 1px solid #000000;
    border-radius: 1px;
}

.color_box .step_sup {
    background-color: #808080;
}

.step {
    position: absolute;
    background-color: white;
    border: 1px solid #000000;
    border-radius: 1px;
}

.color_box .step {
    background-color: #eca81e;
}

.opora_above {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    border: 1px dashed black;
}

.color_box .opora_above {
    background-color: #808080b3;
}

.box__child {
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
    position: absolute;
}

.horizontal-line {
    border-top: 1px solid #8f8f8f;
    width: 30px;
    position: relative;
    left: -15px;
}

.horizontal-line.line_up {
    top: -1px;
}

.horizontal-line.line_bottom {
    top: calc(100% - 1px);
}

.hor-lines {
    height: 100%;
}

.plan.vert p {
    transform: rotate(-90deg);
    width: fit-content;
    margin: auto 0;
}

.plan.vert {
    left: -28px;
    top: 50%;
    transform: translateY(-50%);
}

.content.stair_calc {
    margin-bottom: 400px;
}

.result.grid-container {
    --grid-layout-gap: 10px;
    --grid-item--min-width: 300px;
    width: 100%;
    height: fit-content;
}

.original_data {
    margin: 55px auto 24px auto;
    max-width: 267px;
}

.original_data h6 {
    font-size: 18px;
    align-items: center;

    color: #333333;
    margin-top: 20px;
}

.original_data p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
    margin: 0;

    color: #333333;
}

.recommendation {
    max-width: 370px;
    height: 311.5px;
    padding: 20px;
    left: 99px;
    top: 922px;
    border: 2px solid #FFCD6C;
    border-radius: 20px;
    margin-top: 49px;
}

.recommendation h5 {
    font-size: 25px;
    line-height: 28px;
    align-items: center;
    letter-spacing: 0.25px;
    color: #333333;
    text-align: left;
}

.hor-line {
    margin: 17px 0;
    border-top: 1px solid #9f9f9f;
}

.recommendation p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    align-items: center;

    color: #333333;
}

@media only screen and (max-width: 600px) {
    .stair_inputs_block.d-flex.justify-content-between {
        flex-direction: column-reverse;
    }

    .stair__input_des {
        margin: 0;
        margin-bottom: 43px;
    }
}