/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
  .about-us {
      margin-right: 28px;
  }
  .product-img img {
      width: 100%;
  }
.companies {
    text-align: center;
}
.company {
    margin-right: 0px;
}
.postavka {
    width: 29%;
    margin-right: 45px;
}
.postavka-img img {
    width: 100%;
}
.steps {
    text-align: center;
}
.step-txt {
    text-align: left;
}
.step {
    margin-right: 20px;
}
.arrow {
    right: -40px;
}
.yslygi p{
  padding-left: 30px;
}
.information ul {
    list-style-type: none;
    color: #292929;
    font-size: 18px;
    padding: 0px;
    margin-left: 30px;
}
.republics{
  text-align: center;
}
.republic {
    width: 32%;
    margin-right: 0px;
}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
  .rep_img img {
    height: 174px;
}
.head-info span:last-child{
  display: block;
}
.yslygi .subtitle {
    margin-bottom: 10px;
}
h1 {
    padding: 0px 60px;
}
.about-us-wrap{
  text-align: center;
}
.about-us {
    font-size: 21px;
}
.postavka:nth-child(3n) {
    margin-right: 45px;
}
.step {
    margin-right: 0px;
    width: 19%;
}
.number {
    width: 75px;
    font-size: 53px;
    margin-left: 10%;
}
.step-txt {
    font-size: 12px;
    width: 86%;
}
.product-wrapper{
  text-align: center;
}
.product-table {
    margin-bottom: 20px;
}
.about-us span:last-child {
    padding-left: 30px;
    text-align: left;
}
.postavka-img img{
  max-width: 100%;
}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
  footer {
    padding: 30px 0px 60px;
}
  .mob_btnn {
      left:0px;
  }
  .overlay-menu {
    width: 100%;
    padding-top: 70px;
}
  .rep_img img {
    height: 150px;
}
.republic {
    width: 49%;
    margin-right: 0px;
}
  .head-info {
      margin-top: 70px;
  }
  h1 {
    font-size: 39px;
    padding: 0px 10px;
    line-height: 45px;
    margin-top: 75px;
    margin-bottom: 10px;
}
.subtitle {
    margin-bottom: 60px;
}
.about-us-wrap{
  text-align: left;
}
.about-us {
    margin-bottom: 20px;
    width: 49%;
    margin-right: 0px;
    max-width: none;
}
.grey-line {
    margin-top: 32px;
}
.postavka {
    width: 39%;
    margin-right: 20px;
}
.postavka:nth-child(3n) {
    margin-right: 20px;
}
.s4 {
    padding-bottom: 25px;
    padding-top: 8px;
}
.companies {
    padding: 0px 0px;
}
h2 {
    font-size: 26px;
    margin-bottom: 40px;
    line-height: 26px;
}
.s4 h2 {
    margin-bottom: 90px;
    padding: 0px 10px;
}
.number {
    width: 125px;
    font-size: 87px;
    margin-left: 5%;
}
.step-txt {
    font-size: 14px;
    width: 82%;
    text-align: center;
}
.step {
    width: 170px;
    margin-right: 20px;
    margin-bottom: 20px;
}
.footer-menu ul li {
    padding-right: 0px;
    width: 30%;
    margin: 10px 0px;
}
.modal {
    max-width: 350px;
    margin-left: -175px;
}
.modal .checkbox {
    margin: 0px 0px;
    text-align: center;
}
.close {
    right: 2px;
    top: -5px;
    color: #000;
}
.human {
    max-width: 48%;
}
.product-table{
  overflow: auto;
}
.product-table table {
    width: 100%;
    text-align: center;
}.product-descr-image img {
    width: 100%;
}
.company .img-block img{
  max-width: 100%
}
.company {
    width: 49%;
}
.s2 .zayavka-button{
  margin-left: 0;
  display: block;
  margin: 10px auto;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
  .company {
      width: 100%;
  }
  .about-us {
      width: 100%;
  }
  .page_title {
    font-size: 30px;
}
  .republic {
      width: 100%;
  }
  .human {
    max-width: 100%;
}
  .col-xxs-12{
    width: 100%!important;
  }
  .product-img img {
    width: 70%;
}
h1 {
    font-size: 25px;
    line-height: 37px;
}

.postavka {
    width: 100%;
    margin-right: 0px;
}
.number {
    margin: 0 auto;
}
.steps .step:first-child {
    margin-bottom: 3px;
}
.step {
    margin: 0 auto;
    display: block;
    width: 90%;
    margin-bottom: 30px;
}
.steps .step:first-child {
    margin-bottom: 30px;
}
.step-txt {
    padding-top: 18px;
    width: 100%;
}
.arrow {
    display: none;
}
.step:last-child {
    margin-right: auto;
}
.map {
    height: 400px;
}
.wrap-map {
    top: 30%;
    left: 10px;
}
.footer-phone {
    font-size: 41px;
}
.footer-menu ul li {
    width: 32%;
    padding: 0px;
    font-size: 14px;
}
.postavka:nth-child(3n) {
    margin-right: 0px;
}
.modal {
    max-width: 300px;
    margin-left: -150px;
}
.footer-phone a{
  font-size: 24px;
}
.header_phone{
  margin: 66px 0 0;
  text-align: center;
  display: inline-block;
  position: static;
}
.home header{
  text-align: center;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
.header_phone{
  margin-right: 100px;
}
}
@media(max-width:767px){
	.head-info{
	display:none;
}
.overlay-menu .header_phone{
	background-size:18px;
}
.header_phone{
	border-radius:0;
}
.s3-logo > img{
	max-height:100px;
	margin-bottom:15px;
}
.home header{
	background-attachment:inherit;
}
}