#easy_calculation{
  &_bottom{
    &_desc_container{
      table{
        width: 100% !important;
        @include respond-to(screen-only){
          width: calc(100% + #{2*$box-padding}) !important;
          margin-left: -$box-padding;
        }

        td,th{
          &:first-child{
            padding-left: $box-padding;
          }
          &:last-of-type{
            padding-right: $box-padding;
          }
        }
        th{
          & + th{
            text-align: center;
          }
          &:last-child{
            text-align: right;
          }
        }
        td{
          padding: $gap;
        }
        tbody{
          tr{
            @include small;
            border-top: 1px solid $color-border-minor;
            td{
              & + td{
                text-align: center;
              }
              &:last-child{
                text-align: right;
                white-space: nowrap;
              }
            }
            &:last-child td{
              font-size: $font-h3;
              &:last-child{
                font-weight: bold;
              }
            }
          }
        }
      }
    }
  }
}
#calculation{
  @include respond-to(screen-only){
    border-bottom: 1px solid $color-border;
  }
  @include respond-to(print-only){
    .solution-entity{
      font-weight: bold;
    }
  }
  td{
    &.text-right{
      white-space: nowrap;
    }
  }

  &-header{
    &_label{
      line-height: 10mm;
    }
    .easy-table-summary {
      margin-top: 0;
      margin-bottom: $box-padding;
      td, th {
        padding-left: $box-padding;
        padding-right: $box-padding;
        border-right: none !important;
        width: 25%;
      }
      td {
        font-weight: bold;
        background: $white;
      }
      th {
        @include small;
        font-weight: normal;
        background: $color-highlight;
        color: $color-text;
        border-right: 1px solid $color-border !important;
        &.hide-when-print {
          border-left: 1px solid $color-border !important;
        }
        &:first-of-type {
          border-left: none !important;
        }
      }
      tr {
        &.compensate {
          th, td {
            padding-top: $gap;
          }
          &.hide-when-print {
            th:last-of-type {
              border-top: 1px solid $color-border !important;
            }
          }
        }
        &:first-child {
          th, td {
            padding-top: $gap;
            border-top: 1px solid $color-border;
          }
        }
        &:last-child {
          th, td {
            padding-bottom: $gap;
            border-bottom: 1px solid $color-border;
          }
        }
      }
    }
  }
  &_pdf_logo_container {
    float: right;
    margin-left: 10mm;
    &>img{
      max-width: 85mm;
      max-height: 10mm;
    }
  }
  &_title{
    clear: right;
  }
}
