@wide-screen-up: ~'(min-width: 1600px)';
@wide-screen-down: ~'(min-width: 1200px) and (max-width: 1599px)';
@desktop-down: ~'(min-width: 992px) and (max-width: 1200px)';
@tablet-down: ~'(min-width: 768px) and (max-width: 992px)';
@phone-down: ~'(min-width: 576px) and (max-width: 768px)';
@small-phone-down: ~'(max-width: 576px)';
.view-list-employee {
  h5 {
    font-weight: bold;
  }
  .select2-container--default {
    width: 100% !important;
    margin-bottom: 30px;
    .selection {
      .select2-selection--single {
        width: 100%;
        height: 40px;
        .select2-selection__rendered {
          line-height: 40px;
        }
        .select2-selection__arrow {
          height: 40px;
        }
      }
    }
  }
  .wrapper-employee-item {
    display: flex;
    margin-bottom: 10px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    transition: 250ms all ease-in-out;
    padding: 10px;
    height: 130px;
    position: relative;
    .icheckbox_square-red {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 999;
    }
    &:hover {
      background-color: #f9f9f9;
    }
    .wrapper-employee-content {
      border-radius: 5px;
      display: flex;
      flex-flow: row nowrap;
      justify-content: flex-start;
      align-items: center;
      .employee-item-image {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 15px;
        div {
          width: 100%;
          padding-bottom: calc(100% * 90 / 90);
          position: relative;
          img {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-fit: cover;
            object-position: center;
          }
        }
      }
      .employee-item-content {
        width: 50%;
        p {
          margin-bottom: 0;
          .name {
            font-weight: bold;
          }
          .email, .mobile {
            font-weight: normal;
            @media @wide-screen-up {
              word-break: unset;
            }
            word-break: break-word;
          }
        }
      }
    }
  }
  .employee-action {
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-items: flex-end;
    .away {
      background-color: rgba(255, 21, 99, .1);
      color: #ff1563;
      padding: 4px 8px;
      border-radius: 3px;
      p {
        margin-bottom: 0;
      }
    }
    .btn-edit-employee {
      display: flex;
      justify-content: space-between;
      align-items: center;
      span {
        display: inline-block;
        margin-left: 8px;
      }
      i {
        font-size: 14px;
      }
    }
  }
}
