img {
    height: auto;
    display: block;
}
body{
    background: #fff;
}
.content{
    background: #fff;
}
.ab_img img{
    width: 100%;
}
.ab_nav{
    background: #feebeb;
    line-height: 40px;
}
.navindex{
    color: #be3333;
}
.ab_nav span{
    color: #666;
}
/* 内容 */
/* tab切换 */
.tab{
    margin: 0 -15px;
    padding: 50px 0;
}
.tab_itembox{
    float: left;
    width: 33.3%;
    box-sizing: border-box;
    padding: 0px 15px;
}
.tab_item{
    background: #fce8e8;
    font-size: 18px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}
.tab_item img{
    width: 25px;
    height: 25px;
    margin-right: 10px;
}
.tab_itemactive{
    background: #de201f;
    color: #fff;
}
/* 列表 */
.job_item{
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}
.job_item>.right>img{
    width: 300px;
    height: 180px;
}
.job_item>.right{
    box-sizing: border-box;
}
.join{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: #fff6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    box-sizing: border-box;
}
.job_item:hover .join {
    background: #e70012;
    color: #fff;
}
.data{
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}
.time{
    font-size: 14px;
}
.sanjiao{
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fff6f6;
    border-right: 10px solid transparent;
}
.job_item:hover .sanjiao {
    border-left: 10px solid #e70012;
}
.center{
    margin: 0 320px 0 120px;
    height: 180px;
    
}
.name{
    padding-top: 10px;
    font-size: 25px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.spantext{
    color: #666;
    margin: 20px 0 20px 0;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2 !important;
    overflow: hidden;
    line-height: 30px;
    height: 60px;
}
.price{
    color: #888;
}
.pagebar{
    margin-top: 40px;
}
.pagebar img{
    margin: auto;
    max-width: 100%;
}
@media screen and (max-width:1600px) {

    .layout {
        padding: 0 10px;
    }
    .tab{
        padding: 30px 0;
    }
    .tab_item{
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }
    .tab_item img{
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    .job_item{
        padding: 15px;
    }
    .job_item>.right>img{
        width: 250px;
        height: 150px;
    }
    .center{
        margin: 0 270px 0 120px;
        height: 150px;
    }
    .name{
        padding-top: 5px;
        font-size: 20px;
    }
    .spantext{
        margin: 10px 0 20px 0;
        font-size: 14px;
        line-height: 24px;
        height: 48px;
    }
    .price{
        font-size: 14px;
    }
}
@media screen and (max-width:1000px) {
    .centent{
        font-size: 14px;
    }
    .tab_item{
        font-size: 14px;
    }
    .job_item{
        padding: 10px;
    }
    .job_item>.right>img{
        width: 200px;
        height: 120px;
    }
   
    .center{
        margin: 0 210px 0 120px;
        height: 120px;
    }
    .name{
        padding-top: 0px;
        font-size: 18px;
    }
    .spantext{
        margin: 10px 0 10px 0;
    }
}
@media screen and (max-width:768px) {
    .tab{
        padding: 10px 0;
        margin: 0 -5px;
    }
    .tab_itembox{
        padding: 0 5px;
    }
    .job_item>.right>img{
        width: 120px;
        height: auto;
    }
    .center{
        margin: 0 130px 0 70px;
        height: 90px;
    }
    .name{
        font-size: 16px;
    }
    .spantext{
        font-size: 12px;
        line-height: 18px;
        height: 36px;
        margin: 8px 0 8px 0;
    }
    .price{
        font-size: 12px;
    }
    .join{
        padding:  0 5px;
        width: 60px;
    }
    .data{
        font-size: 20px;
    }
    .time{
        font-size: 12px;
    }
    .sanjiao {
        right: -16px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 8px solid #fff6f6;
        border-right: 8px solid transparent;
    }
}
