/* default */

html,
body {
  font-family: "KaiTi TC", "Kaiti SC", "KaiTi_GB2312", "楷体", "华文楷体", "STKaiti", serif !important;
  overflow-x: hidden;
}
body {
  background: url(../img/bg-light.png);
  background-attachment: fixed;
}
a {
  color: #000000;
}
a:hover {
  color: #000000;
  text-decoration: none;
}

/* p1 */
/* bg */
.p1 {
  position: relative;
  height: 410px;
  background: url('../img/gongyi/p1-bg-1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.p1 .shade{
  position: absolute;
  width: 100%;
  height: 150px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0,0,0,0.00)));
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(0,0,0,0.00) 100%);
}
.p1 .db-line{
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border: 2px solid white;
}
.p1 .db-line::before{
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  border: 1px solid white;
}

.p1::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: inherit;
  background: rgba(0, 0, 0, 0.2);
}
.p1 > .container {
  height: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/* nav */

.p1 nav {
  padding-top: 70px;
  position: relative;
}
.p1 .navi a{
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  font-size: 24px;
  color: #ffffff;
  opacity: .5;
  letter-spacing: 2px;
  line-height: 24px;
  text-decoration: none;
  -webkit-transform-origin: top;
          transform-origin: top;
}
.p1 .navi a:hover div::before{
  content: '';
  display: block;
  height: calc(100% - 8px);
  width: 1px;
  background: #ffffff;
  margin-left: 4px;
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
}
.p1 .navi span{
  font-size: 9px;
  letter-spacing: 1px;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}
.p1 .navi a:hover{
  opacity: 1;
}
.p1 .navi li.active div::before{
  content: '';
  display: block;
  height: calc(100% - 8px);
  width: 1px;
  background: #ffffff;
  margin-left: 8px;
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
}
.p1 .navi li.active a{
  opacity: 1;
}
.p1 .navi li.active a:hover{
  text-decoration: none;
}
.p1 .navi li.active div{
  font-size: 36px;
  letter-spacing: 3px;
  line-height: 36px;
}
.p1 .navi li.active span{
  font-size: 13px;
}


/* p2 */

.p2 .title{
  height: 200px;
  background: #ffffff;
}
.p2 .title h6,.p2 .title h3{
/*  height: 30px;*/
}
.p2 .title h3{
  font-size: 36px;
  letter-spacing: 3px;
/*  line-height: 36px;*/
}
.p2 .title h6{
  font-size: 9px;
  letter-spacing: 1px;
/*  line-height: 26px;*/
  color: #9B9B9B;
}
.p2 .title img,.p2 .title h6,.p2 .title h3{
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
}

.p2>.container{
  padding: 0 10%;
}
.p2 .list-items{
  position: relative;
}

.p2-item {
  padding: 44px 0;
}
.p2-item .item-date {
  color: #9B9B9B;
  font-size: 12px;
  line-height: 17px;
  width: 66px;
  height: 17px;
  text-align: center;
  border: 1px solid #9B9B9B;
}
.p2-item .item-date:hover{
  text-decoration: none;
}
.p2-item .item h3 {
  margin-top: 6px;
  font-size: 20px;
  line-height: 28px;
}
.p2-item .item p {
  margin-top: 14px;
  color: #9B9B9B;
  font-size: 16px;
  line-height: 22px;
}
.p2-item .item>a{
  display: block;
}
.p2-item .item>a::after{
  content: '';
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}
.p2-item .item>a:hover p{
  color: #000000;
}
.p2-item .item-img {
  width: 120px;
  height: 90px;
  float: right;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition: all .4s;
  transition: all .4s;
}
.p2-item .item hr {
  margin: 30px 0;
  border: none;
  width: 100%;
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(#ccc), color-stop(50%, #ccc), color-stop(50%, transparent));
  background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

.p2 .item-detail{
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  display: none;
  padding: 0 0px;
}
.p2 .item-detail .list-title{
  position: relative;
}
.p2 .item-detail .list-title a{
  position: absolute;
  top: 6px;
  left: 20px;
}
.p2 .item-detail .list-title h3{
  margin: 0 auto;
  font-size: 30px;
  line-height: 42px;
}
.p2 .item-detail h4{
  margin-top: 30px;
  font-size: 16px;
  line-height: 22px;
}
.p2 .item-detail p{
  font-size: 16px;
  line-height: 28px;
  margin: 20px 0;
    padding: 0 30px 0 0;
}
.p2 .item-detail img{
  display: block;
  margin: 0 auto;
  max-height: 1200px;
}
.p2 .item-detail br{
  line-height: 60px;
}
.p2 .end{
  margin: 0;
  padding-right: 30px;
}
.p2 .reveal{
  width: 200px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #9B9B9B;
  font-size: 18px;
  line-height: 25px;
}

.p2 .pagination li a{
  color: #000000;
  background: #f8f8f8;
}
.p2 .pagination li.active a{
  background: #404040;
  border-color: #000000;
}

.p2 .nav-btm .breadcrumb{
  background: none;
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  margin-bottom: 50px;
}
.p2 .nav-btm .breadcrumb-item::before{
  color: #C9C9C9;
}
.p2 .nav-btm .breadcrumb a{
  color: #000000;
}

/* footer */
footer {
  height: 100px;
  padding: 26px 0;
}
footer a{
  -webkit-transition: all .4s;
  transition: all .4s;
}
footer a:hover{
  opacity: .8;
}
