/* Search */
.search {
  max-width: 684px;
  width: 100%;
}

.search-inner {
  display: flex;
  border-radius: 50px;
  border:1px solid #B3B3B3;
  overflow: hidden;
}

.search .search-select {
  width: 200px;
  height:60px;
  border-right: 1px solid #B3B3B3;
}

.search .search-input {
  position: relative;
  width: calc(100% - 200px);
  height: 60px;
  padding-right: 150px;
}

.search select, 
.search input {
  width: 100%;
  height: 100%;
  padding: 0px 30px;  
  font-size: 2rem;
}

.search select {
  background-position: right 30px center;
  background-image: url('/en/asset/img/bbs/sch_select.svg');
}

.search button {
  position: absolute;
  top:0;
  right:0;
  width: 150px;
  height: 100%;
  background-color: #E6EBF0;
  font-size: 2rem;
}

@media screen and (max-width:1200px) {
  .search select, 
  .search input {
    font-size: 1.8rem;
  }

  .search button {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:1024px) {
  .search {
    max-width: 580px;
  }

  .search .search-select {
    width: 140px;
    height:50px;
  }

  .search .search-input {
    width: calc(100% - 140px);
    height: 50px;
    padding-right: 120px;
  }

  .search select, .search input {
    padding: 0px 20px;
  }

  .search select {
    background-position: right 20px center;
  }

  .search button {
    width: 120px;
  }
}
@media screen and (max-width:768px) {
  .search {
    max-width: 440px;
  }

  .search .search-select {
    width: 100px;
    height:44px;
  }

  .search .search-input {
    width: calc(100% - 100px);
    height: 44px;
    padding-right: 80px;
  }

  .search select, 
  .search input {
    font-size: 1.6rem;
  }

  .search button {
    width: 80px;
    font-size: 1.6rem;
  }
}
@media screen and (max-width:576px) {
  .search {
    max-width: 100%;
  }

  .search .search-select {
    width: 80px;
    height:36px;
  }

  .search .search-input {
    width: calc(100% - 80px);
    height: 36px;
    padding-right: 60px;
  }

  .search select, 
  .search input {
    padding: 0px 16px;
    font-size: 1.4rem;
  }

  .search select {
    background-position: right 16px center;
    background-size: auto 6px;
  }

  .search button {
    width: 60px;
    font-size: 1.4rem;
  }
}


/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width:35px;
  height:35px;
	margin:0px 7px;
	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;
}

.pagination a:not(.current) {
  cursor:pointer;
}

.pagination a.current {
	color:#003763;
	font-weight:800;
}

.pagination a.pagination-prev,
.pagination a.pagination-next {
  background-color: #f5f5f5;
}

.pagination a.pagination-prev {
	margin-right:7px;
  background-image: url('/en/asset/img/bbs/pg_prev.svg');
}

.pagination a.pagination-next {
	margin-left:7px;
  background-image: url('/en/asset/img/bbs/pg_next.svg');
}

@media screen and (max-width:1200px) {
  .pagination a {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .pagination {
    margin-top: 80px;
  }

  .pagination a {
    width: 30px;
    height:30px;
    margin: 0px 4px;
  }
}
@media screen and (max-width:768px) {
  .pagination {
    margin-top: 60px;
  }

  .pagination a {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .pagination {
    margin-top:40px;
  }

  .pagination a {
    width:26px;
    height:26px;
    margin: 0px 2px;
    background-size: auto 8px;
    font-size: 1.4rem;
  }
}



/* Board Cert List */
.bbs-cert .list {
  display: flex;
  flex-wrap: wrap;
  margin: -30px -12px;
}

.bbs-cert .list li {
  flex:1 0 25%;
  max-width: 25%;
  padding: 30px 12px;
}

.bbs-cert .list .card {
  cursor: pointer;
}

.bbs-cert .list .thumb {
  position: relative;
  width: 100%;
  height:0;
  padding-top: calc(500/357*100%);
  border-radius: 20px;
  overflow: hidden;
}

.bbs-cert .list .thumb img {
  display: block;
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
}

.bbs-cert .list .con {
  margin-top: 30px;
}

.bbs-cert .list .subject {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 2.4rem;
  font-weight:700;
  line-height:1.5;
  text-align: center;
}

@media screen and (max-width:1200px) {
  .bbs-cert .list .subject {
    font-size: 2rem;
  }
}
@media screen and (max-width:1024px) {
  .bbs-cert .list {
    margin: -16px -6px;
  }

  .bbs-cert .list li {
    padding: 16px 6px;
  }

  .bbs-cert .list .con {
    margin-top: 20px;
  }
}
@media screen and (max-width:768px) {
  .bbs-cert .list li {
    flex:1 0 50%;
    max-width: 50%;
  }

  .bbs-cert .list .subject {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-cert .list {
    margin: -10px -4px;
  }

  .bbs-cert .list li {
    padding: 10px 4px;
  }

  .bbs-cert .list .thumb {
    border-radius: 10px;
  }

  .bbs-cert .list .con {
    margin-top: 12px;
  }

  .bbs-cert .list .subject {
    font-size: 1.4rem;
  }
}


/* Board Case List */
.board-case .list {
  display: flex;
  flex-wrap: wrap;
  margin: -30px -12px;
}

.board-case .list li {
  flex:1 0 33.33%;
  max-width: 33.33%;
  padding: 30px 12px;
}

.board-case .list .thumb {
  position: relative;
  width: 100%;
  height:0;
  padding-top: calc(320/484*100%);
  margin-bottom: 30px;
  border-radius:20px;
  overflow: hidden;
}

.board-case .list .thumb img {
  display: block;
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  transition:all .6s cubic-bezier(.25,.46,.45,.94);
}

.board-case .list .subject {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  transition:all .6s cubic-bezier(.25,.46,.45,.94);
}

@media screen and (min-width:1201px) {
  .board-case .list li:hover .thumb img {
    transform: scale(1.08);
  }

  .board-case .list li:hover .subject {
    color:#003763;
  }
}
@media screen and (max-width:1200px) {
  .board-case .list .subject {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:1024px) {
  .board-case .list {
    margin: -16px -6px;
  }

  .board-case .list li {
    padding: 16px 6px;
  }

  .board-case .list .thumb {
    margin-bottom: 20px;
  }
}
@media screen and (max-width:768px) {
  .board-case .list li {
    flex:1 0 50%;
    max-width: 50%;
  }

  .board-case .list .subject {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:576px) {
  .board-case .list {
    margin: -10px -4px;
  }

  .board-case .list li {
    padding: 10px 4px;
  }

  .board-case .list .thumb {
    border-radius: 10px;
    margin-bottom: 12px;
  }
  
  .board-case .list .subject {
    font-size: 1.4rem;
  }
}


/* Board View */
.bbs-view {
  border-top: 2px solid #808080;
}

.bbs-view .bbs-view-area {
  border-bottom: 1px solid #C9C9C9;
}

.bbs-view .bbs-view-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bbs-view .subject {
  padding: 30px 20px;
  border-bottom: 1px solid #C9C9C9;
}

.bbs-view .data {
  padding: 15px 20px;
  border-bottom: 1px solid #C9C9C9;
}

.bbs-view .file {
  padding: 15px 20px;
  border-bottom: 1px solid #C9C9C9;
}

.bbs-view .file a {
  display: inline-flex;
  align-items: center;
  gap:10px;
}

.bbs-view .file i {
  display: inline-block;
  width: 16px;
  height:16px;
  background: url('/en/asset/img/icon/ico_file.svg') no-repeat center / cover;
}

.bbs-view .textarea {
  min-height:580px;
  padding: 50px 20px;
}

.bbs-view .textarea p {
  font-size: 1.8rem;
  line-height:1.5;
}

.bbs-view .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  font-size: 1.8rem;
  transition: all .3s ease;
}

.bbs-view .btn01 {
  width: 150px;
  color:#003763;
  background-color: #E6EBF0 ;
}

.bbs-view .btn02 {
  width: 200px;
  color:#fff;
  background-color: #003763;
}

@media screen and (max-width:1200px) {
  .bbs-view .textarea p {
    font-size: 1.6rem;
  }

  .bbs-view .btn {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .bbs-view .subject {
    padding: 20px 16px;
  }

  .bbs-view .data {
    padding: 12px 16px;
  }

  .bbs-view .file {
    padding: 12px 16px;
  }

  .bbs-view .file a {
    gap:6px;
  }

  .bbs-view .file i {
    width: 14px;
    height:14px;
    background-size: auto 14px;
  }

  .bbs-view .textarea {
    padding: 36px 16px;
  }

  .bbs-view .btn {
    height: 50px;
  }

  .bbs-view .btn01 {
    width: 120px;
  }

  .bbs-view .btn02 {
    width: 160px;
  }
}
@media screen and (max-width:768px) {
  .bbs-view .textarea {
    min-height: 420px;
  }

  .bbs-view .textarea p {
    font-size: 1.4rem;
  }

  .bbs-view .btn {
    height: 44px;
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-view .subject {
    padding: 16px 10px;
  }

  .bbs-view .data {
    padding: 8px 10px;
  }

  .bbs-view .file {
    padding: 8px 10px;
  }

  .bbs-view .file a {
    gap:4px;
  }

  .bbs-view .file i {
    width: 13px;
    height:13px;
    background-size: auto 13px;
  }

  .bbs-view .textarea {
    min-height:320px;
    padding: 20px 10px;
  }

  .bbs-view .textarea p {
    font-size: 1.2rem;
  }

  .bbs-view .btn {
    height: 36px;
    font-size: 1.2rem;
  }

  .bbs-view .btn01 {
    width: 80px;
  }

  .bbs-view .btn02 {
    width: 100px;
  }
}


/* Board Modal */
.bbs-modal {
  display: none;
	position: fixed;
	top:0;
	left:0;
	width:100%;
  height: 100%;
	padding:20px;
  visibility: hidden;
	z-index: 9999;
}

.bbs-modal .modal-con {
	display: flex;
  justify-content: center;
  align-items: center;
	position: relative;
  max-width:380px;
  width: 100%;
	margin:0 auto;
}

.bbs-modal .modal-con-wrap {
  position: relative;
  width: 100%;
}

.bbs-modal .swiper {
  overflow: hidden;
  width: 100%;
}

.bbs-modal .swiper .img {
  position: relative;
  width: 100%;
  height:0;
  padding-top: calc(559/380*100%);
  overflow: hidden;
  border-radius: 20px;
}

.bbs-modal .swiper .img img {
  display: block;
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
}

.bbs-modal .swiper .con {
  margin-top: 30px;
}

.bbs-modal .swiper .subject {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color:#fff;
}

.bbs-modal .prev,
.bbs-modal .next {
  display: block;
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  width: 60px;
  height:60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  z-index: 10;
}

.bbs-modal .prev {
  left:-100px;
  background-image: url('/en/asset/img/bbs/si_prev.svg');
}

.bbs-modal .next {
  right: -100px;
  background-image: url('/en/asset/img/bbs/si_next.svg');
}

.bbs-modal .swiper-button-disabled {
  display: none;
}

.bbs-modal .modal-bak {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.bbs-modal.open {
  display: flex;
  align-items: center;
  visibility: visible;
}

@media screen and (max-width:1200px) {
  .bbs-modal .swiper .subject {
    font-size: 2rem;
  }
}
@media screen and (max-width:1024px) {
  .bbs-modal .prev, .bbs-modal .next {
    width: 40px;
    height:40px;
  }

  .bbs-modal .prev {
    left: -60px;
  }

  .bbs-modal .next {
    right: -60px;
  }

  .bbs-modal .swiper .con {
    margin-top: 20px;
  }
}
@media screen and (max-width:768px) {
  .bbs-modal .swiper .subject {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-modal .modal-con {
    max-width: 220px;
  }

  .bbs-modal .modal-con-wrap {
    max-width: 220px;
  }

  .bbs-modal .prev, .bbs-modal .next {
    width: 30px;
    height: 30px;
  }

  .bbs-modal .prev {
    left: -40px;
  }

  .bbs-modal .next {
    right: -40px;
  }

  .bbs-modal .swiper .img {
    padding-top: calc(323/220*100%);
  }

  .bbs-modal .swiper .con {
    margin-top: 12px;
  }

  .bbs-modal .swiper .subject {
    font-size: 1.4rem;
  }

}
