@import "../assets/less/variables";
.field-list-event-of-service {
  .block-event-item {
    background-color: #F2F2F2;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 11px 30px 22px 30px;
    .service-image-box {
      width: 89px;
      height: 89px;
      border-radius: 50%;
      overflow: hidden;
      margin: auto;
      margin-top: 19px;
      @media (max-width: 575.98px) {
        margin-left: 0                                                                                                          ;
      }
      @media (min-width: 576px) and (max-width: 767.98px) {
        margin-left: 0;
      }
      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;
        }
      }
    }
    .row {
      &.main-event-item {
        cursor: pointer;
        margin-bottom: 20px;
        @media (max-width: 575.98px) {
          padding-bottom: @padding-base-vertical;
          display: flex;
          flex-flow: row wrap;
          justify-content: space-between;
          align-items: flex-start;
          .col-md-2 {
            order: 1;
            width: 49%;
            &:last-child {
              order: 2;
            }
          }
          .col-md-8 {
            order: 3;
            width: 100%;
          }
        }
        @media (min-width: 576px) and (max-width: 767.98px) {
          padding-bottom: @padding-base-vertical;
          display: flex;
          flex-flow: row wrap;
          justify-content: space-between;
          align-items: flex-start;
          .col-md-2 {
            order: 1;
            width: 50%;
            &:last-child {
              order: 2;
            }
          }
          .col-md-8 {
            order: 3;
          }
        }
        .wrapper-event-content {
          @media (max-width: 575.98px) {
            margin-top: 12px;
          }
          @media (min-width: 576px) and (max-width: 767.98px) {
            margin-top: 12px;
          }
          &.active {
            margin-bottom: 10px;
          }
          .header-event-content {
            h3 {
              font-style: normal;
              font-weight: normal;
              font-size: 31px;
              line-height: 48px;
              color: #333333;
              margin-bottom: 14px;
            }
          }
          .footer {
            p {
              font-weight: normal;
              font-size: 12px;
              line-height: 16px;
              color: #666666;
              &:first-child {
                margin-bottom: 29px;
                @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
                  margin-bottom: 0;
                  display: flex;
                  flex-flow: column wrap;
                  justify-content: center;
                  align-items: flex-start;
                  & > span {
                    display: inline-block;
                  }
                }
              }
              &:last-child {
                width: 100%;
                & > span {
                  display: inline-block;
                  width: 100%;
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  &:first-child {
                    margin-right: 0;
                  }
                }
              }
              span {
                display: inline-block;
                font-weight: normal;
                font-size: 12px;
                line-height: 16px;
                i {
                  font-weight: normal;
                  font-size: 12px;
                  margin-right: 10px;
                  color: #C88570;
                }
                &:first-child {
                  margin-right: 90px;
                }
              }
            }
          }
        }
        .label-price {
          .wrapper-label {
            margin-top: 8px;
            display: flex;
            justify-content: flex-end;
            align-items: flex-start;
            @media (max-width: 575.98px) {
              margin-top: 45px;
            }
            @media (min-width: 576px) and (max-width: 767.98px) {
              margin-top: 45px;
            }
            .sticky {
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              color: #FFFFFF;
              padding: 3px 18px;
            }
          }
        }
      }
      &.row-button-action {
        .wrapper-button-action {
          border-top: 1px solid #FFFFFF;
          padding-top: 9px;
          &.active {
            border-bottom: 0.5px solid #999999 ;
          }
          .btn-booknow {
            width: 100%;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 12px;
            &.hidden {
              display: none;
              transition: all 0.3s ease-in-out;
            }
            &:hover {
              span, i {
                color: #C88570;
              }
            }
            span {
              display: inline-block;
              margin-right: 10px;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              color: #333333;
              transition: 250ms all ease-in-out;
            }
            i {
              color: #333333;
              font-size: 16px;
              transition: 250ms all ease-in-out;
            }
          }
        }
      }
      .event-item-description {
        width: 100%;
        padding-bottom: @padding-block-base-vertical;
        p {
          color: @text-color-1;
          padding-top: @padding-block-base-vertical;
          margin-bottom: 10px;
        }
        .img-box-event {
          width: 100%;
          padding-bottom: @padding-block-base-vertical;
          .img-box-event-item {
            display: inline-block;
            overflow: hidden;
            margin-bottom: 10px;
            width: 100%;
            height: 180px;
            @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409
              height: 300px;
            }

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

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

            @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
              height: 200px;
            }
            & > div {
              width: 100%;
              height: 100%;
              padding-bottom: calc(100% * 168 /180);
              position: relative;
              img {
                width: 100%;
                height: 100%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                object-fit: cover;
                object-position: center;
              }
            }
          }
        }
        .block-description-event {
          padding-top: @padding-block-base-vertical;
          h4 {
            font-size: @font-size-h4;
            font-weight: @font-weight-bold;
          }
        }
      }
      .block-order-event-item {
        padding-top: @padding-block-base-vertical;
        width: 100%;
        border-top: @border;
        display: block;
        .left-content-book {
          h4 {
            font-size: @font-size-h4;
            font-weight: @font-weight-bold;
            @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) { // 0 ~ 409

            }

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

            }

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

            }

            @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992

            }
          }
        }
        .right-content-book {
          p {
            font-weight: @font-weight-semibold;
            margin-bottom: 10px;
          }
        }
        .button-action {
          display: flex;
          justify-content: flex-start;
          flex-flow: column wrap;
          align-items: flex-start;
          height: 100%;
          @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
            margin-bottom: @margin-bottom-block-large;
          }
          @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
            margin-bottom: @margin-bottom-block-large;
          }
          @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
            margin-bottom: @margin-bottom-block-large;
          }
          @media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) { //768 ~992
            margin-bottom: @margin-bottom-block-large;
          }
          p {
            font-weight: @font-weight-semibold;
            margin-bottom: 10px;
          }

        }
      }

    }
  }
}