@import 'variables';
.view-service-detail-new {
  .bread-crumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    a.link-category {
      font-size: 16px;
      text-decoration: none;
      color: #5280cc;
      transition: 250ms all ease-in-out;
      &:hover {
        color: #2a508e;
      }
    }
    i {
      font-size: 12px;
      transform: rotate(-90deg);
      margin-left: 10px;
      margin-right: 10px;
    }
    span {
      font-size: 16px;
      font-weight: normal;
      color: #666666;
      display: inline-block;
    }
  }
  .block-alert {
    .jc-bs3-container {
      width: 100%;
      .jc-bs3-row {
        margin: auto;
        width: 100%;
        .jconfirm-box-container {
          width: 22%;
          left: 50%;
          transform: translateX(-50%)!important;
          .jconfirm-box {
            height: 150px;
            padding: 20px;
            position: relative;
            overflow: unset;
            .jconfirm-content-pane {
              height: 100% !important;
              margin-bottom: 0;
              .jconfirm-content {
                height: 100%;
                position: relative;
                & > div {
                  position: absolute;
                  width: 100%;
                  top: 50%;
                  left: 0;
                  transform: translateY(-50%);
                  .wrapper-alert {
                    width: 100%;
                    display: flex;
                    flex-flow: column wrap;
                    align-items: flex-start;
                    padding-left: 80px;
                    span.title-box {
                      color: #FB646F;
                      font-size: 20px;
                      font-weight: 600;
                      display: inline-block;
                      margin-bottom: 10px;
                    }
                    span.content-box {
                      color: #666666;
                      font-size: 16px;
                    }
                  }
                  i.icon-nb-hand {
                    position: absolute;
                    top: 50%;
                    left: 0;
                    transform: translateY(-50%) rotate(45deg);
                    color: #FB646F;
                    font-size: 56px;
                  }
                }
              }
            }
            .jconfirm-buttons {
              position: absolute;
              top: 50%;
              right: -21px;
              transform: translateY(-50%);
              width: 45px;
              height: 45px;
              button {
                border-radius: 50%;
                width: 45px;
                height: 45px;
                padding: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                i {
                  font-size: 16px;
                }
              }
            }
          }
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
            width: 100%;
            margin: auto;
          }
          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) {
            width: 100%;
            margin: auto;
          }
          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            width: 60%;
            margin: auto;
          }
          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            width: 40%;
          }
          @media (min-width: @screen-md-min)  and (max-width: @screen-md-max) { // 992 ~ 1200
            width: 36%;
          }
        }
      }
    }
  }
  .block-title-service {
    margin-bottom: 20px;
    h2 {
      margin: 0;
      font-weight: normal;
      font-size: 31px;
      line-height: 48px;
      color: #333333;
      margin-bottom: 6px;
    }
    p {
      font-weight: normal;
      font-size: 12px;
      line-height: 16px;
      color: #666666;
    }
  }
  .wrapper-gallery-slider {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    .arrow-prev, .arrow-next {
      cursor: pointer;
      position: absolute;
      top: 40%;
      width: auto;
      color: #7b7a80;
      border-radius: 0 3px 3px 0;
      user-select: none;
      -webkit-user-select: none;
      text-decoration: none;
      transition: 250ms all ease-in-out;
      z-index: 999;
      i {
        font-size: 20px;
      }
      &:hover {
        color: #00aaee;
      }
    }
    .arrow-prev {
      left: 15px;
      transform: translateY(-40%) rotate(90deg);
      @media (max-width: 575.98px) {
        display: none;
      }
    }
    .arrow-next {
      right: 15px;
      transform: translateY(-40%) rotate(-90deg);
      @media (max-width: 575.98px) {
        display: none;
      }
    }
    .block-gallery-slider-large {
      position: relative;
      width: 100%;
      height: 450px;
      @media (max-width: 575.98px) {
        height: 50%;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        height: 390px;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        height: 531px;
      }
      .img-gallery-large {
          width: 100%;
          height: 100%;
          div {
            width: 100%;
            height: 100%;
            padding-bottom: calc(100% * 450/ 790);
            position: relative;
            img {
              width: 100%;
              height: 100%;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              object-position: center;
              object-fit: cover;
            }
          }
        }
    }
    .block-gallery-slider-small {
      width: 100%;
      height: 110px;
      margin-top: 30px;
      @media (max-width: 575.98px) {
        height: 50%;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        height: 100px;
      }
      @media (min-width: 768px) and (max-width: 991.98px) {
        height: 138px;
      }
      .slick-list {
        height: 100%;
        .slick-track {
          height: 100%;
          .slick-slide {
            margin-left: 15px;
            margin-right: 15px;
            &.slick-current {
              .gallery-img-box {
                opacity: 1;
                img {
                  border: 2px solid #00AFEA;
                }
              }
            }
            .gallery-img-box {
              width: 100%;
              height: 100%;
              transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
              cursor: pointer;
              opacity: 0.5;
              &:hover {
                opacity: 1;
              }
              div {
                width: 100%;
                height: 100%;
                padding-bottom: calc(100% * 110 / 170);
                position: relative;
                img {
                  width: 100%;
                  height: 100%;
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%);
                  object-position: center;
                  object-fit: cover;
                }
              }
            }
          }
        }
      }

    }
  }
  .service-information {
    margin-bottom: 47px;
    p {
      span {
        display: inline-block;
        margin-bottom: 10px;
      }
    }
  }
  .wrapper-block-check-out {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    width: 100%;
    border: 1px solid #E7E7E7;
    border-radius: 5px;
    padding: 26px 100px 30px 100px;
    margin-bottom: 80px;
    @media (max-width: 575.98px) {
      padding: 20px;
    }
    .infor-payment-left, .info-payment-right {
      width: 100%;
      margin-bottom: 28px;
      p {
        font-size: 16px;
        line-height: 24px;
        color: @text-color-1;
        margin-bottom: 20px;
      }
    }
    .block-select-payment, .block-select-quantity {
      padding-top: 24px;
      padding-bottom: 30px;
      border-bottom: 1px solid #E7E7E7;
      h6 {
        font-size: 16px;
        line-height: 24px;
        font-weight: normal;
        color: #666666;
        margin: 0;
        margin-bottom: 27px;
        text-transform: none;
      }
      label.error {
        font-size: 12px;
        color: red;
        font-style: italic;
        margin-top: 5px;
        margin-bottom: 0;
      }
    }
    .block-check-out {
      width: 100%;
      padding-bottom: 30px;
      border-bottom: 1px solid #E7E7E7;
      label.error {
        font-size: 12px;
        color: red;
        font-style: italic;
        margin-top: 5px;
        margin-bottom: 0;
      }
      label#phone-error {
        margin-top: 0;
      }
      .input-firstname, .input-lastname, .input-email, .input-phone {
        input[type="text"] {
          border-radius: @border-radius-base;
        }
      }
      .input-email {
        @media (max-width: 575.98px) {
          margin-bottom: 30px;
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          margin-bottom: 30px;
        }
      }
      .input-firstname, .input-lastname {
        margin-bottom: 30px;
      }
    }
    .block-payment-item {
      padding-top: 53px;
      h4 {
        font-weight: normal;
        font-size: 20px;
        line-height: 32px;
        color: #333333;
        margin-bottom: 24px;
      }
      .detail-payment-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
        & > span {
          font-weight: normal;
          font-size: 16px;
          line-height: 24px;
          display: inline-block;
          color: #666666;
          margin-bottom: 25px;
        }
      }
      .total-cost {
        background-color: #333333;
        padding: 13px 15px;
        border-radius: 5px;
        margin-bottom: 30px;
        span {
          color: #FFFFFF;
          margin-bottom: 0;
        }
      }
    }
    .wrapper-btn-checkout {
      display: flex;
      justify-content: center;
      align-items: center;
      @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
        flex-flow: column wrap;
        margin-top: @margin-block-large;
      }
      @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
        flex-flow: column wrap;
        margin-top: @margin-block-large;
      }
      @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
        flex-flow: column wrap;
        margin-top: @margin-block-large;
      }
      @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
        margin-top: @margin-block-large;
      }
      .btn-cancel {
        transition: 250ms all ease-in-out;
        @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
          width: 100%;
        }
        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          width: 100%;
        }
        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          width: 100%;
        }
        @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
        }
        span {
          font-weight: @font-weight-semibold;
          font-size: @font-size-base;
        }

      }
      .btn-book-now, .btn-add-to-cart {
        margin-left: @margin-base-block-small;
        @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
          width: 100%;
          margin-left: 0;
          margin-top: @margin-base-block-small;
        }
        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          width: 100%;
          margin-left: 0;
          margin-top: @margin-base-block-small;
        }
        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          width: 100%;
          margin-left: 0;
          margin-top: @margin-base-block-small;
        }
        span {
          font-weight: @font-weight-semibold;
          font-size: @font-size-base;
        }
      }
    }
  }
  .block-booking-information {
    width: 100%;
    border: 1px solid #E7E7E7;
    border-radius: 5px;
    padding: 22px 100px 30px 100px;
    margin-bottom: 30px;
    @media (max-width: 575.98px) {
      padding: 20px;
    }
    h5 {
      font-weight: normal;
      font-size: 20px;
      line-height: 32px;
      color: #333333;
      margin-bottom: 30px;
      text-align: center;
    }
  }
  .block-rating-service {
    margin-bottom: 25px;
    @media (max-width: 575.98px) {
      padding-top: 30px;
    }
    @media (min-width: 576px) and (max-width: 767.98px) {
      padding-top: 30px;
    }
    @media (min-width: 768px) and (max-width: 991.98px) {
      padding-top: 30px;
    }
    .block-rating-left {
      width: 100%;
      h6 {
        margin: 0;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        color: #000000;
        margin-bottom: 25px;
        text-align: center;
        text-transform: none;
      }
      p {
        font-size: 31px;
        color: #000000;
        text-align: center;
        font-weight: bold;
      }
      .block-rating {
        display: flex;
        flex-flow: column wrap;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 20px;
        ul.list-rating-star {
          list-style: none;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .item-star {
            margin: 0;
            &+.item-star {
              margin-left: 5px;
            }
            i {
              font-size: 10px;
              &.fas {
                color: #FFDC00;;
              }
              &.far {
                color: #D7DBE3;
              }
            }
          }
        }
        .rating-review {
          span {
            font-weight: normal;
            font-size: 12px;
            line-height: 16px;
            color: #666666;
          }
        }
      }
    }
    .block-rating-right {
      border-left: 1px solid #E7E7E7;
      width: 100%;
      padding-left: 30px;
      .item-rating {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-flow: row nowrap;
        p {
          font-weight: normal;
          font-size: 12px;
          line-height: 16px;
          color: #666666;
        }
        ul.list-rating-star {
          list-style: none;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .item-star {
            margin: 0;
            &+.item-star {
              margin-left: 5px;
            }
            i {
              font-size: 10px;
              &.fas {
                color: #FFDC00;;
              }
              &.far {
                color: #D7DBE3;
              }
            }
          }
        }
      }
    }
  }
  .block-location-info {
    padding-bottom: 30px;
    border: 1px solid #F2F2F2;
    .map-block {
      width: 100%;
      height: 270px;
      margin-bottom: 18px;
      iframe {
        width: 100% !important;
        height: 100% !important;
      }
    }
    h5 {
      font-weight: normal;
      font-size: 20px;
      line-height: 32px;
      color: #333333;
      margin-bottom: 7px;
    }
    p {
      font-weight: normal;
      font-size: 12px;
      line-height: 16px;
      color: #666666;
      margin-bottom: 22px;
    }
    .block-social-icon {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-flow: row nowrap;
      a.item-social {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #E7E7E7;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        text-decoration: none;
        &+.item-social {
          margin-left: 10px;
        }
        i {
          font-size: 14px;
          color: #000000;
          transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        &:hover {
          border: 1px solid #C88570;
          background-color: #ffffff;
          i {
            color: #C88570;
          }
        }
      }
    }
  }
  .block-info-working-time {
    margin-top: 25px;
    .work-time-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
      span {
        display: inline-block;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        color: #333333;
      }
    }
  }
  .block-review-by-customer {
    border-top: 1px solid #E7E7E7;
    position: relative;
    h4 {
      font-weight: normal;
      font-size: 25px;
      line-height: 40px;
      color: #333333;
      background-color: #ffffff;
      width: 70%;
      position: absolute;
      top: -20px;
      left: 0;
      span {
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        color: #666666;
      }
    }
    .block-review-item {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      padding-top: 100px;
      padding-bottom: 30px;
      border-bottom: 1px solid #E7E7E7;
      .img-block {
        width: 170px;
        height: 170px;
        border-radius: 3px;
        margin-right: 30px;
        div {
          width: 100%;
          height: 100%;
          padding-bottom: calc(100% * 170 / 170);
          position: relative;
          img {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            object-position: center;
            object-fit: cover;
          }
        }
      }
      .block-content {
        margin-right: 8px;
        width: 50%;
        h5 {
          font-weight: normal;
          font-size: 20px;
          line-height: 32px;
          color: #333333;
        }
        ul.list-rating-star {
          list-style: none;
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .item-star {
            margin: 0;
            &+.item-star {
              margin-left: 5px;
            }
            i {
              font-size: 10px;
              &.fas {
                color: #FFDC00;;
              }
              &.far {
                color: #D7DBE3;
              }
            }
          }
        }
        p {
          font-weight: normal;
          font-size: 16px;
          line-height: 24px;
          color: #888888;
          display: -webkit-box;
          -webkit-line-clamp: 3;
          -webkit-box-orient: vertical;
          height: 72px;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
      .block-time-review {
        h6 {
          font-weight: normal;
          font-size: 16px;
          line-height: 24px;
          color: #999999;
          text-transform: none;
          margin: 0;
        }
      }
    }
  }
}