

/* News List */
.bbs-news .table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #727171;
}

.bbs-news .table thead tr{
  border-bottom: 1px solid #D2D2D2;
}
.bbs-news .table tr {
  border-bottom: 1px solid #d3d3d3;
  position: relative;
}

.bbs-news .table th{
  font-size: 1.6rem;
  padding: 15px 0;
}
.bbs-news .table td {
  padding: 13px 0;
  font-size: 1.6rem;
}
.bbs-news .table.td-py-18 td{
  padding: 18px 0;
}
.bbs-news .table td a {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bbs-news .table td.subject a:before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.bbs-news .table tr.tr-notice {
}

/* .bbs-news .table tr.tr-notice .no {
  font-weight: 600;
  font-size: 1.6rem;
} */

.bbs-news .table tr.tr-notice .no .tag{
  color: #fff;
  background-color: #21409A;
  width: 50px;
  height: 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bbs-news .table tr.table-message .txt {
  text-align: center;
  padding: 130px 20px;
}

.bbs-news .table tr.table-message .txt p {
  font-size: 1.8rem;
}

@media screen and (max-width:1200px) {
  .bbs-news .table th,
  .bbs-news .table td {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .bbs-news .table th, 
  .bbs-news .table td {
    height: 50px;
    padding: 6px;
  }
}
@media screen and (max-width:768px) {
  .bbs-news .table thead {
    display: none;
  }

  .bbs-news .table {
    display: block;
  }

  .bbs-news .table tbody {
    display: block;
  }

  .bbs-news .table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 4px;
  }

  .bbs-news .table th,
  .bbs-news .table td,
  .bbs-news .table.td-py-18 td {
    position: relative;
    height: auto;
    padding: 4px 6px;
    font-size: 1.4rem;
  }

  .bbs-news .table td.no {
    order: 2;
  }

  .bbs-news .table td.no::after,
  .bbs-news .table td.writer::after,
  .bbs-news .table td.country:after,
  .bbs-news .table td.sector:after {
    content: "";
    display: block;
    position: absolute;
    top:50%;
    right:0;
    transform: translateY(-50%);
    width: 1px;
    height:10px;
    background-color:#999;
  }

  .bbs-news .table td.subject {
    width: 100%;
    order: 1;
    position: unset;
  }
  .bbs-news .table td.writer{
    order: 3;
  }
  .bbs-news .table td.data {
    order: 4;
  }
  .bbs-news .table td.country{
    order: 3;
  }
  .bbs-news .table td.sector{
    order: 3;
  }

  .bbs-news .table tr.tr-notice .no .tag{
    width: auto;
    height: auto;
    color: #21409A;
    background-color: transparent;
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-news .table tr {
    padding: 4px 2px;
  }

  .bbs-news .table th,
  .bbs-news .table td {
    font-size: 1.3rem;
  }
  .bbs-news .table tr.tr-notice .no .tag{
    font-size: 1.3rem;
  }
}
/* Board View */
.bbs-view {
  border-top: 2px solid #727171 ;
}

.bbs-view-head {
  padding: 30px 0px;
  border-bottom: 1px solid #949494;
}

.bbs-view-head .subject{display: flex;
gap: 15px;
align-items: center;}
.bbs-view-head .subject .cate-gory{
  background-color: #1C459E;
  color: #fff; 
  padding: 7px 17px;
  border-radius: 5px;
}


@media all and (max-width:768px){
  
.bbs-view-head .subject{
  flex-direction: column;
  
}
.bbs-view-head .subject .cate-gory{
  padding: 5px 10px;
}
}
.bbs-view-head .data {
  position: relative;
}

.bbs-view-head .data p{
  display: flex;
  align-items: center;
  gap: 20px;
  color: #9A9A9A;
}
.bbs-view-head .data b{
  padding: 7px 17px;
  border-radius: 5px;
  background-color: rgba(28, 69, 158, 0.1);
  color: #1C459E;
}
.bbs-view-head .data .ico-time{
  width: 16px;
  height: 16px;
  background: url(/asset/img/common/ico-time.svg)no-repeat center center / cover;
}

.bbs-view-area {
  min-height: 380px;
  padding: 30px 0px;
}

.bbs-view-area ul {
  list-style-type: disc !important; /* 강제 적용 */
  padding-left: 30px !important;    /* 왼쪽 여백 강제 적용 */
  margin-left: 0;
}

.bbs-view-area ol {
  list-style-type: decimal !important;
  padding-left: 30px !important;
}

/* 개별 항목 설정 */
.bbs-view-area li {
  list-style: inherit !important; /* 부모(ul/ol)의 설정을 따르도록 함 */
  display: list-item !important;  /* 가끔 display: block으로 되어있을 때를 대비 */
}

.bbs-view-file {
  padding:20px 0px;
  border-bottom: 1px solid #949494;
}

.bbs-view-file .file {
  padding: 20px;
  border-radius: 5px;
  background-color: #F5F5F5;
}

.bbs-view-file .file a {
  display: flex;
  align-items: center;
  gap:10px;
}

.bbs-view-file .file i {
  display: block;
  width: 21px;
  height:21px;
  background: url('/asset/img/common/ico-down.svg') no-repeat center /cover;
}

.bbs-view-file .file span {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: calc(100% - 40px);
}

.bbs-view-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.bbs-view-nav .nav-prev,
.bbs-view-nav .nav-next {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid #d9d9d9;
  gap: 15px;
  height: 60px;
}

.bbs-view-nav:not(:has(.nav-prev)) {
  justify-content: flex-end;
}
.bbs-view-nav .nav-prev i,
.bbs-view-nav .nav-next i {
  display: inline-block;
  width: 15px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.bbs-view-nav .nav-prev i {
  background-image: url('/asset/img/common/ico-arw01.svg');
}

.bbs-view-nav .nav-next i {
  background-image: url('/asset/img/common/ico-arw02.svg');
}

.bbs-view-nav .nav-prev span,
.bbs-view-nav .nav-next span {
  display: block;
}

.bbs-view-nav .nav-prev p,
.bbs-view-nav .nav-next p {
  display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; 
	-webkit-box-orient: vertical;
	overflow: hidden;
  white-space: nowrap;
}

.bbs-view-nav .nav-prev {
  left: 0;
}

.bbs-view-nav .nav-next {
  right: 0;
  text-align: right;
}

.bbs-view-nav .nav-back {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  background-color: #21409A;
}

@media screen and (max-width:1400px) {

}
@media screen and (max-width:1200px) {

}
@media screen and (max-width:1024px) {

}
@media screen and (max-width:768px) {
  .bbs-view-nav{
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .bbs-view-head .data p{
    gap: 10px;
  }
  .bbs-view-nav .nav-prev,
  .bbs-view-nav .nav-next{
    height: 45px;
    order: 1;
    width: 100px;
    gap: 5px;
  }

  .bbs-view-nav .nav-back{
    height: 45px;
    order: 3;
    width: 100%;
    position: unset;
    transform: none;
  }
}
@media screen and (max-width:576px) {

}
/* 검색바 */
.search {
  display: flex;
  justify-content: flex-end;
}
.search form{
  display: flex;
  gap: 10px;
}
.search .search-select{
  width: 180px;
  height: 50px;
}
.search .search-select select{
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background: #F5F5F5 url(/asset/img/sub/demo/ico-select.svg)no-repeat center right 20px;
  border-radius: 5px;
  cursor: pointer;
  border: none;

}

.search .search-input{
  position: relative;
  width: 560px;
  height: 50px;
}
.search .search-input input{
  width: 100%;
  height: 100%;
  padding: 0 120px 0 20px;
  border-radius: 5px;
  background-color: #F5F5F5;
  border: none;
}
.search .search-input button{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 120px;
  border-radius: 0 5px 5px 0;
  background-color: #727171;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
@media all and (max-width:1400px){
  .search .search-input{
    width: 500px;
  }
}

@media all and (max-width:1024px){
  .search .search-select{
    width: 140px;
    height: 45px;
  } 
  .search .search-input{
    width: 400px;
    height: 45px;
  }
  .search .search-input button{
    width: 100px;
  }
}
@media all and (max-width:768px){
  .search .search-select{
    width: 120px;
  } 
  .search .search-input{
    width: calc(100% - 130px);
    max-width: 300px;
  }
  .search .search-input input{
    padding: 0 85px 0 10px;
  }
  .search .search-select select{
    padding: 0 10px;
  }
  .search .search-input button{
    width: 75px;
  }
}

@media all and (max-width:576px){
  .search .search-select{
    height: 40px;
  } 
  .search .search-input{
    height: 40px;
  }
  .search .search-input button{
    width: 60px;
  }
  .search .search-input input{
    padding-right: 70px;
  }
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width:25px;
  height:25px;
  margin: 0 5px;
	border-radius:50%;
  background-repeat:no-repeat;
  background-position:center;
  background-color:transparent;
  text-align: center;
  font-size:1.8rem;
  transition:all ease-out .15s;
  color: 000;
}

.pagination a:not(.current) {
  cursor:pointer;
}

.pagination a.current {
	color:#21409A;
	font-weight:700;
}

.pagination a.pagination-prev,
.pagination a.pagination-next {
  background-color: #f5f5f5;
}

.pagination a.pagination-prev {
	margin-right:16px;
  background-image: url('/asset/img/common/page-arw01.png');
}

.pagination a.pagination-next {
	margin-left:16px;
  background-image: url('/asset/img/common/page-arw02.png');
}

@media screen and (max-width:1200px) {
  .pagination a {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .pagination {
    margin-top: 60px;
  }

  .pagination a {
    width: 30px;
    height:30px;
    margin: 0px 4px;
  }
}
@media screen and (max-width:768px) {
  .pagination {
    margin-top: 40px;
  }

  .pagination a {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .pagination {
    margin-top:30px;
  }

  .pagination a {
    width:26px;
    height:26px;
    margin: 0px 2px;
    background-size: auto 8px;
    font-size: 1.4rem;
  }
}


/* On the Ground */
.hub-common-bbs{
  display: flex;
  flex-wrap: wrap;
  gap: 60px 28px;
}
.hub-common-bbs.item03 .hub-common-box{
  width: calc(33.333% - 18.666px);
}
.hub-common-box{
  position: relative;
  display: block;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 1/1.263;
}
.hub-common-box .bgimg-box{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hub-common-box .retxt-box{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 80px 20px;
  z-index: 2;
  background-color: rgba(0,0,0,.4);
}
.hub-common-box .retxt-box .orange-top{
  background-color: #21409A;
  padding: 3px 21px;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
}

@media all and (max-width:1400px){
  .hub-common-box .retxt-box{
    padding: 40px 20px;
  }
}
@media all and (max-width:1024px){
  .hub-common-box .retxt-box{
    padding: 20px 10px;
  }

  .hub-common-box .retxt-box .eng{
    font-size: 1.8rem;
  }
  .hub-common-box .retxt-box .kor{
    font-size: 2rem;
  }
}

@media all and (max-width:768px){
  .hub-common-bbs{
    gap: 20px;
  }
  .hub-common-bbs.item03 .hub-common-box{
    width: calc(50% - 10px);
  }
  .hub-common-box .retxt-box .orange-top{
    padding: 1px 5px;
  }
}
@media all and (max-width:576px){
  .hub-common-bbs{
    gap: 10px;
  }
  .hub-common-bbs.item03 .hub-common-box{
    width: calc(50% - 5px);
  }
  .hub-common-box .retxt-box .eng{
    font-size: 1.4rem;
  }
  .hub-common-box .retxt-box .kor{
    font-size: 1.6rem;
  }
}
