.view-list-service {
  background-color: #ffffff;
  padding: 50px 30px;
  h4{
    font-style: normal;
    font-weight: normal;
    font-size: 17px;
    line-height: 23px;
    text-transform: capitalize;
    color: #5867DD;
    margin-bottom: 30px;
    @media (max-width: 575.98px) {
      margin-top: 50px;
    }
    @media (min-width: 576px) and (max-width: 767.98px) {
      margin-top: 50px;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
      margin-top: 50px;
    }
  }

  .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-list-service-by-category {
    .list-service-by-category {
      display: none;
      &.active {
        display: block;
      }
      .wrapper-service-item {
        margin-bottom: 10px;
        border: 1px solid #EBEDF2;
        border-radius: 3px;
        cursor: pointer;
        padding: 15px 30px;
        background-color: #FAF9FC;
        transition: 250ms all ease-in-out;
        @media (max-width: 575.98px) {
          padding: 10px;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          padding: 15px;
        }
        @media (min-width: 992px) and (max-width: 1499.98px) {
          padding: 15px;
        }
        &:hover {
          background-color: #ffffff;
          box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        }
        .wrapper-service-content {
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: relative;
          @media (min-width: 460px) and (max-width: 575.98px) {
            flex-flow: row wrap;
          }
          @media (max-width: 459.98px) {
            flex-flow: row wrap;
          }

          .icheckbox_square-red{
            display: inline-block;
            vertical-align: middle;
            cursor: pointer;

          }
          .service-item-content {
            display: flex;
            flex-flow: column;
            align-items: flex-start;
            margin-left: 45px;
            margin-right: 15px;
            width: 25%;
            @media (max-width: 459.98px) {
              width: 40%;
            }
            @media (min-width: 460px) and (max-width: 575.98px) {
              width: 60%;
            }
            @media (min-width: 576px) and (max-width: 767.98px) {
              margin: 0 15px;
              width: 23%;
            }
            @media (min-width: 992px) and (max-width: 1499.98px) {
              width: 18%;
              margin-left: 10px;
              margin-right: 10px;
            }
            .name {
              font-style: normal;
              font-weight: bold;
              font-size: 13px;
              line-height: 17px;
              color: #5867DD;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              width: 100%;
            }
            .link-product{
              text-decoration: dashed;
              font-style: normal;
              font-weight: normal;
              font-size: 13px;
              line-height: 17px;
              color: #575962;
              width: 100%;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }
          }
          .img-box {
            width: 75px;
            height: 75px;
            @media (max-width: 575.98px) {
              width: 50px;
              height: 50px;
            }
            @media (min-width: 992px) and (max-width: 1499.98px) {
              width: 50px;
              height: 50px;
            }
            div {
              width: 100%;
              height: 100%;
              padding-bottom: calc(100% * 1 / 1);
              position: relative;

              img {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                object-position: center;
                object-fit: cover;
              }
            }
          }
          .duration-price{
            display: flex;
            margin-left: 15px;
            width: 25%;
            @media (max-width: 459.98px) {
              width: 60%;
              margin-top: 15px;
              margin-left: 0;
            }
            @media (min-width: 460px) and (max-width: 575.98px) {
              width: 70%;
              margin-top: 15px;
              margin-left: 0;
              padding-left: 50px;
            }
            .block-item {
              margin-left: 15px;
              margin-right: 15px;
              font-style: normal;
              font-weight: normal;
              font-size: 13px;
              line-height: 17px;
              color: #575962;
              @media (max-width: 459.98px) {
                margin-left: 0;
              }
              @media (min-width: 576px) and (max-width: 767.98px) {
                margin-left: 0;
              }
              span {
                display: inline-block;
                &:first-child {
                  margin-right: 5px;
                }
              }
            }
            .block-price{
              margin-left: 0px;
              color: #5867DD;
              font-style: normal;
              font-weight: normal;
              font-size: 13px;
              line-height: 17px;
              span {
                display: inline-block;
                &:first-child {
                  margin-right: 5px;
                }
              }
              @media (min-width: 576px) and (max-width: 767.98px) {
                display: flex;
                flex-flow: row wrap;
              }
            }
          }
          .wrapper-button {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-left: 40px;
            @media (max-width: 459.98px) {
              margin-top: 15px;
            }
            @media (min-width: 460px) and (max-width: 575.98px) {
              margin-top: 15px;
            }
            a {
              &:first-child {
                margin-right: 15px;
              }
              i {
                &::before {
                  color: #575962;
                }
              }
            }
          }
        }
      }
    }
  }
  .list-category {
    border-bottom: none;
    .wrapper-category-item {
      margin-bottom: 10px;
      border: 1px solid #EBEDF2;
      border-radius: 3px;
      cursor: pointer;
      width: 100%;
      padding: 30px;
      display: flex!important;
      flex-flow: row nowrap;
      justify-content: space-between;
      align-items: center;
      background-color: #FAF9FC;
      transition: 250ms all ease-in-out;
      @media (min-width: 992px) and (max-width: 1499.98px) {
        padding: 15px;
      }
      &.active, &:hover {
        background-color: #ffffff;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
      }
      .category-item-content {
        .name {
          font-style: normal;
          font-weight: bold;
          font-size: 13px;
          line-height: 17px;
          color: #5867DD;
          margin-bottom: 10px;
        }
        .number-service {
          span.label-info {
            color: white;
            background-color: #5867DD;
            padding: 5px 10px;
            border-radius: 0;
          }
        }
      }
      .wrapper-button-category {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        a.btn-category-edit, a.btn-category-remove {
          margin-left: 15px;
          i {
            &::before {
              color: #575962;
            }
          }
        }
      }
    }
    a.btn-add-category {
      padding: 45px 30px;
      text-decoration: none;
      font-style: normal;
      font-weight: normal;
      font-size: 13px;
      line-height: 17px;
      color: #5867DD;
      border: 1px dashed #5867DD;
      border-radius: 3px;
      display: flex;
      justify-content: center;
      align-items: center;
      @media (min-width: 992px) and (max-width: 1499.98px) {
        padding: 25px;
      }
      i {
        &::before {
          color: #5867DD;
          font-size: 18px;
        }
      }
      span {
        display: inline-block;
        margin-left: 8px;
      }
    }
  }
}
