@import 'variables';
.nb-woobooking-front-end {
  .view-list-service {
    .title {
      text-align: center;
      font-weight: @font-weight-bold;
      text-transform: uppercase;
      margin: auto;
      margin-bottom: 10px;
      color: @text-color-p7;
    }
    .des{
      text-align: center;
      font-size: @font-size-medium;
      color: @text-color-2;
      margin-bottom: 47px;
    }
    .wrapper-service-item {
      padding: 16px;
      border: 1px solid #e2e6ec;
      border-radius: 6px;
      cursor: pointer;
      margin-bottom: 24px;
      transition: all 0.3s ease;
      background-color: #ffffff;
      position: relative;
      height: 370px;
      overflow: hidden;
      &:hover {
        .layer-grey {
          opacity: 0.8;
        }
      }
      .layer-grey {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background-color: @text-color-p7;
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        align-items: center;
        opacity: 0;
        transition: 250ms all ease-in-out;
        .title-service-item {
          margin-top: 24px;
          color: #FFFFFF;
          font-size: 18px;
        }
        .view-more {
          margin-bottom: 24px;
          background-color: transparent;
          border: 1px solid #FFFFFF;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 235px;
          &:hover {
            background-color: #a2d5a4;
          }
          span {
            display: inline-block;
            margin-left: 8px;
            color: #ffffff;
          }
          i {
            color: #ffffff;
          }
        }
      }
      .layer-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        .block-img {
          width: 100%;
          min-height: 200px;
          background-position: center;
          background-size: cover;
        }
        .block-content {
          padding-left: 16px;
          .avatar-service-item {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #00aaee;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            span {
              color: #FFFFFF;
              font-size: 18px;
            }
          }

          .block-info-service {
            display: flex;
            justify-content: space-between;
            align-items: center;
            h3 {
              font-size: @font-size-h3;
              line-height: @line-height-computed-h3;
              a {
                font-size: 18px;
                color: @text-color-1;
              }
            }
            p {
              background-color: @text-color-p7;
              padding: 5px 15px;
              font-size: @font-size-base;
              color: @text-color-p4;
            }
          }
          .img-avatar-employee {
            width: 100%;
            margin-top: 10px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            .img-box {
              width: 40px;
              height: 40px;
              border-radius: 50%;
              overflow: hidden;
              border: 2px solid #FFFFFF;
              transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
              &+ .img-box {
                margin-left: -10px;
              }
              &:hover{
                transform: scale(1.2);
              }
              img {
                width: 100%;
              }
            }
          }
        }
      }
    }
  }
}