.form-control {
  display: block;
  width: 100% !important;
  height: 34px;
  padding: 3px 12px !important;
  font-size: 14px !important;
  line-height: 1.42857143 !important;
  color: #555555;
  background-color: #ffffff !important;
  background-image: none;
  border: 1px solid #cccccc !important;
  border-radius: 4px !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s !important;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
}

.form-control:focus {
  border-color: #66afe9 !important;
  outline: 0 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

.form-control::-moz-placeholder {
  color: #999999;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #999999;
}

.form-control::-webkit-input-placeholder {
  color: #999999;
}

.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #e4e7e781 !important;
  opacity: 1;
  font-weight: bolder;
}

.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}

.input-sm {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

.swing {
  display: inline-block;
  width: 100%;
  padding: 10px 0 10px 15px;
  font-family: "Open Sans", sans;
  font-weight: 400;
  color: #377d6a;
  background: #efefef;
  border: 0;
  border-radius: 5px;
  outline: 0;
  text-indent: 100px;
  transition: all 0.3s ease-in-out;
}

.swing::-webkit-input-placeholder {
  color: #efefef;
  text-indent: 0;
  font-weight: 300;
}

.swing+label {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px;
  text-shadow: 0 1px 0 rgba(19, 74, 70, .4);
  background: #e0e0e0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  transform-origin: 2px 2px;
  transform: rotate(0);
  animation: swing-back 0.4s 1 ease-in-out;
}

@keyframes swing {
  0% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(116deg);
  }

  40% {
    transform: rotate(60deg);
  }

  60% {
    transform: rotate(98deg);
  }

  80% {
    transform: rotate(76deg);
  }

  100% {
    transform: rotate(82deg);
  }
}

@keyframes swing-back {
  0% {
    transform: rotate(82deg);
  }

  100% {
    transform: rotate(0);
  }
}

.swing:focus,
.swing:active {
  color: #377d6a;
  text-indent: 0;
  background: #fff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.swing:focus::-webkit-input-placeholder,
.swing:active::-webkit-input-placeholder {
  color: #aaa;
}

.swing:focus+label,
.swing:active+label {
  animation: swing 1.4s 1 ease-in-out;
  transform: rotate(82deg);
  color: #212121 !important;
}

span[ok] {
  position: relative;
  display: block;
  margin: 10px 10px;
}

.basic-slide {
  display: inline-block;
  width: 215px;
  padding: 10px 0 10px 15px;
  font-family: "Open Sans", sans;
  font-weight: 400;
  color: #377d6a;
  background: #efefef;
  border: 1px solid grey;
  border-radius: 10px;
  outline: 1;
  text-indent: 100px;
  transition: all 0.3s ease-in-out;
}

.basic-slide::-webkit-input-placeholder {
  color: #efefef;
  text-indent: 0;
  font-weight: 300;
}

.basic-slide+label {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px;
  text-shadow: 0 1px 0 rgba(19, 74, 70, .4);
  background: #e0e0e0;
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 0px !important;
}

.basic-slide:focus,
.basic-slide:active {
  color: #377d6a;
  text-indent: 0;
  background: #fff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.basic-slide:focus::-webkit-input-placeholder,
.basic-slide:active::-webkit-input-placeholder {
  color: #aaa;
}

.basic-slide:focus+label,
.basic-slide:active+label {
  transform: translateX(-100%);
}