@import "../assets/less/variables";
.field-employeeimageslider {
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid #F2F2F2;
  margin-bottom: 22px;

  .slick-disabled {
    display: none!important;
  }
  .wrapper-employee-block {
    position: relative;
    width: 100%;
    .list-employee {
      padding: 0;
      margin: 0;
      width: 100%;
      .wrapper-employee {
        position: relative;
        cursor: pointer;
        width: 100%;
        height: 100%;
        border-radius: 5px;
        overflow: hidden;
        padding: 0 15px;
        @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%;
          @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 {
          text-align: center;
          font-weight: normal;
          font-size: 16px;
          line-height: 24px;
          background-color: #F2F2F2;
          padding: 10px 22px;
          &.active {
            color: #C88570;
          }
        }
        .selected {
          position: absolute;
          top: 5px;
          left: 25px;
          z-index: 10;
          color: #C88570;
          i {
            font-size: @font-size-base;
          }
        }
      }
    }
    span {
      cursor: pointer;
      transition: 250ms all ease-in-out;
      &:hover {
        color: #00aaee;
      }
      &.left-direction {
        position: absolute;
        top: 40%;
        left: -25px;
        transform: translateY(-40%) rotate(90deg);
        @media (max-width: 575.98px) {
          display: none;
        }
      }
      &.right-direction {
        position: absolute;
        top: 40%;
        right: -25px;
        transform: translateY(-40%) rotate(-90deg);
        @media (max-width: 575.98px) {
          display: none;
        }
      }
    }
  }
  .table-info-custom {
    td, th {
      padding: 10px 20px;
    }
  }
}