/* 员工风采样式 */

#right_content_wrap>div {
    animation-fill-mode: both;
}

#right_content_wrap .p_page .pre .iconfont:before {
    shadow-angle: 0px;
    shadow-distance: 0px;
    shadow-angle-ofInset: 0px;
    shadow-distance-ofInset: 0px;
}

#right_content_wrap .p_page .next .iconfont:before {
    shadow-angle: 0px;
    shadow-distance: 0px;
    shadow-angle-ofInset: 0px;
    shadow-distance-ofInset: 0px;
}

#right_content_wrap {
    z-index: 102;
    width: 1000px;
}

/* 员工风采列表 */
.yg ul {
    margin-left: -2%;
}

.yg li {
    width: 30.70%;
    float: left;
    margin-left: 2%;
    margin-bottom: 2%;
    overflow: hidden;

}

.yg li .pic img {
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /* left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    position: absolute; */
}

.yg .pic {
    overflow: hidden;
}

.yg li .pic .img00 {
    padding-bottom: 55%;
    /* position: relative; */
    overflow: hidden;
    display: block;
    width: 100%;
    height: 0;
    transition: 600ms;
    -webkit-transition: 600ms;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.yg ul li:hover .img00 {
    transform: scale(1.06);
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
}

.yg li .box {
    margin-top: 20px;
}

.yg li h2 {
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: normal;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    line-height: 2;
}

.yg li span {
    font-size: 14px;
    color: #999;
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    .yg ul {
        width: 100%;
        margin: 0;
    }
    .yg ul li{
        width: 100%;
        margin:10px 0 0;
        padding: 10px;
        border: 1px solid #999;
    }
    .yg ul li:last-of-type{
        margin-bottom: 10px;
    }
}