input.ui-autocomplete-loading,select.ui-autocomplete-loading {
  	background: white url('/assets/plugins/jquery-ui/images/ui-anim_basic_16x16.gif') right center no-repeat !important;
}
.ui-autocomplete {
  	max-height: 400px;
  	overflow-y: auto;
  	/* prevent horizontal scrollbar */
  	overflow-x: hidden;
  	z-index:2000;
}
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
  	height: 400px;
}		

.with-errors {
  display:none; 
}

.has-error .with-errors {
  display: block;
}

/* Базово для десктопа */
@media (min-width: 992px) {
    .home-hero-bg-photo {
        background-position: left calc(50% + 20px) top 50px !important;
    }
  .home-hero-title {
    font-size: 56px;
   }
}

/* 1200–1599 */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .home-hero-bg-photo {
        background-position: left calc(50% + 30px) top 60px !important;
    }
}

/* 1600+ */
@media (min-width: 1600px) {
    .home-hero-bg-photo {
        background-position: left calc(50% + 40px) top 70px !important;
    }
}

/*кнопка участвовать на мобилке*/

/* по умолчанию (десктоп) скрыта — там кнопка уже на месте внутри hero */
.btn-hero-mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  .btn-hero-mobile-cta {
    display: flex;
    margin: 0 auto 24px;
  }

  /* прячем оригинальную кнопку в hero на мобилке, раз теперь показываем копию ниже */
  .home-hero-content > .btn-hero {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .btn-hero-mobile-cta {
    display: flex;
    margin: 40px auto -20px;
    position: relative;   /* добавили */
    z-index: 2;            /* добавили — выше .home-steps-bg */
  }
}

@media (max-width: 991.98px) {
  .home-steps-bg {
    background-size: 360% auto, 100% calc(100% - 10px);
  }
}

.bg-blob {
    display: block;
    margin: 0 auto;
    height: auto; /* чтобы пропорции не ломались при переопределении width */
  }

  /* Планшет */
  @media (max-width: 1020px) {
    .bg-blob {
      width: 450px;
    }
    .home-hero-title {
      font-size: 32px;
              line-height: 32px;
	}
  }

  /* Телефон */
  @media (max-width: 640px) {
    .bg-blob {
      width: 370px;
    }
  }

  /* Совсем маленькие экраны — тянем по ширине контейнера */
  @media (max-width: 400px) {
    .bg-blob {
      width: 370px;
    }
  }

