@media screen and (max-width: 1250px){
    body h2{
        text-align: center;
    }
    body h2.filter{
        text-align: left;
    }
    .container{
        width: 98%;
    }
   #posts .container{
       width: 100%;
   }
   .flip-container, .front, .back{
       max-height: 100vh;
   }
}
@media screen and (max-width: 1150px){
    #posts .flip-container,
    #posts.tc_recipes .flip-container {
        width: 38%;
        max-width: 360px;
    }
}
@media screen and (max-width: 1100px){
    header .info {
        width: 80%;
    }
    .hidden_block .container .tabs.flex li {
        margin: 0 3px 5px 3px;
    }
    .filter form {
        width: 100%;
    }
    .filter .check {
        justify-content: center;
    }
    .hidden_block .container .radio_box div {
        width: 47%;
        text-align: center;
    }
    .hidden_block .bottom {
        margin: 0 auto;
    }
    .news .flex {
        justify-content: center;
    }
    .news .flex li {
        width: 35%;
        margin: 0 20px 20px 0;
    }
    .news .flex li img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        max-height: 200px;
    }
    .news .flex li .box .more {
        margin-right: 10px;
    }
    .mail_box form {
        width: 90%;
    }
    sidebar .author_recipe .recipe li .text h3.pages {
        font-size: 12px;
    }
    sidebar .author_recipe .recipe li .text .like li {
        font-size: 11px;
    }

}

@media screen and (max-width: 950px){
    #posts .flip-container,
    #posts.tc_recipes .flip-container {
        width: 45%;
        max-width: 80%;
    }
    #posts .back .holder {
        line-height: 1.3;
    }
    .filter form .flex .top .chosen-container {
        width: 500px!important;
        display: block !important;
    }

}
@media screen and (max-width: 900px){
    .news{
        width: 100%;
    }
    .news .flex li {
        width: 47%;
        margin: 10px;
    }
    .single_product .holder_wrap {
        width: 100%;
    }
    .single_product sidebar {
        width: 380px;
        margin: auto;
    }
}
@media screen and (max-width: 850px){
    .filter form .flex .top {
        width: 100%;
    }
    .hidden_block .container .radio_box {
        align-items: inherit;
    }
}
@media screen and (max-width: 800px){
    #posts .back .component li {
        padding: 5px 3px;
    }
    #posts .flip-container,
    #posts.tc_recipes .flip-container {
        width: 380px;
        max-width: 100%;
    }
    .filter form .flex .top input, .mail_box form .flex .top input {
        font-size: 14px;
        padding: 12px;
    }
    .filter form .flex .top:before {
        width: 20px;
        height: 20px;
        background-size: contain;
    }
    .mail_box form {
        width: 100%;
    }
    footer .container.flex div{
        width: 100%;
        text-align: center;
    }
    footer .social {
        justify-content: center;
    }
    footer .social li {
        width: 30px;
        height: 30px;
    }
    .copy{
        text-align: center;
        font-size: 12px;
    }
    select {
        width: 100% !important;
    }
    .titleFav {
        margin-top: 50px;
    }
}
@media screen and (max-width: 650px){
    header .info {
        width: 100%;
    }
    .hidden_block .container .radio_box div {
        width: 100%;
    }
    .filter form .flex .top, .mail_box form .flex .top {
        width: 100%;
    }
    form .flex div{
        width: 100%;
    }
    .filter form .flex .btn, .mail_box form .flex .btn {
        width: 65%;
        display: block;
        margin: 10px auto;
    }
    .filter form .flex .top .chosen-container {
        width: 100% !important;
    }
    .mail_box form p {
        width: 100%;
        text-align: center;
    }
    .pagenavi li {
        margin: 0 5px;
        width: 30px;
        height: 30px;
    }
    .pagenavi li a {
        font-size: 16px;
    }
    .news .flex li {
        width: 65%;
        margin: 10px auto;
    }
    .mail_box h2{
        font-size: 23px;
    }
    .mail_box{
        padding: 0 0 200px 0;
    }
    .comments li {
        width: 100%;
    }
    .comments li .child li {
        width: 100%;
        padding-left: 0;
    }
    .comments li .child li:nth-child(2n) {
        padding-left: 0;
    }
}
@media screen and (max-width: 550px){
    body h1{
        font-size: 50px;
        padding-bottom: 20px;
    }
    body h1.pages {
        font-size: 28px;
        text-align: center;
    }
    header {
        padding: 20px 0 100px 0;
    }
    header .info {
        width: 100%;
        margin-top: 10px;
    }
    header .info p{
        padding-top: 10px;
    }
    header .top_header .login.flex {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    header .add{
        width: 100%;
        margin: auto;
    }
    header .btn {
        font-size: 13px;
        display: block;
        margin: 10px auto 20px;
        width: 60%;
    }
    sidebar .catalog_min ul {
        justify-content: center;
    }
    .comments li p {
        font-size: 14px;
    }
    .all_comments {
        display: block;
    }
    .form_comments {
        width: 100%;
    }
    .form_comments .btn{
        width: 100%;
    }
    .product_list .instruction li .top_text p {
        padding: 10px;
        font-size: 14px;
    }
    .filter form .flex .top .IngredientContainer:before {
        display: none;
    }
    .filter form .flex .top .chosen-container {
        font-size: 12px;
    }
    .filter form .flex .top .chosen-container {
        width: 100% !important;
    }


}
@media screen and (max-width: 450px){
    nav ul li{
        padding: 0 15px;
    }
    .filter form .flex .top:before {
        display: none;
    }
    .hidden_block .container .radio_box div {
        padding: 5px;
        box-sizing: border-box;
    }
    .news .flex li {
        width: 90%;
    }
}
@media screen and (max-width: 400px){
    #posts .flip-container,
    #posts.tc_recipes .flip-container {
        width: 100%;
        max-width: 100%;
    }
    #posts .front h4 {
        padding-bottom: 10px;
    }
    #posts .front .descr {
        font-size: 13px;
        max-height: 120px;
    }
    #posts .back p {
        font-size: 13px;
    }
    #posts .back .component {
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    #posts .back .component li {
        width: 38%;
        margin: 3px;
    }
    #posts .back .recipe {
        width: 100%;
        margin: 5px auto 0;
        height: 150px;
        overflow: hidden;
    }
    .hidden_block .bottom {
        align-items: center;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding-bottom: 20px;
    }
    .hidden_block .bottom div{
        width: 100%;
        text-align: center;
    }
    .filter form .flex .top input, .mail_box form .flex .top input {
        font-size: 10px;
        padding: 8px;
    }
    .filter form .flex .btn, .mail_box form .flex .btn {
        width: 100%;
        display: block;
        margin: 10px auto;
        font-size: 12px;
    }
    .single_product sidebar {
        width: 100%;
    }
    #posts .back .component li{
        display: none;
    }
    #posts .back .component li:last-child, 
    #posts .back .component li:first-child{
        display: block;
    }
    #posts .back .img_circle {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
    #posts .back .component {
        margin-bottom: 10px;
        margin-top: 5px;
    }
    #next-data-dish {
        padding: 10px 0;
    }

}
@media screen and (max-width: 370px){
    header {
        padding: 20px 0 35px 0;
    }
    #posts .back .holder .info ul {
        align-items: center;
        padding-top: 5px;
    }
    body h1 {
        font-size: 34px;
        padding-bottom: 20px;
    }
    .news .flex li {
        width: 100%;
    }
    .detail_product ul li {
        padding-right: 10px;
    }
    .detail_product ul li:nth-child(3n) {
        padding-left: 10px;
    }
    #posts .flip-container .back p, 
    #posts .flip-container .front .descr {
        height: 50px;
    }


}

