.popup-overlay {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  text-align: center;
  opacity: 0;
  background: rgba(0, 0, 0, .4) none repeat scroll 0 0;
}

.popup-animate {
  visibility: visible;
  opacity: 1;
}

.popup {
  position: absolute;
  width: 370px;
  max-width: 100%;
  min-height: 251px;
  padding-top: 25px;
  padding-bottom: 10px;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  border-radius: 2px;
  background: #fff none repeat scroll 0 0;
  box-shadow: 0 16px 28px 0 rgba(0,0,0,.22),0 25px 55px 0 rgba(0,0,0,.21);
}
.trans-b {
  top: 45% !important;
  -webkit-transform: scaleX(.8);
      -ms-transform: scaleX(.8);
          transform: scaleX(.8);
}
.trans-a {
  -webkit-transform: scaleX(1);
      -ms-transform: scaleX(1);
          transform: scaleX(1);
}

.popup h3 {
  font-size: 1.5em;
  color: #212121;
}

.popup > form > div {
  margin-bottom: 15px;
}

.popup > form > div > i {
  font-size: 1.3rem;
  width: 15px;
  margin-right: 10px;
  color: #212121;
}

.fa.fa-mobile {
  font-size: 1.2em;
}

.popup-close {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  -webkit-transition: all .15s ease-out;
          transition: all .15s ease-out;
  opacity: .7;
}

.popup-close::before,
.popup-close::after {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 2px;
  content: '';
  background: #9e9e9e;
}

.popup-close::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.popup-close::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.popup-close:hover {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  opacity: 1;
}

.poopup textarea {
  height: 116px;
  padding-top: 5px;
}

.popup .submit-btn {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 22px;
}

.popup textarea,
.popup input[type='text'] {
  width: 80%;
  height: 40px;
  padding: 0;
  -webkit-transition: all .3s;
          transition: all .3s;
  text-indent: 10px;
  border: 0;
  border-bottom: 1px solid #131313;
  outline: 0;
  background: #fff;
}

.popup textarea:focus,
.popup input[type='text']:focus {
  border-bottom: 1px solid #ffcd00;
  box-shadow: 0 1px 0 0 #ffcd00;
}

.btn-popup {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}