.event-tab {
  font-size: 1.375rem;
  line-height: 2rem;
  color: #999999;
  font-weight: 600;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 0.625rem;
  padding-block: 0.5rem;
}
.event-tab > li {
  cursor: pointer;
}
.event-tab > .active {
  color: #00AB4E;
  border-bottom: 0.125rem solid #00AB4E;
  font-weight: 700;
}

.programs {
  display: none;
  position: relative;
}
.programs.active {
  display: block;
}

.apply-tab {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #999999;
  font-weight: 500;
  margin-top: 2.5rem;
}
.apply-tab > a {
  background-color: #F8F8FA;
  width: 6.25rem;
  padding-block: 0.625rem;
  text-align: center;
  cursor: pointer;
}
.apply-tab > a[class=active] {
  color: #00AB4E;
  border-bottom: 0.125rem solid #00AB4E;
}

.sort-buttons {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 400;
  color: #111111;
  position: absolute;
  top: -5rem;
  right: 0;
}
@media only screen and (max-width: 1023px) {
  .sort-buttons {
    position: unset;
    justify-content: flex-end;
    margin-top: 1.25rem;
  }
}
@media only screen and (max-width: 767px) {
  .sort-buttons {
    font-size: 0.75rem;
    line-height: 1.375rem;
    margin-top: 0.875rem;
  }
}
.sort-buttons > a {
  padding-block: 0.6875rem;
}
@media only screen and (max-width: 767px) {
  .sort-buttons > a {
    padding-block: 0.4375rem;
  }
}
.sort-buttons a.active {
  color: #00AB4E;
}

.search {
  width: 100%;
  padding: 1.25rem 2.5rem;
  background-color: #F1F1F5;
  border-radius: 0.5rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
}
@media only screen and (max-width: 1023px) {
  .search {
    padding: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
}
@media only screen and (max-width: 767px) {
  .search {
    flex-flow: column nowrap;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.875rem;
  }
}
.search > span {
  color: #505050;
}
.search > span > strong {
  margin-left: 1rem;
  margin-right: 0.125rem;
  color: #00AB4E;
}
@media only screen and (max-width: 1023px) {
  .search > span > strong {
    margin-left: 0.5rem;
  }
}
.search > #board_search {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  gap: 0.625rem;
  width: 32.75rem;
}
@media only screen and (max-width: 767px) {
  .search > #board_search {
    width: 100%;
  }
}
.search > #board_search .search_input {
  width: 100%;
  border-radius: 0.25rem;
}
.search > #board_search .search_input > input {
  width: 100%;
  height: 100%;
  padding: 1rem 1.25rem;
  color: #505050;
  border: none;
  border-radius: 0.25rem;
}
@media only screen and (max-width: 767px) {
  .search > #board_search .search_input > input {
    padding: 0.375rem 1.25rem;
  }
}
.search > #board_search > button {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #95A3AB;
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: all 0.2s ease-in-out;
}
@media only screen and (max-width: 767px) {
  .search > #board_search > button {
    padding: 0.4375rem 1rem;
  }
}
.search > #board_search > button > span {
  width: max-content;
}
.search > #board_search > button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.9;
  transform-origin: left;
  background-color: #00AB4E;
  border-radius: 0.25rem;
  width: 0;
  height: 100%;
  transition: all 0.2s ease-in-out;
  z-index: -1;
}
.search > #board_search > button:hover {
  color: #FFFFFF;
}
.search > #board_search > button:hover::after {
  width: 100%;
  opacity: 1;
}

.program {
  margin-top: 1.25rem;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.625rem;
}

.program_list {
  position: relative;
}
.program_list a {
  display: flex;
  flex-flow: row nowrap;
  border-radius: 0.5rem;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.5rem;
  border: 0.0625rem solid #E1E1E4;
}
@media only screen and (max-width: 1023px) {
  .program_list a {
    height: fit-content;
  }
}
@media only screen and (max-width: 767px) {
  .program_list a {
    flex-flow: column nowrap;
    height: auto;
  }
}
.program_list input[type=checkbox] {
  position: absolute;
  top: 1.375rem;
  left: 1.375rem;
  border: 0.0625rem solid #999999;
}
.program_list img {
  height: 20.625rem;
  aspect-ratio: 1;
  object-fit: contain;
  background-color: #C2C2C2;
}
@media only screen and (max-width: 1023px) {
  .program_list img {
    height: 19.375rem;
  }
}
@media only screen and (max-width: 767px) {
  .program_list img {
    height: 20rem;
  }
}
.program_list__contents {
  padding: 2.5rem;
  display: flex;
  flex-flow: column nowrap;
}
@media only screen and (max-width: 1023px) {
  .program_list__contents {
    padding: 1.25rem;
    width: 60%;
  }
}
@media only screen and (max-width: 767px) {
  .program_list__contents {
    padding: 1rem;
    width: 100%;
  }
}
.program_list__contents .status {
  display: block;
  width: fit-content;
  color: #FFFFFF;
  font-size: 0.75rem;
  line-height: 1.25rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 1.875rem;
}
.program_list__contents .status-wrapper {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.5rem;
}
.program_list__contents .status.open {
  background-color: #F1340E;
}
.program_list__contents .status.closed {
  background-color: #303030;
}
.program_list__contents .status.event-name_1 {
  background-color: #FF759C;
}
.program_list__contents .status.event-name_2 {
  background-color: #8998F7;
}
.program_list__contents h3 {
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 2.25rem;
  margin-top: 1rem;
}
@media only screen and (max-width: 1023px) {
  .program_list__contents h3 {
    margin-top: 0.625rem;
    font-size: 1.375rem;
    line-height: 2rem;
  }
}
@media only screen and (max-width: 767px) {
  .program_list__contents h3 {
    margin-top: 0.4375rem;
    font-size: 1.125rem;
    line-height: 1.625rem;
  }
}
.program_list__contents > .contents-detail {
  font-weight: 400;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.75rem;
  color: #505050;
  margin-top: 1.5rem;
}
@media only screen and (max-width: 1023px) {
  .program_list__contents > .contents-detail {
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.375rem;
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .program_list__contents > .contents-detail {
    gap: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.25rem;
    margin-top: 0.625rem;
  }
}
.program_list__contents > .contents-detail > div span:nth-of-type(2) {
  color: #999999;
}
.program_list__contents > .contents-detail > span {
  font-size: 0.875rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: #4E99FC;
}
.program_list__contents a {
  width: fit-content;
  padding: 0.6875rem 1.25rem;
  color: #FFFFFF;
}
.program_list__contents a[class=open] {
  background-color: #00AB4E;
}
.program_list__contents a[class=closed] {
  background-color: #999999;
  pointer-events: none;
}

.admin-btns {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin-top: 5rem;
}
@media only screen and (max-width: 767px) {
  .admin-btns {
    margin-top: 0.625rem;
  }
}
.admin-btns__item {
  display: inline-block;
  background-color: #FFFFFF;
  border: 0.0625rem solid #E1E1E4;
  border-radius: 0.25rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .admin-btns__item {
    padding: 0.5625rem 0.625rem;
  }
}
.admin-btns .del-btn {
  margin-left: 0.625rem;
}
.admin-btns .add-btn {
  background-color: #00AB4E;
  color: #FFFFFF;
  border-radius: 0.25rem;
  padding: 0.625rem 2.5rem;
  width: fit-content;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.625rem;
}
@media only screen and (max-width: 767px) {
  .admin-btns .add-btn {
    padding: 0.625rem 2rem;
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
}

.pagination > ul {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #767676;
  gap: 0.5rem;
}
@media only screen and (max-width: 767px) {
  .pagination > ul {
    margin-top: 1.25rem;
  }
}
.pagination > ul .curPage {
  display: block;
  position: relative;
  min-width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: #00AA4E;
}
.pagination > ul .curPage:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background: #F8F8FA;
  border-radius: 0.625rem;
  transform: translateX(-50%);
  z-index: -1;
}
.pagination > ul a {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
}
.pagination > ul a:not(.direction) {
  width: auto;
  min-width: 2.5rem;
  color: var(--font3);
}
.pagination > ul a.direction {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination > ul a.direction img {
  display: block;
  width: 50%;
}