* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 推荐使用border-box盒模型 */
}

html,
body {
    margin: 0;
    font-size: 100%;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
}

body a {
    text-decoration: none;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

a:hover {
    color: #ef5861;
    text-decoration: none;
}

input[type="button"],
input[type="submit"] {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

p {
    margin: 0;
    letter-spacing: 1px;
    font-size: 15px;
    line-height: 1.9;
    color: #999;
    font-family: 'Open Sans', sans-serif;
}

ul, ol {
    list-style-type: none;
}


.content{
    width: 1200px;
    margin:0 auto;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.clear{
    clear: both;
}
/*header start*/
.header {
    padding: 10px 0;
    position: fixed;
    background: #fff;
    width: 100%;
}
.header .logo {
    color: #282828;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 1px;
    font-size: 24px;
    line-height: 50px;
    cursor: pointer;
}
.header .nav li{
    float: left;
    margin: 0;
    padding: 15px 20px;
    letter-spacing: 1px;
    width: auto;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}
.header .nav li:hover{
    color: #ef5861 !important;
    font-weight: 600;
}
.h70{height:70px;}
.banner{
    height: 500px;
    width: 100%;
    overflow: hidden;
    background: #f4f3ef;
    text-align: center;
}
/*header end*/

/*about start*/
#about{
    padding: 3em 0;
}
.title-div {
    margin-bottom: 70px;
}
h3.tittle {
    color: #000;
    font-size: 3em;
    text-align: center;
    margin-bottom: 16px;
}
h3.tittle span {
    color: #ef5861;
}
.tittle-style {
    position: relative;
}
.tittle-style:before {
    content: "";
    background: #000;
    width: 7%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 46%;
}
.tittle-style:after {
    content: "";
    background: #ef5861;
    width: 3%;
    height: 5px;
    position: absolute;
    top: -2px;
    left: 48%;
    border-radius: 6px;
}
.title-content p {
    color: #666;
    line-height: 2em;
    margin-bottom: 1em;
}
/*about end*/

/* start*/
#services {
    background: #ef5861;
    text-align: center;
    padding: 3em 0;
}
#services h3.tittle span{
    color: #fff !important;
}
#services .tittle-style:after{
    background: #fff !important;
}
#services .title-div{
    margin-bottom: 50px;
}
.services-pay{
    color: #fff;
    margin-bottom: 20px;
}
#services .list .item{
    width: 31.333%;
    float: left;
    border: 1px solid #fff;
    padding: 1em 2em;
    cursor: pointer;
    margin-bottom:2em;
}
#services .list .item:nth-child(3n+2){
    margin-left:2em;
    margin-right:2em;
}
#services .list .item .item-title{
    color: #fff;
    font-size: 16px;
    margin: 10px 0 10px;
    letter-spacing: 1px;
    white-space: nowrap; /* 阻止文本换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 显示省略号 */
}
#services .list .item .item-desc{
    font-size: 14px;
    margin-bottom: 1em;
    display: -webkit-box;
    -webkit-box-orient: vertical;  
    -webkit-line-clamp: 4;
    overflow: hidden;
    color: #f2f2f2;
    line-height: 2em;
    text-align: left;
}
/* end*/

/*footer start*/
.footer {
    background: url(../img/footer_bg.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    text-align: center;
    padding: 3em 0 0;
}
.footer_item{
    width: 33.33333333%;
    float: left;
}
.footer_item h4 {
    font-size: 24px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer_item p {
    color: #e0e0e0;
}
.footer_nav {
    margin: 35px 0 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 0;
}
.footer_nav ul {
    text-align: center;
}
.footer_nav ul li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
}
.footer_nav ul li:hover{
    color: #ef5861;
}
.footer-copy-right {
    margin-top: 5em;
    padding: 1em 0;
    background: rgba(0, 0, 0, 0.72);
}
.footer-copy-right p {
    padding: 1em 0;
    text-align: center;
    color: #fff;
    margin: 0;
    letter-spacing: 2px;
    font-size: 14px;
}
.footer-copy-right p a{
    color: #fff !important;
}
.cover{
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0, 0.9);
    width: 100%;
    height: 100vh;
    display: none;
}
.pay {
    margin-top: 15%;
    width: 340px;
    background: #fff;
    text-align: center;
    margin-left: 40%;
    padding: 20px 10px;
}
.pay p{
    font-size: 16px;
    color: #ef5861 !important;
}
.pay img{
    max-width: 300px;
}
/*footer end*/