/*
 * FlowupLabels Basic Stylesheet
 * -----------------------------
 * This style sheet is marked with comments indicating
 * what should and what shouldn't be changed for your
 * styling purposes.
 */

.FlowupLabels .fl_wrap {
  /* Can change */
  height: 56px;
  margin: 12px auto; /* change 0 to auto for center alignment */

  /* Don't change */
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

label {
  font-size: 16px;
  font-weight: normal;
}

label:not(.fl_label) {
    margin-left: 5px;
    margin-top: 15px;
}

select {
    padding-bottom: 10px;
}

/* initial label state */
.FlowupLabels .fl_label {
  /* Can change */
  top: 22px;
  left: 5px;

  /* Don't change */
  position: absolute;
  z-index: 3; /* This can be removed but then the labels must be placed after the inputs in the HTML */
  -webkit-transition: all .05s linear;
     -moz-transition: all .05s linear;
         -transition: all .05s linear;
}

.FlowupLabels .fl_input::-webkit-input-placeholder {
    color: transparent;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
           -transition: all .1s linear;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.FlowupLabels .fl_input:-moz-placeholder {
    color: transparent;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
           -transition: all .1s linear;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.FlowupLabels .fl_input::-moz-placeholder {
    color: transparent;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
           -transition: all .1s linear;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.FlowupLabels .fl_input:-ms-input-placeholder {
    color: transparent;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
           -transition: all .1s linear;
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.no-js .FlowupLabels .fl_input::-webkit-input-placeholder {
    color: #aaa;
}

.no-js .FlowupLabels .fl_input:-moz-placeholder {
    color: #aaa;
}

.no-js .FlowupLabels .fl_input::-moz-placeholder {
    color: #aaa;
}

.no-js .FlowupLabels .fl_input:-ms-input-placeholder {
    color: #aaa;
}

.FlowupLabels .fl_wrap.focused .fl_input::-webkit-input-placeholder {
    color: #aaa;
}

.FlowupLabels .fl_wrap.focused .fl_input:-moz-placeholder {
    color: #aaa;
}

.FlowupLabels .fl_wrap.focused .fl_input::-moz-placeholder {
    color: #aaa;
}

.FlowupLabels .fl_wrap.focused .fl_input:-ms-input-placeholder {
    color: #aaa;
}

.FlowupLabels .fl_input {
  /* Can change */
  background: none;
  font-size: 16px;
  line-height: 22px;
  padding: 20px 0 0 5px;
  height: 46px;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;

  /* Don't change */
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  width: 100%;
  z-index: 2; /* This can be removed but then the labels must be placed after the inputs in the HTML */
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
/*
.FlowupLabels .has-error .fl_input {
    background-color: #fbf2f2;
    box-shadow: 0px 0px 3px 1px #ed9797;
}
*/
/* Focus & populated label styling */
.FlowupLabels .fl_wrap.focused .fl_label,
.FlowupLabels .fl_wrap.populated .fl_label,
/* and graceful degradation */
.no-js .FlowupLabels .fl_label {
  /* Can change */
  top: 0;
  font-size: 12px;
  color: #555;
}
.FlowupLabels .fl_wrap.focused .fl_label {
  /* Can change */
  color: #666;
}
