html{
    margin:0;
}
body {
    position: relative;
    font-family: "PMingLiU";
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: darkred !important;
    background-color: transparent;
    font-weight: 700;
}
#h-nav {
    background: #fff;
}
.overlay {
    position: absolute;
    opacity: 0.7;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -11;
    background: #1c1d21;
}
#h-bg{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -22;
    background-image: url(../img/bg.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}
#h-home{
    width: 100%;
    height: 650px;
}
#h-home h1{
    font-size: 80px;
    color: whitesmoke;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 30%;
}
#h-home h2{
    margin-top: 25px;
    font-size: 30px;
    color: red;
}
#h-home p{
    margin-top: 25px;
    color: whitesmoke;
    font-size: 20px;
}
#h-products{
    background: #f5fcff;
    padding-bottom: 50px;
}
.header{
    font-size: 40px;
    margin-top: 20px;
}
.header:before{
    content: "";
    position: absolute;
    height: 1px;
    width: 100px;
    background: #aaa;
    left: 33%;
    margin-top: 20px;
}

.header:after{
    content: "";
    position: absolute;
    height: 1px;
    width: 100px;
    background: #aaa;
    left: 60%;
    margin-top: 20px;
}

#h-products .col-md-3{
    margin-top: 30px;
}
#h-products .col-md-3 h3{
    margin-left: -210px;
    margin-top: 80px;
}
#h-products .col-md-3:hover {
    color: darkred;
}
.p1{
    background-image: url(../img/1.png);
    background-repeat: no-repeat;
}
.p1:hover{
    background-image: url(../img/1s.png);
}

.p2{
    background-image: url(../img/2.png);
    background-repeat: no-repeat;
}
.p2:hover{
    background-image: url(../img/2s.png);
}
.p3{
    background-image: url(../img/3.png);
    background-repeat: no-repeat;
}
.p3:hover{
    background-image: url(../img/3s.png);
}
.p4{
    background-image: url(../img/4.png);
    background-repeat: no-repeat;
}
.p4:hover{
    background-image: url(../img/4s.png);
}

.p5{
    background-image: url(../img/5.png);
    background-repeat: no-repeat;
}
.p5:hover{
    background-image: url(../img/5s.png);
}
.p6{
     background-image: url(../img/6.png);
     background-repeat: no-repeat;
 }
.p6:hover{
    background-image: url(../img/6s.png);
}

#h-about{
    margin: 50px 0;
}
#h-about .col-md-6 p{
    letter-spacing: 1px;
    font-size: 18px;
    color: whitesmoke;
    margin-top: 50px;
}

#h-advantages{
    background-color: whitesmoke;
    padding-bottom: 50px;
}

#h-advantages .boxs{
    box-shadow: 0 5px 5px 5px silver;
    width: 100%;
    margin-top: 50px;
    height: 400px;
}
.boxs .box_header{
    width: 100%;
    height: 120px;
    background-color: whitesmoke;
    padding: 20px 0 0 20px;
    color: red;
    transition: all 0.5s;
}

.boxs .box_img{
    height: 82px;
    background-repeat: no-repeat;
    padding: 10px 0 0 50px;
}
.boxs .box_header:hover{
    color: whitesmoke;
    background-color: red;
}
.img1{
    background-image: url(../img/box1.png);
}
.boxs .box_header:hover .img1{
    background-image: url(../img/box1s.png);
}
.img2{
    background-image: url(../img/box2.png);
}
.boxs .box_header:hover .img2{
    background-image: url(../img/box2s.png);
}
.img3{
    background-image: url(../img/box3.png);
}
.boxs .box_header:hover .img3{
    background-image: url(../img/box3s.png);
}







#h-history {
    /*background: url(../dist/background5.jpg);*/
    background: #fff;
    position: relative;
    padding-bottom: 80px;
}
#h-history .first{
    height: 150px;
}
#h-history h3{
    font-size: 25px;
}

#h-history .first h3:hover{
    color: #ff8946;
    font-size: 30px;
}
#h-history .box {
    height: 240px;
    background-color: #fff;
    opacity: 0.8;
    position: relative;
    text-align: center;
    border: 2px solid #EEE;
    top: 50px;
    /*margin-left: 25%;*/
}
#h-history .box:hover{
    color: #fff;
    animation: show 1s forwards;
}
@keyframes show {
    0% {
        /*background-color: transparent;*/
    }

    100% {
        background-color: #1C1D21;
        opacity: 1;
    }
}
.smbox{
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5%;
    width: 80%;
    height: 50px;
    line-height: 50px;
    color: #000;
}
.box_content{
    padding: 20px;
}
.box_content p{
    margin-top: 20px;
}
#h-contact {
    background-color: #f7f7f7;
    padding-top: 20px;
    padding-bottom: 30px;
}
#h-contact .box :hover p{
    color: darkred;
}
.gl {
    color: darkred;!important;
    opacity: 0.7;
    font-size: 50px;
    margin-bottom: 10px;
    transition:all 0.5s;
}
.gl:hover{
    opacity: 1;!important;
    transform: rotate(360deg);
}

footer {
    background-color: #1C1D21;
    height: 50px;
    width: 100%;
    padding-top: 19px;
    color: #f5f5f5;
}


/*时间轴css*/
.timeline {
    width: 100%;
    position: relative;
    padding: 1px 0;
    list-style: none;
    font-weight: 300;
}.timeline:before {
     border-right-style: solid;
 }
.timeline:before,
.timeline:after {
    content: " ";
    display: block;
}
.timeline:after {
    clear: both;
}
.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100% !important;
    border-right-width: 2px;
    border-right-style: solid;
    border-right-color: #888888;
}
.timeline .timeline-label {
    position: relative;
    float: left;
    clear: left;
    margin-bottom: 20px;
    top: 7px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    text-align: center;
}
.timeline .timeline-label .label-primary {
    background-color: darkred;
}
.timeline .timeline-item {
    position: relative;
    float: left;
    clear: left;
    width: 50%;
    margin-bottom: 20px;
}
.timeline .timeline-item:before,
.timeline .timeline-item:after {
    content: "";
    display: table;
}
.timeline .timeline-item:after {
    clear: both;
}
.timeline .timeline-item:last-child {
    margin-bottom: 0 !important;
}
.timeline .timeline-item > .timeline-event .timeline-heading h4 {

}
.timeline .timeline-item > .timeline-event p {
    /*font-weight: 200;*/

    line-height: 50px;
}
.timeline .shu:nth-of-type(even){
    margin-left: 50%;
    width: 100%;
}
.timeline.timeline-line-dotted:before {
    border-right-style: dotted;
}
.timeline .timeline-item .timeline-event {
    width: 100%;
    /*height: 50px;*/
    border: 1px solid darkred;
}

.shu:hover h4{
    font-size: 22px;
    color: #000;
}
.shu:hover p{
    font-size: large;
}
/*时间轴*/