@import url(https://fonts.googleapis.com/css2?family=Pacifico&display=swap);

.leftrows {
  margin: 0 auto;
  width: 100%;
}

.filter {
  width: 95%;
  height: 60px;
  display: flex;
  overflow-x: auto;
  gap: 30px;
}

.filter::-webkit-scrollbar {
  width: 0px;
  height: 2px;
}

.filter .choose {
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.choosePeriod {
  min-width: 150px;
  display: none;
  justify-content: center;
  align-items: center;
}

.choosePeriod button {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  padding: 20px;
  border: 0px;
  outline: 0px;
  border-radius: 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0em;
  background: rgb(246, 247, 248);
  display: flex;
  justify-content: center;
  align-items: center;
}

select {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 8px;
  border: 0px;
  outline: 0px;
  border-radius: 20px;

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0em;
  background: rgb(246, 247, 248);
  cursor: pointer;
}

.selectChange {
  background: #26619c;
  color: white;
}

.refresh button {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #26619c;
  cursor: pointer;
  font-size: medium;
}

select option {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  color: gray;
  background-color: white;
}

.has_calender {
  position: relative;
  top: -300px;
}

.event {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 165px;
  border-top: 2px solid #bebebe;
}

.event_in {
  width: 100%;
  height: 90%;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 15px;
}

.picture {
  height: 160px;
}

.picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;

  border-radius: 10px;
}

.section {
  width: 100%;
}

.section div {
  margin-bottom: 15px;
}

.time {
  color: #b87333;
  font-size: 16px;
  font-weight: 700;
}

.time span {
  color: #b87333;
  font-size: 12px;
  font-weight: 700;
}

.title {
  font-size: 18px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.host {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.host span {
  color: gray;
}

.lastRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lastRow .attendee span:first-child {
  margin-right: 3px;
}

.lastRow .attendee span {
  color: rgb(117, 117, 117);
}

.page {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.page span {}

.page i {
  font-size: 30px;
  cursor: pointer;
  margin: auto 20px auto 20px;
}

#former:hover,
#next:hover {
  cursor: pointer;
  opacity: 0.6;
}

#resultLoading {
  width: 100px;
  height: 100px;
  margin: 40px auto auto auto;
  display: none;
}

#nofound {
  margin: 60px auto 0 auto;
  width: 320px;
  height: 265px;
}

#nofound img,
#resultLoading img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 780px) {
  .leftrows {
    margin-top: 20px;
    width: 95%;
  }

  .filter {
    width: 95%;
    height: 50px;
    gap: 10px;
  }

  .filter .choose {
    margin-right: 5px;
  }

  .refresh button {
    font-size: 13px;
    font-weight: 300;
  }

  .choosePeriod {
    font-size: 13px;
    font-weight: 300;
  }

  .choosePeriod button span {
    font-size: 13px;
    font-weight: 300;
  }

  select {
    font-size: 13px;
    font-weight: 300;
  }

  select option {
    font-size: 13px;
    font-weight: 300;
  }

  .event_in {
    grid-template-columns: 30% 1fr;
  }

  .picture {
    height: 100px;
  }

  .section div {
    margin-bottom: 10px;
  }

  .time {
    font-size: 13px;
    font-weight: 500;
  }

  .time span {
    font-weight: 500;
  }

  .title {
    font-size: 13px;
    font-weight: 500;
    -webkit-line-clamp: 3;
  }

  .host {
    font-size: 13px;
    font-weight: 300;
  }

  .lastRow {
    font-size: 13px;
    font-weight: 300;
  }

  #nofound img {
    width: 80%;
    height: 80%;
  }
}