/* Input
-------------------------------------------------- */
.input {
  position: relative;
  margin-bottom: 15px;
}
.input label {
  font-weight: 600;
  cursor: text;
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
  -webkit-font-smoothing: antialiased;
}
.input input[type='text'],
.input input[type='email'],
.input input[type='tel'],
.input input[type='password'],
.input textarea {
  background-color: transparent;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cccccc;
  margin: 1.25em 0 0 0;
  border-radius: 0;
  padding: 0;
  resize: none;
}
.input input[type='text']:-webkit-autofill,
.input input[type='email']:-webkit-autofill,
.input input[type='tel']:-webkit-autofill,
.input input[type='password']:-webkit-autofill,
.input textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
}

/* Magic
-------------------------------------------------- */
.input input[type='text']:focus,
.input input[type='email']:focus,
.input input[type='tel']:focus,
.input input[type='password']:focus,
.input textarea:focus {
  outline: none;
  box-shadow: 0 1px 0 #2095cd;
  border-color: #2095cd;
  background: transparent;
}
.input input[type='text']:focus + label,
.input input[type='email']:focus + label,
.input input[type='tel']:focus + label,
.input input[type='password']:focus + label,
.input textarea:focus + label,
.input input[type='text'][value] + label,
.input input[type='email'][value] + label,
.input input[type='tel'][value] + label,
.input input[type='password'][value] + label,
.input textarea[value] + label {
  -webkit-transform: translate(-12.5%, -1.5em) scale(0.75, 0.75) !important;
      -ms-transform: translate(-12.5%, -1.5em) scale(0.75, 0.75) !important;
          transform: translate(-12.5%, -1.5em) scale(0.75, 0.75) !important;
}
.input input[type='text']:-webkit-autofill + label,
.input input[type='email']:-webkit-autofill + label,
.input input[type='tel']:-webkit-autofill + label,
.input input[type='password']:-webkit-autofill + label,
.input textarea:-webkit-autofill + label {
  -webkit-transform: translate(-12.5%, -1.5em) scale(0.75, 0.75);
          transform: translate(-12.5%, -1.5em) scale(0.75, 0.75);
}
.input input[type='text'][disabled],
.input input[type='email'][disabled],
.input input[type='tel'][disabled],
.input input[type='password'][disabled],
.input textarea[disabled] {
  color: #cccccc;
  background-color: #ffffff;
  border-style: dashed;
}
.input input[type='text'][disabled] + label,
.input input[type='email'][disabled] + label,
.input input[type='tel'][disabled] + label,
.input input[type='password'][disabled] + label,
.input textarea[disabled] + label {
  color: #cccccc;
}
.input input[type='text'] + label,
.input input[type='email'] + label,
.input input[type='tel'] + label,
.input input[type='password'] + label,
.input textarea + label {
  width: 100%;
  position: absolute;
  left: 0;
  top: 1.25em;
  margin-bottom: 2px;
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
}

/* Textarea
-------------------------------------------------- */
.input textarea:focus + label,
.input textarea[value] + label {
  top: 1.25em;
}
.input textarea + label {
  margin-bottom: 5px;
  -webkit-transform: translate(-12.5%, -1.5em) scale(0.75, 0.75);
      -ms-transform: translate(-12.5%, -1.5em) scale(0.75, 0.75);
          transform: translate(-12.5%, -1.5em) scale(0.75, 0.75);
}
.input textarea:empty + label {
  -webkit-transform: translate(0, 0) scale(1, 1);
      -ms-transform: translate(0, 0) scale(1, 1);
          transform: translate(0, 0) scale(1, 1);
}

/* Checkbox
-------------------------------------------------- */
.input input[type='checkbox'] {
  position: absolute;
  opacity: 0;
}
.input input[type='checkbox'] + label {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  padding-left: 30px;
}
.input input[type='checkbox'] + label:before {
  position: absolute;
  left: 0;
  display: block;
  content: "";
  border: 2px solid #555555;
  height: 20px;
  width: 20px;
  border-radius: 2px;
  background: #ffffff;
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
  box-sizing: border-box;
}
.input input[type='checkbox'] + label:after {
  position: absolute;
  display: block;
  content: "";
  bottom: 5px;
  left: 7px;
  width: 6px;
  height: 13px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
          transition: opacity 0.3s ease;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
  box-sizing: border-box;
}
.input input[type='checkbox']:focus + label:before {
  box-shadow: 0 0 5px #337ab7;
}
.input input[type='checkbox']:checked + label:before {
  background: #337ab7;
  border-color: #337ab7;
}
.input input[type='checkbox']:checked + label:after {
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 1;
}
.input input[type='checkbox'][disabled] + label {
  color: #cccccc;
}
.input input[type='checkbox'][disabled] + label:before {
  border-color: #cccccc;
}
.input input[type='checkbox'][disabled]:checked + label:before {
  background: #cccccc;
}

/* Radio
-------------------------------------------------- */
.input input[type='radio'] {
  position: absolute;
  opacity: 0;
}
.input input[type='radio'] + label {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  padding-left: 30px;
}
.input input[type='radio'] + label:before,
.input input[type='radio'] + label:after {
  position: absolute;
  left: 3px;
  bottom: 3px;
  display: block;
  content: "";
  border: 2px solid #555555;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #ffffff;
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
  background-clip: padding-box;
}
.input input[type='radio'] + label:after {
  background: #337ab7;
  border: 2px solid #ffffff;
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.3s ease;
          transition: all 0.3s ease;
}
.input input[type='radio']:focus + label:before {
  box-shadow: 0 0 5px #337ab7;
}
.input input[type='radio']:checked + label:before {
  border-color: #337ab7;
}
.input input[type='radio']:checked + label:after {
  -webkit-transform: scale(0.75, 0.75);
      -ms-transform: scale(0.75, 0.75);
          transform: scale(0.75, 0.75);
}
.input input[type='radio'][disabled] + label {
  color: #cccccc;
}
.input input[type='radio'][disabled] + label:before {
  border-color: #cccccc;
}
.input input[type='radio'][disabled]:checked + label:before,
.input input[type='radio'][disabled]:checked + label:after {
  background: #cccccc;
}

/* Select
-------------------------------------------------- */
.input.select {
  width: 100%;
  overflow: hidden;
}
.input.select:after {
  bottom: 1px;
  right: 5px;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-top-color: #cccccc;
  border-width: 5px;
  margin-top: -2px;
  z-index: 100;
}
.input.select label {
  position: absolute;
  font-size: 75%;
  left: 0;
  top: 0;
}
.input.select select {
  padding: 1.5em 0 1px 0;
  color: #555555;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  width: 108%;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #cccccc;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.input.select select:focus {
  padding-bottom: 0px;
  border-bottom: 2px solid #2095cd;
  outline: none;
}
.input.select select[disabled] {
  color: #cccccc;
  background-color: #ffffff;
  border-bottom: 1px dashed #cccccc;
}
.input.select select[disabled] + label {
  color: #cccccc;
}
.input.select select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

/* White border and text
-------------------------------------------------- */
.light-form .input label {
  color:#fff;
}
.light-form .input input[type='text'],
.light-form .input input[type='email'],
.light-form .input input[type='tel'],
.light-form .input input[type='password'],
.light-form .input textarea {
  border-bottom: 1px solid #fff;
  color: #fff;
}
.light-form .input input[type='text']:focus,
.light-form .input input[type='email']:focus,
.light-form .input input[type='tel']:focus,
.light-form .input input[type='password']:focus,
.light-form .input textarea:focus {
  box-shadow: 0 1px 0 #2095cd;
  border-color: #2095cd;
}
/* Font size border
-------------------------------------------------- */
.strong-form .input label {
  font-size: 16px;
}
.strong-form .input input[type='text'],
.strong-form .input input[type='email'],
.strong-form .input input[type='tel'],
.strong-form .input input[type='password'],
.strong-form .input textarea {
  border-bottom-width: 2px;
  font-size: 16px;
  font-weight: 600;
}

/* Styles
-------------------------------------------------- */
.input input[type='text'].error,
.input input[type='email'].error,
.input input[type='tel'].error,
.input input[type='password'].error,
.input textarea.error {
  border-color: #FF5746;
  box-shadow: 0 1px 0 #FF5746;
}
.input input[type='text'].error + label,
.input input[type='email'].error + label,
.input input[type='tel'].error + label,
.input input[type='password'].error + label,
.input textarea.error + label {
   color: #FF5746;
}
.input input[type='text'].error ~ .help-block,
.input input[type='email'].error ~ .help-block,
.input input[type='tel'].error ~ .help-block,
.input input[type='password'].error ~ .help-block,
.input textarea.error ~ .help-block {
  color: #a94442;
}
.input textarea {min-height:100px;}
.formidable_message.alert {   
    font-weight: 600;  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
    border-radius: 0; 
}

/* Hidden fields
-------------------------------------------------- */
.formidable .product-13,
.element .error.has_label  {display: none;}
