@import "variables";
.view-search-service-list-layout {
  font-family: "Nunito", sans-serif;
  .title{
    font-style: normal;
    font-weight: bold;
    font-size: 31px;
    line-height: 48px;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    color: #666666;
    float: left;
    margin: 69px 0px 22px 39px;
  }
  .block-sorting-display{
    float: right;
    margin-top: 70px;
    margin-right: 19px;
    .block-display-button{
      ul{
        border: none;
        li{
          margin: 0;
          padding-right: 3px;
          a{
            width: 40px;
            height: 40px;
            border: 1px solid #E7E7E7;
            box-sizing: border-box;
            border-radius: 5px;
            i{
              display: flex;
              justify-content: center;
            }
          }
        }
        li.active{
          a{
            box-sizing: border-box;
            border-radius: 5px;
            width: 40px;
            height: 40px;
            background-color: #FB646F;
            i{
              display: flex;
              justify-content: center;
              color: #FFFFFF;
            }
          }
        }
      }
    }
  }


  .input-filter {
    display: block;
    vertical-align: top;
    padding: @padding-block-base-vertical-xlg @padding-block-base-horizontal @padding-block-base-vertical-lg @padding-block-base-horizontal;
    position: relative;
    box-sizing: border-box;
    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
      // 0 ~ 409
      margin-bottom: @margin-base-block-medium;
    }

    @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) {
      // 409 ~ 600
      margin-bottom: @margin-base-block-medium;
    }

    @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) {
      // 600 ~ 768
      margin-bottom: @margin-base-block-medium;
    }

    @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) {
      //768 ~992
      margin-bottom: @margin-base-block-medium;
    }


    .find_your_services{
      height: 265px;
      border: 1px solid #E7E7E7;
      box-sizing: border-box;
      border-radius: 10px;
      margin-bottom: 30px;
      h4{
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 32px;
        letter-spacing: 0.02em;
        text-transform: capitalize;
        color: #222A3E;
        padding-top: 20px;
        padding-left: 30px;
      }
      .search{
        position: relative;
        margin: 20px 46px 0px 15px;
        background: #FFFFFF;
        box-sizing: border-box;
        border-radius: 10px;
        height: 40px;
        i{
          position: absolute;
          top: 50%;
          right: -2px;
          transform: translateY(-50%);
          z-index: 10;
          font-size: 15px;
          color: #B0B0B0;
        }
        input{
          &::placeholder{
            font-style: normal;
            font-weight: normal;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0.02em;
            color: #B0B0B0;
          }
        }
      }
      .list-location, .list-employee {
        width: 100%;
        position: relative;
        .arrow-down {
          position: absolute;
          top: 55px;
          right: 25px;
          z-index: 1;
          color: @text-color-2;
        }

        .select2-container--default {
          width: 100% !important ;
          .select2-selection--single{
            background: #FFFFFF;
            border: 1px solid #E7E7E7;
            box-sizing: border-box;
            box-shadow: 0px 2px 15px rgba(58, 58, 58, 0.1);
            border-radius: 10px;
            height: 40px;
            margin: 20px 30px 0px 30px;
            position: relative;
            .select2-selection__rendered{
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0.02em;
              color: #B0B0B0;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              margin-left: 10px;
            }
            .select2-selection__arrow{
              top: 50%;
              transform: translateY(-50%);
              font-size: 15px;
              line-height: 17px;
              color: #B0B0B0;
              right: 10px;
            }
          }
          .select2-selection--multiple {
            border-radius: @border-radius-base;

            .select2-selection__rendered {
              height: auto;
            }
          }
        }
      }
      .list-location{

      }
    }
    .list-category {
      border: 1px solid #E7E7E7;
      box-sizing: border-box;
      border-radius: 10px;
      h4 {
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 32px;
        letter-spacing: 0.02em;
        text-transform: capitalize;
        color: #222A3E;
        padding-top: 20px;
        padding-left: 30px;
        padding-bottom: 14px;
      }
      & > ul.ul-list-category {
        list-style: none;
        margin-bottom: 9px;
        & > li {
          margin-bottom: 20px;
          .block-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            & > label.label-category {
              font-size: 16px;
              font-style: normal;
              color: #666666;
              font-weight: normal;
              line-height: 24px;
              letter-spacing: 0.02em;
              cursor: pointer;
              transition: 250ms all ease-in-out;
              display: flex;
              align-items: center;
              justify-content: flex-start;
              margin-left: 10px;
              &:hover {
                color: #C88570;
                .icheckbox_minimal {
                  background-position: -21px -1px;
                  border: 1px solid #C88570;
                }
              }
              .icheckbox_minimal {
                width: 15px;
                height: 15px;
                margin-right: 15px;
                border: 1px solid #E7E7E7;
                box-sizing: border-box;
                border-radius: 5px;

                &.checked {
                  background-position: -42px -2px !important;
                  input{
                    &::before{
                      color: #FB646F;
                    }
                  }
                }

                &:hover {
                  background-position: -21px -1px;
                  border: 1px solid #C88570;
                }
              }
            }
            i.icon-nb-down-arrow {
              font-size: 13px;
              cursor: pointer;
              transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
              margin-right: 30px;
              color: #666666;
              &:hover {
                color: #C88570;
              }
              &.active {
                transform: rotate(-90deg);
              }
            }
          }
          .ul-list-service {
            margin-left: 10px;
            list-style: none;
            & > li {
              margin-bottom: 10px;
              & > label.label-service {
                font-size: 16px;
                color: #666666;
                font-weight: normal;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: flex-start;
                transition: 250ms all ease-in-out;
                &:hover {
                  color: #C88570;
                  .icheckbox_minimal {
                    width: 15px;
                    height: 15px;
                    margin-right: 15px;
                    border: 1px solid #E7E7E7;
                    box-sizing: border-box;
                    border-radius: 5px;
                  }
                }

                .icheckbox_minimal {
                  width: 15px;
                  height: 15px;
                  margin-right: 15px;
                  border: 1px solid #E7E7E7;
                  box-sizing: border-box;
                  border-radius: 5px;

                  &.checked {
                    background-position: -42px -2px !important;
                  }

                  &:hover {
                    background-position: -21px -1px;
                    border: 1px solid #C88570;
                  }
                }
              }
            }
          }
        }
      }
    }


  }

  .wrapper-search-result {
    width: 100%;
    vertical-align: top;
    height: 100%;

    .search {
      width: 100%;
      height: 40px;
      box-shadow: 5px 5px 13px -5px rgba(0, 0, 0, 0.1);
      position: relative;
      margin-bottom: @margin-bottom-block-xlarge;

      input[name="keyword"] {
        width: 100%;
        height: 100%;
      }

      .icon-keyword-search {
        position: absolute;
        font-size: 15px;
        color: @icon-color-s1;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
        z-index: 1;
      }
    }

    .wrapper-search-result-body {
      padding: 10px;
      display: table;
      width: 100%;
      margin-top: 45px;
      height: 50px;
      background: #FFFFFF;
      box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.05), 0px 4px 10px rgba(0, 0, 0, 0.05);
      border-radius: 10px;
      margin-bottom: 28px;
      position: relative;
      display: flex;
      .number-service {
        font-style: normal;
        font-weight: normal;
        line-height: 24px;
        letter-spacing: 0.02em;
        color: #666666;
        font-size: 16px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 15px;
        font-family: "Nunito", sans-serif;
      }
      .pull{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 17px;
        display: flex;
        p{
          font-style: normal;
          font-weight: normal;
          line-height: 24px;
          letter-spacing: 0.02em;
          color: #333333;
          font-size: 16px;
          font-family: "Nunito", sans-serif;
          margin-right: 8px;
        }
        span{
          color: #666666;
          font-style: normal;
          font-weight: normal;
          line-height: 24px;
          letter-spacing: 0.02em;
          font-size: 16px;
          margin-right: 12px;
        }
        i{
          font-size: 15px;
          color: #666666;
        }
      }
    }


    .list-result {
      min-height: 700px;
      box-sizing: border-box;

      &.searching {
        background: url("../images/searching.png");
      }

      .wrapper-service-item-info {
        position: relative;
        @media (min-width: 576px) and (max-width: 767.98px) {
          .col-sm-2 {
            &:nth-child(3) {
              position: absolute;
              top: 0;
              right: 0;
            }
          }
        }
        @media (max-width: 575.98px) {
          .col-sm-2 {
            &:nth-child(1) {
              display: none;
            }
            &:nth-child(3) {
              position: absolute;
              top: 0;
              right: 0;
            }
          }
        }
        .wrapper-label-price{
          padding: 20px 45px;
          .event_price_format{
            background: #FFFFFF;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            color: #666666;
            padding: 10px 40px;
            float: right;
            span{
              font-style: normal;
              font-weight: 600;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #666666;
            }
          }
          ul.list-rating-star {
            list-style: none;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 10px;
            margin-top: 5px;
            float: right;
            .item-star {
              &+.item-star {
                margin-left: 5px;
              }
              i {
                font-size: 15px;
                &.fas {
                  color: #FFDC00;;
                }
                &.far {
                  color: #D7DBE3;
                }
              }
            }
          }
          .wrapper-button-action{
            border: 1px solid #E7E7E7;
            box-sizing: border-box;
            border-radius: 10px;
            width: 129px;
            height: 40px;
            float: right;
            margin-top: 30px;
            .btn-booknow{
              position: relative;
              a{
                font-style: normal;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0.02em;
                text-transform: capitalize;
                color: #222A3E;
                text-decoration: none;
                padding-left: 25px;
              }
            }
          }
        }

      }

      .service-item {
        box-shadow: 0 0 16px 1px rgba(226, 230, 236, 0.9);
        margin-bottom: @margin-bottom-block-large;
        border-radius: 10px;
        .img-box-service {
          width: 100%;
          height: 209px;
          overflow: hidden;
          border-radius: 10px 0px 0px 10px;
          @media (min-width: 576px) and (max-width: 767.98px) {
            width: 100px;
            height: 100px;
            margin: 0 auto;
          }
          & > 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-fit: cover;
              object-position: center;
            }
          }

        }

        .wrapper-center {
          padding: 23px 0px;
          h4 {
            font-size: @font-size-h4;
            font-weight: @font-weight-semibold;
            line-height: @line-height-computed-h4;
            color: @text-color-1;
            a {
              text-decoration: none;
              font-style: normal;
              font-weight: 600;
              font-size: 20px;
              line-height: 32px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #222A3E;
            }
          }
          .line-content {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 4px;
            @media (max-width: 575.98px) {
              flex-flow: column wrap;
              align-items: flex-start;
            }
            & > span.property {
              font-weight: normal;
              color: #666666;
              font-size: 12px;
              display: flex;
              align-items: center;
              justify-content: flex-start;
              & + span.property {
                margin-left: 20px;
                @media (max-width: 575.98px) {
                  margin-left: 0;
                  margin-top: 10px;
                }
              }
              & > span {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                font-style: normal;
                font-weight: normal;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0.02em;
                color: #B0B0B0;
                &:first-child {
                }
                & > span {
                  display: inline-block;
                  &:first-child {
                    margin-right: 10px;
                  }
                }
                i {
                  color: #cc1b6f;
                  font-size: 12px;
                  margin-right: 10px;
                }
              }

            }
          }
          .duration {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 10px;
            @media (max-width: 575.98px) {
              flex-flow: column wrap;
              align-items: flex-start;
            }
            & > span.property {
              font-weight: normal;
              color: #666666;
              font-size: 12px;
              display: flex;
              align-items: center;
              justify-content: flex-start;
              & + span.property {
                margin-left: 20px;
                @media (max-width: 575.98px) {
                  margin-left: 0;
                  margin-top: 10px;
                }
              }
              & > span {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                font-style: normal;
                font-weight: normal;
                font-size: 16px;
                line-height: 24px;
                letter-spacing: 0.02em;
                color: #666666;
                &:first-child {
                }
                & > span {
                  display: inline-block;
                  &:first-child {
                    margin-right: 10px;
                  }
                }
                i {
                  color: #666666;
                  font-size: 15px;
                  margin-right: 10px;
                }
              }

            }
          }
          .location {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-bottom: 10px;
            span {
              display: inline-block;
              font-weight: normal;
              color: #666666;
              font-style: normal;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0.02em;
              &:first-child {
                margin-right: 10px;
              }
              i {
                color: #666666;
                font-size: 15px;
              }
            }
          }
        }
      }

      .wrapper-employee {
        .list-employee-image {
          padding: 0;
          margin: 0;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          li {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            overflow: hidden;
            border: @border-gray;
            margin: 0;
            background-color: #ffffff;
            & + li {
              margin-left: -5px;
            }

            .employee-image {
              width: 100%;
            }
          }
        }
      }
    }

    .pagination-list-service {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      li {
        margin: 0;
        a {
          text-decoration: none;
        }
      }
    }
  }
}