@import '../../scss/variables.scss';

.events-container {
  .events-page-title {
    margin-bottom: 24px;
  }

  .event-wrapper {
    text-decoration: none;

    .featured-image {
      position: relative;
      width: 35%;

      img {
        height: 100%;
        object-fit: cover;
        width: 100%;
      }

      .hover {
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        transition: opacity 0.3s;
        width: 100%;
      }
    }

    .event-info {
      color: #000;
      height: 100%;
      // margin-left: 10px;
      // width: calc(65% - 10px);

      .event-time {
        font-size: 14px;
      }

      .virtual {
        font-size: 14px;
        font-weight: 700;
        margin: 5px 0;

        img {
          margin-left: 5px;
          width: 14px;
        }
      }

      .event-excerpt {
        font-size: 14px;
        margin-bottom: 10px;
        margin-top: 10px;
      }
    }
  }

  .pagination {
    a.page-link {
      cursor: pointer;
    }
  }

  .events-filter {
    .form-control {
      border-radius: 4px;
      border-width: 1px;
    }

    .event-search-button {
      cursor: pointer;
      min-height: 35px;
    }

    &.filter-bottom {
      align-items: center;
      display: flex;
      font-size: 13px;

      .filter-badge {
        border: 1px solid #bbb;
        border-radius: 20px;
        cursor: pointer;
        padding: 3px 10px;
      }

      .filter-category {
        .dropdown-item {
          cursor: pointer;
          font-size: 13px;
        }

        button {
          border: 1px solid #bbb;
          border-radius: 20px;
          color: inherit;
          font-size: 13px;
          padding: 3px 10px;

          &::after {
            vertical-align: 0.15em;
          }
        }
      }
    }
  }
}