/**!
* 南京市“互联网+公共资源交易”云服务平台基础应用系统
* date:2021-08-14
* author: zsy;
*/

.sub-content {
    padding: 47px 34px 90px;
}

.credit-tt {
    line-height: 37px;
    font-weight: bold;
    font-size: 30px;
    color: #f69929;
    text-align: center;
}

.credit-tt span {
    position: relative;
    display: inline-block;
}

.credit-tt span:before,
.credit-tt span:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    width: 234px;
    height: 2px;
    background-repeat: no-repeat;
}

.credit-tt span:before {
    left: -261px;
    background-image: url("../images/title_before.png");
}

.credit-tt span:after {
    right: -261px;
    background-image: url("../images/title_after.png");
}

.credit-search {
    height: 107px;
    margin-top: 38px;
    background-color: #fefaf7;
    overflow: hidden;
}

.credit-search .serach {
    position: relative;
    width: 718px;
    height: 50px;
    line-height: 48px;
    margin: 29px auto 0;
    border: 1px solid #f69929;
    box-sizing: border-box;
}

.credit-search .btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 108px;
    height: 100%;
    line-height: 46px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background: #f69929;
    cursor: pointer;
}

.credit-search .btn span {
    display: inline-block;
    padding-left: 30px;
    background: url("../images/search_btn.png") no-repeat left center;
}

.credit-search .input {
    width: calc(100% - 108px);
    height: 100%;
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    height: 100%;
    background: #fff;
    border: 0;
}

.public-list {
    margin: 80px 0 0 -40px;
}

.public-item {
    width: calc(25% - 40px);
    margin-left: 40px;
}

.public-item a {
    position: relative;
    display: block;
    height: 243px;
    padding-top: 160px;
    box-sizing: border-box;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    box-shadow: 0px 0px 10px 0px rgba(204, 204, 204, 0.3);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: all .1s;
}

.public-item:nth-child(1) a {
    background-image: url("../images/public_bg1.jpg");
}

.public-item:nth-child(2) a {
    background-image: url("../images/public_bg2.jpg");
}

.public-item:nth-child(3) a {
    background-image: url("../images/public_bg3.jpg");
}

.public-item:nth-child(4) a {
    background-image: url("../images/public_bg4.jpg");
}

.public-item a:before {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    content: "";
    width: 78px;
    height: 77px;
    background-repeat: no-repeat;
    background-position: center;
}

.public-item:nth-child(1) a:before {
    background-image: url("../images/public_icon1.png");
}

.public-item:nth-child(2) a:before {
    background-image: url("../images/public_icon2.png");
}

.public-item:nth-child(3) a:before {
    background-image: url("../images/public_icon3.png");
}

.public-item:nth-child(4) a:before {
    background-image: url("../images/public_icon4.png");
}

.public-item a:hover:after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    width: 100%;
    height: 100%;
    border: 1px solid rgb(255, 136, 111);
}

.public-item:nth-child(1) a:hover {
    color: rgb(255, 136, 111);
    border-color: rgb(255, 136, 111);
}

.public-item:nth-child(2) a:hover:after {
    border-color: rgb(247, 161, 66);
}

.public-item:nth-child(2) a:hover {
    color: rgb(247, 161, 66);
}

.public-item:nth-child(3) a:hover {
    color: rgb(75, 173, 251);
}

.public-item:nth-child(3) a:hover:after {
    border-color: rgb(75, 173, 251);
}

.public-item:nth-child(4) a:hover {
    color: rgb(40, 195, 105);
}

.public-item:nth-child(4) a:hover:after {
    border-color: rgb(40, 195, 105);
}


/* 搜索结果页面 */

.search-result {
    padding-bottom: 45px;
}

.search-result .credit-search {
    margin-top: 0;
}

.news-list {
    margin-top: 45px;
}

.news-item .link:before {
    background-image: url("../images/result_li_bg.png");
}

.news-item .link:hover:before {
    background-image: url("../images/result_li_bgh.png");
}

.news-item .link a {
    display: block;
    width: calc(100% - 95px);
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-item .link .date {
    color: #8a8f99;
}

.news-item .link:hover a,
.news-item .link:hover .date {
    color: #f69929;
}