@import 'variables';
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.view-service-detail {
  background: #f6f6f6;
  font-family: @font-family-base;
  .block-confirm {
    .jc-bs3-container {
      width: 100%;
      .jc-bs3-row {
        margin: auto;
        width: 100%;
        .jconfirm-box-container {
          width: 30%;
          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: 70px;
                    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: 50px;
                  }
                }
              }
            }
            .jconfirm-buttons {
              position: absolute;
              top: 50%;
              right: -20px;
              transform: translateY(-50%);
              width: 40px;
              height: 40px;
              button {
                border-radius: 50%;
                width: 40px;
                height: 40px;
                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: 100%;
            margin: auto;
          }
          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            width: 50%;
          }
        }
      }
    }
  }
  .sp-slides {
    .slick-list {
      .slick-track {
        .slick-slide {
          height: 400px;
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
            height: 265px;
          }

          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            height: 265px;
          }

          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            height: 265px;
          }

          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            height: 265px;
          }
          & > div {
            width: 100%;
            height: 100%;
            .sp-slide {
              width: 100%;
              height: 100%;
              padding-bottom: calc(100% * 1 / 5);
              position: relative;
              @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
                padding-bottom: calc(100% * 0.9 / 1);
              }

              @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
                padding-bottom: calc(100% * 0.9 / 1);
              }

              @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
                padding-bottom: calc(100% * 0.9 / 1);
              }

              @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
                padding-bottom: calc(100% * 0.3 / 1);
              }
              img {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                object-fit: cover;
                object-position: top;
              }
            }
          }
        }
      }
    }
  }
  .header{
    background-color: #F6F6F6;
    padding-bottom: 25px;
    .image-price {
      margin-bottom: 25px;
      @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-flow: row nowrap;
      }

      @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-flow: row nowrap;
      }

      @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-flow: row nowrap;
      }

      @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
        margin-bottom: 20px;
      }
    }
    .block-info-detail {
      display: flex;
      flex-flow: column wrap;
      justify-content: flex-start;
      align-items: flex-start;
      margin-left: 20px;
      @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
        margin-left: 10px;
      }

      @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
        margin-left: 10px;
      }

      @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
        margin-left: 10px;
      }

      h3 {
        margin-left: 0;
        margin-top: 0;
        font-weight: @font-weight-bold;
        font-family: @font-family-base;
      }
      .name{
        margin-top: 20px;
        margin-bottom: 10px;
      }
      .capa-dura{
        display: flex;
        margin-top: 20px;
        .duration{
          margin-left: 50px;
        }
      }
    }
    .price{
      margin: 30px 8px 0 0;
      span{
        font-size: @font-size-base;
        padding: 10px 30px;
      }
    }

  }
  .cover-image-service {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 16px 12px;
  }
  .wrapper-content {
    background: #fff;
    margin: 0px 46px 34px;
    border: 0px solid #ccc;
    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
      margin: 0;
    }

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

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

    @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
      margin: 0;
    }
    .training-info, .wrapper-trainer {
      width: 100%;
      padding-left: 20px;
      @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
        padding: 10px;
      }

      @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
        padding: 10px;
      }

      @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
        padding: 10px;
      }

      h4 {
        font-size: @font-size-h4;
        font-weight: @font-weight-bold;
        margin-bottom: 20px;
      }
      .block-content-training-info {
        .item-content {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 10px;
          span {
            color: @text-color-2;
            display: inline-block;
            font-size: @font-size-base;
          }
        }
      }
    }
    .wrapper-trainer {
      .trainer-block {
        display: grid;
        grid-column-gap: 20px;
        grid-row-gap: 10px;
        grid-template-columns: 1fr 1fr;
        .trainer-item {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          .img-block {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 20px;
            border: 2px solid #ffffff;
            img {
              width: 100%;
            }
          }
          p {
            font-size: @font-size-base;
            color: @text-color-2;
          }
        }
      }
    }
  }
  .service-content {
    margin-left: 14px;
    margin-bottom: 22px;
  }
  .trainer-service-detail {
    padding: 5px 0px;
  }
  .service-detail-training-info {
    margin-left: 13px;
  }
  .cover-image-service-trainer {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 11px;
  }
  .price-service {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 30px;
    background-color: #9189e3;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    margin: 16px 12px;
  }
  .trainer-service {
    margin-left: 13px;
    margin-top: 3px;
  }
  .wrapper-booking-event {
    width: 100%;
    padding: 30px 20px;
    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
      padding:  20px 0;
    }

    @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
      padding: 20px 0;
    }

    @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
      padding: 20px 0;
    }

    .book-form {
      overflow: hidden;
      display: flex;
      justify-content: space-around;
      align-items: flex-start;
      position: relative;
      .wrapper-book-form-item-1 {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        position: relative;
        @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
          flex-flow: column wrap;
        }

        @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
          flex-flow: column wrap;
        }

        @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
          flex-flow: column wrap;
        }

        @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
          flex-flow: column wrap;
        }
        &.remove-calendar {
          position: absolute;
          left: -100%;
          top: 0;
        }
        .select-bringing_anyone {
          -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
          transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
            width: 100% !important;
          }

          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            width: 100% !important;
          }

          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            width: 100% !important;
          }

          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            width: 100% !important;
          }
          i{
            display: none;
          }
          h4 {
            font-size: @font-size-medium;
            font-weight: bold;
            text-align: center;
            margin-bottom: 40px;
          }
          .wrapper-bringing-anyone {
            display: flex;
            justify-content: center;
            flex-flow: column wrap;
            width: 100%;
            align-items: center;
            margin-bottom: 30px;
            i{
              display: none;
            }
            .number-person{
              label{
                transform: translateX(14px);
                margin-top: 15px;
                font-size: 15px;
                font-weight: normal;
              }
            }
            .handle-counter{
              transform: translateX(50px);
              margin-top: 15px;
              @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
                transform: translateX(0);
                width: 80%;
              }

              @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
                transform: translateX(0);
                width: 80%;
              }

              @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
                transform: translateX(0);
                width: 80%;
              }

              @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
                transform: translateX(15px);
              }
            }
            .lcs_wrap{
              transform: translateX(30px);
            }
          }
          div {
            &:nth-child(2) {
              display: flex;
              justify-content: center;
              align-items: center;
              .btn-show-calendar {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                span {
                  display: inline-block;
                  margin-right: 0px;
                }
              }
            }
          }
          .lcs_cursor {
            z-index: 0;
          }
        }
        .select-date-picker {
          border: 1px solid #ddd;
          border-radius: 5px;
          background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
          background-size: 400% 400%;
          animation: gradientBG 15s ease infinite;
          transform: translateX(100%);
          -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
          transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
          display: none;
          padding: 20px 20px;
          &.active-picker {
            transform: translateX(0%);
            width: 50%;
            display: block;
            @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
              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
              width: 100%;
            }
            .field-calendarrate {
              .wrapper-calendar {
                .calendar {
                  &.hasDatepicker {
                    padding: 20px;
                    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
                      padding: 0;
                    }

                    @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
                      padding: 0;
                    }

                    @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
                      padding: 0;
                    }

                    @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
                      padding: 40px;
                    }
                  }
                }
              }
            }
          }
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
            padding: 30px 5px;
          }

          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            padding: 30px 5px;
          }

          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            padding: 30px 5px;
          }

          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            padding: 30px 20px;
          }
          .group-control {
            display: flex;
            justify-content: center;
            align-items: center;
            .btn-hide-calendar, .btn-book-now {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              span {
                display: inline-block;
                margin-left: 0px;
              }
            }
            .btn-book-now {
              margin-left: 16px;
            }
          }
        }
      }
      .form-input {
        background: #fff;
        transform: translateX(100%);
        display: none;
        width: 100%;
        height: 100%;
        padding: 10px;
        -webkit-transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        &.active-form-input {
            transform: translateX(0%);
          display: block;
        }
        label#location_id-lbl {
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
            margin-top: 15px;
          }

          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            margin-top: 15px;
          }

          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            margin-top: 15px;
          }
        }
        .field-location {
          .select2-container--default {
            .selection {
              .select2-selection--single {
                height: 35px;
                .select2-selection__rendered {
                  line-height: 35px;
                }
                .select2-selection__arrow {
                  height: 35px;
                }
              }
            }
          }
        }
        .group-control {
          display: flex;
          justify-content: center;
          align-items: center;
          margin-top: 23px;
          .btn-cancel-booking, .btn-save-booking {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            span {
              display: inline-block;
              margin-left: 0px;
            }
          }
          .btn-save-booking {
            margin-left: 16px;
          }
        }
        .wrapper-list-select {
          margin-top: 25px;
          h4 {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 10px;
          }
          .field-employeeimage {
            .list-employee {
              li {
                margin-bottom: 20px;
                .wrapper-employee {
                  img {
                  }
                }
                & + li {
                  margin-left: 15px;
                }
              }
            }
          }
        }
        .title-payment{
          text-align: center;
          margin: 0px 0px 45px 0px;
          color: @text-color-p7;
        }
        .field-paymentsimage {
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
            ul.list-payment {
              grid-template-columns: 1fr 1fr;
            }
          }

          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            ul.list-payment {
              grid-template-columns: 1fr 1fr;
            }
          }

          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            ul.list-payment {
              grid-template-columns: 1fr 1fr;
            }
          }
        }
      }
    }
    .ui-datepicker-title {
      color: white;
      font-size: 16px;
    }
    .ui-widget-header .ui-icon {
      //background-image: url(../../../../resources/js/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png);
    }
  }
  .service-detail-name-category {
    font-weight: bold;
  }
  .field-paymentsimage ul.list-payment {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .field-paymentsimage ul.list-payment li .wrapper-payment .non-selected i {
    margin-left: 0px;
  }
  .field-paymentsimage ul.list-payment li .wrapper-payment .payment-image {
    margin-left: 35px;
  }
  .field-employeeimage .wrapper-employee{
    height: 100%;
  }
}