.cabaretpro {
  font-family: 'Roboto', sans-serif;
}

.cabaretpro svg {
  fill: none;
}

/** Performances list and grid **/
.cp-performances {
  display: flex;
  flex-direction: column;
  gap: 15px;

  /** Grid style 1 **/
  &.cp-performances-grid.grid-style-1 {
    display: grid;
    grid-gap: 32px;
    grid-template-columns: repeat(3, 1fr);

    .cp-performance {
      border: none;
      flex-direction: column;
      position: relative;
      background-color: transparent;
      gap: 0;

      .top {
        z-index: 2;
        background: #000000d3;
        display: flex;
        position: relative;

        &::before {
          content: "";
          display: block;
          height: 8px;
          width: 100%;
          background-image: url(../img/ticket-down.svg);
          background-repeat: repeat-x;
          background-size: 10px 8px;
          position: absolute;
          top: -3px;
          z-index: 3;
        }

        &::after {
          content: "";
          display: block;
          height: 12px;
          width: 100%;
          background-image: url(../img/ticket-updown.svg);
          background-repeat: repeat-x;
          background-size: 10px 12px;
          position: absolute;
          top: 100%;
          margin-top: -6px;
          z-index: 999;
        }

        .date {
          padding: 20px;
          background: #f50070;
          color: white;
          line-height: 1.5rem;
          font-weight: 500;
        }

        .detail {
          gap: 0;

          .title {
            color: white;
            padding-left: 10px;
            font-size: 1.1rem;
            text-transform: uppercase;
            line-height: 1.2rem;
            font-weight: 500;
          }

          .time {
            background: transparent;
            color: white;
            border: none;
            gap: 2px;
          }
        }


      }

      .bottom {
        min-height: 300px;
        position: relative;
        display: flex;

        .hover {
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
          background: #000000ab;
          z-index: 1;
          opacity: 0;
          transition: all 0.2s ease;

          &:hover {
            opacity: 1;
          }

          .button {
            padding: 20px;
          }
        }

        &::after {
          content: "";
          display: block;
          height: 8px;
          width: 100%;
          background-image: url(../img/ticket-up.svg);
          background-repeat: repeat-x;
          background-size: 10px 8px;
          position: absolute;
          top: 100%;
          margin-top: -5px;
          z-index: 3;
        }
      }

      .grid-image {
        position: absolute;
        width: 100%;
        height: 100%;

        img {
          object-fit: cover;
          object-position: center;
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  /** Grid style 2 **/
  &.cp-performances-grid.grid-style-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    flex-direction: row;
    margin-top: 34px;

    .cp-month {
      flex: 1 1 100%;
      font-weight: 700;
      color: white;
      font-size: 26px;
    }

    .cp-performance {
      height: 428px;
      border: none;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      background-color: transparent;
      gap: 0;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
      flex: 0 0 calc(25% - 44px);

      .top {
        z-index: 2;
        display: flex;
        position: relative;

        .date {
          padding: 0;
          color: #f50070;
          background: white;
          line-height: 1.5rem;
          font-weight: 500;
          border-radius: 0 0 20px 0;
          box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.5);
          min-width: 66px;
          min-height: 71px;

          .day {
            font-size: 35px;
            font-weight: 700;
          }

          .month {
            font-size: 10px;
          }

          .dayname {
            font-size: 10px;
          }
        }

      }

      .bottom {
        width: 100%;
        position: relative;
        display: flex;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 13px;

        .button {
          display: flex;
          justify-content: center;
          align-items: end;
          width: 100%;
          padding: 0;
          margin-top: 5px;
          justify-self: end;
          flex-grow: 1;

          a.button-link {
            background: #f50070;
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 18px;
            text-transform: uppercase;
            font-weight: 500;
            width: 100%;
            line-height: 18px;
            text-align: center;
          }
        }

        .detail {
          gap: 10px;

          .title {
            color: #1c1c1c;
            font-size: 20px;
            line-height: 1.2rem;
            font-weight: 800;
            min-height: 44px;
          }

          .subtitle {
            color: #838383;
            font-size: 15px;
            line-height: 1rem;
            font-weight: 500;
          }

          .time {
            background: #00000017;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3px 10px 3px 0;
            font-size: 10px;
            gap: 5px;
            border-radius: 13px;
            font-weight: 500;
            border: 1px solid #ececec;
            color: #1D2129;
          }
        }
      }

      .grid-image {
        position: absolute;
        width: 100%;
        height: 100%;

        /* &::before {
          content: "";
          display: block;
          position: absolute;
          left: 0;
          right: 0;
          height: 50%;
        } */

        img {
          object-fit: cover;
          object-position: center;
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  /** Single performance **/
  .cp-performance {
    display: flex;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid #ececec;
    background-color: #ffffff;

    /** Date **/
    /* .date {
      padding: 20px 20px 20px 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #f50070;

      .day {
        font-size: 1.8rem;
      }

      .month {
        font-size: 1.3rem;
      }
    } */

    .date {
      padding: 20px 20px 20px 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #f50070;

      .day {
        font-size: 35px;
        font-weight: 700;
      }

      .month {
        font-size: 13px;
      }

      .dayname {
        font-size: 10px;
      }
    }

    /** Image **/
    .image {
      width: 90px;
      height: 90px;
      overflow: hidden;
      position: relative;
      border-radius: 10px;
      margin: 15px;

      img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
      }

      .title {
        font-size: 1.5rem;
        font-weight: 500;
        color: #000;
      }

    }

    /** Title and time **/
    .detail {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: center;
      gap: 10px 0;

      .title {
        color: #1c1c1c;
        font-size: 20px;
        line-height: 1.2rem;
        font-weight: 800;
      }

      .subtitle {
        color: #838383;
        font-size: 15px;
        line-height: 1rem;
        font-weight: 500;
      }

      .time {
        background: #00000017;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3px 10px 3px 0;
        font-size: 10px;
        gap: 5px;
        border-radius: 13px;
        font-weight: 500;
        border: 1px solid #ececec;
        color: #1D2129;

        span.time-icon {
          margin: 0;
          padding: 0;
          display: flex;
        }

        svg {
          fill: none;
          height: 14px;
        }

        span.to {
          margin-right: 5px;

          &::before {
            content: "-";
            margin-right: 5px;
          }
        }

      }
    }

    /** Button **/
    /* .button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px 40px 20px 20px;

      a.button-link {
        background: #f50070;
        color: white;
        padding: 10px 20px;
        border-radius: 2px;
      }
    } */

    .button {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px 40px 20px 20px;

      a.button-link {
        background: #f50070;
        color: white;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 500;
        width: 100%;
        line-height: 18px;
        text-align: center;
      }
    }
  }
}

.cp-performances-filter {

  display: flex;
  justify-content: start;
  flex-direction: row;
  align-items: center;
  gap: 13px;

  button#reset_filter {
    background-color: #f50070;
    color: white;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    transition: 0.4s;
    padding: 12px 15px;
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;

    &:hover {
      background-color: white;
      color: #f50070;
    }
  }
}


.cp-performances-pagination {
  display: flex;
  justify-content: space-between;

  .pagination-left {
    padding: 10px;
  }

  .pagination-right {
    padding: 10px 0 10px 10px;
  }

  .pagination-numbers {
    display: flex;
    gap: 5px;
  }

  a.page-number {
    display: flex;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 3px;
    min-width: 32px;
    align-items: center;
    color: #54595F;
    justify-content: center;
    opacity: 0.7;

    &:hover {
      background-color: #ececec;
      opacity: 1;
    }

    &.disabled {
      opacity: 0.2;
      cursor: default;
    }

    &.selected {
      border: 1px solid #ececec;
      opacity: 1;
    }
  }
}

/**
Glider
**/

.glider-spectacle {
  position: relative;
  width: 200px;
  height: 307px;
}

.glider-spectacle-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.glider-spectacle-image img {
  object-fit: cover;
  object-position: center;
}

.glider-slide {
  margin: 10px;
}

.glider-spectacle-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0000009c;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.2s ease;
}

.glider-slide:hover .glider-spectacle-hover {
  opacity: 1;
  cursor: pointer;
}

/**
Select **/

.cabaretpro select,
.cabaretpro ::picker(select) {
  appearance: base-select;
}

.cabaretpro ::picker(select) {
  border: none;
}

.cabaretpro select {
  background: transparent;
  color: white;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 13px;
  transition: 0.4s;
  border-radius: 4px;

  option {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    background: #eee;
    transition: 0.4s;

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

    &:checked {
      font-weight: 600;
      background-color: #ddd;
    }

    &::checkmark {
      display: none;
    }
  }

  &:hover,
  &:focus {
    background: rgba(255, 255, 255, 0.15);
  }


  &::picker-icon {
    color: #ffffff;
    transform: scale(0.7);
    margin-left: 10px;
  }
}