.container {
  max-width: 1320px;
  margin: 0 auto; }
  .container::before {
    content: '';
    display: table; }
  .container::after {
    content: '';
    clear: both; }

@media all and (max-width: 1200px) {
.search-container {
    display: none;
}
}    
@media all and (max-width: 960px) {
.main_overlay {
    width: 100% !important;
    height: 694px;
}
}

@media all and (max-width: 767px) {
.contact_form {
width: 100%;}
.contact_form p{
    flex-direction: column;
}
.contact_form input {
    width: 100%;
}
 .content {
    flex-direction: column;
} 
.sidebar.single {
    width: 100%;
}
.sidebar-column {
    max-width: inherit;
    width: 100%;
}
.first_block {
    flex-wrap: wrap;
}
.midle_block_2 {
    flex-wrap: wrap;
}
.reviews {
    margin-bottom: 20px;
    min-width: initial;
    width: 100%;
}
.block-text.main_page {
    margin-right: 0px;
}
ul.list_category {
    flex-wrap: wrap;
}
.catalog__list {
    justify-content: space-around;
}    
.menu li.privacy{
  margin-top: -2px;
}
.footer .menu li:hover{
  background: none;
}
.menu li.privacy:hover {
    padding-bottom: 0px;
}
 .ratings {
    position: static !important;
    margin-top: 10px;
}
.game_body {
    margin-top: 63px;
}
.ratings:after{
  display: none;
}
.game-offer__window__top .ratings .likes-rating {
    flex-direction: row;
    margin-top: -35px;
}    
.game-offer__window__top {
    height: 120px;
}

  .search-container .search input {
    width: 100%;
    margin-left: 0px;
    margin-top: 20px;
  }  
  .top {
    align-items: stretch;
    max-width: 98%;
  }  
  .header .wrapper {
    padding: 0 16px; }
  .header .logo {
    margin: 30px 0; }
  .sidebar-column {
    max-width: 100%; }
  .sidebar {
    max-width: 100%; }
  .main {
    max-width: 100%; }
    .main.single {
    margin: 0px; }
  .top {
    flex-direction: column;
    margin-top: 0px; }
  .menu {
    margin-right: 0;
   }
  .menu ul {
    flex-wrap: wrap;
}  
.menu ul li {
    width: 154px;
    height: 38px;
} 
.menu ul li a {
  margin-top: 0px;
}   
.menu ul li a:after{
  display: none;
}
.footer .menu ul{
  justify-content: center !important;
}
  .container {
    width: 100%;
    padding: 0 16px; }
  .heading {
    font-size: 26px;
    }
    .game-card .name {
    margin-bottom: 10px
}
  .content {
    flex-direction: column; }
  .block-text {
    padding: 20px;
    }
    .footer-flex .menu ul {
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer .container {
  min-height: initial;
  height: 360px;
}
 .border-block {
    padding: 20px; }
  .game-day {
    padding: 20px;
    flex-direction: column; }
    .game-day__title {
      text-align: center;
      margin-bottom: 10px; }
    .game-day__views {
      justify-content: center; }
    .game-day__side__top {
      flex-direction: column; }
    .game-day__side--block {
      margin-bottom: 20px; }
    .game-day__side--buttons {
      margin: 0 auto; }
    .game-day__image {
      max-width: 185px;
      margin: 0 auto 20px;
      text-align: center; }
  .catalog__list, .catalog.home_page.last .catalog__list {
    margin-left: 0px;
    margin-right: 0px; }
  .gallery {
    margin-left: -6px;
    margin-right: -6px; }
    .gallery__item {
      width: calc(100% / 2 - 12px);
      margin: 10px 6px; }
  .game-card {
    width: calc(100% / 2 - 12px);
    height: 100%;
    margin: 10px 6px !important; }
    .game-card .thumb {
      height: 100%; }
  .game-offer {
    padding: 20px; }
    .game-offer__image {
      float: none;
      margin: 0 auto 20px; } 
       .game-offer__comments {
      padding: 20px; }
    .game-offer__window__frame {
      min-height: 320px; }
    .game-offer__window__top {
      flex-direction: column; }
      .game-offer__window__top .shared {
        margin-bottom: 10px; }
      .game-offer__window__top .views {
        margin-bottom: 10px; }
     .game-offer__window__bottom .fullscreen .btn-fullscreen span {
            display: block;
            margin-left: 10px; }
      .game-offer__window__bottom .links {
        order: 13;
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center; }
        .game-offer__window__bottom .links a {
          margin: 10px; } 
       .pagination {
    justify-content: center; }
  .recommended-games {
    padding: 20px 15px;
    margin-bottom: 40px; }
    .recommended-games__thumb {
      margin: 0;
      padding: 0 5px; }
    .recommended-games .slick-prev, .recommended-games .slick-next {
      top: calc(100% + 35px); }
    .recommended-games .slick-prev {
      left: -20px; }
    .recommended-games .slick-next {
      right: -20px; }
  .footer-flex {
    flex-direction: column;
    justify-content: center;
    padding-left: 0px; }
  .footer-copyright {
    margin-bottom: 10px; } 
.block-text img.alignright.size-full.wp-image-2345 {
    display: inline;
    float: none;
    margin: 0px auto 20px;
   
}    
.midle_block {
   flex-direction: column;
}
.category_list {
    margin-right: 0px;
}  
  

  }


@media all and (max-width: 520px) {
.game_title h1 {
    font-size: 22px;
}      
.game-offer__window__bottom {
  flex-wrap: wrap;
  justify-content: center;
}
.fullscreen.btn-fullscreen, .comments {
    margin-top: 10px;
}
.game-card .thumb {
    padding: 0 10px;
}
.catalog__title {
    font-size: 30px;
    line-height: 30px;
}  
.border-block {
    display: none;
}
.menu ul li a span, .menu li.privacy a{
  font-size: 14px !important;
}
.menu ul li {
    width: 122px;
}

   }   

 @media all and (max-width: 390px) {

.best-games__list li {
    max-width: 140px;
}    


 } 
 

 @media all and (max-width: 430px) {.adv {
    justify-content: space-between; } 
.adv iframe, .game__adv iframe{ width: 360px !important;
    margin-left: 20px;}
ins.adsbygoogle {min-width: 360px !important;
max-width: 360px !important;}    
}    @media all and (max-width: 380px) {
.adv iframe, .game__adv { width: 320px !important;
}}
@media all and (max-width: 820px) {
.page__wrap { flex-direction: column-reverse !important;
 }}
 
 @media all and (max-width: 480px) { .adv_left_sidebar { display: none; }  }