@import "variables";
.field-employeeimage {
  ul.list-employee {
    padding: 0;
    margin: 0;

  }
  .wrapper-employee {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    @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-size: @font-size-base;
      font-weight: @font-weight-semibold;
      padding-bottom: @padding-btn-base-vertical;
      padding-top: @padding-btn-base-vertical;
      line-height: @line-height-computed;
      margin-bottom: 0!important;
      background-color: @background-color-gray-1;
    }
    .selected {
      position: absolute;
      top: 5px;
      left: 5px;
      z-index: 10;
      color: @background-color-pink;
      i {
        font-size: @font-size-base;
      }
    }
  }
}