@charset "utf-8";

:root {
  --color-background: #F3F4F8;
  --color-primary: #5F3DC4;
  --color-text: #111111;
  --color-white: #ffffff;
  --color-subText1: #444444;
  --color-subText2: #666666;
  --color-disabled: #BFC1C5;
  --color-error: #a46763;
  --color-placeholder: #9CA3AF;

  --font-size12: 1.2rem;
  --font-size13: 1.3rem;
  --font-size14: 1.4rem;
  --font-size15: 1.5rem;
  --font-size16: 1.6rem;
  --font-size17: 1.7rem;
  --font-size18: 1.8rem;
  --font-size19: 1.9rem;
  --font-size20: 2.0rem;
  --font-size22: 2.2rem;
  --font-size23: 2.3rem;
  --font-size24: 2.4rem;
  --font-size25: 2.5rem;
  --font-size26: 2.6rem;
  --font-size27: 2.7rem;
  --font-size28: 2.8rem;
  --font-size29: 2.9rem;
  --font-size30: 3.0rem;
  --font-size32: 3.2rem;
  --font-size36: 3.6rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --label-type1-bg: #FFF0F7;
  --label-type1-txt: #DA3C7E;
  
  --label-type2-bg: #FFF2ED;
  --label-type2-txt: #C34624;

  --label-type3-bg: #ECF8ED;
  --label-type3-txt: #0A693D;

  --label-type4-bg: #FFF9E2;
  --label-type4-txt: #A75900;

  --label-type5-bg: #F7EFFF;
  --label-type5-txt: #5510A4;

  --label-type6-bg: #EEF4FF;
  --label-type6-txt: #1639B9;

  --label-type7-bg: #F1FEE7;
  --label-type7-txt: #115F38;

  --label-type8-bg: #FFF1F1;
  --label-type8-txt: #7B1A1A;

  --label-type9-bg: #E8F7F7;
  --label-type9-txt: #024F7B;

  --label-type10-bg: #F5EDE9;
  --label-type10-txt: #59360D;

  --label-type11-bg: #E5F7F3;
  --label-type11-txt: #1C5545;

  --label-type12-bg: #F3F7E1;
  --label-type12-txt: #1F4501;

  --label-type13-bg: #FFF2DE;
  --label-type13-txt: #5F3502;

  --label-type14-bg: #FCEDFE;
  --label-type14-txt: #4A1167;

  --label-type15-bg: #F0F0F0;
  --label-type15-txt: #323232;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

/* default */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, thead, tbody, tfoot, tr, th, td, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  text-align: left;
  background: transparent;
  box-sizing: border-box;
}

html{
  font-size: 62.5%;
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--color-text);
  line-height: 1.5;
  background-color: #fff;
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.02em;
  font-size: var(--font-size17);
}

h1 {
  font-size: var(--font-size28);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size24);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size20);
  font-weight: var(--font-weight-medium);
}

table {
  border-collapse: collapse;
  border-spacing: 1px;
  font-size: 1em;
}

img, input {
  border: 0 none;
}

fieldset, legend {
  border: 0;
}

hr {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

ul, li, ol, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  margin: 0;
  border: 0;
  /*cursor: pointer; */
}

select {
  height: 100%;
  margin: 0;
  padding: 12px 16px;
  vertical-align: middle;
  font-size: var(--font-size15);
  border: 1px solid #D1D5DB;
  background: #fff;
  appearance: none;
  background-image: url(../images/arrow_down.png);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  border-radius: 4px;
}

textarea {
  padding: 0;
  margin: 0;
  vertical-align: middle;
  font-size: 1em;
  background: #fff;
  font-family: namumgothic, "돋움", "Dotum",Verdana, sans-serif;
}

input {
  padding: 0;
  margin: 0;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  border: 1px solid #D1D5DB;
  box-sizing: border-box;
  padding: 12px 16px;
  color: var(--color-text);
  border-radius: 4px;
}

input::placeholder{
  color: var(--color-placeholder);
}

input[type="radio"] {
  border: 0 none;
}

a:link, a:visited {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}

a:hover, a:active {
  text-decoration: underline;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  z-index: 1000;
}

.pc{
  display: block;
}

.mobile{
  display: none;
}

/* 레이아웃 공통  */
.wrap{
  width: 100%;
}
.container {
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.btn_section{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.6rem;
  margin-top: 3rem;
}

.btn_section a,
.btn_section button{
  width: 100%;
  max-width: 120px;
}

.bread_crumb{
  width: 100%;
  margin: 0 auto;
  padding: 0 2.4rem;
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 100;
  box-sizing: border-box;
}

.bread_crumb .bread_crumb_list{
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bread_crumb .bread_crumb_list li{
  display: flex;
  align-items: center;
}

.bread_crumb .bread_crumb_list li:not(:last-child)::after{
  content: '';
  width: 24px;
  height: 24px;
  background-image: url(../images/arrow_right_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bread_crumb .bread_crumb_list li:first-child a{
  width: 20px;
  height: 20px;
  background-image: url(../images/home.svg);
}

.bread_crumb a{
  color: #fff;
  font-size: var(--font-size15);
  text-decoration: none;
  height: 100%;
  line-height: 1;
}

.bread_crumb a:hover{
  color: var(--color-primary);
}

.bread_crumb li[aria-current="page"]{
  color: #fff;
  line-height: 1;
  font-size: var(--font-size15);
  font-weight: var(--font-weight-medium);
}

@media screen and (max-width: 1024px) {
  .bread_crumb{
    top: 20px
  }
  .bread_crumb .bread_crumb_list li:first-child a{
    width: 20px;
    height: 20px;
  }

  .bread_crumb .bread_crumb_list li:not(:last-child)::after{
    width: 20px;
    height: 20px;
  }

  .bread_crumb a{
    font-size: var(--font-size13);
  }

  .bread_crumb li[aria-current="page"]{
    font-size: var(--font-size13);
  }
}

/* 라벨 공통 */
.label {
  display:inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 4px;
  height: 30px;
  line-height: 30px;;
  font-weight: var(--font-weight-medium);
  padding: 1rem;
  box-sizing: border-box;
}
.label_type1{
  background-color: var(--label-type1-bg);
  color: var(--label-type1-txt);
}
.label_type2{
  background-color: var(--label-type2-bg);
  color: var(--label-type2-txt);
}
.label_type3{
  background-color: var(--label-type3-bg);
  color: var(--label-type3-txt);
}
.label_type4{
  background-color: var(--label-type4-bg);
  color: var(--label-type4-txt);
}
.label_type5{
  background-color: var(--label-type5-bg);
  color: var(--label-type5-txt);
}
.label_type6{
  background-color: var(--label-type6-bg);
  color: var(--label-type6-txt);
}
.label_type7{
  background-color: var(--label-type7-bg);
  color: var(--label-type7-txt);
}
.label_type8{
  background-color: var(--label-type8-bg);
  color: var(--label-type8-txt);
}
.label_type9{
  background-color: var(--label-type9-bg);
  color: var(--label-type9-txt);
}
.label_type10{
  background-color: var(--label-type10-bg);
  color: var(--label-type10-txt);
}
.label_type11{
  background-color: var(--label-type11-bg);
  color: var(--label-type11-txt);
}
.label_type12{
  background-color: var(--label-type12-bg);
  color: var(--label-type12-txt);
}
.label_type13{
  background-color: var(--label-type13-bg);
  color: var(--label-type13-txt);
}
/* 버튼 공통  */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  vertical-align: middle;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
  padding: 8px 10px;
  font-size: var(--font-size16);
  cursor: pointer;
}

.btn.default {
  background: none;
  color: #666;
  border: 1px solid #D4D6D9;
  border-radius: 20px;
}

.btn.purple {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn.border_purple {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn.disabled {
  border: 1px solid var(--color-disabled);
  color: var(--color-disabled);
  background: none;
}

.btn.link {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn.type {
  background-color: #fff;
  color: var(--color-text);
  padding: 0;
  border: none;
}

.table_wrap {
  border-top: 1px solid #111111;
}

.table_wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.table_wrap table th,
.table_wrap table td {
  border: 1px solid #E0E0E0;
  padding: 1.6rem;
  font-size: var(--font-size17);
  word-break: keep-all;
}

.table_wrap table th {
  background-color: #F6F8FB;
  text-align: center;
}

.table_wrap table td {
  background-color: #fff;
}

.close{
  width: 36px;
  height: 36px;
  background-image: url(../images/close.svg);
}

.mobile_br{
  display: none;
}

/* Form description styles */
.desc {
  margin-top: 0.5rem;
  font-size: var(--font-size13);
  color: #666;
  line-height: 1.4;
}

.desc span {
  display: block;
}

/*skip menu */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#skip-navigation {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 10000;
}

#skip-navigation a {
    position: absolute;
    top: -9999px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

#skip-navigation a:hover, #skip-navigation a:active, #skip-navigation a:focus {
    display: inline-block;
    top: 0;
    width: 150px;
    height: 25px;
    padding: 3px 0;
    border: 3px solid red;
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
    text-align: center;
    background-color: var(--color-white);
}

/* loading */
.loading {
  display:none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}
.loading_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 450px;
  max-width: calc(100% - 4.8rem);
  height: 200px;
  background-color:#F7F8FD;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}

.loading_inner p{
  width: 100%;
  padding-top: 2.8rem;
  line-height: 1;
  text-align: center;
  font-size: var(--font-size17);
}

.loading .loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--color-primary);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  .loading .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  } 


/* page.css*/
.boardpage { clear:both; width:100%; height:auto; text-align:center; overflow:hidden; display: flex; justify-content: center; align-items: center; margin-top: 4.8rem; }
.boardpage strong { color:#111; font-weight:bold; }
.boardpage img { vertical-align:middle; width: 32px; height: 32px;}
.boardpage span { display:inline-block; vertical-align:top;}
.boardpage .bpagenum {display:inline-block; width:auto; height:auto; min-height:15px; padding-right:4px; font-family:Tahoma; font-size:16px; color:#666; text-align:center; overflow:hidden; vertical-align:middle;}
.boardpage .bpagenum a { display:inline-block; margin:2px 0; padding:0 1px 0 4px; min-width:32px; line-height:32px; text-align:center; }
.boardpage .bpagenum span { display:inline-block; margin:2px 0; padding:0 1px 0 4px; min-width:32px; line-height:32px; text-align:center; }
.boardpage .bpagenum a:first-child { border-left:none; padding-left:1px;}
.boardpage .bpagenum a:link, 
.boardpage .bpagenum a:visited, 
.boardpage .bpagenum a:active { color:#111; text-decoration:none; }
.boardpage .bpagenum a.pageselect { background-color: var(--color-primary); border-radius: 8px; color: #fff; font-weight:bold; }
.boardpage .bpagenum a.pageselect:link, 
.boardpage .bpagenum a.pageselect:visited, 
.boardpage .bpagenum a.pageselect:active, 
.boardpage .bpagenum a.pageselect:focus,
.boardpage .bpagenum a.pageselect:hover{ font-weight:bold; color:#fff; }
.boardpage .bpagenum span.pageselect { font-weight:bold; color:#fff;}
.boardpage .bpagenum span.pageselect:link, 
.boardpage .bpagenum span.pageselect:visited, 
.boardpage .bpagenum span.pageselect:active, 
.boardpage .bpagenum span.pageselect:focus,
.boardpage .bpagenum span.pageselect:hover{ font-weight:bold; color:#111;}
.boardpage .bpageimg { width:32px; height:32px; overflow:hidden; }
.boardpage .bpageimg a { border:none; padding:0; width: 32px; height: 32px;}
.boardpage .bpageimg img { border:none; width: 32px; height: 32px;}
.boardpage .bpageimgnolink { width:32px; height:32px; overflow:hidden; }

#downfix {
  position: fixed;
  bottom: 0;
  width: 958px;
  height: 64px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  background-color: #41395A;
  color: #fff;
  z-index: 99;
}

#downfix ul{
  width: calc(100% - 352px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#downfix ul li{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.8rem;
}

#downfix ul li a{
  display: flex;
  align-items: center;
  justify-content: center;
}


#downfix a {
  color: #fff;
  font-size: var(--font-size17);
  font-weight: var(--font-weight-medium);
}

#downfix .noticemsg {
  position: relative;
  width: 352px;
  height: 100%;
  font-size: var(--font-size15);
  padding: 0 1.6rem;
  text-align: left;
  background: #1F1931;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}

#downfix .iconlink li {
  position: relative;
  width: fit-content;
  font-size: var(--font-size17);
  font-weight: var(--font-weight-medium);
}

#downfix .iconlink li img {
  width: 22px;
  height: 22px;
  margin-right: 1rem;
}

#downfix .iconlink li:not(:last-child){
  border-right: 1px solid #fff;
}


@media screen and (max-width: 1024px) {
  .mobile_br{
    display: block;
  }

  .container {
    max-width: 100%;
  }

  .btn_section{
    margin-top: 1.6rem;
  }

  #downfix {
    width: 100%;
    height: auto;
    left: 0;
    bottom: 0;
    /* flex-direction: column; */
    flex-wrap: wrap;
  }
  
  #downfix ul{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0;
  }
  #downfix ul li{
    flex: 1 1 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.6rem 0;
  }
  
  #downfix ul li a{
    padding: 0 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  #downfix a {
    color: #fff;
    font-size: var(--font-size15);
    font-weight: var(--font-weight-medium);
  }
  
  #downfix .noticemsg {
    width: 100%;
    height: auto;
    font-size: var(--font-size15);
    padding: 1rem 1.6rem;
    
  }
  
  #downfix .iconlink li img {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
  }
  
  #downfix .iconlink li:not(:last-child){
    border-right: none;
  }
}

@media screen and (max-width: 768px) {
  .pc{
    display: none !important;
  }
  .mobile{
    display: block;
  }

  .boardpage{
    margin: 3.2rem 0 2.4rem;
    padding: 0 3.2rem;
  }
  .boardpage .bpagenum a{
    width: 24px;
    height: 24px;
    line-height: 24px;
    min-width: auto;
    font-weight: var(--font-weight-regular) !important;
  }
  #downfix {
    position: relative;
    margin-bottom: 3.2rem
  }
}

#organization-options,#year-options {max-height: 240px;overflow-y: auto;overflow-x: hidden;}
#organization-options::-webkit-scrollbar,#year-options::-webkit-scrollbar {width: 6px;}
#organization-options::-webkit-scrollbar-thumb,#year-options::-webkit-scrollbar-thumb {background: #bbb;border-radius: 3px;}
#organization-options::-webkit-scrollbar-track,#year-options::-webkit-scrollbar-track {background: #f5f5f5;}

.organ-depth2 { margin-top: 40px; } 
.organ-depth2:first-of-type { margin-top: 0; } /* 레벨 2 제목 */ 
.organ-depth2-title { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #222; } 
.organ-depth2-title h4 { margin: 0; font-size: 24px; font-weight: 700; }
.organ-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } /* 레벨 3 하나의 박스 */ 
.organ-category { border: 1px solid #ddd; background: #fff; } /* 레벨 3 제목 */ 
.organ-category-title { padding: 14px 18px; background: #f5f6f8; border-bottom: 1px solid #ddd; } 
.organ-category-title h5 { margin: 0; font-size: 18px; font-weight: 700; } 
.organlist { margin: 0; padding: 12px 18px; list-style: none; } 
.organlist li { display: flex; align-items: center; padding: 6px 0; line-height: 1.5; } 
.organlist li a { flex: 1; color: #333; text-decoration: none; } 
.organlist li a:hover { color: #0066cc; text-decoration: underline; } 
.organlist li span { flex-shrink: 0; margin-left: 5px; color: #777; }
@media (max-width: 1200px) { .organ-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } 
@media (max-width: 768px) { .organ-category-grid { grid-template-columns: 1fr; } }
.organ-category .organlist {max-height: 280px; overflow-y: auto; overflow-x: hidden;}
.organ-direct-level2 {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;}
.organ-direct-level2 .organ-depth2 {margin-top: 0;}
@media (max-width: 1200px) {.organ-direct-level2 {grid-template-columns: repeat(2, minmax(0, 1fr));}}
@media (max-width: 768px) {.organ-direct-level2 {grid-template-columns: 1fr;}}
/* 스크롤바 디자인 */
.organ-category .organlist::-webkit-scrollbar {width: 6px;}
.organ-category .organlist::-webkit-scrollbar-track {background: #f1f1f1;}
.organ-category .organlist::-webkit-scrollbar-thumb {background: #bbb; border-radius: 3px;}
.organ-category .organlist::-webkit-scrollbar-thumb:hover {background: #999;}

.detail_info {
    margin-top: 15px;
    padding: 0;
}

.detail_info .record_list {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.detail_info .record_list caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.detail_info .record_list th,
.detail_info .record_list td {
    padding: 13px 15px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    vertical-align: middle;
}

.detail_info .record_list th {
    width: 20%;
    background: #f7f8fa;
    color: #444;
    font-weight: 600;
    white-space: nowrap;
}

.detail_info .record_list td {
    width: 30%;
    color: #555;
    background: #fff;
    line-height: 1.5;
}

.detail_info .record_list tr:last-child th,
.detail_info .record_list tr:last-child td {
    border-bottom: 0;
}

.detail_info .record_list a {
    color: #2563eb;
    text-decoration: none;
}

.detail_info .record_list a:hover {
    text-decoration: underline;
}