﻿@charset "utf-8";
/*css样式重写*/
body,p,h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,pre{
    margin:0;
    padding:0;
    border:none;
    list-style:none;
    box-sizing: border-box;
}
body{
    font-family: "microsoft yahei","helvetica neue", helvetica, arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}
a{
    color: #333;
    text-decoration:none;
    transition: .3s;
}
a:hover{
    color: #c8171e;
    text-decoration:none;
}
input,button{
    outline:0;
}
img{
    vertical-align: middle;
    border: 0;
}

/*通用样式*/
.lf{
    float: left;
}
.rt{
    float: right;
}
.container{
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.container:before,
.container:after{
    content: '';
    display: table;
    clear: both;
}
.ellipsis{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*头部*/
.header{
    border-top: 5px solid #bf161c;
    height: 135px;
    position: relative;
    box-shadow: 2px 2px 4px #d3d2d4;
}
.header .logo{
    float: left;
    margin-top: 25px;
    animation: zoomin 1s;
}
/*导航栏*/
.menu{
    float: right;
    margin-top: 60px;
}
.menu>li{
    float: left;
    margin-left: 30px;
    position: relative;
    font-size: 18px;
    line-height: 35px;
    position: relative;
}
.sub-menu{
    position: absolute;
    top: 35px;
    left: -10px;
    width: 130px;
    padding: 10px;
    line-height: 30px;
    background: #bf161c;
    display: none;
}
.sub-menu a{
    display: block;
    color: #fff;
    font-size: 14px;
}
.sub-menu a:hover{
    font-weight: bolder;
}
.menu>li:hover .sub-menu{
    display: block;
}

.homepage{
    position: absolute;
    right: 0;
    top: 20px;
    padding-left: 24px;
}
.homepage:hover{
    color: #f39700;
}
.homepage:before{
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 14px;
    height: 13px;
    background:  no-repeat -199px 0;
}

/*尾部*/
.footer{
    height: 132px;
    margin-top: 50px;
    background: #f3eeee;
}

.footer p{
    height: 60px;
    line-height: 30px;
    margin: 36px 0;
    text-align: center;
}
.footer p a{

}