@media screen and (max-width: 999px) {
  #main {
    width: 768px;
    /* НЕ ЗАБУДЬ ЗАКОММЕНТИРОВАТЬ */
    /* overflow: hidden; */
    /* НЕ ЗАБУДЬ ЗАКОММЕНТИРОВАТЬ */
  }

  #top_line {
    height: 25px;
    line-height: 25px;
  }

  .lang_ver {
    margin-top: 3px;
  }

  #head {
    height: 100px;
    margin-top: 0;
  }

  #head .logo {
    max-height: 100%;
  }

  #head .logo img {
    height: 100%;
    width: auto;
  }

  #head .phones {
    font-size: 1.9em;
  }

  #head .contacts {
    margin: 0 5px 0 20px;
  }

  #head .contacts ul {
    margin: 9px 0 0;
  }

  #top_menu table {
    width: 100%;
    font-size: 14px;
  }

  #top_menu .date span {
    margin-left: 0;
  }

  .main_table {
    width: 100%;
  }

  div.content {
    width: 70%;
  }

  div.rght {
    width: 29%;
  }

  #pagetitle {
    font-size: 22px;
  }

  .slide h2 {
    font-size: 20px;
  }

  .slide p {
    font-size: 14px;
    width: 250px;
    margin-left: 10px;
  }

  .slide .slide_img {
    position: relative;
    width: 200px;
    margin-left: 270px;
    margin-top: -250px;
  }

  .slide .slide_img img {
    width: 200px;
  }

  div.green-button {
    margin: 1.9em 0px 0.7em 1em;
  }

  div#slideshow {
    height: 300px;
  }

  div#slideshow img#prev, div#slideshow img#next {
    opacity: 1;
    top: 120px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  ul.block li {
    width: 45%;
    padding: 5px;
  }

  ul.block li a.link {
    font-size: 15px;
    margin-top: 0;
    line-height: 45px;
  }

  ul.block li.icon {
    background-position: 100% 50%;
    background-size: 35px;
    min-height: 46px;
    height: auto;
  }

  ul.block li a.link_cross {
    margin-top: 3px;
  }

  div.rght .inner {
    padding: 0 0 0 15px;
  }

  .ord_l {
    background-size: contain;
    width: 130px;
    height: 130px;
    margin: 1em auto;
  }

  .h2 {
    font-size: 18px;
  }

  #languages {
    width: 100%;
    font-size: 13px;
  }

  #ads {
    width: 90%;
    margin: 3em auto;
  }

  #ads .cl_img {
    margin-left: 5px;
    width: 15%;
  }

  .scrollTop {
    left: 3%;
    background-size: contain;
    width: 40px;
  }

  #footer {
    height: 110px;
  }

  #footer>div:first-child {
    top: auto !important;
    bottom: 5px !important;
    left: 10px !important;
  }

  #footer .text1 {
    width: 60%;
    top: 0;
    left: 10px;
  }

  #footer .text2 {
    left: auto;
    width: 40%;
    right: 0;
    top: 0;
    margin-top: 28px;
  }

  .text1_1, .text1_2 {
    left: auto;
    right: 0;
  }

  #footer .PR {
    width: 170px;
    margin: 0 auto;
  }

  .text1_c {
    right: 0;
    left: auto;
  }

  .up_text {
    width: 100%;
  }

  ul.uslugi {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 45%;
    height: 230px;
  }

  ul.uslugi h3 {
    margin-top: 0;
    height: 45px;
  }

  ul.uslugi h2 {
    min-height: 60px;
    height: auto;
  }

  ul.uslugi_sp li, ul.uslugi_sp_one li {
    font-size: 15px;
  }

  ul.uslugi h3.icon {
    background-position: 100% 5px;
    background-size: 40px;
  }

  .ord-tab-left {
    width: 41.5%;
  }

  .ord-tab-left, .ord-tab-center, .ord-tab-right {
    height: 160px;
  }

  .red-text {
    margin-top: 0;
    font-size: 1.1em;
  }

  .why {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  ul.kz {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
  }

  ul.kz li {
    width: 120px;
    padding-left: 35px;
  }

  ul.kz li div {
    padding: 3px;
    font-size: 22px;
    background-size: contain;
    line-height: 22px;
    text-align: center;
    background-size: contain;
    width: 25px;
    height: 25px;
  }

  .column.content img {
    max-width: 100%;
    height: auto;
  }

  div.order-button {
    max-width: 210px;
    margin: 0.7em 0px 0.5em 0em;
  }

  div.order-button a.order-a {
    font-size: 11px;
    width: 140px;
  }

  table.table_cost {
    width: 100%;
  }

  .reviews__list {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #main {
    width: 560px;
    margin: 1em auto;
  }

  .main_table {
    padding: 0.5em 10px;
  }

  #head {
    height: 75px;
  }

  #head .contacts {
    width: 380px;
  }

  #top_line {
    height: 15px;
    line-height: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .lang_ver, .lang_ver img {
    margin-top: 0;
    height: 15px;
  }

  .slide .slide_img {
    display: none;
  }

  .phones span {
    font-size: 14px;
  }

  #head .phones {
    font-size: 1.5em;
  }

  .toggle-menu {
    display: block;
    float: left;
    margin-top: 23px;
    cursor: pointer;
  }

  #top_menu, #top_menu+.hr_bottom {
    display: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .main_table .column.rght {
    display: none;
  }

  div.content {
    width: 100%;
  }

  #ads {
    width: 95%;
  }

  .slide .slide_img {
    display: block;
  }

  #pagetitle {
    font-size: 20px;
  }

  #footer {
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
  }

  #footer .text1 {
    position: relative;
    width: 100%;
    left: 0;
  }

  #footer .text2 {
    position: relative;
    width: 100%;
    margin-top: 0;
    right: auto;
    text-align: center;
  }

  #footer .PR {
    text-align: left;
  }

  #footer .phones {
    margin-top: 0 !important;
    clear: both;
  }

  .phones span.city {
    width: auto;
  }

  #head .phones span.city {
    width: auto;
    display: block;
    float: none;
  }

  .text1_1 {
    position: relative;
    top: 0;
    margin-bottom: 10px;
  }

  .text1_2 {
    position: relative;
    top: 0;
  }

  .text1_1, .text1_2 {
    right: auto;
  }

  #footer>div:first-child {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin-bottom: 5px;
  }

  #footer>div:first-child>a {
    display: block !important;
  }

  .blog-sidebar {
    display: none;
  }

  .blog-posts {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .blog-post-title span, .blog-post-title a:link, .blog-post-title a:visited, .blog-post-title a:active {
    font-size: 0.85em !important;
  }

  .reviews__list .owl-carousel .owl-item img {
    height: 200px;
    width: auto;
    margin: 0 auto;
  }

  .reviews__list img {
    max-height: 100%;
  }

  .cl_img {
    margin-left: 5px;
    width: 100px;
  }

  .cl_img:first-child {
    margin-left: 0;
  }

  .text1_c {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
  }

  .testovyi_perevod {
    font-size: 1.2em;
    background-size: contain;
  }

  .button_price {
    width: 140px;
  }

  .button_price div {
    width: inherit;
  }

  ul.block li p.cent_r {
    margin: 0;
    text-align: center;
  }

  ul.block li.icon {
    min-height: 70px;
  }

  .raschet-index {
    display: block;
  }

  .raschet-index .ord_l {
    margin-top: 0;
    margin-bottom: 1em;
  }
  /* Zadarma widget */
  #zcwMiniButton {
    right: 25px !important;
    bottom: 120px !important;
    width: 55px !important;
    height: 55px !important;
  }
  #zcwMiniButton #zcwMiniButtonMain {
    width: inherit !important;
    height: inherit !important;
  }
}

@media screen and (max-width: 559px) {
  #main {
    width: 99%;
    margin: 0 auto;
  }

  #pagetitle {
    font-size: 18px;
  }

  h2, .h2 {
    font-size: 16px;
  }

  ul {
    padding-left: 0;
  }

  ul:not(#slides) li {
    list-style-position: inside;
  }

  #top_line {
    height: 15px;
    line-height: 15px;
    position: absolute;
    right: 0;
    z-index: 1;
    width: 70px;
    padding: 5px 0px;
    text-align: center;
  }

  #top_line span+a, #top_line a+span {
    margin-right: 0;
  }

  #head .logo {
    width: auto;
    margin-left: 20px;
  }

  #head .logo img {
    width: 100px;
    height: auto;
  }

  #head .contacts {
    width: auto;
    max-width: 170px;
    position: relative;
    float: left;
    right: auto;
    margin: 0;
  }

  #head .phones {
    display: none;
  }

  #head .contacts li {
    margin-bottom: 0;
    display: inline-block;
    height: auto;
  }

  #head .contacts li.mobile-tel {
    display: inline-block;
  }

  #head .skype a:not(.link-icon) {
    display: none;
  }

  #head .contacts ul {
    margin: 35px 0 0 45px
  }

  .slide h2 {
    font-size: 16px;
  }

  .slide .slide_img {
    display: none;
  }

  div.green-button {
    margin: 0 auto;
    width: 180px;
    text-align: center;
    height: 40px;
  }

  div.green-button a.a-green {
    margin: 0;
    width: 100%;
    line-height: 40px;
  }

  #slideshow-nav {
    bottom: 10px;
  }

  ul.block li {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 5px auto;
  }

  ul.block li a.link {
    font-size: 14px;
    line-height: 30px;
  }

  ul.block li.icon {
    min-height: 40px;
  }

  #ads {
    text-align: center;
  }

  #ads .cl_img {
    width: 35%;
    margin-right: 5px;
  }

  ul.uslugi {
    width: 100%;
    height: auto;
    float: none;
    margin: 10px auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px;
  }

  ul.uslugi_sp li, ul.uslugi_sp_one li {
    font-size: 13px;
  }

  ul.uslugi h3 {
    font-size: 14px;
    min-height: 30px;
    height: auto;
  }

  ul.kz li {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-bottom: 0;
  }

  .ord-tab-left {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: auto !important;
  }

  .ord-tab-left, .ord-tab-center, .ord-tab-right, .ord-tab-right-nb {
    height: auto;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .ord-tab-center i {
    margin: 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  div.order-button {
    margin: 0 auto;
  }

  #TranslatorBuilder {
    overflow: auto;
  }

  #order {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  table.form-table {
    width: 100%;
  }

  table.form-table td {
    font-size: 12px;
    line-height: 1.3;
  }

  table.form-table tr:last-child td:nth-child(1) {
    position: relative !important;
  }

  table.form-table td input, table.form-table td textarea,  table.form-table td select {
    width: auto !important;
    max-width: 100%;
    display: block;
  }

  .blog-post-title span, .blog-post-title a:link, .blog-post-title a:visited, .blog-post-title a:active {
    font-size: 0.75em !important;
  }

  .custom-file-field {
    width: 180px;
  }

  ul.uslugi h2.icon {
    background-position: 100% 5px;
  }

  ul.uslugi h2 {
    min-height: 30px;
  }

  .button {
    width: 140px;
    height: 30px;
  }

  .button div {
    width: 100%;
    font-size: 16px;
    padding-top: 5px;
  }

  ul.block li p {
    margin-bottom: 0;
  }

  div.blog-post-share {
    float: none !important;
  }
}
