@import "../assets/less/variables";
.field-employeeimageslider {
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid #F2F2F2;
  margin-bottom: 22px;
  position: relative;
  span {
    cursor: pointer;
    transition: 250ms all ease-in-out;
    &:hover {
      color: #00aaee;
    }
    &.left {
      position: absolute;
      top: 40%;
      left: -26px;
      transform: translateY(-40%) rotate(90deg);
      @media (max-width: 575.98px) {
        display: none;
      }
    }
    &.right {
      position: absolute;
      top: 40%;
      right: -22px;
      transform: translateY(-40%) rotate(-90deg);
      @media (max-width: 575.98px) {
        display: none;
      }
    }
  }
  .slick-disabled {
    display: none!important;
  }
  .list-employee {
    padding: 0;
    margin: 0;
    width: 100%;
    .wrapper-employee {
      position: relative;
      cursor: pointer;
      width: 100%;
      height: 100%;
      overflow: hidden;
      padding: 0 6px;
      @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
        height: 89%;
        margin-bottom: @margin-block-medium;
      }
      @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
        height: 89%;
        margin-bottom: @margin-block-medium;
      }
      @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
        height: 89%;
        margin-bottom: @margin-block-medium;
      }
      @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
        height: 89%;
        margin-bottom: @margin-block-medium;
      }
      .img-box {
        width: 100%;
        height: 90%;
        border-radius: 10px 10px 0px 0px;
        overflow: hidden;
        @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
          height: 89%;
        }
        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          height: 89%;
        }
        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          height: 89%;
        }
        @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
          height: 89%;
        }
        div {
          width: 100%;
          height: 100%;
          padding-bottom: calc(100% * 1 / 1);
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
            padding-bottom: calc(100% * 1 / 1);
          }
          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            padding-bottom: calc(100% * 1 / 1);
          }
          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            padding-bottom: calc(100% * 1 / 1);
          }
          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            padding-bottom: calc(100% * 1 / 1);
          }
          position: relative;
          img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-fit: cover;
            object-position: center;
          }
        }
      }
      & > p {
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        letter-spacing: 0.02em;
        text-transform: capitalize;
        color: #555555;
        padding: 10px 22px;
        border-radius: 0px 0px 10px 10px;
        overflow: hidden;
        background-color: #F6F6F6;
        width: 100%;
        white-space: nowrap;
        text-overflow: ellipsis;
        &.active {
          color: #FB646F;
        }
      }
      .selected {
        position: absolute;
        top: 5px;
        right: 25px;
        z-index: 10;
        color: #C88570;
        i {
          font-size: 20px;
        }
      }
    }
  }
}