﻿/* 公共标题start */

.title-img {
    text-align: center;
}

.title-text {
    font-size: 36px;
    text-align: center;
    line-height: 1;
    padding: 12px 0;
}

.title-text>span:first-child {
    color: #ec8807;
}

.title-text>span:last-child {
    color: #313131;
}


/* 公共标题end */


/* 轮播部分start */

.owl-controls {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
}


/* 轮播部分end */


/* 案例展示start */

.case-text {
    margin: 4px 0 24px 0;
    text-align: center;
}

.case-item img {
    max-width: 100%;
}

.case-text>span {
    font-size: 14px;
    color: #999999;
}

.case-text>a {
    font-size: 14px;
    color: #ec8807;
}

.case-item {
    margin-bottom: 12px;
}


/* 案例展示end */


/* 首页公司简介start */

#about,
#case {
    margin-top: 86px;
}

.index_about {
    padding: 12px 0;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.more-wrapper {
    text-align: center;
}

.more {
    text-align: center;
    font-size: 14px;
    color: #ec8807;
}

.about_pic {
    font-size: 0;
}

.pic-item {
    width: 20%;
    float: left;
}

.pic-item>img {
    display: inline-block;
    width: 92.7%;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 0 4px #919191;
}

.pic-item:nth-child(odd) {
    margin-top: 36px;
}


/* 首页公司简介end */


/* 膳食管理服务start */

#service {
    padding: 76px 0;
}

.service {
    padding: 9px;
    font-size: 0;
    box-shadow: 0 0 4px #cfcfcf;
}

.service>div {
    display: inline-block;
}

.service-left {
    position: relative;
    width: 73.1%;
}

.service-right {
    width: 25.25%;
}

.service img {
    width: 100%;
}

.service-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.service-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.service-content {
    padding: 12px;
    background: url(../images/service_bg.png);
    background-size: cover;
}

.service-content>p {
    line-height: 1;
    padding: 16px 56px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background: #f78e07;
}

.service-content>p:last-child {
    margin-bottom: 0;
}


/* 膳食管理服务end */


/* 新闻start */

#news-and-certificate {
    margin-bottom: 64px;
}

.h-title {
    position: relative;
    height: 33px;
    margin-bottom: 24px;
}

.h1_title {
    position: absolute;
    top: 0;
    left: 0;
    width: 126px;
    font-size: 30px;
    color: #313131;
}

.checkMore {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    line-height: 33px;
    font-size: 14px;
}

.checkMore>a {
    color: #999999;
}

.middle-line {
    line-height: 33px;
    margin-left: 130px;
    margin-right: 55px;
}

.middle-line img {
    width: 100%;
}

.index_news_item {
    margin-bottom: 12px;
    font-size: 0;
}

.news_time {
    width: 109px;
    display: inline-block;
}

.news_time>span {
    display: block;
    text-align: center;
}

.news_time>span:first-child {
    height: 90px;
    line-height: 90px;
    font-size: 60px;
    color: #fff;
    background: #e3840a;
}

.news_time>span:last-child {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    background: #f78e07;
}

.index_news_content {
    display: inline-block;
    width: calc(100% - 109px);
    padding: 14px 20px;
    vertical-align: top;
    background: #f0f0f0;
}

.index_news_content>h4 {
    height: 32px;
    font-size: 16px;
    color: #313131;
    line-height: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.news_desc {
    height: 70px;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    color: #666666;
}


/* 新闻end */

.poster-main {
    position: relative;
    width: 900px;
    height: 270px
}

.poster-main a,
.poster-main img {
    display: block;
}

.poster-main .poster-list {
    width: 900px;
    height: 270px;
    margin-bottom: 8px;
}

.poster-main .poster-list .poster-item {
    position: absolute;
    left: 0px;
    top: 0px
}

.poster-btn {
    display: inline-block;
    width: 33px;
    height: 48px;
    vertical-align: bottom;
}

.poster-btn.poster-prev-btn {
    background: url(../images/prev.png) left center no-repeat;
}

.poster-btn.poster-next-btn {
    background: url(../images/next.png) right center no-repeat;
}

.cer-text {
    display: inline-block;
    width: calc(100% - 122px);
    height: 48px;
    line-height: 48px;
    margin: 0 24px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: #ec8807;
}

@media screen and (max-width:992px) {
    .service-content>p {
        padding: 10px 48px;
        font-size: 14px;
    }
}

@media screen and (max-width:768px) {
    .nav_ul>li>a {
        font-size: 14px;
    }
    .service-content>p {
        padding: 6px 48px;
        font-size: 14px;
    }
    .news_time {
        width: 76px;
    }
    .news_time>span:first-child {
        height: 54px;
        line-height: 54px;
        font-size: 36px;
    }
    .news_time>span:last-child {
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    .index_news_content {
        padding: 2px 12px;
    }
    .index_news_content>h4 {
        height: 28px;
        font-size: 14px;
    }
    .news_desc {
        height: 54px;
        line-height: 1.5;
        font-size: 12px;
    }
    #about,
    #case {
        margin-top: 26px;
    }
    #service {
        padding: 42px 0;
    }
    .title-text {
        font-size: 24px;
    }
    #certificate {
        margin: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .h1_title {
        width: 106px;
        font-size: 24px;
    }
    .middle-line {
        margin-left: 110px;
    }
    .service-left {
        position: static;
    }
    .service {
        position: relative;
    }
    .service-content {
        padding: 8px;
        margin: 9px;
    }
    .service-content>p {
        line-height: 1.7;
        padding: 0px 26px;
        margin-bottom: 4px;
        font-size: 12px;
    }
}