@tablet-down: ~'(max-width: 767px)';
@phone-down-375: ~'(max-width: 375px)';
@phone-down: ~'(max-width: 519px) and (min-width:376px)';
@tablet-down-645: ~'(max-width: 646px) and (min-width:520px)';
@desktop-down: ~'(max-width: 991px) and (min-width: 647px)';
@desktop-down-1023: ~'(max-width: 1023px) and (min-width: 992px)';
.block_top_event_default4{
  .title{
    margin-bottom: 52px;
    p{
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      line-height: 32px;
      text-align: center;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      color: #666666;
    }
    h1{
      font-style: normal;
      font-weight: bold;
      font-size: 39px;
      line-height: 56px;
      text-align: center;
      letter-spacing: 0.05em;
      text-transform: capitalize;
      color: #555555;

    }
  }
  .link{
    display: flex;
    justify-content: center;
    padding-bottom: 45px;
    p{
      margin: 0px 10px;
      background: #E6E6E6;
      border-radius: 10px;
      font-style: normal;
      font-weight: 600;
      font-size: 24px;
      line-height: 24px;
      letter-spacing: 0.02em;
      text-transform: capitalize;
      color: #555555;
      padding: 13px 30px;
      cursor: pointer;
      @media screen and(max-width: 768px){
        font-size: 20px;
        padding: 13px 20px;
      }
      @media screen and(max-width: 576px){
        font-size: 16px;
        padding: 13px 10px;
        text-align: center;
      }

    }
    p.active{
      background: #FFFFFF;
      box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
      color: #FB646F;
    }
  }

  .each-event-list{
    &:first-child{
      border-radius: 23px;
      border-left: 15px #2DC29E solid;
    }
    &:nth-child(1n){
      border-radius: 23px;
      border-left: 15px #FF6B6B solid;
    }
    &:nth-child(2n){
      border-radius: 23px;
      border-left: 15px #03273B solid;
    }
    &:nth-child(3n){
      border-radius: 23px;
      border-left: 15px #EB6314 solid;
    }
    &:nth-child(4n){
      border-radius: 23px;
      border-left: 15px #2DC29E solid;
    }
  }
    .list-event-newest ,.list-event-top,.list-event-best{
      .each-event-list {
        background: #FFFFFF;
        border-radius: 10px;
        margin-bottom: 30px;
        height: auto;
        transition: all 0.3s;
        @media screen and(max-width: 991.99px) {
          height: auto;
          display: block;
        }

        .image-open-date {
          display: flex;
          @media @tablet-down{
            width: 20%;
            float: left;
          }
          @media @phone-down{
          width: 30%;
          }
          @media @phone-down-375{
            width: 100%;
          }

          .image-service {
            position: relative;
            margin: 30px 15px 30px 30px;
            height: 191px;
            width: 70%;
            overflow: hidden;
            border-radius: 10px;

            img {
              width: 100%;
              height: 100%;
              border-radius: 10px;
              transition: all 0.3s;

              &:hover {
                transform: scale(1.1);
              }
            }

            .border-full {
              position: absolute;
              height: 100%;
              width: 100%;
              background: linear-gradient(180deg, rgba(56, 56, 56, 0) 0%, #000000 130.89%);
              top: 0;
              left: 0;
              border-radius: 10px;
              transition: all 0.3s;

              &:hover {
                transform: scale(1.1);
              }
            }

            .name-eventtype {
              position: absolute;
              bottom: 15px;
              right: 15px;
              background: rgba(137, 137, 137, 0.3);
              border-radius: 15px;

              span {
                font-style: normal;
                font-weight: normal;
                font-size: 14px;
                line-height: 24px;
                letter-spacing: 0.02em;
                text-transform: capitalize;
                color: #F3F3F3;
                padding: 3px 13px;
              }
            }
          }

          .open-date {
            margin-top: 35px;
            width: 65%;
            height: 75px;
            overflow: hidden;
            @media @phone-down-375{
              width: 100%;
            }

            .day {
              display: flex;
              justify-content: center;
              font-style: normal;
              font-weight: bold;
              font-size: 48px;
              line-height: 65px;
              color: #555555;
              margin-top: -10px;
            }

            .month {
              font-style: normal;
              font-weight: 600;
              font-size: 18px;
              line-height: 25px;
              color: #555555;
              display: flex;
              justify-content: center;
              margin-top: -6px;
            }
          }
        }

        .information {
          margin: 30px 0px 30px -10px;
          line-height: 24px;
          @media @tablet-down{
            width: 55%;
            float: left;
          }
          @media @phone-down{
            width: 70%;
          }
          @media @phone-down-375{
            padding: 0 10px;
            text-align: center;
            width: 100%;
          }
          .sub-information{
            margin: 0;
          }
          .name-event {
            width: 100%;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            span {
              font-style: normal;
              font-weight: bold;
              font-size: 28px;
              line-height: 38px;
              letter-spacing: 0.02em;
              text-transform: capitalize;
              color: #555555;
              transition: all 0.3s;

              &:hover {
                color: #FB646F;
              }
            }
          }

          .capacity, .hour-duration, .location {
            padding: 5px 0;
            i {
              font-size: 14px;
              color: #666666;
              margin-right: 6px;
            }

            span {
              font-style: normal;
              font-weight: normal;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0.02em;
              color: #666666;
            }
          }

          .capacity {
            margin-top: 25px;
          }
        }

        .price-heart-booknow {
          text-align: right;
          margin-top: 35px;
          float: right;
          margin-right: 30px;
          @media screen and(max-width: 991.99px) and (min-width: 768px) {
            float: left;
            right: 20px;
            position: absolute;
          }
          @media @tablet-down {
            width: 20%;
            position: unset;
          }
          @media @phone-down{
            margin-right: 0px;
            padding: 20px 30px;
            width: 100%;
          }
          @media @phone-down-375{
            text-align: center;
            padding: 20px 65px;
            width: auto;
            margin: 0 auto;
            float: unset;
          }


          .price-booknow {
            @media @phone-down{
              float: left;
            }
            @media @phone-down-375{

            }
            .image-open-date {
              text-align: center;
            }

            span {
              background: #9391FF;
              border-radius: 20px;
              box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
              padding: 7px 22px;
              font-style: normal;
              font-weight: 600;
              font-size: 20px;
              line-height: 27px;
              color: #F3F3F3;
              @media screen and(max-width: 1200px) {
                font-size: 18px;
              }
            }
          }

          .heart {
            margin-top: 40px;
            display: flex;
            justify-content: flex-end;
            margin-right: 30px;

            i {
              width: 35px;
              height: 35px;
              background-color: #DFDFDF;
              border-radius: 50%;
              display: flex;
              justify-content: center;
              align-items: center;
              color: #FFFFFF;
              transition: all 0.3s;

              &:hover {
                background-color: #FB646F;
                cursor: pointer;
              }
            }

            i.active {
              background-color: #FB646F;
              cursor: pointer;
            }
          }

          .wrapper-button-action {
            margin-top: 100px;
            display: flex;
            justify-content: flex-end;
            position: relative;
            @media @phone-down{
              margin-top: -5px;
            }
            @media @phone-down-375{
              margin-top: 10px;
              display: unset;
            }

            .div-link{
              position: absolute;
              width: 100%;
              height: 100%;
              background-color: #FFFFFF;
              color: #FFFFFF;
              opacity: 0;
            }

            .btn-booknow {
              background: #FFFFFF;
              border: 1px solid #555555;
              box-sizing: border-box;
              border-radius: 20px;
              transition: all 0.3s;
              @media @phone-down-375{
                margin-top: 20px;
              }

              a {
                font-style: normal;
                font-weight: 600;
                font-size: 18px;
                line-height: 25px;
                text-transform: capitalize;
                color: #555555;
                padding: 2px 20px;
                transition: all 0.3s;
                @media @desktop-down-1023{
                  padding: 0 8px;
                }
                @media screen and(max-width: 1200px) and (min-width: 1024px) {
                  padding: 2px 7px;
                }
                @media @tablet-down-645{
                  padding: 0px 2px;
                }
                @media @desktop-down{
                  padding: 0 10px;
                }
                @media @phone-down{
                  line-height: 2;
                  padding: 7px 22px;
                  font-size: 16px;
                }
                @media @phone-down-375{
                  line-height: 2;
                  padding: 0px 7px;
                  font-size: 16px;
                }
              }
            }

            &:hover {
              .btn-booknow {
                border: 1px solid #FB646F;
                background: #FB646F;

                a {
                  color: #FFFFFF;
                }
              }

            }
          }
        }
      }
    }


}
