.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 15px;
  padding-bottom: 3px;
  padding-left: 10px;

  font-size: 13px;
  color: gray;

  border-bottom: 1px solid #ebebeb;

  .dots-menu {
    cursor: pointer;
    margin-right: 25px;
    visibility: hidden;
  }

  &:hover .dots-menu {
    visibility: visible;
  }

  &:first-child {
    padding-top: 20px;
  }

  &.not-pd {
    padding-top: 0;
  }

  .name-wrapp {
    display: flex;
  }

  .search-icon-in-section {
    cursor: pointer;
    margin-left: 10px;
    padding-top: 2px;

    .mat-icon {
      width: 13px;
      height: 13px;
      font-size: 13px;
    }
  }
}

.block {
  &.cmf-deal-rightbar {
    box-shadow: none;
  }

  &.card-min {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 425px;

    .wrapper .field .caption,
    .wrapper .field .value {
      font-size: 16px;
      color: #a1a1a1;
    }

    .wrapper .field .value {
      color: rgb(32 32 32);
    }

    .avatar {
      margin-right: 10px;
    }

    .card-action a {
      color: #a1a1a1;
    }
  }

  &:first-child {
    padding-top: 0;
  }

  &.inline {
    margin-bottom: 0;
    padding-bottom: 0;
    box-shadow: none;
  }

  .status-hint {
    padding: 15px;
    background: #ffffce;

    .hint-body {
      margin-bottom: 15px;
    }

    .close {
      cursor: pointer;
      text-decoration: underline;
    }
  }

  .show-hint {
    cursor: pointer;

    padding: 10px 20px;

    font-size: 13px;
    color: rgb(0 0 0 / 60%);

    background: rgb(0 0 0 / 3%);
  }

  .wrapper {
    &.free-padding {
      padding: 0;
    }

    h2 {
      margin-bottom: 10px;
    }

    .field {
      display: flex;

      .value {
        margin-left: 10px;
      }
    }

    &.inline {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 0;

      .field {
        display: inline-block;

        // width: 33%;
        margin-bottom: 10px;

        .caption {
          margin-bottom: 10px;
          padding-left: 2px;
          color: #8c8c8c;
        }

        .value {
          margin-left: 0;
        }
      }
    }

    .object-card-min {
      position: relative;
      top: -15px;
      left: -140px;
    }
  }

  &:first-child {
    border-top: none;
  }

  &.action {
    cursor: pointer;
    display: flex;
    align-items: center;

    &.create {
      .icon,
      .message {
        color: rgb(35 116 35);
      }
    }

    &.delete {
      .icon,
      .message {
        color: rgb(197 21 21);
      }
    }

    .icon {
      margin-right: 15px;
    }

    &:hover {
      background-color: rgb(0 0 0 / 2%);
    }
  }
}

.field {
  margin-bottom: 10px;
}

.alarm-date-icon {
  padding-right: 10px;
}
