.mm-toggle {
  display: none;
}

@media (max-width: 1005px) {
  body {
    min-width: 0;
    width: 95vw;
    padding: 8px;
    opacity: 0;
  }

  body.loaded {
    opacity: 1;
  }

  body table {
    min-width: 360px;
  }

  body > table tr td {
    display: block;
  }

  body #content table tr td {
    display: table-cell;
  }

  body #content ol,
  body #content ul {
    padding-left: 3px;
  }

  .mmenu {
    display: none;
  }

  .mmenu td {
    text-align: center;
    word-break: break-word;
  }
  .mmenu td a {
    display: inline-block;
  }

  body > table:nth-child(3) > tr:nth-child(1) {
    display: none;
  }
  body > table:nth-child(3) > tbody > tr:nth-child(2) > td:nth-child(1) {
    display: none;
  }

  #footer {
    text-align: center;
  }

  #mobile-menu {
    overflow-y: scroll !important;
    padding-top: 25px;
  }

  #mobile-menu a {
    text-transform: none;
    color: #fff;
    display: block;
    margin: 5px 10px;
  }
  #mobile-menu table td {
    background: none;
    display: block;
    width: 100%;
  }
  .mm-toggle {
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 30px;
  }

  #mobile-menu .close {
    position: absolute;
    right: 10px;
    top: 0px;
    color: #fff;
    font-family: tahoma, verdana, arial;
  }

  .colpad {
    padding: 4px;
    width: 98vw;
  }

  #search1 tr,
  #search1 td {
    display: block !important;
  }

  .booksnav td {
    display: table-cell;
    width: 33%;
  }

  #content {
    padding: 0 10px;
  }

  #content img {
    width: 100% !important;
    height: 100% !important;
  }

  .yapad,
  .block {
    overflow: hidden;
  }

  .only-mobile .block > * {
    padding: 3px 10px;
  }

  #yandex_ad_R-126298-1,
  #okved,
  #banki,  
  #okpd {
    display: none !important;
  }

  #preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fbfbfb
      url("//www.aup.ru/processing.gif")
      no-repeat center center;
  }

  #preloader.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 2s linear;
  }

  #preloader.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
  }
}
