.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;
  min-width: 310px;
  min-height: 251px;
  padding: 1rem;
  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: #978e8e;
}

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

.popup > form > div > i {
  font-size: .9em;
  width: 15px;
  margin-right: 10px;
  color: #9e9e9e;
}

.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 input[type='submit'] {
  font-size: 1em;
  font-weight: normal;
  display: inline-block;
  padding: 9px 17px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-transition: all .3s ease-out;
          transition: all .3s ease-out;
  text-align: center;
  color: #fff;
  color: #fff;
  border: 0;
  border-radius: 2px;
  background: #9e9e9e;
}

.popup input[type='submit']:hover {
  background-color: #b7b6b6;
  box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
}

.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 #9e9e9e;
  outline: 0;
  background: #fff;
}

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

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