@media (max-width: 991px) {

  .bx-wrapper {
    display: block;
    position: relative;
    padding: 15px;
  }

  .bx-bx li .wrap {
    display: block;
    padding-bottom: 80px;
    min-height: auto !important;
  }

  .bx-bx li.main_page .wrap {
    padding-bottom: 0;
  }

  .main_page:before,
  .about_company:before,
  .products_block:before,
  .partners_block:before,
  .news:before,
  .contact:before {
    display: none;
  }


  .products_block ul li span text {
    width: 400px;
  }

  header {
    display: block;
    position: relative;
    padding: 10px 0;
  }

  header .logo {
    display: table;
    margin: 0 auto;
    text-align: center;
  }

  header ul {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
  }

  header .menu {
    display: none;
  }

  header .menu.on {
    display: block;
  }

  .show_menu {
    display: block;
    position: absolute;
    top: 12px;
    width: 30px;
    height: 25px;
    background: url(../img/menu-icon.png) center no-repeat;
    z-index: 20;
    margin-left: 15px;
  }

  header ul li {
    display: block;
    text-align: left;
    padding-left: 17px;
  }

  .main_page h2 {
    margin-top: 120px;
    font-size: 45px;
    text-align: center;
  }

  .main_page .for_button {
    margin: 50px auto 0;
    display: block;
  }

  .products_block h3, .about_company h3, .partners_block h3, .news h3, .contact h3 {
    padding-bottom: 20px;
    font-size: 48px;
  }

  .about_company h3 {
    padding-bottom: 20px !important;
  }

  .company_block {
    padding-bottom: 30px;
    padding-top: 20px;
  }


  .company_block .left_block,
  .company_block .right_block {
    display: block;
    width: 100%;
    padding: 0;
  }

  .company_block .left_block p {
    padding: 0 15px 10px;
    font-size: 20px;
  }

  .company_block .right_block ul {
    margin-top: 20px;
    padding-bottom: 10px;
  }

  .for_company {
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
  }

  .for_company p {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  .for_company > span {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .for_company p:last-child {
    margin-bottom: 10px;
  }

  .for_company p:first-child {
    width: 100%;
  }

  .for_company p:last-child small {
    left: 0;
  }

  .for_company p small {
    width: 100%;
    text-align: center;
    left: 0;
  }

  .for_company p:first-child + p small {
    left: -20px;
  }

  .for_company p:first-child + p text,
  .for_company p:last-child text {
    padding-left: 0;
  }

  .products_block ul li:nth-last-of-type(1), .products_block ul li:nth-last-of-type(2).products_block ul li:nth-last-of-type(3), .products_block ul li:nth-last-of-type(4) {
    margin-bottom: 30px;
  }


  .partners_block .container {
    min-height: 700px;
  }


  .form_block,
  .form_block form {
    width: 100%;
  }

  .form_block form {
    margin-bottom: 150px;
  }

  .form_block .for_fields,
  .form_block .for_text_field {
    display: block;
    width: 100%;
  }

  .form_block .for_fields select, .form_block .for_fields input,
  .form_block .for_text_field textarea {
    width: 270px;
    font-size: 16px;
    display: block;
    margin: 8px auto;
  }

  .select__wrap {
    max-width: 270px;
    margin: 0 auto;
  }

  .form_block .send_button {
    position: absolute;
    bottom: -90px;
    left: 50%;
    margin-left: -110px;
  }

  .for_text_form {
    position: absolute;
    bottom: -140px !important;
    left: 0;
  }

  .news_block .left_block,
  .news_block .right_block {
    display: block;
    width: 100%;
  }

  .news_block .left_block {
  }

  .contact p {
    font-size: 18px;
    padding: 0 15px;
  }

  .for_video {
    background: url(../img/for_wap_2.jpg) center top no-repeat;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
  }

  .for_video video {
    display: none;
  }

  footer {
    position: fixed;
    bottom: 0;
  }

  footer p {
    padding: 0 20px;
  }
}


@media (max-width: 800px) {
  .products_block ul li {
    width: 33%;
  }

  .products_block ul li span text {
    width: 350px;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

}

@media (max-width: 600px) {
  .products_block ul li {
    width: 50%;
  }
}

@media (max-width: 475px) {
  .products_block ul li {
    width: 100%;
    cursor: default;
  }

  .products_block ul li span {
    width: auto;
    text-decoration: none;
    cursor: default;
  }

  .products_block ul li span text {
    width: auto;
    display: block;
    position: static;
  }

  .products_block ul li span text:before {
    display: none;
    cursor: default;
  }

  .products_block ul li span:before {
    cursor: default;
  }

  .products_block ul li span:hover {
    color: inherit;
    text-decoration: none;
  }

  .products_block ul li span:hover text {
    cursor: default;
    position: static;
    display: block;
  }


  .for_video {
    background: url(../img/for_wap.jpg) center top no-repeat;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
  }

  .partners_block .btn_for_hf {
    width: auto;
  }

}


@media (min-width: 768px) {
  .container {
    width: 747px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .container {
    width: 980px;
    margin: 0 auto;
  }

  header ul {
    display: inline-block !important;
  }


  .bx-viewport,
  .bx-bx {
    height: 100% !important;
  }
}