/* 수소분야 규제개선 현황
   - reformation / regulatoryinnovation 사용자 목록
   - _site/h2hub/main/_content/regulation.jsp 스타일 이관
*/
.regulation .mainTab {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: transparent;
}

.regulation .mainTab ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.regulation .mainTab ul li {
  display: inline-block;
  margin-left: -4px;
  width: 27.6rem;
  height: 60px;
  line-height: 58px;
  padding: 0 0.8rem;
  text-align: center;
  cursor: pointer;
  background: #f3f3f3;
  box-sizing: border-box;
  border-radius: 1rem;
}

.regulation .mainTab ul li + li {
  margin-left: 1.5rem;
}

.regulation .mainTab ul li:first-child {
  margin-left: 0;
}

#sub_container .regulation .mainTab ul li {
  color: #777;
  font-weight: 400;
  font-size: 1.5rem;
}

.regulation .regulation .mainTab ul li a {
  color: #000;
  font-size: 18px;
  font-weight: bold;
}

.regulation .mainTab ul li.plus {
  padding-right: 40px;
  text-align: right;
  background-color: #fff;
}

#sub_container .regulation .mainTab ul li.on {
  border: 1px solid #3195e1;
  background-color: #f4faff;
  border-radius: 1rem;
  color: #0066b3;
  font-weight: 500;
}

.regulation .mainTab ul li.on a {
  color: #0066b3;
  font-weight: 400;
}

.regulation .conTabBox {
  width: 100%;
  height: auto;
  overflow: hidden;
  min-height: 200px;
  background: #fff;
  display: none;
  text-align: center;
  box-sizing: border-box;
}

.regulation .conTabBox .line {
  width: 100%;
  padding: 20px 40px;
  text-align: left;
  box-sizing: border-box;
}

.regulation .conTabBox a {
  width: 100%;
  display: inline-block;
  font-size: 1.5rem;
  color: #000;
}

#sub_container .regulation .conTabBox p {
  font-size: 1.5rem;
}

.regulation .conTabBox em {
  float: right;
  font-size: 14px;
}

.regulation .conTabBox.on {
  display: block;
  padding: 0;
  margin-top: -1px;
}

.regulation .tab .inner {
  overflow-x: auto;
}

.regulation .tab .bn-search form.alignRight {
  margin-bottom: 1rem;
}

#sub_container .list-decimal2 li,
#sub_container .list-decimal li {
  display: table;
  font-size: 1.5rem;
  font-weight: 400;
  color: #212529;
}

#sub_container .list-decimal li span {
  display: table-cell;
  width: 20px;
}

#sub_container .list-decimal2 li span {
  display: table-cell;
  width: 10px;
}

#sub_container h3,
#sub_container .regulation .conTabBox p {
  text-align: left;
}

.quote-fix {
  display: inline-block;
  text-indent: -9px;
}

.bn-search {
  padding: 0 0 1rem;
}

/* 두 게시판의 분야 칸 너비 공통 적용 */
#sub_container #mainCon1 .panel-group .panel-heading > div > p,
#sub_container #mainCon2 .panel-group .panel-heading > div > p {
  width: 155px;
}

/* 현황 테이블 대각선 */
#mainCon1 .diagonal,
#mainCon2 .diagonal {
  background-image: linear-gradient(
    to left bottom,
    transparent calc(50% - 1px),
    #c5c9d0,
    transparent calc(50% + 1px)
  );
  background-size: 120% 120%;
  background-position: center;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .regulation #mainCon1 .tab ul,
  .regulation #mainCon2 .tab ul {
    width: 150%;
  }
}

@media (max-width: 850px) {
  .regulation #mainCon1 .tab ul,
  .regulation #mainCon2 .tab ul {
    width: 130%;
  }
}

@media (max-width: 767.98px) {
  .regulation .mainTab ul li + li {
    margin-left: 1rem;
  }

  .regulation .mainTab ul li {
    height: 50px;
    line-height: 50px;
  }
}

@media (max-width: 640px) {
  .bn-search .b-total-wrap .b-total-current-box > p > span {
    margin-top: 1.5rem;
  }

  .regulation #mainCon1 .tab ul,
  .regulation #mainCon2 .tab ul {
    width: 140%;
  }
}

@media (max-width: 480px) {
  .regulation #mainCon1 .mainTab ul li,
  .regulation #mainCon2 .mainTab ul li {
    width: 50%;
  }
}

@media (max-width: 440px) {
  .regulation #mainCon1 .tab ul,
  .regulation #mainCon2 .tab ul {
    width: 180%;
  }
}

/* ===== 게시판 사용자 목록 추가 ===== */
.regulation .mainTab ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.regulation .tab ul li.item a {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.regulation-table .regulation-status tr.total th,
.regulation-table .regulation-status tr.total td {
  font-weight: bold;
  background: #eef1f5;
}

.regulation-table .regulation-status td.sum {
  font-weight: bold;
}

#sub_container .regulation .conTabBox p.regulation-table-note {
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #555;
}

.regulation .panel-body .reform-text {
  white-space: pre-line;
}

.regulation .panel-body .reform-admin {
  text-align: right;
}

#sub_container .regulation .conTabBox .panel-body .reform-admin a {
  width: auto;
  font-size: 1.4rem;
  color: #0066b3;
}

#sub_container .regulation .conTabBox p.b-no-post {
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* 리스트 검색 영역 - common 게시판과 동일하게 */
.regulation .conBox .bn-search form {
  justify-content: space-between;
}

.regulation .conBox .bn-search .b-total-wrap {
  text-align: left;
}

/* 리스트 검색 영역 위아래 간격 */
.regulation .conBox .board.common .bn-search {
  margin: 2rem 0 1.5rem;
}