@media screen and (max-width: 1200px) {
  body {
    overflow-x: hidden;
  }
  .tabs__item {
    font-size: 1rem;
    margin-right: 40px;
  }
  .act {
    font-size: 12px;
  }
  .carousel-inner {
    margin-left: 10px;
  }
  .carousel-control {
    left: -7px;
  }
  .carousel-control_prev {
    left: 281px;
  }
  .carousel-indicators {
    margin-right: 50px;
  }
  .order-block {
    margin-left: 0px;
  }
  .order-block__act {
    width: 300px;
    margin-left: 8px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .container {
      max-width: 100%;
    }
    .navbar-nav {
      margin-left: 4.5%;
    }
    .contacts__phone {
      font-size: 1.3rem;
    }
}

@media screen and (max-width: 992px) {
  .header__image{
    display: none;
  }
  h1 {
    text-align: center;
  }
  h2 {
    text-align: center;
  }
  h2:before {
    display: none;
  }
  h2:after {
    content: '';
    display: block;
    background: #FF6433;
    width: 28px;
    height: 9px;
    position: absolute;
    left: 50%;
    margin-left: -14px;
    margin-top: 10px;
  }
  .nav-link:hover {
    background: none;
  }
  .carousel-inner {
    margin: 0px;
    text-align: center;
  }
  .carousel-indicators {
    margin: 0 auto;
  }
  .carousel-control {
    left: 183px;
  }
  .carousel-control_prev {
    left: 471px;
  }
  .order-block__act {
    margin: 0 auto;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .tabs__item {
    display: block;
    margin-bottom: 30px;
  }
  .tabs__item_active {
    border: none;
  }
  .tabs__item_active:after {
    content: '';
    display: block;
    width: 140px;
    height: 3px;
    background: #d84d4d;
    margin-top: 5px;
  }
  .address {
    padding-top: 20px;
    text-align: center;
  }
  .photos {
    margin: 0 auto;
  }
  .gallery {
    width: 100%;
  }
  .order-block__act {
    margin-bottom: 40px;
  }
  .carousel-control {
    left: 94px;
  }
  .carousel-control_prev {
    left: 382px;
  }
}

@media screen and (max-width: 576px) {
  .contacts {
    display: none;
  }
  h1 {
    font-size: 2.333rem;
  }
  h2 {
    margin-left: 0px;
  }
  .services__item {
    float: none;
    width: 100%;
    text-align: center;
    padding-left: 0px;
    padding-top: 100px;
    background-position: center top;
  }
  .carousel-control {
    display: none;
  }
  .navbar-nav {
    margin: 22px 0 0 30px;
  }
  .main__grid{
    grid-template: none;
  }
}

@media screen and (max-width: 400px) {
  .contacts {
    display: none;
  }
  h1 {
    font-size: 1.8rem;
  }
  .services__item {
    float: none;
    width: 100%;
    text-align: center;
    padding-left: 0px;
    padding-top: 100px;
    background-position: center top;
    padding-top: 100px;
  }
}


