﻿/*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;
    min-width: 1400px;
}
a{
    color: #333;
    text-decoration:none;
}
a:hover{
    color: #D31F3D;
}
input,button{
    outline:0;
    border: none;
}
img{
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    transition: .3s;
}
table{
    border-collapse: collapse;
}
td,th{
    padding: 5px 8px;
    border: 1px solid #ededed;
}
video{
    object-fit: fill;
}

/*通用样式*/
.lf{
    float: left;
}
.rt{
    float: right;
}
.container{
    width: 1400px;
    margin: 0 auto;
    position: relative;
}
.container:before,
.container:after{
    content: '';
    display: table;
    clear: both;
}
.ellipse{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*头部*/
.header{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-width: 1400px;
    z-index: 999;
}
.fixed{
    position: fixed;
    background-color: #fff;
    box-shadow: 0 2px 4px #eee;
    animation: slideInDown .5s;
}
.top{
    height: 48px;
    line-height: 48px;
    text-align: right;
    background-image: linear-gradient(to right, #C02C38 , #B2146A);
}
.top a{
    color: #fff;
    opacity: .5;
}
.top a:hover{
    opacity: 1;
}
.top span{
    color: #fff;
    padding: 0 15px;
    opacity: .5;
}
.logo{
    padding: 30px 0;
    overflow: hidden;
}
.logo i{
    display: inline-block;
    width: 540px;
    height: 55px;
    background: url(../image/logo.png) no-repeat center center;
    animation: zoomIn .5s;
}
.logo .search{
    float: right;
    position: relative;
    top: 5px;
}
input[type='text']{
    width: 150px;
    height: 35px;
    line-height: 35px;
    padding: 0 50px 0 15px;
    background-color: #FDFDFD;
    border-radius: 20px;
}
input[type='submit']{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    line-height: 35px;
    background: url(../image/search4.png) no-repeat center center;
    cursor: pointer;
}
.menu{
    display: flex;
    justify-content: center;
    /*animation: slideInUp .5s;*/
}
.menu>li{
    position: relative;
    width: 155px;
}
.menu>li a{
    display: block;
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-size: 18px;
    text-align: center;
}
.menu>li:hover>a{
    background-color: #AC2452;
}
.menu>li:hover .sub-menu{
    /*display: block;*/
}
.menu>li span{
    display: none;
}
.sub-menu{
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    display: none;
    z-index: 9;
}
.sub-menu li a{
    margin-top: 2px;
    font-size: 16px;
    background-color: #AC2452;
}
.sub-menu li a:hover{
    color: #AC2452;
    background-color: #fff;
}

.fixed .logo{
    float: left;
    padding: 20px 0 15px;
}
.fixed .logo i{
    background: url(../image/logo-red.png) no-repeat;
}
.fixed .logo .search{
    display: none;
}
.fixed .menu{
    float: right;
    margin-top: 30px;
}
.fixed .menu>li>a{
    color: #333;
    font-size: 16px;
}
.fixed .menu>li:hover>a{
    color: #fff;
}
.fixed .menu>li{
    width: 95px;
}

/*图片新闻*/
.news ul{
    margin: 0 -20px;
    opacity: 0;
    transition: .5s;
}
.news ul:after{
    content: '';
    display: block;
    clear: both;
}
.news ul li{
    position: relative;
    float: left;
    width: 33.33%;
    margin: 10px 0;
    padding: 0 20px;
}
.news ul li>a{
    display: block;
    height: 248px;
    overflow: hidden;
}
.news ul li img{
    width: 100%;
    min-height: 100%;
}
.news ul li img:hover{
    transform: scale(1.1);
}
.news ul li .date{
    position: absolute;
    top: 200px;
    left: 20px;
    padding: 10px 20px;
    color: #fff;
    background-color: #D31F3D;
}
.news ul li .date h2{
    line-height: 40px;
    font-size: 36px;
}
.news ul li .info{
    padding: 50px 20px;
    background-color: #fff;
    box-shadow: 2px 2px 4px #D9D9D9, -2px 2px 4px #D9D9D9;
}
.news ul li h3{
    font-size: 22px;
    font-weight: normal;
    height: 60px;
    line-height: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news ul li p{
    margin: 20px 0 40px;
    height: 75px;
    line-height: 25px;
    color: #666;
    font-size: 16px;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.news ul li .info>a{
    display: inline-block;
    line-height: 28px;
    padding-left: 35px;
    color: #666;
    font-size: 16px;
    background: url(../image/circle.png) no-repeat left center;
}
.news ul li .info>a:hover{
    color: #D31F3D;
}

/*尾部*/
.service{
    height: 230px;
    background:#AE244C url(../image/service-bg.jpg) no-repeat center center;
}
.service p{
    margin: 40px 0 50px;
    color: #fff;
    font-size: 30px;
}
.service p span{
    padding-left: 10px;
    font-size: 22px;
    opacity: .6;
}
.service ul{
    display: flex;
}
.service ul li{
    margin-right: 80px;
}
.service ul li a{
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 18px;
}
.service ul li img{
    position: relative;
    margin-right: 15px;
    left: 0;
}
.service ul li:hover img{
    left: 5px;
}
.bottom{
    background-color: #302a29;
}
.contact{
    overflow: hidden;
    border-bottom: 1px solid #424040;
}
.contact .lf img{
    margin: 30px 0;
}
.contact ul{
    padding-top: 25px;
    width: 420px;
    overflow: hidden;
}
.contact ul li{
    float: left;
    width: 50%;
    line-height: 35px;
    color: #ccc;
}
.contact ul li img{
    margin-right: 10px;
}
.copy{
    line-height: 60px;
    color: #aaa;
}
.copy span{
    margin-left: 15px;
}

/*动画效果*/
.zoomIn{
    opacity: 1 !important;
    animation: zoomIn 1s;
}
.slideInUp{
    opacity: 1 !important;
    animation: slideInUp .5s;
}
.slideInLeft{
    opacity: 1 !important;
    animation: slideInLeft .5s;
}
.slideInRight{
    opacity: 1 !important;
    animation: slideInRight .5s;
}