@import "./less.variables.less";
@import "./custom-input.less";


.wh-calculator-section {
  //min-height: calc(100vh - 110px);
  padding: 64px 0 0;
  font-size: 14px;
  .small-text {
    font-size: 12px;
    line-height: 1.6em;
    &.italic {
      font-style: italic;
    }
  }
  .calculator-info {
    padding-top: 32px;
  }
  .calculator-info-block {
    overflow: auto;
    position: relative;
    //height: calc(100vh - 156px);
    padding-bottom: 48px;
    h2 {
      padding-top: 32px;
    }
  }
  .main-block-inside {
    padding: 0 0 48px;
    h6 {
      margin: 16px 0 16px;
    }
    .table-holder {
      background: #f5f5f5;
      font-size: 14px;
      border-left: 1px solid #d3d3d3;
      border-top: 1px solid #d3d3d3;
      border-right: 1px solid #d3d3d3;
      .param-block {
        margin: 0;
        border-bottom: 1px solid #d3d3d3;
        div {
          padding: 2px 10px;
          line-height: 1.6em;
          &:nth-child(2) {
            text-align: right;
            border-left: 1px solid #d3d3d3;
          }
        }
      }
      .empty-row {
        height: 14px;
      }
    }
  }
  .calculator-panel {
    overflow: auto;
    //position: fixed;
    height: 100%;
    background: #f5f5f5;
    top: 64px;
    z-index: 1;
    border: 1px solid @grey-color;
    border-radius: 6px;
    .inputs-container {
      padding: 16px 16px 0;
    }
    .btn-footer {
      background: #f5f5f5;
      width: 100%;
      padding: 16px 0;
      z-index: 4;
    }
    &.custom-form {
      .form-holder {
        .input-group input {
          text-align: right;
        }
        label {
          line-height: 1.2em;
          margin-bottom: 5px
        }
        .form-control {
          width: 1%;
          height: 30px;
          font-size: 14px;
        }
        .input-group-text {
          font-size: 14px;
          height: 30px;
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
        }
        .text-not-bold {
          font-size: 12px;
          line-height: 1.2em;
          display: flex;
          font-weight: 400;
        }
      }
      .btn-custom {
        height: 30px;
        padding: 0 16px;
        line-height: 1em;
        align-items: center;
        min-width: auto;
      }
    }
  }
}


#footer {
  //position: fixed;
  //bottom: 0;
  z-index: 1;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
