$menu-item-height: 34px;
$menu-item-header-height: 40px;
$menu-item-checkbox-height: 40px;
$menu-item-button-height: 34px;

ngb-project-info-sections {
  .md-button.project-info-button {
    border-radius: unset;
    text-transform: none;
    ng-md-icon {
      fill: #FFF;
      padding-top: 2px;
    }
    span {
      display: inline-block;
      max-width: 200px;
      height: 23px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  position: relative;
}

md-menu-content.ngb-project-info-sections-menu {
  box-sizing: border-box;
  position: absolute;
  width:100%;
  max-height: 75vh;
  overflow-x: hidden;

  md-menu-item {
    height: $menu-item-height;
    min-height: $menu-item-height;
  }

  md-menu-item.header {
    height: $menu-item-header-height;
    min-height: $menu-item-header-height;
  }

  md-menu-item.checkbox {
    height: $menu-item-checkbox-height;
    min-height: $menu-item-checkbox-height;
  }

  md-menu-item.add-note {
    height: $menu-item-button-height;
    min-height: $menu-item-button-height;
  }

  md-menu-item.divider {
    height: 1px;
    min-height: 1px;
  }

  md-menu-item.project-divider {
    height: 3px;
    min-height: 3px;
  }

  md-menu-item.divider + md-menu-item.divider,
  md-menu-item.header + md-menu-item.divider {
    display: none;
  }

  md-menu-item.project-divider md-divider {
    width: 100%;
    height: 3px;
    background-color: rgba(51,103,214,0.4);
    border-color: transparent;
  }

  .project-header {
    width:100%;
    display: flex;
    align-items: center;
    height: $menu-item-header-height;
    line-height: $menu-item-header-height;
    min-height: $menu-item-header-height;
    margin: 0;
    padding: 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: rgb(41, 41, 41);
    background-color: rgba(51,103,214,0.05);
  }

  md-checkbox.project-info-menu-checkbox {
    display: flex;
    margin: 4px 8px;
    align-items: center;
    flex-direction: row;
    padding: 0 0 0 16px;

    .md-label {
      flex: 1;
      overflow: hidden;
      margin-left: 5px;
      display: flex;

      .label {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
  .md-button.ngb-project-info-sections-add-note {
    height: $menu-item-button-height;
    min-height: $menu-item-button-height;
    line-height: $menu-item-button-height;
  }
}
