.subscribe_block {
  margin: 32px 0;
  height: 180px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  background: #fff;
  border-radius: 5px;
  position: relative;
}
.subscribe_bg {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 180px;
}
.subscribe_bg-mobile {
  display: none;
}
.subscribe_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 780px;
  padding: 0 30px 0 205px;
  position: relative;
  background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 24%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 24%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 24%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );
}
.subscribe_success {
  padding-left: 165px;
}
.subscribe_response {
  display: none;
}
.subscribe_close {
  width: 17px;
  height: 17px;
  position: absolute;
  top: 20px;
  right: 20px;
  background: url(../icons/svg/other/close.svg) no-repeat center;
  cursor: pointer;
  z-index: 1;
}
.subscribe_title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #474f55;
  margin-bottom: 12px;
  width: 100%;
}
.subscribe_form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.subscribe_input {
  width: 332px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 5px;
  border: solid 2px #979797;
  font-size: 19px;
  font-weight: 600; font-family: 'Proxima Nova Lt', sans-serif;
  letter-spacing: 0.5px;
  color: #414f57;
}
.subscribe_input::placeholder {
  font-size: 19px;
  font-weight: 600; font-family: 'Proxima Nova Lt', sans-serif;
  letter-spacing: 0.5px;
  color: #bdc0c3;
  line-height: 52px;
  opacity: 1;
}
.subscribe_submit {
  width: 200px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  background: #ffd839 no-repeat center;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.4px;
  color: #39454d;
  transition: background-color .3s;
  font-family: 'Proxima Nova Rg', sans-serif;
}
.subscribe_submit:hover {
  background-color: #ffcd00;
}
.subscribe_slogan {
  font-size: 15px;
  line-height: 1.07;
  color: #535c62;
  margin-top: 12px;
}
.subscribe_success-icon {
  width: 13px;
  height: 10px;
  margin-bottom: 12px;
  background: url(../icons/svg/other/check.svg) no-repeat center;
}

@media (max-width: 767px) {
  .subscribe_container .container {
    padding: 0;
  }
  .subscribe_block {
    margin: 56px 0;
    height: auto;
  }
  .subscribe_bg {
    display: none;
  }
  .subscribe_bg-mobile {
    height: auto;
    width: 100%;
    display: block;
  }
  .subscribe_body {
    width: 100%;
    height: auto;
    padding: 0 20px 20px;
  }
  .subscribe_body::after {
    content: '';
    display: block;
    height: 26px;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 23%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 23%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 23%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
  }
  .subscribe_title,
  .subscribe_slogan {
    padding-left: 16px;
  }
  .subscribe_title {
    order: 1;
    margin-bottom: 8px;
  }
  .subscribe_slogan {
    order: 2;
    margin: 0 0 12px;
  }
  .subscribe_form {
    order: 3;
  }
  .subscribe_input {
    width: 100%;
  }
  .subscribe_submit {
    width: 48px;
    height: 48px;
    padding: 0 16px;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0;
    background-image: url(../icons/svg/other/subscribe-submit.svg);
  }
  .subscribe_success,
  .subscribe_success .subscribe_title,
  .subscribe_success .subscribe_slogan {
    padding-left: 0;
  }
  .subscribe_success .subscribe_slogan {
    margin-bottom: 0;
  }
  .subscribe_close {
    top: 0;
  }
}
