    /* .main__up_news {
    max-width: 1100px; */


/* margin: 0 auto; */


/* } */


/* .cartTemplate {
    margin-top: 250px;
    margin-left: 50px;
    padding: 15px;
}
.cartTemplate {
    width: 50%;
    box-shadow: 0px 2px 5px .5px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
}
.content_part_news {
    display: flex;
    align-items: center;
}
.button_more_news a {
    font-family: 'Montserrat';
    font-size: 14px;
    color: #543433;
}
.text__content_part {
    max-width: 95%;
    font-family: 'Montserrat';
    color: #545453;
    margin-bottom: 7px;
    font-size: 14px;
}
.aggregate_part_news {
    margin-left: 10px;
}
.title_part_news {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 17px;
} */


/* .title_part_news,
.content_part_news {
    /* margin-left: 15px; */


/* } */


/* .img__content_part img {
    border-radius: 3%;
} */


/* _________________________________________________ */

.main__up_news1 {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
}

.title_part_cart, a.title_part_cart {
    font-family: 'Montserrat';
    margin-bottom: 10px;
    font-weight: bold;
    /* margin-top: 10px; */
}

.cartMain01 {
    display: flex;
    max-width: 50%;
    box-shadow: 0px 2px 5px .5px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    overflow: hidden;
    min-height: 220px;
    transition: box-shadow .3s;
    z-index: 10;
    background: white;
    transition: margin .3s, transform .25s;
}

.cart_color-bg {
    background-color: #efefef;
}

.cartDoubleA {
    flex-wrap: wrap;
}

.cartDoubleA>DIV {
    /* max-height: 170px; */
    /* margin-top: 20px; */
}

.cartMain01:nth-child(2n+1) {
    margin-right: 10px;
}

.cartMain01:hover {
    display: flex;
    box-shadow: 0px 2px 5px .5px rgba(0, 0, 0, 0.42);
    transform: translateY(-10px);
}

.right_part_main_cart {
    transition: background .3s, color .3s;
}

.right_part_main_cart:hover {}

.right_part_main_cart {
    /* margin-left: 15px; */
    padding: 15px;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.main_part_cart {
    font-family: 'Montserrat';
    font-size: 14px;
    margin-bottom: 15px;
}

.more_part_cart {
    display: flex;
    align-items: center;
}

.icon_button {
    margin-left: 5px;
}

.icon_button img {
    width: 25px;
    border-radius: 15px;
}

.left_part_main_car img {
    height: 100%;
    width: 250px;
}

.text_button {
    border-bottom: 1px solid;
}

.text_button {
    font-size: 12px;
    font-family: 'Montserrat';
}

.dop_block_it {
    /* display: flex; */
}

.text_button,
.icon_button,
.title_part_cart {
    cursor: pointer;
}

.margin__bottom {
    margin-bottom: 5x
}

.cartDoubleF {
    max-width: 48%;
    margin-bottom: 20px;
    background-color: white;
}

.bg_cart_news {
    background-color: #efefef;
}


/* нижние карточки новоостей на главной странице */

.in-lower_cart_news .more_part_cart {
    margin-top: 10px;
    position: absolute;
    bottom: 10px;
}

.in-lower_cart_news:nth-child(2n) {
    background-color: #efefef;
}

.in-lower_cart_news:nth-child(-n+3) {
    margin-right: 15px;
}

.in-lower_cart_news {
    position: relative;
    padding: 15px;
    max-width: 24%;
    box-shadow: 0px 2px 5px 0.5px rgba(0, 0, 0, 0.12);
    transition: box-shadow .3s, margin .3s, transform .25s;
}

.in-lower_cart_news:hover {
    box-shadow: 0px 2px 5px .5px rgba(0, 0, 0, 0.42);
    transform: translateY(-10px);
}

.in-lower_up_img {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.in-lower_up_img img {
    border-radius: 5px;
}

.content_title_up_low {
    cursor: pointer;
    font-size: 12px;
    font-family: 'Montserrat';
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.content_text_up_low {
    font-size: 12px;
    margin-bottom: 20px;
}


/* нижние карточки новоостей на главной странице */

.more_part_cart {
    transition: color .2s;
}

.more_part_cart:hover {
    color: orange;
}
 
 .main__up_news1 {
         
    }

@media screen and (min-width: 1200px) {
    .cartMain01 {
        /* min-height: 100px;
        max-height: 175px;
        font-size: 12px; */
    }
}

@media screen and (max-width: 1200px) {
    .main__up_news1 {
        max-width: 970px;
    }
    .cartMain01 {
        min-height: 100px;
        max-height: 150px;
        font-size: 12px;
    }
    .main_part_cart {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .text_button {
        font-size: 10px;
    }
    .icon_button img {
        width: 20px;
    }
}

@media screen and (max-width: 991px) {
    .main__up_news-lower {
        display: block;
    }
    .in-lower_cart_news:nth-child(2n+1) {
        margin-left: 9%;
    }
    .in-lower_cart_news:nth-child(-n+2) {
        margin-bottom: 20px;
    }
    .in-lower_cart_news {
        margin-right: 0;
        justify-content: center;
        min-width: 40%;
        display: -webkit-inline-box;
        min-height: 320px;
    }
    .main__up_news1 {
        max-width: 750px;
    }
    .cartMain01 {
        min-height: 100px;
        max-height: 140px;
        font-size: 10px;
    }
    .main_part_cart {
        font-size: 10px;
        margin-bottom: 5px;
    }
    .text_button {
        font-size: 8px;
    }
    .icon_button img {
        width: 15px;
    }
}

@media screen and (max-width: 850px) {
    .main__up_news1 {
        max-width: 750px;
    }
    .cartMain01 {
        min-height: 100px;
        max-height: 140px;
        font-size: 10px;
    }
    .main_part_cart {
        font-size: 10px;
        margin-bottom: 5px;
    }
    .text_button {
        font-size: 8px;
    }
    .icon_button img {
        width: 15px;
    }
}

@media screen and (max-width: 767px) {
    .cartDoubleF:nth-child(2n) {
        background-color: #efefef;
    }
    .cartDoubleF:nth-child(2n+1) {
        background-color: white;
    }
    .cartDoubleF:nth-child(2n+1) {
        margin: 0px auto;
    }
    .in-lower_up_img img {
        width: 170px;
    }
    .main__up_news1 {
        display: block;
        max-width: 750px;
    }
    .cartMain01:nth-child(-n+1) {
        margin: 0px;
    }
    .cartMain01:nth-child(-n+1) {
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .cartDoubleF:nth-child(1n) {
        margin: 0 auto;
        margin-bottom: 20px;
    }
    .cartMain01 {
        margin-left: 0;
        min-height: 100px;
        max-height: 140px;
        font-size: 10px;
        min-width: 80%;
        margin: 0 auto;
    }
    .main_part_cart {
        font-size: 10px;
        margin-bottom: 5px;
    }
    .text_button {
        font-size: 8px;
    }
    .icon_button img {
        width: 15px;
    }
    .left_part_main_car img {
        max-width: 200px;
    }
}

@media screen and (max-width: 680px) {
    .in-lower_up_img img {
        width: 120px;
    }
}

@media screen and (max-width:520px) {
    .main__up_news-lower {
        display: block;
    }
    .in-lower_cart_news {
        margin-left: 9%;
    }
    .in-lower_cart_news:nth-child(-n+3) {
        margin-bottom: 20px;
    }
    .in-lower_cart_news {
        margin-right: 0;
        justify-content: center;
        min-width: 80%;
        display: -webkit-inline-box;
        min-height: 320px;
    }
    .main__up_news1 {
        max-width: 750px;
    }
    .cartMain01 {
        min-height: 100px;
        max-height: 140px;
        font-size: 10px;
    }
    .main_part_cart {
        font-size: 10px;
        margin-bottom: 5px;
    }
    .text_button {
        font-size: 8px;
    }
    .icon_button img {
        width: 15px;
    }
    .left_part_main_car img {
        max-width: 180px;
    }
    .in-lower_up_img img {
        width: 160px;
    }
    .cartDoubleF .left_part_main_car img {
        max-width: 160px;
    }
    .main_part_cart {
        font-size: 8px;
        margin-bottom: 0;
    }
    @media screen and (max-width:450px) {
        .title_part_cart {
            margin-bottom: 0px;
        }
        .left_part_main_car img {
            max-width: 160px;
        }
        .in-lower_up_img img {
            width: 160px;
        }
        .cartDoubleF .left_part_main_car img {
            max-width: 160px;
        }
        .left_part_main_car img {
            max-width: 120px;
        }
        .cartDoubleF .left_part_main_car img {
            max-width: 140px;
        }
    }
    @media screen and (max-width:390px) {
        .cartMain01 {
            min-width: 85%;
        }
        .left_part_main_car img {
            max-width: 120px;
        }
        .left_part_main_car {
            display: flex;
            align-items: center;
        }
        .left_part_main_car img {
            height: 60%;
            max-width: 90px;
            margin-left: 10px;
        }
        .in-lower_up_img img {
            width: 150px;
        }
        .cartDoubleF .left_part_main_car img {
            max-width: 120px;
        }
    }
    @media screen and (max-width:350px) {
        .cartMain01 {
            min-width: 100%;
        }
        .left_part_main_car {
            display: flex;
            align-items: center;
        }
        .left_part_main_car img {
            height: 60%;
            max-width: 90px;
        }
    }