@media print {

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    html {
      min-height: 0;
    }

    html > body {
        background: none;
    }

    #global_header,
    #bg_top,
    #global_footer,
    .generic_layout_container.layout_detstrana_ageruler,
    .layout_main > .layout_left,
    .layout_main > .layout_right,
    .navigation > .pdr,
    .pdr_result > .pdr_trimester_result_send,
    body > #im_container,
    .navigation > ul,
    .vr_bag div,
    .vr_bag:before,
    .vlb_other_bag,
    .comments_record_community,
    .vlb_add,
    #filter,
    .recipes_tabs {
        display: none;
    }

    body > #global_wrapper {
        padding-top: 0;
        width: 210mm;
        overflow: hidden;
    }

    .layout_main {
        overflow: inherit !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .generic_layout_container.layout_main,
    #global_wrapper,
    #global_content {
        margin-left: 0;
        padding-left: 0;
    }

    .middle_content {
        float: left !important;
    }

    .vr_bag {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        float: inherit;
        border: 0;
        display: block;
        margin-left: 0;
        padding-left: 0;
    }

    .vr_list {
        float: inherit !important;
        display: block;
        width: 100% !important;
        vertical-align: bottom;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .vr_list_body {
        background-color: #ffffff;
        width: 100% !important;
    }

    .vlb_title {
        background-color: #eeeff0;
        max-height: 39px;
        margin: 0 !important;
    }

    .vlb_block {
        position: relative;
    }

    .vlb_block > div:nth-child(3),
    .vlb_block > div:nth-child(4) {
        position: absolute;
    }

    .vlb_block > div:nth-child(3) {
        top: 0;
        right: 92px;
    }

    .vlb_block > div:nth-child(4) {
        top: 39px;
        right: 122px;
    }

    .vlb_block > div {
        width: 345px !important;
        max-width: 345px !important;
    }

    .vlb_content {
        margin-bottom: 20px;
    }

    #global_wrapper > #global_content {
        margin-top: 0;
        width: 210mm;
        float: left !important;
    }

    .layout_page_messages_messages_inbox > .layout_main {
        overflow: inherit;
    }

    .layout_main > .layout_middle {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .navigation > div:nth-child(2) {
        margin-left: 0;
    }

    .pdr_trimester {
        page-break-after: always;
        /*page-break-inside: avoid;*/
    }

    .pdr_result > .pdr_trimester:nth-child(2) {
        margin-bottom: 105mm;
    }

    .pdr_result > .pdr_trimester:nth-child(3) {
        margin-bottom: 80mm;
    }

    .pdr_result > .pdr_trimester:nth-child(4) {
        margin-bottom: 0;
    }

    .pdr_result > .pdr_trimester > .pdr_trimester_result {
        display: block;
    }

    .pdr_result > .pdr_trimester > .pdr_trimester_result > .pdr_trimester_result_list > div:first-child {
        padding-bottom: 7px;
    }

    .pdr_result > .pdr_trimester > .pdr_trimester_result > .pdr_trimester_result_list > div {
        padding-bottom: 29px;
        padding-top: 7px;
    }

    .bg_grey.padding_top_4.padding_bottom_6.margin_bottom_10,
    .article_top_image,
    .nowrap.padding_top_24.border_top_grey {
        display: none;
    }

    .text_title > h1:first-child,
    .text_title > div:first-child {
        margin: 0;
        padding: 0;
    }

    .text_title > div:first-child > a,
    .text_title > div:first-child > a:link,
    .text_title > div:first-child > a:visited,
    .text_title > div:first-child > h1 {
        color: #343434;
    }

    .no_text_shadow .font_size_15.color_white {
        color: #788e9b;
        font-size: 17px;
    }

    .gotdi_age,
    .gotdi_time,
    .gotdi_place,
    .gotdi_count_players,
    .gotdi_physical_development,
    .gotdi_the_development_of_motor_skills,
    .gotdi_development_of_memory,
    .gotdi_speech_development,
    .gotdi_development_of_logic,
    .gotdi_role_playing_games,
    .gotdi_development_of_hearing {
        display: inline-block;
        vertical-align: top;
        height: 35px;
        line-height: 35px;
        padding-left: 50px;
        width: 97px;
        margin-bottom: 20px;
    }

    .gotdi_age {
        background: url('https://static.detstrana.ru/public/user/74/1b/06/60f5f_6718.png') no-repeat left center;
    }

    .gotdi_time {
        background: url('https://static.detstrana.ru/public/user/76/1b/06/60f61_2d98.png') no-repeat left center;
    }

    .gotdi_place,
    .gotdi_place.on_the_street {
        background: url('https://static.detstrana.ru/public/user/78/1b/06/60f63_bbc1.png') no-repeat 3px center;
    }

    .gotdi_place.at_home {
        background: url('https://static.detstrana.ru/public/user/4b/2c/06/62025_6dc0.png') no-repeat 3px center;
    }

    .gotdi_place.on_the_road {
        background: url('https://static.detstrana.ru/public/user/93/28/06/61c71_0c12.png') no-repeat 0 8px;
    }

    .gotdi_count_players,
    .gotdi_count_players.three {
        background: url('https://static.detstrana.ru/public/user/7a/1b/06/60f65_ef86.png') no-repeat 3px center;
    }

    .gotdi_count_players.one {
        background: url('https://static.detstrana.ru/public/user/55/2c/06/6202f_9752.png') no-repeat 12px center;
    }

    .gotdi_count_players.two {
        background: url('https://static.detstrana.ru/public/user/57/2c/06/62031_267b.png') no-repeat 3px center;
    }

    .gotdi_physical_development {
        background: url('https://static.detstrana.ru/public/user/80/1b/06/60f6b_460d.png') no-repeat left center;
    }

    .gotdi_the_development_of_motor_skills {
        background: url('https://static.detstrana.ru/public/user/8a/1b/06/60f75_d8dc.png') no-repeat left center;
    }

    .gotdi_development_of_memory {
        background: url('https://static.detstrana.ru/public/user/94/1b/06/60f7f_5ef6.png') no-repeat left center;
    }

    .gotdi_speech_development {
        background: url('https://static.detstrana.ru/public/user/67/28/06/61c45_32d3.png') no-repeat left center;
    }

    .gotdi_development_of_logic {
        background: url('https://static.detstrana.ru/public/user/7b/28/06/61c59_f55d.png') no-repeat left center;
    }

    .gotdi_role_playing_games {
        background: url('https://static.detstrana.ru/public/user/7d/28/06/61c5b_e6d1.png') no-repeat left center;
    }

    .gotdi_development_of_hearing {
        background: url('https://static.detstrana.ru/public/user/83/28/06/61c61_52f7.png') no-repeat 4px center;
    }

    .gotdi_age span,
    .gotdi_time span,
    .gotdi_place span,
    .gotdi_count_players span,
    .gotdi_physical_development span,
    .gotdi_the_development_of_motor_skills span,
    .gotdi_development_of_memory span,
    .gotdi_speech_development span,
    .gotdi_development_of_logic span,
    .gotdi_role_playing_games span,
    .gotdi_development_of_hearing span {
        font: 17px/16px PT Sans;
        color: #343434;
        display: inline-block;
    }

    .game_of_the_day_icons.on_page {
        margin-top: 80px;
        border-bottom: 1px solid #d9dde1;
    }

    .article .margin_bottom_12.margin_top_24.ptsans_i.color_grey {
        border-bottom: 1px solid #d9dde1;
        padding: 20px 0;
        position: relative;
        margin-top: -235px;
        margin-bottom: 180px;
        min-height: 150px;
    }

    .product_review_block,
    .games_with_children_bottom,
    .link_prev,
    .link_center,
    .link_left,
    .games_with_children_bottom + div,
    .games_with_children_bottom + div + div,
    .games_with_children_bottom + div + div + div,
    .games_with_children_bottom + div + div + div + div,
    .comments_record_community + div {
        display: none;
    }

    .qwc_preveiw_block_evaluation_tag {
        background: #eca412;
        font: 14px/25px PT Sans;
        color: #fff;
        display: inline-block;
        position: relative;
        padding-left: 75px;
        padding-right: 10px;
    }

    .gwc_preveiw_block_evaluation {
        position: absolute;
        top: 0;
        left: 0;
        height: 25px;
        background: #edb640 url('https://static.detstrana.ru/public/user/a3/08/06/5fca1_fd30.png') no-repeat 5px 4px;
        font: 16px/25px PT Sans;
        color: #fff;
        padding-left: 27px;
        padding-right: 10px;
        z-index: 2;
    }

    .gwc_preveiw_block_evaluation:after {
        content: '';
        display: block;
        height: 24px;
        width: 13px;
        position: absolute;
        top: 0;
        left: 100%;
        background: url('https://static.detstrana.ru/public/user/a9/08/06/5fca7_925b.png') no-repeat top right;
    }

    .qwc_preveiw_block_evaluation_tag a,
    .qwc_preveiw_block_evaluation_tag a:link,
    .qwc_preveiw_block_evaluation_tag a:visited,
    .qwc_preveiw_block_evaluation_tag span,
    .text_title div.qwc_preveiw_block_evaluation_tag:last-child > a {
        font: 14px/25px PT Sans;
        color: #fff;
        text-decoration: underline;
        float: none;
    }

    .qwc_preveiw_block_evaluation_tag:after {
        content: '';
        display: block;
        height: 24px;
        width: 13px;
        position: absolute;
        top: 0;
        left: 100%;
        background: url('https://static.detstrana.ru/public/user/43/1e/06/6122b_e5cc.png') no-repeat top right;
    }

    .article_title {
        position: relative;
    }

    .article_title:before {
        content: 'Игры с детьми';
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        height: 96px;
        width: 100%;
        text-align: center;
        font: 20px/96px PT Sans;
        color: #343434;
        background: #eeeff0 url('img/landing-new-logo.png') no-repeat 20px 10px;
    }

    body[print=recipes] .article_title:before {
        content: attr(data-title);
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        height: 96px;
        width: 210mm;
        text-align: center;
        font: 20px/96px PT Sans;
        color: #343434;
        background: #eeeff0 url('img/landing-new-logo.png') no-repeat 40px 10px;
    }

    body[print=recipes] .navigation.margin_bottom_24,
    body[print=recipes] .bg_grey.padding_top_4.padding_bottom_6.margin_bottom_10.margin_right_10,
    body[print=recipes] .bg_grey.padding_top_4.padding_bottom_6.margin_bottom_10.margin_right_10 + .padding_top_10,
    body[print=recipes] #slider_articles > .left,
    body[print=recipes] #slider_articles > .right,
    body[print=recipes] #slider_articles .article_title img,
    body[print=recipes] .nowrap.padding_top_18,
    body[print=recipes] .share_block,
    .comments_record_community,
    body[print=recipes] .in_article_slider,
    .print_hide,
    a.link_print_and_save,
    a.link_print_and_save:link,
    a.link_print_and_save:visited,
    .link_print_and_save {
      display: none;
    }
    body[print=recipes] .content-middle.margin_top_24
    {
      margin: 0;
    }
    body[print=recipes] #slider_articles > .slider_content,
    body[print=recipes] .content-middle .article_title,
    body[print=recipes] #slider_articles > .slider_content.width_671,
    body[print=recipes] #slider_articles > .slider_content.width_671 > div,
    body[print=recipes] #slider_articles.width_all {
      width: 210mm;
    }
    body[print=recipes] .content-middle .article_title,
    body[print=recipes] #slider_articles > .slider_content > div {
      min-height: inherit;
      height: auto;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    body[print=recipes] #slider_articles > .slider_content
    {
      vertical-align: inherit;
    }
    body[print=recipes] #slider_articles.width_all {
      padding: 0;
      margin: 0;
      height: auto;
      min-height: none;
      max-height: none;
    }

    body[print=recipes] .nowrap.padding_top_18 + .border_top_grey.border_bottom_grey.margin_top_20,
    body[print=recipes] .article {
      margin-left: 43px;
      width: 182mm;
      margin-top: 0;
    }
    body[print=recipes] .article {
      /*position: absolute;
      top: 100%;
      z-index: 9999;*/
    }
    body[print=recipes] h1.article_title_slider_text {
      color: #343434;
      font-size: 27px;
      line-height: 27px;
      padding-left: 41px;
      bottom: auto;
      left: auto;
      position: relative;
      padding-top: 118px;
      padding-bottom: 24px;
      margin-bottom: 0;
    }
    body[print=recipes] .content-right {
      margin-left: 43px;
      width: 182mm;
      margin-top: 20px;
      display: block;
      float: none;
    }
    body[print=recipes] .recipes_left_open {

    }
    body[print=recipes] .recipes_left_open .recipes_table {
      width: 90mm;
      display: inline-block;
      vertical-align: top;
    }
    body[print=recipes] .recipes_left_open .recipes_table tr td {
      width: 90mm;
    }
    body[print=recipes] .recipes_left_open_title {
      color: #343434;
      font-family: PT Sans;
      font-weight: bold;
      font-size: 22px;
    }
    body[print=recipes] #global_wrapper {
      overflow: inherit !important;
      width: 210mm !important;
      min-height: 0;
    }
    body[print=recipes] #global_wrapper > #global_content {
      float: none;
      width: 210mm !important;
      overflow: inherit !important;
      min-height: 0;
    }
    body[print=recipes] #global_wrapper > #global_content .article_category {
      width: 210mm !important;
      overflow: inherit !important;
      min-height: 0;
    }

    .article_image,
    .article_image img,
    img
    {
      page-break-inside: auto;
      display: none;
    }


    .article_title:after {
        content: 'detstrana.ru';
        display: block;
        position: absolute;
        top: 42px;
        right: 30px;
        font: 15px/15px PT Sans;
        color: #788e9b;
        display: inline-block;
    }

    .content-middle {
      width: 100%;
      max-width: 100%;
    }
    body[print=recipes] .layout_main,
    body[print=recipes] .layout_middle,
    body[print=recipes] .content-middle {
      margin-bottom: 0;
      padding-bottom: 0;
    }

    h2, h3, p {
        page-break-after: always;
        page-break-before: always;
        page-break-inside: auto;
    }

}

@page  {
  margin-top: 1.3cm;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 1.5cm
}
@page :first  {
  margin-top: 0cm
}
