.form-group {
  position: relative;
  display: inline-block;
  margin: 1.25em 0;
}
.slide-up {
  display: inline-block;
  width: 100%;
  padding: 10px 15px 10px 15px;
  font-weight: 400;
  color: #007336;
  background: #dee2e6d9;
  border: 0;
  border-radius: 3px;
  outline: 0;
  text-indent: 80px;
  transition: all 0.3s ease-in-out;
}
.slide-up[name="guestphone"] {
  text-indent: 100px;
}
textarea.slide-up {
  text-indent: 180px;
}
.slide-up::-webkit-input-placeholder {
  color: #efefef;
  text-indent: 0;
  font-family: 'HelveticaNeueCyr';
  font-weight: 300;
}
.slide-up + label {
  display: inline-block;
  position: absolute;
  transform: translateX(0);
  top: 0;
  left: 0;
  padding: 10px 15px;
  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  overflow: hidden;
  color: #fff;
}
.slide-up + label:before, .slide-up + label:after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.slide-up + label:before {
  top: 6px;
  left: 5px;
  right: 5px;
  bottom: 6px;
  background: #007336;
}
.slide-up + label:after {
  top: 0;
  bottom: 0;
  background: #007336;
}
span:nth-child(1) .slide-up {
  text-indent: 105px;
}
span:nth-child(3) .slide-up {
  text-indent: 125px;
}
span:nth-child(1) .slide-up:focus, span:nth-child(1) .slide-up:active, span:nth-child(3) .slide-up:focus, span:nth-child(3) .slide-up:active {
  text-indent: 0;
}
.slide-up:focus, .slide-up:active {
  color: #007336;
  text-indent: 0;
  background: #EBF1F1;
}
.slide-up:focus::-webkit-input-placeholder, .slide-up:active::-webkit-input-placeholder {
  color: #aaa;
}
.slide-up:focus + label, .slide-up:active + label {
  transform: translateY(-100%);
}
.slide-up:focus + label:before, .slide-up:active + label:before {
  border-radius: 5px;
}
.slide-up:focus + label:after, .slide-up:active + label:after {
  transform: translateY(100%);
}
.card-slide {
  display: inline-block;
  width: 215px;
  padding: 10px 0 10px 15px;
  font-weight: 400;
  color: #007336;
  background: #efefef;
  border: 0;
  border-radius: 3px;
  outline: 0;
  text-indent: 115px;
  transition: all 0.3s ease-in-out;
}
.card-slide::-webkit-input-placeholder {
  color: #efefef;
  text-indent: 0;
  font-weight: 300;
}
.card-slide + label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px;
  text-shadow: 0 1px 0 rgba(19, 74, 70, 0.4);
  background: #7AB893;
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  transform-origin: right center;
  transform: perspective(300px) scaleX(1) rotateY(0deg);
}
span:nth-child(2) .card-slide {
  text-indent: 55px;
}
span:nth-child(3) .card-slide {
  text-indent: 150px;
}
span:nth-child(2) .card-slide:focus, span:nth-child(2) .card-slide:active, span:nth-child(3) .card-slide:focus, span:nth-child(3) .card-slide:active {
  text-indent: 0;
}
.card-slide:focus, .card-slide:active {
  color: #00A0E3;
  text-indent: 0;
  background: #fff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.card-slide:focus::-webkit-input-placeholder, .card-slide:active::-webkit-input-placeholder {
  color: #aaa;
}
.card-slide:focus + label, .card-slide:active + label {
  transform: perspective(600px) translateX(-100%) rotateY(80deg);
}

button:disabled {
    opacity: .4;
}

.contain {
    display: flex;
    padding: 0 20px;
    position: relative;
    cursor: pointer;
}
.contain label {
    font-size: 16px;
    display: flex;
    align-items: center;
}

textarea {
  resize: none;
}

.ui-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    cursor: pointer;
    margin-right: .5em;
}

.ui-checkbox:checked:before {
    transform: rotate(-45deg);
    height: .85rem;
    border: 2px solid #00A0E3;
    border-radius: 0;
    border-top-style: none;
    border-right-style: none;
}

.ui-checkbox:before {
    width: 1.5rem;
    height: 1.5rem;
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: all .25s cubic-bezier(.02,.01,.47,1);
}

.ui-checkbox:after {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: -.111111111111111rem;
    left: 0;
    content: "";
    background: #fff;
    cursor: pointer;
}