#wrap .rec-posts-type2.container {
    width: auto;
    margin: 35px -15px 20px;
}

.rec-post-type2-item {
    background: #f8f8f8;
    padding-bottom: 17px;
}

.rec-posts-type2 .rec-posts-type2-title {
    font-size: 17px;
    font-weight: 500;
    padding: 17px 0;
    margin-bottom: 28px;
    text-transform: uppercase;
    border-bottom: 1px solid #e8e8e8;
}

.rec-posts-type2 .rec-posts-type2-title:before {
    content: "";
    background: #2c2f34;
    width: 46px;
    height: 4px;
    position: absolute;
    top: 54px;
    left: 16px;
}

.rec-posts-type2 .ec-post-type2-figure {
    position: relative;
    overflow: hidden;
}

.rec-posts-type2 .rec-post-type2-cat {
    margin: -58px 99px 21px 51px;
    padding: 5px 14px 8px 14px;
    position: relative;
}

.rec-posts-type2 .rec-post-type2-cat a {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.rec-posts-type2 .rec-post-type2-content {
    background-color: #fff;
    margin: -27px 30px 15px;
    position: relative;
    max-width: 90%;
    padding: 13px 21px 16px 19px;
    box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.1);
}

.rec-posts-type2 .rec-post-type2-content p {
    font-size: 12px;
    color: #a1a1a1;
    margin-bottom: 3px;
    position: relative;
    padding-left: 16px;
}

.rec-posts-type2 .rec-post-type2-content p:before {
    position: absolute;
    left: 0;
    top: 0;
    content: "\e66b";
    font-size: 14px;
    font-family: 'Pe-icon-7-stroke';
}

.rec-posts-type2 .rec-post-type2-content h5 a {
    font-size: 17px;
    color: #121212;
    font-weight: 500;
}

.rec-posts-type2 .rec-post-type2-content h5 a:hover {
    color: #437df9;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

.rec-posts-type2 .rec-post-type2-content .category {
    display: inline;
    background: #555;
    padding: 4px 15px;
    position: absolute;
    top: -28px;
    line-height: 20px;
    height: 28px;
    color: #fff;
}

.rec-posts-type2 .rec-post-type2-content .category a {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rec-posts-type2 .rec-post-type2-content .category a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .rec-posts-type2 .rec-post-type2-cat {
        margin: 0;
        padding: 5px 14px 8px 14px;
        display: block;
    }

    .rec-posts-type2 .rec-post-type2-content {
        margin: 0;
        max-width: 100%;
        padding: 13px 15px 16px 15px;
    }
}

@media (max-width: 991px) {
    .rec-posts-type2 .rec-post-type2-cat {
        display: -webkit-inline-box;
    }
}