#dashboard #company-profile {

  .header {
    img {
      display: none;
    }

    .title {
      text-align: center;
    }

    &.has-logo {

      @include media-breakpoint-up(md) {
        img {
          display: block;
          height: 70px;
          width: 70px;
          margin-right: 15px;
        }
        .title {
          text-align: left;
        }
      }

    }
  }

  .title {
    padding: 18px 0px;
  }

  .contact-filled {
    p {
      margin-bottom: 0px;
    }
  }

  #company-shareholders-managers {
    margin-bottom: -70px;

    .card-table {
      margin-right: -30px;
      margin-left: -30px;
    }

    h4 {
      line-height: 1em;

      span.edit {
        color: $color-sub-title !important;
        vertical-align: middle;
        font-size: 14px;
      }
    }
  }

  #company-reporting {

    .card-table {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .reporting-container {
      margin-right: -5px;
      margin-left: -5px;
    }

    .reporting-selector {
      border-bottom: 2px solid $color-border;
      margin-bottom: 25px;
      padding-bottom: 20px;
    }

    .btn-reporting {
      margin-top: 25px;
    }

    table {
      .sub-header {
        font-weight: bold;
        vertical-align: bottom;
        border-bottom: 2px solid $color-border;
        background-color: white;
      }

      .border-dashed-left {
        border-left: 2px dashed $color-border;
      }

      tr td:not(:first-child) {
        text-align: center;
      }

      tr.ratio-row {
        td:first-child {
          padding-left: 25px;
        }

        td {
          font-style: italic;
        }
      }

      tr.total-row {
        border-top: 2px solid $color-border;
        border-bottom: 2px solid $color-border;

        td {
          font-weight: bold !important;
        }
      }

      tr.bg-white {
        background-color: white;
      }
    }

    #company-reporting-historical-financials {
      margin-bottom: -72px;
    }

    #company-reporting-actual-bp-budget {
      .table-budget {
        margin-bottom: -72px;
      }
    }

    #company-reporting-current-trading {
      .main-table {
        tbody {
          tr:last-child {
            border-bottom: 1px solid $color-border;

          }
        }
      }

      .capital-structure-table {
        border-bottom: 1px solid $color-border;
        border-right: 1px solid $color-border;
        border-left: 1px solid $color-border;
      }
    }

  }

  #company-deals {
    margin-bottom: -70px;
    margin-top: -31px;

    .card-table {
      margin-right: -30px;
      margin-left: -30px;

      .table {
        border-bottom: 2px solid $color-border;
      }
    }

    .create-link:hover {
      text-decoration: none;
    }
  }

  #company-notes {
    margin-bottom: -55px;
    margin-top: -20px;

    .form-group {
      width: 100%;
    }
  }

}