/* Styles for mobile version */

/*Need <meta name="viewport" content="width=device-width, initial-scale=1">*/

header .menu{
  display: none;
}
.back-top-link{
  display: none;
}

@media only screen and (max-width: 1070px) {
  .back-top-link {
    display: block;
        position: fixed;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #75BF49;
    border-radius: 25px;
    z-index: 1000;
}

#back-top img {
 display: block;
  margin-left:auto;
  margin-right: auto;
 text-align: center;
 text-decoration: none;
 -webkit-transition: 1s;
 -moz-transition: 1s;
 transition: 1s;
 line-height: 20px;
}
#back-top img{
    height: 50px;
    width: auto;
  }
  html {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
  }
  .header_wrapper {
    min-width: 0;
    padding: 0 15px;
    height: auto;
  }
  header {
    width: 100%;
    min-width: 0;
    height: 0px;
    overflow: hidden;
    box-sizing: content-box;
  }
  .breadcrumbs_wrapper .b_breadcrumbs {
      min-width: 0;
  }
  .breadcrumbs_wrapper .b_breadcrumbs ul {
      margin:0 15px;
  }
  .breadcrumbs_wrapper .b_breadcrumbs ul li {
    text-align: left;
        height:auto;
    line-height: 20px;
  }
  .submenu_wrapper .b_submenu {
    min-width: 0;
  }
  .submenu_wrapper .b_submenu ul {
     margin:0 15px;
  }
  .submenu_wrapper .b_submenu ul li {
    float: none;
  } 
  .main_wrapper {
    min-width: 0;
  }
  main {
    min-width: 0;
    padding:20px 15px;
    width: auto;
  }
  main img{
    margin: 5px;
    max-width: 100%;
    height: auto;
  }
  main.detail_page {
    min-width: 0;
    width: 100%;
  }
  main .contacts_text {
    width: 100%;
  }
  main .contacts_pic {
    position: initial;
    width: 100%;
    height: 220px;
    margin-bottom: -60px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
  }
  main .b_prod_list li {
    width: 100%;
  }
  main.detail_page .detail_pics_block{
    width: 100%;
  }
  .detail_pics_block img{
    margin:0;
  }
  .fancybox-wrap{
    width:calc(100%-40px);
  }
  .fancybox-inner{
    max-width: 100%;
    height: auto;
  }
  div.simpleTabs {
    margin: 0 0 30px 0;
  }
  main.detail_page .detail_description {
    width: 100%;
  }
  .simpleTabs{
    width: 100%;
  }
  .simpleTabs .simpleTabsContent{
    width: 100%;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .sheme .scheme_wrap {
    width: 100%;
    height: auto;
  }
  .access_wrap {
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 10px;
  }

  h1{
    font-size: 20px;
        margin-top: 10px;
  }
  .prefooter_banners_wrapper {
    min-width: 0;
  }
  .prefooter_banners_wrapper .prefooter_banners li {
    width: 100%;
  }
  .prefooter_banners_wrapper .prefooter_banners li .name {
    margin-left: 15px;
    font-size: 30px;
  }
  .prefooter_banners_wrapper .prefooter_banners li {
    min-height: 150px;
  }
  .prefooter_wrapper {
    min-width: 0;
    padding: 0 15px;
  }
  .prefooter_wrapper .prefooter .prefooter_menu li {
    width: 50%;
    padding: 10px 0;
  }
  .footer_wrapper {
    min-width: 0;
    padding: 0 15px;
  }
  footer{
    height: auto;
  }
  footer .copyright {
    position: initial;
    padding: 10px 0;
        text-align: center;
  }
  footer .search{
    position: initial;
    padding: 10px 0;
        text-align: center;
  }
  footer .contacts{
    position: initial;
    padding: 10px 0;
        text-align: center;
  }
  main.detail_page .detail_pics_block .additional_img li{
    margin: 5px 10px 0 0;
  }
  .navigation{
    margin: 10px 0;
    font-size: 20px;
  }
  .jcarousel-pagination{
    display: none;
  }
/*.jcarousel-pagination a {
    width: 15px;
    height: 15px;
  }
  .jcarousel li{
    height: 300px;
    position: relative;
  }
  .jcarousel li a{
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
  }
  .jcarousel li a img{
   height: 100%;
    width: auto;
    margin: auto;
  }*/
  .header_wrapper .logo{
    height: 50px;
    display:block;
  }
  .header_wrapper header{
    visibility:hidden;
    padding-top: 70px;
  }
  .header_wrapper header .logo{
    visibility:visible;
  }

  header .search_input {
    position: initial;
    text-align: left;
    padding-left: 10px;
  }
  header .top_menu{
    position: initial;
  }
  header .lang{
    position: initial;
    margin-bottom: 10px;
    padding: 10px;
  }
  .lang a{
    display: inline-table;
  }
  nav.top_menu ul li {
    width: 100%;
  }
  nav.top_menu ul li ul {
    z-index: 9999;
    position: initial;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
  }
  nav.top_menu{
    margin-top:10px;
  }
  nav.top_menu .parent{
    margin-top: 5px;
    margin-bottom: 5px;
  }
      
  header .menu{
    visibility: visible;
    height: 33px;
    width: 35px;
    display: block;
    position: absolute;
    top: 15px;
    right: 5px;
    text-align: center;
    padding: 5px;
    transition: 0.2s;
    box-sizing: content-box;
  }
  header.open .menu{
        background: #75BF49;
    border-radius: 10px;
    transition: 0.2s;
  }
  header{
    transition: 0.2s;
  }
  header.open{
    visibility: visible;
    height: auto;
    transition: 0.3s;
    padding-bottom: 10px;
  }
  header .menu img{
    width: 90%;
    height: auto;
  }
  .submenu_wrapper .b_submenu ul li{
    padding-bottom: 5px;
    padding-top: 5px;
  }
  .submenu_wrapper .b_submenu ul li a{
    display: inline;
    padding: 0 0 0 0;
    line-height: initial;
  }
  .prefooter_banners_wrapper .prefooter_banners li .td_wrapper {
    height: 130px;
  }
  .prefooter_banners_wrapper .prefooter_banners li {
    min-height: 130px;
  }
  /*.jcarousel2 li a .text {
    height: 60px;
  }
  .jcarousel2 li a:hover .text {
    background: #75BF49;
  }
  .jcarousel li a img{
    position: relative;
    left:50%;
    transform: translateX(-50%);
  }*/
  .socialNew{
    position: initial!important;
    text-align: center;
  }
}

@media only screen and (max-width: 769px) {
    .b_product_list li {
    width: 100%;
  }
  header .search_input {
    text-align: center;
    padding-left: 0px;
  }
  div.news-list img.preview_picture{
    width: 100%;
  }
  .prefooter_wrapper .prefooter .prefooter_menu li {
    width: 100%;
  }
  .bigslider{
    display: none;
  }
}