.container {
  width: 1000px;
  position: relative;
  padding-top: 223px;
}

#top-ico {
  z-index: 2;
}

#container {
  max-width: 1024px;
  width: 100%;
}

.main-header {
  padding-top: 103px;
}

#logo {
  position: absolute;
  top: 0;
  z-index: 3;
}

.mobile_menu {
  display: none;
  position: absolute;
  top: 0;
  z-index: 3;
}

.mobile-menu-close {
  position: static;
  width: 20px;
  float: right;
  height: 20px;
  font-size: 16px;
  font-family: Arial;
  color: #b11c2a;
  font-weight: bold; 
  cursor: pointer;
}

.mobile_top_menu {
  position: absolute;
  -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
          box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  width: 200px;
  left: -100%;
  height: 100%;
  -webkit-transition: left 0.7s ease-in-out;
  transition: left 0.7s ease-in-out;
  background-color: white;
  top: 0;
  padding: 25px 20px;
  z-index: 3; 
  margin-bottom: 30px;      
}

.mobile_top_menu-list {
  display: block;
  margin-top: 20px;
}

.mobile_top_menu.isactive {
  left: 0;
}

.lh_blub_mobile {
  display: none !important;
}

.container-wrapp {
  margin-top: -223px;
}

#page1 .container-wrapp {
  margin-top: -103px;
}

#page1 .container {
  padding-top: 0;
}

/*.container-wrapp {
  overflow-x: auto;
  width: 100%;
}*/


@media screen and (max-width: 1212px) {
  /*.container {
    overflow-x: auto;
  }*/

  #footer .social_icons {
    width: 200px;
  }

}

@media screen and (max-width: 1075px) {
  #top_menu_2, #top_menu_2_back {
    width: 100%;
    background-size: contain;
  }

  #top_menu_2 li {
    padding-right: 15px; 
  } 
}

@media screen and (max-width: 1023px) {
  .block_5 .li p.head, .block_5 .li h2.head, .block_5 .li p {
    font-size: 14px;
    line-height: 1;
  }

  .block_5 .li p {
    line-height: 1.5;
  }

  #znonok, .zv-text, #znonok img {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    max-width: 100%;
  }

  .zv-text {
    width: 100%;
  }

  #znonok {
    height: 319px;
    width: 387px;
    margin-left: 0;
    left: calc(50% - 193px);
  }

  .container-wrapp, #page1 .container-wrapp {
    overflow-x: auto;
    width: 100%;
    margin-top: 0;    
  }

  /*.container > div {
    position: static !important;
  }*/

  #page1 .container-wrapp {
    padding-top: 20px;
  }

  .container {
    /*display: flex;
    flex-flow: wrap;*/
    padding-top: 0;
  }

  #container {
    overflow: hidden;
  }

  #top_menu_2_back, #top_menu {
    display: none;
  }

  #logo {
    right: calc(50% - 136px);
  }

  #top-ico {
    left: calc(50% - 154px);
  }

  .mobile_menu {
    margin: 55px 0 40px 15px;
    cursor: pointer;
    border-radius: 5px;
    float: left;
    display: block;
      width: 30px;
      height: 30px;
    background-image: url("../images/mobile-menu.png");
    background-color: #b11c2a;
  }

  /*.text2-inner {
    width: 970px;
  }*/

  #text2 {
    width: auto;
  }

  .mobile_top_menu li {
    line-height: 47px;    
  }

  .mobile_top_menu li.l1, .mobile_top_menu li.l2, .mobile_top_menu li.l3, .mobile_top_menu li.l4 {
    padding-left: 58px;
  }

  .mobile_top_menu li a {
    color: #b11c2a;
    font-size: 16px;
    display: block;
    line-height: 1.2;
    padding: 14px 0;
    background-color: white;
    text-decoration: none;
  }
  
  .mobile_top_menu li.l1 {
    background-image: url(../images/v2/top_menu_icons.png);
    background-repeat: no-repeat;
    background-position: -26px -13px;
  }

  .mobile_top_menu li.l2 {
    background-image: url(../images/v2/top_menu_icons.png);
    background-repeat: no-repeat;
    background-position: -199px -13px;
  }

  .mobile_top_menu li.l3 {
    background-image: url(../images/v2/top_menu_icons.png);
    background-repeat: no-repeat;
    background-position: -338px -13px;
  }

  .mobile_top_menu li.l4 {
    background-image: url(../images/v2/top_menu_icons.png);
    background-repeat: no-repeat;
    background-position: -528px -10px;
  }

  #zakazat-zvonok {
    position: fixed;
    right: 0;
    top: 10%;
    width: 30px;
    height: 30px;
    background-image: url("../images/call_back.png");
    background-repeat: no-repeat;
    font-size: 0;
    z-index: 11;
    border-bottom: 0;
  }

  #form-title {
    top: -20px;
  }

  #page1 .form_1 {
    top: 0;
  }

  #page1 .block_2 {
    top: 310px;
    max-height: 151px;
    overflow-y: auto;
  }

  #page1 .block_3 {
    top: 505px;
    margin-top: 0;
  }

  #page1 .block_5 {
    top: 832px;
    margin-top: 0;
    max-height: 500px;
    overflow-y: auto;
  }

  #page1 .block_5a {
    max-height: 980px;
    overflow-y: auto;
  }

  /*#page1 .block_6 {
    height: 355px;
  }*/

  #page1 .block_7 {
    max-height: 420px;
    overflow-y: auto;
    top: initial;
    bottom: 280px;
  }

  #text2 {
    bottom: 132px;
    overflow-x: auto;
  }

  #maintitle {
    top: 102px;
  }
}

@media screen and (max-width: 961px) {
  #text2 {
    height: 200px;
  }

  #page1 .block_7 {
    bottom: 370px;
  }

  #footer, #page1 #footer {
    margin-top: 215px;
  }

  .tex2-item {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 50%;
    margin-bottom: 40px;
  }

  #page1 .form_2 .field {
    margin: 0 5px 0 0;
  }

  #page1 .form_2 {
    padding: 0 5px; 
  }
}

@media screen and (max-width: 767px) {
  .mobile_menu {
    top: 60px;
  }

 /* #logo {
    margin-left: calc(50% - 136px);
  }*/

  .phone {
    top: 120px;
  }

  #maintitle {
    top: 155px;
  }

  .main-header {
    padding-top: 173px;
  }
}

@media screen and (max-width: 660px) {
  .popup_leadhit_wrapper_discount_text, .popup_leadhit_wrapper_discount, .popup_leadhit_wrapper_discount .popup_leadhit_wrapper_discount_form {
    max-width: 100%;
  }

  .popup_leadhit_wrapper_discount, .popup_leadhit_wrapper_discount_text, .popup_leadhit_wrapper_discount .popup_leadhit_wrapper_discount_form {
    left: 0 !important;
    margin-left: 0 !important;
    right: 0 !important;
    margin-right: 0 !important;
  }

  .popup_leadhit_wrapper_discount {
    background: white !important;
  }

  .popup_leadhit_wrapper_discount_btn, input.popup_leadhit_wrapper_discount_input_ll_input[type="text"] {
    margin-left: 0 !important;
  }

  .popup_leadhit_wrapper_discount_text > p > span {
    padding-left: 0 !important;
  }

  .popup_leadhit_wrapper_discount_close {
    right: 0 !important;
  }
}

@media screen and (max-width: 640px) {
  #text2 {
    height: 290px;
  }

  #footer, #page1 #footer {
    margin-top: 300px;
  }

  .tex2-item {
    width: 100%;
    margin-bottom: 20px;
  }
  
  #znonok {
    padding: 30px 10px;
  }
  
  #page1 .block_7 {
    bottom: 455px;
    z-index: 4;
  }
}

@media screen and (max-width: 387px) {
  #znonok {
    left: 0;
    margin-left: 0;
  }
}