@media screen and (max-width: 1220px) {
  .items_block,
  .gallery {
    justify-content: center;
  }
}
@media screen and (max-width: 1100px) {
  header .header_top .logo {
    font-size: 18px;
    line-height: 20px;
    min-height: 50px;
    padding: 5px 120px;
    width: auto;
    max-width: max-content;
    margin: 0 auto;
  }
  header .header_top .logo:before {
    width: 120px;
    height: 50px;
    background-size: contain;
  }
  header .header_top .logo:after {
    width: 120px;
    height: 50px;
    background-size: contain;
  }
  header .header_top .phone,
  header .header_top .email,
  header .header_top .address,
  header .header_top .social_block {
    display: none;
  }
  header .header_top .fvi {
    margin: 10px auto;
  }
  header .header_bottom .container {
    padding: 5px 10px;
  }
  header .header_bottom .menu_mobile {
    display: block;
  }
  header .header_bottom nav {
    display: none;
  }
  footer .footer_top nav {
    display: none;
  }
  footer .footer_top .row {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  footer .footer_top .phone,
  footer .footer_top .email {
    font-size: 15px;
    margin: 10px auto;
  }
  footer .footer_top .address {
    font-size: 14px;
    margin: 5px auto;
  }
  footer .footer_top .social_block {
    margin: 5px auto;
  }
  footer .footer_top .btn {
    margin: 5px auto;
  }
  footer .footer_top p {
    max-width: 600px;
    margin: 10px auto;
    font-size: 18px;
  }
  footer .footer_bottom .container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
  }
  footer .footer_bottom .links_block {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin: 10px auto;
  }
  footer .footer_bottom .links_block span {
    display: none;
  }
  main .main_banner_block .mobile_banner {
    display: block;
  }
  main .main_banner_block .main_banner {
    display: none;
  }
  main .content {
    margin: 25px auto;
  }
  main .main_about {
    font-size: 16px;
  }
  main .main_news .btn {
    margin: 20px auto;
  }
  h1,
  h2,
  h3,
  h4 {
    font-size: 28px;
  }
  .alignleft,
  .alignright {
    float: none;
    margin: 10px auto;
  }
  .video_block .item .item_title {
    bottom: 0;
    z-index: 1;
  }
  .page_row {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .page_row aside {
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }
  .page_row aside .aside_title {
    cursor: pointer;
    height: 50px;
    line-height: 50px;
  }
  .page_row aside .aside_title span {
    padding-left: 30px;
    position: relative;
  }
  .page_row aside .aside_title span:after {
    display: block;
    content: '';
    background: url("https://hudgymnastic26.ru/wp-content/themes/new_theme/img/menu.png") no-repeat;
    width: 24px;
    height: 24px;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
  }
  .page_row aside nav {
    display: none;
  }
  .page_row .right_side {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 800px) {
  header .header_top .logo {
    font-size: 16px;
    min-height: 50px;
    padding: 5px 70px;
  }
  header .header_top .logo:before {
    width: 70px;
    height: 50px;
    background-size: contain;
  }
  header .header_top .logo:after {
    width: 70px;
    height: 50px;
    background-size: contain;
  }
}
@media screen and (max-width: 650px) {
  .content_grid__block {
    justify-content: center;
  }
  .content_grid__block .content-grid {
    flex-wrap: wrap;
    max-width: 300px;
    margin: 20px auto;
  }
  .content_grid__block .content-grid .item_thumb {
    width: 100%;
    min-width: 150px;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .content_grid__block .content-grid .item_thumb img {
    max-height: 300px;
    max-width: initial;
    object-position: top;
  }
  .content_grid__block .content-grid .item_thumb img.no_img {
    max-width: 300px;
    object-position: center;
  }
  .content_grid__block .content-grid .item_content {
    padding: 5px 5px 35px 5px;
  }
  .content_grid__block .content-grid .item_content .item_title {
    text-align: center;
    font-size: 20px;
  }
  .content_grid__block .content-grid .item_content .item_excerpt {
    max-height: initial;
  }
  .content_grid__block .content-grid .item_content .item_forward {
    bottom: 5px;
  }
}
@media screen and (max-width: 500px) {
  .news_block .item,
  .trainer_block .item,
  .sportsmen_block .item,
  .video_block .item {
    margin: 12px auto;
  }
}
