@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
  font-family: "pretendard", sans-serif !important;
  font-size: 16px;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

a,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
td,
th,
input,
button,
textarea,
select {
  letter-spacing: -0.54px;
}

/* flex */
.flex {
  display: flex;
}

/* flex, justify-content */
.flex-center {
  display: flex;
  justify-content: center;
}
.flex-start {
  display: flex;
  justify-content: start;
}
.flex-end {
  display: flex;
  justify-content: end;
}
.flex-around {
  display: flex;
  justify-content: space-around;
}
.flex-between {
  display: flex;
  justify-content: space-between;
}
.flex-evenly {
  display: flex;
  justify-content: space-evenly;
}

/* flex, align-items */
.flex-none-center {
  display: flex;
  align-items: center;
}
.flex-none-start {
  display: flex;
  align-items: start;
}
.flex-none-end {
  display: flex;
  align-items: end;
}

/* flex, justify-content: center, align-items */
.flex-center-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-center-start {
  display: flex;
  justify-content: center;
  align-items: start;
}
.flex-center-end {
  display: flex;
  justify-content: center;
  align-items: end;
}

/* flex, justify-content: start, align-items */
.flex-start-center {
  display: flex;
  justify-content: start;
  align-items: center;
}
.flex-start-start {
  display: flex;
  justify-content: start;
  align-items: start;
}
.flex-start-end {
  display: flex;
  justify-content: start;
  align-items: end;
}

/* flex, justify-content: end, align-items */
.flex-end-center {
  display: flex;
  justify-content: end;
  align-items: center;
}
.flex-end-start {
  display: flex;
  justify-content: end;
  align-items: start;
}
.flex-end-end {
  display: flex;
  justify-content: end;
  align-items: end;
}

/* flex, justify-content: space-around, align-items */
.flex-around-center {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.flex-around-start {
  display: flex;
  justify-content: space-around;
  align-items: start;
}
.flex-around-end {
  display: flex;
  justify-content: space-around;
  align-items: end;
}

/* flex, justify-content: space-between, align-items */
.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-between-start {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.flex-between-end {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

/* flex, justify-content: space-evenly, align-items */
.flex-evenly-center {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.flex-evenly-start {
  display: flex;
  justify-content: space-evenly;
  align-items: start;
}
.flex-evenly-end {
  display: flex;
  justify-content: space-evenly;
  align-items: end;
}

/* flex, flex-direction */
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-columnReverse {
  display: flex;
  flex-direction: column-reverse;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-rowReverse {
  display: flex;
  flex-direction: row-reverse;
}
.flex-column-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* color */
.color-222 {
  color: #222;
}
.color-333 {
  color: #333;
}
.color-555 {
  color: #555;
}
.color-666 {
  color: #666;
}
.color-sky {
  color: #009fe3;
}
.color-primary {
  color: var(--primary-color);
}
.color-white {
  color: #fff;
}
:root {
  --primary-color: #19408d;
  --red-color: #ff4b4b;
  --sky-color: #009fe3;
  --white-color: #fff;
}

/* background-color */
.primary-bgc {
  background-color: #19408d;
}
.white-bgc {
  background-color: #fff;
}

/* text-line */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

/* width */
.width-5 {
  width: 5%;
}
.width-12 {
    width: 12%;
}
.width-13 {
    width: 13%;
}
.width-10 {
  width: 10%;
}
.width-15 {
  width: 15%;
}
.width-20 {
  width: 20%;
}
.width-30 {
  width: 30%;
}

.gap-5 {
    gap: 5px;
}
.gap-10 {
  gap: 10px;
}
.gap-20 {
  gap: 20px;
}

.mt-10 {
  margin-top: 10px;
}
.mb-10 {
  margin-bottom: 10px;
}

/* button */
#top_btn {
  background-color: #fff;
  width: 30px;
  height: 30px;
  right: 40px;
  border-radius: 50%;
  border: 0;
  box-shadow: 1px 3px 4px 2px rgba(0, 0, 0, 0.2);
  transition: ease 0.2s;
}
#top_btn:hover path {
  stroke: #fff !important;
}
.btn {
  width: 180px;
  height: 50px !important;
  border-radius: 6px;
  transition: ease 0.2s;
}
.btn.white_btn {
  color: #009fe3;
  display: block;
  font-size: 18px;
  line-height: 50px;
  background-color: #fff;
  border: 1px solid #009fe3;
}
.btn.white_btn_custom {
  font-size: 22px;
  font-weight: 600;
  width: 320px;
  height: 72px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn.sky_btn {
  color: #fff;
  display: block;
  font-size: 18px;
  line-height: 50px;
  background-color: #009fe3;
}
.btn.primary_btn {
  color: #fff;
  display: block;
  font-size: 18px;
  line-height: 50px;
  background-color: var(--primary-color);
}
.btn.primary_btn:hover {
  opacity: 0.8;
}

.btn.white_btn:hover,
.btn.sky_btn:hover {
  color: #fff;
  background-color: #19408d;
  border-color: #19408d;
}
.float_btn {
  width: 90px;
  height: 90px;
  background-color: #fff;
  border-radius: 50%;
  border: 0;
  box-shadow: 1px 3px 4px 2px rgba(0, 0, 0, 0.2);
  position: fixed;
  right: 10px;
  z-index: 1001;
  gap: 5px;
  transition: ease 0.2s;
}
.float_btn:hover {
  color: #fff;
  background-color: #19408d;
}
.float_btn.donation_btn {
  bottom: 166px;
}
.float_btn.donationList_btn {
  bottom: 60px;
}

/* table */
.common-table {
  width: 100%;
  border-collapse: collapse;
}
.common-table tr {
  height: 56px;
  text-align: center;
}
.common-table thead {
  border-top: 2px solid #19408d;
}
.common-table thead tr th {
  color: #222;
  font-size: 18px;
  background-color: #eff4f6;
  border-right: 1px solid #e2e2e2;
}
.common-table tbody tr td {
  color: #666;
  font-size: 18px;
  border: 1px solid #e2e2e2;
  border-left: none;
}
.common-table thead tr th:last-child,
.common-table tbody tr td:last-child {
  border-right: none;
}

/* layout */
#wrapper {
  background-color: #fafafa;
  /* wrapper_extends -> 320px은 footer 높이입니다 */
  /* -200은 여백 입니다 */
  /* padding-top: 180px; */
  padding-top: 120px;

  min-height: calc(100vh - 320px);
}

#hd_pop,
#tnb .inner,
#gnb .gnb_wrap,
#ft_wr {
  width: 98.875rem;
}
#hd_pop{
    width:auto;
}
#container_wr {
  width: 100%;
  /* padding-top: 100px; */
}
.sub_container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 30px;
  /* padding: 10.625rem 30px 16rem; */
  /* padding-top: 0; */
}

/* 반응형 */
.show_768 {
  display: none;
}
.show_mobile {
  display: none;
}

/* 미디어쿼리 */
@media (max-width: 1440px) {
  /* common */
  .hidden_1440 {
    display: none;
  }
}

@media (max-width: 1200px) {
  /* common */
  #wrapper {
    padding-top: 6.4375rem;
  }
  .hidden_1200 {
    display: none;
  }

  /* button */
  .btn {
    width: 150px;
  }
  .btn.white_btn,
  .btn.sky_btn {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* common */
  .show_768 {
    display: block;
  }
  .hidden_768 {
    display: none;
  }

  /* button */
  #top_btn {
    right: 30px;
  }
  .float_btn {
    width: 50px;
    height: 50px;
    right: 20px;
  }
  .float_btn img {
    width: 32px;
  }
  .float_btn.donation_btn {
    bottom: 120px;
  }

  /* table */
  .common-table tbody tr td {
    padding: 0 10px;
  }

  /* layout */
  #container_wr {
    padding-top: 60px;
  }
  .sub_container {
    padding: 2.25rem 20px;
    padding-bottom: 6.25rem;
  }
}

@media (max-width: 480px) {
  /* common */
  #container_wr {
    padding-top: 20px;
  }
  .show_mobile {
    display: block;
  }
  .hidden_mobile {
    display: none;
  }

  /* table */
  .common-table thead tr th,
  .common-table tbody tr td {
    font-size: 1rem;
  }

  /* layout */
  .sub_container {
    padding: 1.625rem 20px;
    /* HACK: 기부내역 조회 결과에서 너무 차이가 나서 넣었음 다른페이지 확인해봐야함  */
    padding-bottom: 6.25rem;
  }
}
