.app-cmf-uwork {
  cursor: pointer;

  position: relative;

  /* transition: all 0.2s; */
  z-index: 1;

  width: 500px;
  margin-bottom: 10px;

  background: var(--app-bg-color-l1);
  border-radius: 10px;

  .app-cmf-uwork-inner {
    overflow: hidden;

    padding: 15px;
    padding-top: 11px;
    padding-bottom: 11px;

    border-bottom: solid 1px var(--border-primary-color);
  }

  .notify-wrapper-label {
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 94%;
    margin-bottom: 0;
    padding-right: 5px;
    padding-bottom: 0;
  }

  .notify-name {
    overflow: hidden;

    padding-right: 5px;

    font-size: 12px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-obj-name {
    padding-top: 5px;
    padding-bottom: 3px;

    font-size: 14px;
    font-weight: 500;
    color: #3f3930;
  }

  .notification-icon {
    position: relative;

    width: 16px;
    height: 16px;
    margin-right: 8px;

    font-family: 'Material Icons Outlined';

    /* margin-right: 15px; */
    font-size: 16px;
  }

  .notify-label {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
  }

  .wrapper-done-button-and-change {
    display: flex;
    align-items: baseline;
    margin-left: auto;
  }

  .uwork-alarm-button {
    display: block;

    width: 26px;
    height: 26px;

    opacity: 1;
    background-color: var(--border-primary-color);
    border-radius: 50%;

    &:hover {
      opacity: 0.7;
    }
  }

  .uwork-done-button {
    display: block;

    width: 26px;
    height: 26px;

    opacity: 1;
    background-color: var(--border-primary-color);
    border-radius: 50%;

    &:hover {
      opacity: 0.7;
    }
  }

  .task-icon {
    position: relative;
    top: 4px;
    margin-right: 5px;
  }

  .close-icon {
    position: absolute;
    top: 7px;
    right: 8px;
    display: none;
  }

  .alarm-icon {
    position: absolute;
    top: 3px;
    right: 10px;
    display: none;
  }

  .uwork-header {
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #2b2b2b;

    /* margin-bottom: 10px;
        margin-top: 8px; */
    .avatar,
    .details {
      float: left;
    }

    .avatar {
      height: 32px;
      margin-right: 15px;

      line-height: 32px;
      color: #333;
      text-align: center;

      mat-icon {
        font-size: 32px;
      }
    }

    .details {
      position: relative;
      font-size: 12px;
    }

    .details .uwork-from {
      color: #2b2b2b;

      .mat-icon {
        position: relative;
        top: 4px;
        font-size: 18px;
      }
    }

    .details .uwork-to {
      font-size: 12px;

      /* color:#707070; */
    }
  }

  .uwork-date,
  .uwork-options {
    color: #2b2b2b;

    /* position: absolute; */
  }

  .uwork-date {
    display: inline;
    font-size: 12px;
    vertical-align: top;
  }

  .uwork-options {
    top: 10px;
    right: 0;
  }

  .uwork-body {
    // color: #9C9FA2;
    display: flex;
    flex-direction: column;
    font-size: 12px;

    em {
      padding-right: 5px;
      font-weight: bold;
      font-style: normal;
    }

    .uwork-content {
      display: flex;
      flex-direction: row;
      align-self: center;
      justify-content: space-between;

      width: 100%;

      font-size: 14px;
      color: #2b2b2b;
    }

    .card-status {
      width: fit-content;
      padding-bottom: 5px;
      padding-left: 5px;
    }

    .text {
      color: rgb(34 34 34);
    }
  }
}

::ng-deep .uwork-body .text b {
  font-weight: 400;

  /* color: #a0a0a0; */
}

::ng-deep .uwork-body .text br + br {
  content: ' ';
  display: block;
  margin-bottom: 5px;
}

// .app-cmf-uwork:hover .app-cmf-uwork-inner {

/* background: linear-gradient(#F0F4F8, #fff); */

// }
.app-cmf-uwork.selected .uwork-alarm-shift-choices {
  display: inline-flex;

  /* width: 30px;
    transition: 1s all; */
}

.app-cmf-uwork.selected .alert-circle-icon {
  opacity: 1;
}

.app-cmf-uwork.selected .uwork-done-button {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  opacity: 1;
}

.app-cmf-uwork.selected .alarm-icon {
  display: block;
}

.app-cmf-uwork:hover .alarm-icon {
  display: block;
}

// .app-cmf-uwork:hover .uwork-done-button {
// max-width: 60px;
// min-width: 60px;
// width: 60px;
// opacity: 1;
// }

// .app-cmf-uwork:hover .uwork-alarm-shift-choices {

/* visibility: visible; */

/* display: block;
    transition-delay: 1s; */
// }

.app-cmf-uwork.selected .app-cmf-uwork-inner,
.app-cmf-uwork.selected .app-cmf-uwork-inner:hover {
  background: #f0f4f8;
}

.uwork-toolbar {
  position: absolute;
  right: 4px;
  bottom: 6px;
  display: none;
}

.app-cmf-uwork:hover .uwork-toolbar {
  display: block;
}

.uwork-alarm-shift {
  position: absolute;
  right: 11px;
  bottom: 44px;
}

.uwork-open-in-new {
  position: absolute;
  right: 11px;
  bottom: 44px;
  display: none;
}

.app-cmf-uwork:hover .uwork-open-in-new {
  display: block;
}

.uwork-alarm-shift button {
  display: none;
}

.uwork-alarm {
  width: 20px;
  height: 20px;
  margin-left: auto;

  line-height: 20px;
  color: black;
}

.uwork-done {
  color: black;
}

.uwork-progress {
  position: absolute;
  z-index: 5;
  top: -4px;
  right: 10px;

  color: #2b6ed9;
}

.icon-done-alarm {
  position: relative;
  top: 5px;
  right: -5px;
}

.uwork-alarm-shift-choices {
  display: flex;
  flex-direction: row;
  align-self: center;
  justify-content: space-between;
}

// .uwork-alarm-shift:hover .uwork-alarm-shift-choices {
// .uwork-alarm-shift-choices {

/* display: block; */
// }

.uwork-alarm-shift-choices ul {
  /* position: absolute;
    width: 99px;
    background: #f6f9fe;
    z-index: 100;
    box-shadow: 0 1px 2px #777;
    border-radius: 2px; */
  color: #a0a0a0;
}

.uwork-alarm-shift-choices ul,
.uwork-alarm-shift-choices ul li {
  display: inline;
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
}

// .uwork-alarm-shift-choices ul li {

/* display: inline-block;
    margin-right: 1px; */
// }

.uwork-alarm-shift-choices ul li a {
  /* width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 11px;
    text-align: center; */
  cursor: pointer;
  display: inline;
}

/*
.uwork-alarm-shift-choices ul li a:hover {
    background: #578be1;
    color: #fff;
    text-decoration: underline;
}
*/
.app-cmf-unread_cnt {
  position: absolute;
  top: 15px;
  right: 25px;

  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;

  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-left: 4px;
  padding-right: 4px;
  padding-left: 4px;

  color: white;

  background-color: rgb(0 120 212);
  border-radius: 8px;

  .app-cmf-unread_cnt-text {
    cursor: inherit;

    position: relative;

    overflow: hidden;
    display: inline;
    flex-grow: 0;
    flex-shrink: 0;

    font-size: 10px;
    font-weight: 400;
    line-height: 10px;
    color: rgb(255 255 255);
    text-align: center;
    text-overflow: ellipsis;
    white-space: pre;

    background-color: rgb(0 0 0 / 0%);
  }
}

.app-cmf-change {
  font-size: 24px;
  line-height: 14px;
  color: #3e80d7;
}

.cmf-avatar {
  width: 32px;
  height: 32px;

  font-size: 32px;
  line-height: 32px;
  color: #fff;
  text-align: center;

  background: #777;
  border-radius: 50%;

  mat-icon {
    display: inline-block;

    width: 24px;
    height: 24px;

    font-size: 24px !important;

    background-repeat: no-repeat;

    fill: currentcolor;
  }
}

.is-penalty:not(.is-closed) .uwork-content,
.is-penalty:not(.is-closed) .uwork-body {
  color: #d63031 !important;
}

.is-closed .uwork-content,
.is-closed .uwork-body {
  font-weight: 400;
  text-decoration: line-through !important;
}

.app-link-container {
  text-decoration: none;
}

.avatars {
  display: flex;
  justify-content: flex-end;

  .avatar {
    margin-top: 8px;
    margin-right: 5px;
  }
}

.app-wrapper-content-icons {
  display: flex;
  justify-content: space-between;

  .alert-circle-icon {
    position: relative;
    top: 8px;
    right: 5px;
  }
}

.uwork-content-wrapper {
  display: flex;
  flex-direction: row;
  align-self: center;
  justify-content: flex-end;
}

.cmf-comments-preview {
  padding: 20px 20px 5px;
}
