/*
Theme Name: MB Professional Theme for Arrow Truck Parts
Theme URI: https://marketingbear.com
Description: This is a professional theme custom tailored to the needs of Arrow Truck Parts
Template: mb-pro
Author: Marketing Bear Co., Ltd.
Author URI: https://marketingbear.com
Version: 1.0.0
Updated: 2017-09-05
Text Domain: mb-pro-child
*/

#header_container .desktop_menu_bar_container .menu > li.menu-item-has-children.mb_open_submenu_left > .sub-menu {
    right: 0;
    left: auto;
}

.container {
    max-width: 98%;
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.space {
    padding: 40px 0 100px;
}


.posts-wrapper-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 65px;
}

.posts-wrapper-top .post-blog {
    margin-bottom: 45px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #AA1C2D;
}

.posts-wrapper-top .post-blog time {
    color: #AA1C2D;
    font-size: 16px;
    display: block;
    margin: 15px 0 10px;
    font-weight: 400;
    line-height: 183.182%;
}

.posts-wrapper-top .post-blog .post-title {
    color: #000;
    font-size: 36px;
    font-weight: 600;

}

.posts-wrapper-top .post-blog:nth-child(1), .posts-wrapper-top .post-blog:nth-child(4) {
    flex-basis: 58%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.posts-wrapper-top .post-blog:nth-child(1) .post-thumbnail, .posts-wrapper-top .post-blog:nth-child(4) .post-thumbnail {
    flex-basis: 43.5%;
    order: 2;
    height: 100%;
}

.posts-wrapper-top .post-blog:nth-child(1) .info, .posts-wrapper-top .post-blog:nth-child(4) .info {
    flex-basis: 55.5%;

}

.posts-wrapper-top .post-blog:nth-child(2), .posts-wrapper-top .post-blog:nth-child(3) {
    flex-basis: 41%;
}

.posts-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.posts-wrapper .post-blog {
    flex-basis: 24%;
    margin-bottom: 30px;
}

.post-blog .post-thumbnail {
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin-bottom: 6px;
    transition: .5s;
}

.post-blog .post-title {
    color: #AA1C2D;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    margin-bottom: 5px;
    transition: .5s;
    text-transform: uppercase;
}

.post-blog .post-title:hover {
    opacity: .7;
}

.post-blog p {
    font-size: 16px !important;
    color: #000;
    line-height: 1.8;
    margin: 0;
    font-weight: 400 !important;
}

.post-blog .post-thumbnail:hover {
    opacity: .7;
}

.index-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.index-page .pagination {
    margin-top: 30px;
}

.index-page .pagination .nav-links {
    text-align: center;
    font-size: 0;
}

.index-page .pagination .page-numbers {
    display: inline-block;

    padding: 8px 10px;
    border-radius: 2px;
    border: 1px solid rgba(167, 167, 167, 0.20);
    transition: .5s;
    font-weight: 700;
    margin: 0 5px;
    color: #AA1C2D;
    font-size: 16px;
}

.index-page .pagination .current {
    background: #AA1C2D;
    color: #fff;
}

.index-page .pagination a.page-numbers:hover {
    background: #AA1C2D;
    color: #fff;
}

.index-page .pagination svg {
    height: 12px;
    margin: 0 5px;
}

.index-page .pagination .prev,
.index-page .pagination .next {
    position: relative;
}

.top-block .top-image {
    margin: 0;
    height: 400px;
}

.top-block .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index-page .index-page-title {
    color: #000;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 28px;
}

.posts-wrapper-middle {
    border-top: 1px solid #AA1C2D;
    border-bottom: 1px solid #AA1C2D;
    padding: 100px 0 65px;
    margin-bottom: 110px;
}

.posts-wrapper-middle-box, .recent-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-basis: 65%;
}

.recent-posts .post-blog {
    flex-basis: 49%;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.recent-posts .post-blog .post-thumbnail {
    margin: 0 7px 0 0;
    flex-basis: 36.5%;
}

.recent-posts .post-blog .info {
    flex: 1;
}

.posts-wrapper-middle-box .middle-blog-posts {
    flex-basis: 32.5%;
}

.posts-wrapper-middle-box .middle-blog-posts .post-blog {
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #AA1C2D;
    margin-bottom: 20px;
}

.posts-wrapper-middle-box .middle-blog-posts .post-blog time {
    color: #AA1C2D;
    font-size: 16px;
    display: block;
    margin: 15px 0 10px;
    font-weight: 400;
    line-height: 183.182%;
}

#catImage img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.single-top-block {
    text-align: center;
    border-radius: 10px;
    border: 0.5px solid #AA1C2D;
    background: #FFF;
    padding: 20px 45px;
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    border-top: none;
}

body .container .single-top-block h1 {
    color: #AA1C2D;
    text-align: center;
    font-size: 44px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: 10px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 24px;
}

body .container .single-top-block time {
    color: #AA1C2D;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    line-height: 183.182%;
}

body .container .single-top-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    font-weight: 400;
}

body .container .single-top-block h1:after {
    height: 3px;
    width: 149px;
    content: '';
    bottom: 0;
    left: calc(50% - 75px);
    position: absolute;
    background: #F76321;
}


.single-thumbnail {
    margin-top: -200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 110px;
}

.single-info-block {
    flex: 1;
    margin-right: 100px;
}

body .container .single-info-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    font-weight: 400;
}

body .container .single-info-block h2 {
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 35px;
    padding-bottom: 35px;
    position: relative;
}

body .container .single-info-block h2:after {
    height: 3px;
    width: 149px;
    content: '';
    bottom: 0;
    left: calc(50% - 75px);
    position: absolute;
    background: #F76321;
}

body .container .single-info-block img {
    margin-bottom: 70px;
    border-radius: 10px;
}

.side-posts {
    flex-basis: 387px;
}

.side-posts .post-blog {
    border: 1px solid #AA1C2D;
    border-radius: 10px;
    padding: 8px 12px 8px 8px;
    margin-bottom: 20px;
}

.side-posts .post-blog .post-thumbnail {
    flex-basis: 132px;
    margin-right: 8px;
}

.side-posts .post-blog .info {
    flex: 1;
}

.single-bottom-block {
    margin-top: 50px;

}

.single-bottom-block .index-page-title {
    margin-bottom: 55px;
}

@media screen and (max-width: 1240px) {
    .index-page .index-page-title {
        font-size: 28px;
    }

    .single-info-block {

        margin-right: 30px;
    }

    body .container .single-info-block img {
        margin-bottom: 50px;
    }

    .posts-wrapper-top .post-blog .post-title {
        font-size: 28px;
    }

    .space {
        padding: 40px 0 60px;
    }

    .single-bottom-block {
        margin-top: 30px;
    }

    .single-bottom-block .index-page-title {
        margin-bottom: 35px;
    }

    .single-top-block {
        padding: 20px 35px;
    }

    body .container .single-top-block h1 {
        font-size: 34px;
    }

    body .container .single-info-block h2 {
        font-size: 30px;
    }
}

@media screen and (max-width: 1024px) {
    body .container .single-info-block h2 {
        font-size: 24px;
        margin: 0 0 25px;
        padding-bottom: 25px;
    }

    #catImage img {
        height: 300px;
    }

    .single-thumbnail {
        margin-top: -100px;
        margin-bottom: 50px;
    }

    .space {
        padding: 40px 0;
    }

    .single-info-block {
        margin-right: 0;
        margin-bottom: 30px;
        flex-basis: 100%;
    }

    .side-posts {
        flex-basis: 100%;
    }

    body .container .single-top-block h1 {
        font-size: 30px;
    }

    .single-top-block {
        padding: 20px 20px;
    }

    body .container .single-info-block img {
        margin-bottom: 30px;
    }

    .single-bottom-block .index-page-title {
        margin-bottom: 30px;
    }

    .posts-wrapper .post-blog {
        flex-basis: 49%;
        margin-bottom: 20px;
    }

    .posts-wrapper-top {
        margin-bottom: 25px;
    }

    .index-page .index-page-title {
        font-size: 24px;
    }

    .posts-wrapper-top .post-blog {
        margin-bottom: 25px;
    }

    .posts-wrapper-top .post-blog .post-title {
        font-size: 24px;
    }

    .posts-wrapper-top .post-blog:nth-child(1), .posts-wrapper-top .post-blog:nth-child(4) {
        flex-basis: 49%;
        flex-wrap: wrap;
    }

    .posts-wrapper-top .post-blog:nth-child(1) .post-thumbnail, .posts-wrapper-top .post-blog:nth-child(4) .post-thumbnail {
        flex-basis: 100%;
        order: 1;
        height: 140px;
    }

    .posts-wrapper-top .post-blog:nth-child(1) .info, .posts-wrapper-top .post-blog:nth-child(4) .info {
        flex-basis: 100%;
        order: 2;
    }

    .posts-wrapper-top .post-blog:nth-child(2), .posts-wrapper-top .post-blog:nth-child(3) {
        flex-basis: 49%;
    }

    .posts-wrapper-middle {
        padding: 50px 0 40px;
        margin-bottom: 50px;
    }

    .posts-wrapper-middle-box, .recent-posts {
        flex-basis: 100%;
    }

    .posts-wrapper-middle-box .middle-blog-posts {
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .posts-wrapper-middle-box .middle-blog-posts .post-blog {
        flex-basis: 49%;
    }

    .single-bottom-block {
        margin-top: 20px;

    }

}

@media screen and (max-width: 992px) {
    #content-main {
        padding: 175px 15px 0 !important;
    }
    .home #content-main {
        padding: 105px 15px 0!important;
    }
}

@media screen and (max-width: 768px) {
    .posts-wrapper-top .post-blog:nth-child(1) .post-thumbnail, .posts-wrapper-top .post-blog:nth-child(4) .post-thumbnail {
        height: 260px;
        margin-bottom: 0;
    }

    .space {
        padding: 30px 0;
    }

    .side-posts .post-blog .post-thumbnail {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .single-thumbnail {
        margin-top: -50px;
        margin-bottom: 30px;
    }

    body .container .single-info-block img {
        margin-bottom: 20px;
    }

    .recent-posts .post-blog .post-thumbnail {
        margin: 0 0 15px 0;
        height: 260px;
        flex-basis: 100%;
    }

    .recent-posts .post-blog {
        flex-basis: 100%;
    }

    .posts-wrapper-middle-box .middle-blog-posts .post-blog {
        flex-basis: 100%;
    }

    .posts-wrapper .post-blog {
        flex-basis: 100%;
    }

    .posts-wrapper .post-blog .post-thumbnail {
        height: 260px;
        margin-bottom: 15px;
    }

    .post-blog .post-thumbnail {
        height: 260px;
        margin-bottom: 15px;
    }

    .posts-wrapper-middle {
        padding: 30px 0;
        margin-bottom: 30px;
    }

    #catImage img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .top-block .top-image {
        height: 300px;
    }


    .posts-wrapper-top .post-blog .post-title {
        font-size: 20px;
    }

    .post-blog .post-title {
        font-size: 20px;
    }

    .posts-wrapper-top .post-blog:nth-child(1), .posts-wrapper-top .post-blog:nth-child(4) {
        flex-basis: 100%;
    }

    .posts-wrapper-top .post-blog:nth-child(2), .posts-wrapper-top .post-blog:nth-child(3) {
        flex-basis: 100%;
    }

    .posts-wrapper-top .post-blog {
        margin-bottom: 20px;
    }

    #content-main {
        padding: 220px 15px 0 !important;
    }
}



body .search-form .mb_search_submit {
    float: right;
}

.woocommerce .cart-collaterals .cross-sells, .woocommerce-page .cart-collaterals .cross-sells {
    width: 100%;
}

body .mm-page, body .mm-menu, body .content-area {
    width: 100%;
}

.woocommerce .cart-collaterals .cross-sells ul.products li, .woocommerce-page .cart-collaterals .cross-sells ul.products li {
    width: 100%;
    margin-bottom: 15px;
}

.woocommerce .cart-collaterals .cross-sells ul.products, .woocommerce-page .cart-collaterals .cross-sells ul.products {
    width: 100%;
}


@media screen and (max-width: 586px) {
    body #header_container .mb_header_v2 .mb_main_bar .mb_right_side {
        margin-left: auto;
    }

    .top-block .top-image {
        height: auto;
    }
    .top-block .top-image img{
       object-fit: contain;
    }

    .home #content-main {
        padding: 80px 15px 0!important;
    }
}

