@media only screen and (max-width: 2000px) {
  #yt-reviews .owl-prev,
  #reviews .owl-prev {
    left: -40px;
  }

  #yt-reviews .owl-next,
  #reviews .owl-next {
    right: -40px;
  }
}

@media only screen and (max-width: 1300px) {
  #yt-reviews .owl-prev,
  #reviews .owl-prev {
    left: -30px;
  }

  #yt-reviews .owl-next,
  #reviews .owl-next {
    right: -30px;
  }
}

@media only screen and (max-width: 1200px) {
  .complaint-box {
    background-size: auto 480px;
  }

  .complaint-box {
    min-height: 500px;
  }

  .complaint-box ul li {
    font-size: 1.3rem;
  }

  .complaint-additional {
    width: 75%;
  }

  .complaint-box p {
    font-size: 1.2rem;
  }

  .complaint-btn {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .formInput {
    width: 12rem;
  }

  .program-item .program-head {
    font-size: 24px;
  }

  .slide-container .btn {
    top: 85%;
  }

  #reviews .owl-nav {
    display: block;
  }

  #yt-reviews .owl-prev,
  #reviews .owl-prev {
    left: 0px;
  }

  #yt-reviews .owl-next,
  #reviews .owl-next {
    right: 0px;
  }
}

@media only screen and (max-width: 992px) {
  .slider-box,
  .complaint-box {
    background-image: none;
  }

  .complaint-box {
    min-height: 0;
  }

  .complaint-box .left {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .complaint-box ul li,
  .complaint-box p {
    margin-bottom: 20px;
  }

  .complaint-box p {
    margin-left: 0;
  }

  .complaint-btn {
    margin-top: 0;
    margin-bottom: 20px;
  }

  h1.big-title,
  #complaint h3 {
    font-size: 25px;
    padding-bottom: 0;
  }

  .complaint-additional {
    margin-top: -10px;
    width: 100%;
    text-align: center;
  }

  #submitButton,
  #term,
  .all-sber-form {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: flex-start;
  }

  .all-sber-form {
    flex-direction: column;
  }

  .formInput {
    width: 100%;
  }

  .program-item .program-head {
    font-size: 22px;
  }

  .reasons {
    flex-direction: column;
  }

  .reason {
    width: calc(100% - 30px);
  }

  .programs-text {
    font-size: 20px;
  }

  .popular-group h3 {
    font-size: 15px;
  }

  #yt-reviews .owl-nav {
    display: block;
  }

  /* #yt-reviews .owl-prev,
  #yt-reviews .owl-next {
    bottom: 50px;
  } */
}

@media only screen and (max-width: 767px) {
  .program-item .program-head {
    font-size: 24px;
  }

  .reason {
    background-size: 65px;
  }

  .reason p {
    font-size: 18px;
  }

  .programs-text {
    font-size: 18px;
  }

  .slide-container .btn {
    top: 85%;
    left: 20%;
    padding: 12px 24px;
  }

  .complaint-btn {
    margin-top: -10px;
  }

  .popular-group.left {
    -webkit-box-shadow: 0px -8px 25px 5px rgba(255, 0, 0, 0.4);
    -moz-box-shadow: 0px -8px 25px 5px rgba(255, 0, 0, 0.4);
    box-shadow: 0px -8px 25px 5px rgba(255, 0, 0, 0.4);
  }

  .popular-group.right {
    -webkit-box-shadow: 0px 8px 25px 5px rgba(255, 0, 0, 0.4);
    -moz-box-shadow: 0px 8px 25px 5px rgba(255, 0, 0, 0.4);
    box-shadow: 0px 8px 25px 5px rgba(255, 0, 0, 0.4);
  }

  #news {
    padding-top: 20px;
  }

  .news-top {
    /* flex-wrap: wrap; */
    column-gap: 10px;
  }

  .news-items-title {
    font-size: 1rem;
  }

  .news-items-date {
    font-size: 0.9rem;
  }

  #yt-reviews .owl-prev,
  #yt-reviews .owl-next {
    bottom: 110px;
  }

  .contact-button {
    display: flex;
  }

  .header-tel {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  .navbar-messengers {
    display: flex;
  }

  /* .navbar-phone {
    width: 50%;
  } */
}

@media only screen and (max-width: 576px) {
  .widget.left,
  .widget.right {
    justify-content: center;
  }

  .gallery img {
    width: 120px;
    height: auto;
  }
}

@media only screen and (max-width: 480px) {
  .slide-container .btn {
    top: 85%;
    left: 20%;
    font-size: 14px;
    padding: 6px 12px;
  }

  .slide-container .btn:hover {
    font-size: 16px;
  }

  .complaint-box {
    padding: 20px 5px;
  }

  .complaint-btn {
    margin-bottom: 0;
  }

  .complaint-box ul {
    padding-left: 25px;
  }

  .complaint-box ul li,
  .complaint-box p {
    font-size: 1.1rem;
    font-weight: normal;
  }

  .btn.red {
    padding: 15px;
    font-size: 14px;
  }

  .popular-program .btn.red {
    padding: 0.35rem 0.75rem;
    font-size: 14px;
  }

  h1.big-title,
  #complaint h3 {
    font-size: 20px;
  }

  #yt-reviews .owl-prev,
  #yt-reviews .owl-next,
  #reviews .owl-prev,
  #reviews .owl-next {
    width: 22px;
    height: 46px;
    background-size: cover;
    bottom: 155px;
  }

  #yt-reviews .owl-prev,
  #yt-reviews .owl-next {
    /* width: 22px;
    height: 46px;
    background-size: cover; */
    bottom: 85px;
  }

  #yt-reviews .owl-prev,
  #reviews .owl-prev {
    left: 0px;
  }

  #yt-reviews .owl-next,
  #reviews .owl-next {
    right: 0px;
  }

  .review .re_body p {
    font-size: 14px;
  }

  .insurance-text {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 380px) {
  #sberezhenie {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  .submit-pop h1 {
    font-size: 36px;
  }

  .submit-pop p {
    font-size: 20px;
  }

  .footer-email {
    font-size: 18px;
  }

  .reason {
    height: 200px;
    flex-direction: column;
    padding: 6px;
    justify-content: center;
    align-items: center;
    background-position-x: center;
    background-position-y: 6px;
    background-size: 70px;
  }

  .reason p {
    font-size: 16px;
    text-align: center;
    width: 100%;
  }

  .reason-icon {
    height: 70px;
  }

  .programs-text {
    font-size: 16px;
  }

  .slide-container .btn {
    top: 85%;
    left: 20%;
    font-size: 12px;
    padding: 4px 8px;
  }

  .slide-container .btn:hover {
    font-size: 14px;
  }

  .complaint-box ul li,
  .complaint-box p {
    font-size: 1rem;
  }

  .btn.red {
    padding: 10px;
    font-size: 11px;
  }

  .popular-program .btn.red {
    font-size: 11px;
  }

  h1.big-title,
  #complaint h3 {
    font-size: 18px;
  }

  .review {
    width: 250px;
    height: 400px;
  }

  #reviews .owl-prev,
  #reviews .owl-next {
    bottom: 200px;
  }

  #yt-reviews .owl-prev,
  #yt-reviews .owl-next {
    bottom: 90px;
  }
}

@media only screen and (max-width: 1024px) {
  .slider-online-btn {
    bottom: 10%;
    font-size: 16px;
  }
}
