﻿@import "font.css";

* {
    margin: 0;
    padding: 0;
    list-style: none;
    outline: 0px;
}
h1, h2, h3 {
    font-weight: inherit;
    font-size: inherit;
}
body {
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
    font-family: webfont,'Times New Roman',Verdana,sans-serif;
    font-style: normal;
    line-height: 1.5;
    font-weight: 400;
    color: #404040;
    max-width: 1170px;
}

@media screen and (max-width:600px) {
    body {
        padding: 0 5px;
    }
}

img, span {
    display: block;
}

a {
    color: #404040;
    text-decoration: none
}

    a:hover {
        color: #c9141d;
        text-decoration: none
    }
/*头部导航开始*/
.nav {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.icon-menu {
    display: none;
    font-size: 30px;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .navbar li a {
        display: block;
        font-size: 16px;
        padding: 25px 20px;
        text-align: center;
    }

        .navbar li a:hover {
            background-color: #e44000;
            color: #ffffff;
        }

@media screen and (max-width:600px) {
    .logo {
        width: 100%;
        height: 60px;
        background: #f3f3f3;
        padding-left: 10px;
    }

    .icon-menu {
        display: block;
        padding: 0 10px;
    }

    .navbar {
        display: none;
        z-index: 99;
        position: absolute;
        background: #808080;
        right: 0;
        top: 60px;
    }

        .navbar li a {
            display: block;
            border-bottom: 1px solid #ffffff;
            color: #ffffff;
            padding: 10px 20px;
        }
}
/*头部导航结束*/

/*广告开始*/
.ad {
    margin: 10px auto;
    height: 300px;
    overflow: hidden;
    position: relative;
}

    .ad .hd {
        z-index: 1;
        position: absolute;
        display: flex;
        align-items: center;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }

        .ad .hd ul {
            flex: 1;
            overflow: hidden;
            zoom: 1;
            margin: 0 auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }

            .ad .hd ul li {
                width: 20px;
                height: 3px;
                background-color: rgba(255,255,255,.3);
                margin-right: 3px;
            }

                .ad .hd ul li:last-child {
                    margin-right: 0;
                }

                .ad .hd ul li.on {
                    background: rgba(255,255,255,.8);
                    width: 40px;
                }

    .ad img {
        width: 100%;
    }

@media screen and (max-width:600px) {
    .ad {
        height: auto !important;
        max-height:150px;
        overflow:hidden;
    }
}

/*广告结束*/

/*栏目标题开始*/
.column {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

    .column .name {
        font-size: 26px;
        text-transform: uppercase;
        font-weight: 600;
    }

        .column .name a {
            color: #000000;
        }

            .column .name a:hover {
                color: #c9141d;
            }

    .column .more {
        margin-left: 15px;
        text-decoration: underline;
    }

@media screen and (max-width:600px) {
    .column {
        margin: 15px 0;
    }
}
/*栏目标题结束*/

/*新闻开始*/
.news {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.news_pic {
    width: 560px;
    margin-right: 60px;
    height: 330px;
    overflow: hidden;
    position: relative;
}

    .news_pic img {
        margin: 0 auto;
        max-width: 560px;
        height: expression(this.height > 330 && this.width < this.height ? 330: true);
        border: 0px;
        max-height: 330px;
        position: absolute;
    }

    .news_pic .title {
        position: absolute;
        bottom: 0px;
        left: 0;
        right: 0;
        background: rgba(0,0,0,.5);
    }

        .news_pic .title a {
            display: block;
            padding: 5px 15px;
            color: #ffffff;
        }

            .news_pic .title a:hover {
                color: #ffff00;
            }

.news_list {
    flex: 1;
}

    .news_list .title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 22px;
        font-size: 20px;
        flex-wrap: wrap;
    }

    .news_list span {
        font-size: 15px;
        font-family: 'Times New Roman';
        color: rgb(16, 16, 16, 0.3);
    }

    .news_list .content {
        font-size: 14px;
        line-height: 24px;
        color: #5e5e5e;
    }

    .news_list .border {
        height: 1px;
        background: #d1d1d1;
        overflow: hidden;
        margin: 22px 0;
    }

@media screen and (max-width:600px) {
    .news_pic {
        width: 100%;
        margin: 0px;
    }

    .news_list .title a {
        width: 100%;
        padding: 5px 0;
    }
}
/*新闻结束*/

/*应用技术与基地风采开始*/
.con {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

    .con .con_left, .con .con_right {
        flex: 1;
    }

    .con .con_left {
        margin-right: 30px;
    }

@media screen and (max-width:600px) {
    .con .con_left, .con .con_right {
        width: 100%;
        margin: 0;
        flex: none;
    }
}

.tech {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .tech .tech_info {
        width: calc(50% - 10px);
    }

        .tech .tech_info a {
            display: block;
            padding: 8px 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            border-bottom: 1px dotted rgb(16, 16, 16, 0.3);
        }

            .tech .tech_info a:before {
                float: left;
                content: "";
                background: #404040;
                width: 4px;
                height: 4px;
                overflow: hidden;
                display: block;
                margin: 10px 10px 0 0;
                border-radius: 4px;
            }

.base {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .base .base_info {
        width: calc(50% - 10px);
    }

        .base .base_info .img {
            width: auto;
            height: 212px;
            margin: 5px 0;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,.3);
        }

            .base .base_info .img img {
                margin: 0 auto;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
            }

        .base .base_info .name {
            padding: 5px 10px;
            background: rgba(0,0,0,.5);
            color: #ffffff;
        }

            .base .base_info .name a {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #ffffff;
            }

                .base .base_info .name a:hover {
                    color: #ffff00;
                }
@media screen and (max-width:600px) {
    .base .base_info {
        width: calc(50% - 10px);
    }

        .base .base_info .img {
            width: 100%;
            /*height: 200px;*/
            min-height: 100px;
            height: auto;
            margin: 5px 0;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,.3);
        }

            .base .base_info .img img {
                margin: 0 auto;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
            }
}
/*应用技术与基地风采结束*/
/*产品开始*/
/*产品结束*/
.product {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

    .product .product_info {
        width: calc(25% - 10px);
    }

        .product .product_info .img {
            width: 100%;
            height: 212px;
            margin: 5px 0;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,.3);
        }

            .product .product_info .img img {
                margin: 0 auto;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
            }

        .product .product_info .name {
            padding: 5px 10px;
            background: rgba(0,0,0,.5);
            color: #ffffff;
        }

            .product .product_info .name a {
                display: block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                color: #ffffff;
            }

                .product .product_info .name a:hover {
                    color: #ffff00;
                }

@media screen and (max-width:600px) {
    .product .product_info {
        width: calc(50% - 10px);
    }
        .product .product_info .img {
            width: 100%;
            /*height: 200px;*/
            min-height:100px;
            height: auto;
            margin: 5px 0;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,.3);
        }
            .product .product_info .img img {
                margin: 0 auto;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
            }
}
/*底部开始*/
.foot {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    border-top: 1px solid #a5a5a5;
    font-size: 15px;
    line-height: 170%;
    padding: 10px 0;
    margin: 10px auto;
}

    .foot .foot_left {
        flex: 1;
    }

    .foot .foot_right .img {
        margin: 0 auto;
        padding: 10px;
        border: 1px solid rgba(0,0,0,.1);
    }

@media screen and (max-width:600px) {
    .foot .foot_left {
        flex: none;
        width: 100%;
    }
}
/*底部结束*/


/*最终页面开始*/
.loc {
    margin: 10px 0;
    padding: 10px;
    font-size: 15px;
    background: rgba(0,0,0,.03);
    color: #5a5a5a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .loc a {
        color: #5a5a5a;
    }

        .loc a:hover {
            color: rgba(0,0,0,.9);
        }

.info_title {
    font-size: 32px;
    padding: 15px 0;
    text-align: center;
}

.info_imgsize img {
    margin: 10px auto;
    max-width: 600px;
}

.info_content {
    margin: 15px auto;
    font-size: 18px;
    line-height: 200%;
    text-align: justify;
}

    .info_content img {
        margin: 10px auto;
        max-width: 600px;
    }

@media screen and (max-width:600px) {
    .info_content img, .info_imgsize img {
        width: 100%;
    }
}
/*最终页面结束*/

/*二级页面开始*/
.list {
    display: flex;
    flex-direction: column;
}

    .list .item {
        display: flex;
        flex-direction: column;
        padding: 15px 0;
        border-bottom: 1px dotted rgba(0,0,0,.2);
    }

    .list .title {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 22px;
        flex-wrap: wrap;
    }

        .list .title a {
            display: block;
            padding-bottom: 15px;
        }

        .list .title span {
            font-size: 15px;
            color: rgb(16, 16, 16, 0.3);
        }

    .list .item .listcon {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        font-size: 15px;
    }

.pic {
    display: block;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(0,0,0,.1);
    overflow: hidden;
    margin-right: 15px;
}

.list .item .listcon .pic img {
    width: 250px;
    margin: 0 auto;
}

.list .item .listcon .wz {
    flex: 1;
    color: rgba(0,0,0,.5);
    line-height: 180%;
    word-break: break-all;
}

@media screen and (max-width:600px) {
    .list .title a {
        width: 100%;
    }

    .list .item .listcon .pic {
        width: 100px;
        height: 100px;
    }

        .list .item .listcon .pic img {
            width: 100px;
        }
}

/*二级页面结束*/

/*翻页开始*/
.pageframe {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin: 10px 0;
}

.turnpage {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .turnpage a {
        display: inline-block;
        border: 1px solid #cccccc;
        line-height: 28px;
        height: 28px;
        color: #5a5a5a;
        margin: 0 3px;
        padding: 0 8px;
        text-decoration: none;
    }

        .turnpage a:first-child {
            margin-left: 0;
        }

        .turnpage a:last-child {
            margin-right: 0;
        }

        .turnpage a:link, .turnpage a:visited {
            background: #ffffff;
            color: #5a5a5a;
        }

        .turnpage a:hover, .turnpage a.current:link, .turnpage a.current:visited {
            color: #ffffff;
            background: #b20000;
            border: 1px solid #b20000;
        }

@media screen and (max-width:600px) {
    .pageframe li:first-child {
        display: none;
    }
}
/*翻页结束*/

/*产品最终页面开始*/
.producttitle {
    font-size: 32px;
    padding: 15px 0;
    text-align: center;
}

.productinfo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 15px;
    flex-wrap: wrap
}

.productimage {
    width: 400px;
    height: 400px;
    margin-right: 40px;
    border: 1px dotted rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

    .productimage img {
        max-width: 400px;
        max-height: 400px;
        margin: 0 auto;
        min-height: 300px;
    }

.productinfo .producttext {
    flex: 1;
}

    .productinfo .producttext .product_item {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px dashed rgba(0,0,0,.1)
    }

        .productinfo .producttext .product_item li:first-child {
            width: 140px;
            text-align: right;
        }

@media screen and (max-width:600px) {
    .productimage {
        width: 100%;
        margin: 10px 0;
    }
}
/*产品最终页面结束*/

.info_content span{
    border:1px solid red;
    display:contents;
}
