:root {
  --color-mofin: #a21c20;
  --color-mofin-bg: rgba(162, 28, 32, 0.5);
  --color-mofin-service: #6f0003;
  --color-white: #ffffff;
  --color-black: #333333;
}

* {
  text-decoration: none;
}

.main {
}

.mainContainer {
}

.service_Top {
  background-color: var(--color-mofin-service);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 300px;
}

/* .service_Top span {
  color: white;
  font-size: 30px;
  text-align: center;
  margin-top: 100px;
} */

.service_container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

.service_container_text {
  display: none; /* 처음에는 모든 텍스트를 숨김 */
}

.active1 {
  appearance: none;
  background-color: var(--color-mofin); /* 이 값은 원하는 색상으로 변경 가능 */
  color: #ffffff; /* 글자색. 배경색에 따라 적절하게 변경할 수 있습니다. */
}

.active2 {
  color: white;
  font-size: 30px;
  text-align: center;
  margin-top: 100px;
}

.service_btns {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service_btns button {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 170px;
  height: 40px;
  border-radius: 30px;
}

.service_container_text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* background-color: antiquewhite; */
  width: 60%;
  margin-top: 100px;
  margin-bottom: 200px;
  min-height: 100vh;
}

.service_rule_head {
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
}

.service_rule_head_1 {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.service_rule_head_1_1 {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px;
}

.service_rule_text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

tr {
  height: 100%;
}

th,
td {
  border-bottom: 1px solid black;
  text-align: left;
  padding: 8px;
}

th {
  background-color: #f2f2f2;
}

.fixed-table {
  width: 818px;
  border-collapse: collapse;
}

.fixed-table th,
.fixed-table td {
  border: 1px solid black;
  text-align: left;
  padding: 8px;
}

.fixed-table th {
  background-color: #f2f2f2;
}

.fixed-table2 {
  width: 400px;
  border-collapse: collapse;
}

/* 중요한 공시 */
.notice {
  align-items: center;
  justify-content: center;
  /* background-color: beige; */
}

.notices span {
  /* font-size: 35px;
  font-weight: bold; */
}

.noticeList {
  border-spacing: 10px;
  border-collapse: separate;
  width: 85%;
  height: 650px;
  border-top: solid 2px #a21c20;
  margin: 20px auto;
}

.table thead th:nth-child(1) {
  padding: 10px 0 20px 0;
  text-align: center;
  font-size: 18px;
  width: 70%;
}

.table thead th:nth-child(2) {
  /* padding: 10px 0 20px 0; */
  text-align: center;
  font-size: 18px;
  width: 30%;
}

.table tbody {
  padding-top: 10px;
}

.table tbody tr:hover {
  background-color: #ecd2d2;
  /* font-weight: bold; */
  cursor: pointer;
}

.table tbody tr th {
  border: none;
  text-align: center;
}

.table tbody tr td {
  border: none;
  text-align: center;
}

.notices {
  text-align: center;
  padding-bottom: 20px;
}

#getNoticeList tr {
  margin: 50px 0 50px 0;
  border-bottom: rgba(220, 217, 217, 0.349) solid;
}

#getNoticeList tr:not(:first-child) {
  margin: 50px 0;
  border-bottom: none;
}

#createBtn {
  display: block;
  width: 80px;
  height: 30px;
  margin: auto;
  border: transparent;
  border-radius: 5px;
  background-color: #a21c20;
  color: white;
  font-size: 15px;
}

#createBtn:hover {
  border: #a21c20 solid 1px;
  background-color: white;
  color: #a21c20;
  font-weight: bold;
}

.page_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 200px;
  margin: auto;
}

.page-item {
  background-color: transparent;
  color: black;
  border: none;
}

.page-item.active {
  border-color: #a21c20;
  color: white;
  border: none;
}

#pagination {
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

#pagination a {
  text-align: center;
  width: 30px;
  height: 30px;
}

@media screen and (min-width: 325px) and (max-width: 768px) {
  /* .service_btns_text1,
  .service_btns_text2,
  .service_btns_text3,
  .service_btns_text4{
    color: #111;
  } */
  .service_Top {
    height: 150px;
  }

  .service_Top span {
    margin-top: 40px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .service_container_text {
    width: 85%;
    margin-top: 30px;
  }

  .service_rule_text span {
    margin-bottom: 10px;
  }

  .fixed-table {
    width: auto;
    overflow-x: auto;
  }

  .fixed-table2 {
    width: auto;
    overflow-x: auto;
  }
  .table tbody tr td:nth-child(2) {
    border: none;
    text-align: center;
    font-size: 0.72rem;
  }
}
