.subscribe {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
}
.subscribe.visible {
  display: block;
}
.subscribe__modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 800px;
  border: 16px solid #fff;
  padding: 60px 2% 40px;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 100002;
}
.subscribe__modal:before,
.subscribe__modal:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.subscribe__modal:before {
  z-index: 100000;
  background: url(https://storage.googleapis.com/rfcx-wordpress-media/2020/04/3dcd3a0d-frog.jpg) no-repeat center center;
  background-size: cover;
}
.subscribe__modal:after {
  background: rgba(0, 0, 0, 0.38);
  z-index: 100001;
}
@media only screen and (max-width: 767px) {
  .subscribe__modal {
    padding: 30px 2%;
  }
}
@media screen and (max-width: 500px) {
  .subscribe__modal {
    width: 90%;
    border: 8px solid #fff;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__modal {
    width: 95%;
    border: 4px solid #fff;
  }
}
.subscribe__content {
  position: relative;
  z-index: 100003;
}
.subscribe__title {
  font-family: 'roadgeek';
  font-size: 2rem;
  text-transform: uppercase;
  color: #828282;
  margin: 0 auto 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.subscribe__descr {
  font-family: 'Source Sans Pro';
  font-size: 1.5rem;
  color: #828282;
  margin: 0 auto 20px;
}
.subscribe__form {
  margin: 0 auto 30px;
}
@media only screen and (max-width: 767px) {
  .subscribe__form {
    margin-bottom: 25px;
  }
}
@media screen and (max-height: 400px) {
  .subscribe__form {
    margin-bottom: 10px;
  }
}
.subscribe__input {
  float: left;
  margin: 0 10px 0 0;
  padding: 10px 5%;
  font-size: 1.4rem;
  border-radius: 8px;
  box-shadow: none;
  overflow: auto;
  outline: none;
  border: 1px solid #828282;
}
.subscribe__input::-webkit-input-placeholder {
  color: #828282;
}
.subscribe__input:-moz-placeholder {
  color: #828282;
}
.subscribe__input::-moz-placeholder {
  color: #828282;
}
.subscribe__input:-ms-input-placeholder {
  color: #828282;
}
@media only screen and (max-width: 767px) {
  .subscribe__input {
    padding: 15px 2%;
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__input {
    padding: 10px 2%;
    font-size: 1.2rem;
  }
}
.subscribe__btn {
  float: left;
  width: 30%;
  background-color: #2fb14a;
  color: #fff;
  border: none;
  outline: none;
  box-shadow: none;
  font-family: 'Source Sans Pro';
  font-size: 1.4rem;
  border-radius: 8px;
  text-transform: uppercase;
  margin-top: 15px;
  padding: 10px 5%;
}
@media only screen and (min-width: 1025px) {
  .subscribe__btn {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  .subscribe__btn:hover {
    opacity: 0.8;
  }
}
@media only screen and (max-width: 767px) {
  .subscribe__btn {
    padding: 16px 3px;
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__btn {
    font-size: 1.4rem;
    padding: 11px 3px;
  }
}
.subscribe__btn:hover,
.subscribe__btn:focus,
.subscribe__btn:active {
  outline: none;
}
.subscribe__notice {
  font-family: 'Source Sans Pro';
  font-size: 1.5rem;
  text-align: center;
  margin: 0 auto 5px;
  color: #fff;
}
@media screen and (max-width: 400px) {
  .subscribe__notice {
    font-size: 1.4rem;
  }
}
.subscribe__btn-close {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100004;
  padding: 0;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 3rem;
  background: transparent;
}
@media only screen and (min-width: 1025px) {
  .subscribe__btn-close {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  .subscribe__btn-close:hover {
    color: rgba(255, 255, 255, 0.8);
  }
}
.subscribe__socials {
  padding: 0;
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 15px 0 0;
}
@media screen and (max-width: 700px) {
  .subscribe__socials {
    text-align: center;
  }
}
.subscribe__social {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5.5px;
}
@media screen and (max-width: 700px) {
  .subscribe__social {
    margin: 0 5px 5px;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__social {
    margin: 0 11px 15px;
  }
}
.subscribe__social:first-child {
  margin-left: 0;
}
@media screen and (max-width: 700px) {
  .subscribe__social:first-child {
    margin-left: 5px;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__social:first-child {
    margin-left: 11px;
  }
}
.subscribe__social:last-child {
  margin-right: 0;
}
@media screen and (max-width: 700px) {
  .subscribe__social:last-child {
    margin-right: 5px;
  }
}
@media screen and (max-width: 400px) {
  .subscribe__social:last-child {
    margin-right: 11px;
  }
}
.subscribe__social-link {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  text-indent: -9999px;
  position: relative;
}
.subscribe__social-link:before,
.subscribe__social-link:after {
  display: block;
  content: "";
  position: absolute;
}
.subscribe__social-link:before {
  width: 42px;
  height: 42px;
  border-radius: 21px;
  background: #fff;
  z-index: 0;
  top: 1px;
  left: 1px;
}
.subscribe__social-link:after {
  width: 44px;
  height: 44px;
  background: url(https://storage.googleapis.com/rfcx-wordpress-media/2020/04/9de1f87e-socials-sprite.png) no-repeat top left;
  top: 0;
  left: 0;
  z-index: 1;
}
@media only screen and (min-width: 1025px) {
  .subscribe__social-link {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }
  .subscribe__social-link:hover {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
  }
}
.subscribe__social-link_facebook:after {
  background-position: 0px 0px;
  background-size: 440px 100%;
}
.subscribe__social-link_twitter:after {
  background-position: -308px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_google:after {
  background-position: -132px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_linkedin:after {
  background-position: -220px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_flickr:after {
  background-position: -44px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_thumblr:after {
  background-position: -264px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_instagram:after {
  background-position: -176px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_youtube:after {
  background-position: -396px 0;
  background-size: 440px 100%;
}
.subscribe__social-link_github:after {
  background-position: -88px 0px;
  background-size: 440px 100%;
}
.subscribe__social-link_vimeo:after {
  background-position: -351px 0;
  background-size: 440px 100%;
}
