.ajax-form-news {
  position: relative;
  margin: 1em auto;
  max-width: 600px; }
.ajax-form-news__row {
  position: relative;
  margin: 20px 0; }
.ajax-form-news__row:first-child {
  margin-top: 0; }
.ajax-form-news__row:last-child {
  margin-bottom: 0; }
.ajax-form-news__input {
  color: #6f6d6d;
  font-size: 18px;
  border: none;
  border-bottom: 1px solid #dadada;
  outline: none;
  background: none;
  width: 100%;
  height: 33px;
  padding: 0 20px;
  box-sizing: border-box;
  transition-property: border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s; }
.ajax-form-news__input_select {
  padding: 0 17px; }
.ajax-form-news__input_textarea {
  height: 66px;
  max-width: 100%; }
.ajax-form-news__input:focus {
  border-color: #0b64a3; }
.ajax-form-news__submit {
  color: #fff;
  font-size: 16px;
  margin: 20px auto;
  border: none;
  padding: 10px 60px;
  background: #072E66;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  display: block; }
.ajax-form-news__submit:hover {
  background: #2260B3;
}
.ajax-form-news__error {
  position: absolute;
  top: 100%;
  left: 0;
  color: red;
  font-size: 12px;
  padding: 0 5px; }
.ajax-form-news__success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: green;
  font-size: 18px;
  background: #fff;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center; }
.ajax-form-news_subscribe .ajax-form-news__input {
  color: #313233;
  font-size: 14px;
  line-height: 18px;
  background: #fff;
  display: inline-block;
  height: 30px;
  padding: 0 12px;
  outline: none;
  border: none;
  border-radius: 3px;
  box-shadow: inset 1px 1px 2px #F5F5F5;
  margin-right: 10px;
  max-width: 68%;
  margin-right: 0px;
  vertical-align: middle;
  outline: none;
  transition-property: background-color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s; }
.ajax-form-news_subscribe .ajax-form-news__input:focus {
  color: #fff;
  background-color: #0b64a3;
  border-color: #0b64a3; }
.ajax-form-news_subscribe .ajax-form-news__submit {
  position: absolute;
  right: 0;
  top: 0;
  background: #072E66;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font: normal 14px "Helvetica",sans-serif;
  line-height: 20px;
  width: 100%;
  max-width: 29%;
  vertical-align: middle;
  border: none;
  padding: 5px 10px;
  outline: none;
  margin: 0;
  transition-property: background;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s; }
.ajax-form-news_subscribe .ajax-form-news__submit:hover {
  background: #2260B3;}
.ajax-form-news_subscribe .ajax-form-news__success {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
  background: #ebebea; }
.ajax-form-news_subscribe .ajax-form-news__error {
  white-space: nowrap; }

.input-error {
  border: 1px solid red !important; }

.policy-popup {
  position: relative;
  max-width: 500px;
  padding: 20px;
  margin: 0 auto;
  background: #fff; }


.footer__subscribe .ajax-form-news {
  width: 100%;
  max-width: 100%;
  margin: 0
}
.footer__subscribe .ajax-form-news__row {
  display: flex;
  justify-content: space-between;
  align-items: start
}
.footer__subscribe .ajax-form-news__input {
  height: 42px;
  width: 100%;
  max-width: 536px;
  margin-bottom: 20px
}
.footer__subscribe .ajax-form-news__row-left {
  margin-right: 20px
}
.footer__subscribe .ajax-form-news__submit {
  height: 42px;
  margin-left: 20px;
  position: static;
  width: 100%;
  max-width: 260px;
  text-transform: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 16px
}

.footer__subscribe .checkbox__label {
  font-size: 13px
}

@media (max-width:1199px) {
  .footer__subscribe .ajax-form-news__input {
    max-width: 400px
  }
  .footer__subscribe .ajax-form-news__submit {
    max-width: 180px
  }
}
@media (max-width:991px) {
  .footer__subscribe .ajax-form-news__row {
    flex-direction: column
  }
  .footer__subscribe .ajax-form-news__input {
    max-width: 100%
  }
  .footer__subscribe .ajax-form-news__row-left {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px
  }
  .footer__subscribe .ajax-form-news__submit {
    margin: 10px 0 0;
    max-width: 200px
  }
}
