@charset "utf-8";

#rule-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px 24px;
}

#rule-page .titType1 {
  margin-bottom: 16px;
}

#rule-page .titType1 h4 {
  font-size: 30px;
  font-weight: 500;
  color: #333;
  padding-left: 30px;
  background: url(../img/tit-type1-front.png) no-repeat 0 50%;
  background-size: 18px auto;
}

#rule-page .tabType1 {
  font-size: 0;
  margin: -8px;
}

#rule-page .tabType1 li {
  display: inline-block;
  vertical-align: top;
  width: 25%;
  padding: 8px;
  box-sizing: border-box;
}

#rule-page .tabType1 li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  background: #e7e7e7;
  font-size: 16px;
  color: #333;
  border: 1px solid #ddd;
  text-align: center;
  padding: 8px 10px;
  line-height: 1.4;
  white-space: normal;
  word-break: keep-all;
}

#rule-page .tabType1 li.active a {
  background: #dc000c;
  color: #fff;
  border-color: #dc000c;
}

#rule-page .editorBox {
  margin-top: 24px;
}

#rule-page .editorBox .addBtn {
  text-align: right;
  margin-bottom: 14px;
}

#rule-page .editorBox .addBtn a {
  height: 44px;
  line-height: 44px;
  display: inline-block;
  padding: 0 22px;
  background: #dc000c;
  font-size: 15px;
  color: #fff;
  border-radius: 0.45rem;
}

#rule-page .rule-content {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0.6rem;
  padding: 20px;
}

#rule-page .rule-empty {
  margin: 0;
  padding: 12px 0;
  font-size: 15px;
  color: #666;
}

@media screen and (max-width: 1200px) {
  #rule-page {
    padding: 0 10px 20px;
  }

  #rule-page .titType1 h4 {
    font-size: 22px;
    padding-left: 25px;
    background-size: 15px auto;
  }

  #rule-page .tabType1 li {
    width: 50%;
  }

  #rule-page .tabType1 li a {
    min-height: 46px;
    font-size: 14px;
    padding: 0 8px;
  }

  #rule-page .editorBox .addBtn a {
    height: 38px;
    line-height: 38px;
    font-size: 13px;
    padding: 0 16px;
  }

  #rule-page .rule-content {
    border-radius: 0;
    padding: 14px;
  }
}
