/***********************
* Usar clase CSS: has-float-label en inputs label-floating 
* para evitar el uso de Jquery en la manipulación de estilos de formularios
* uso: 
* funciona con elementos input/texare
* <div class="form-group has-float-label">
*   <input class="form-control" type="text"  
*   id="nrorequerimiento" placeholder=" " />
*    <label for="nrorequerimiento">Número de requerimiento</label>
*  </div>
***********************/

.has-float-label {
  position: relative;
}
.has-float-label label {
  position: absolute;
  cursor: text;
  font-size: 85%;
  opacity: 2;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  top: -0.5em;
  z-index: 3;
  line-height: 1;
  padding: 0 1px;
}
.has-float-label label::after {
  content: " ";
  display: block;
  position: absolute;
  background: #fff;
  height: 2px;
  top: 50%;
  left: -0.2em;
  right: -0.2em;
  z-index: -1;
}
.has-float-label .form-control::-webkit-input-placeholder {
  opacity: 1;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
 .has-float-label
  .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
  opacity: 0;
}
.has-float-label .form-control:placeholder-shown:not(:focus) + label {
  font-size: 110%;
  top: 0.3em;
  font-weight: 400;
}

/* .input-group .has-float-label {
  display: table-cell;
}
.input-group .has-float-label .form-control {
  border-radius: 4px;
}
.input-group .has-float-label:not(:last-child) .form-control {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.input-group .has-float-label:not(:first-child) .form-control {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-left: -1px;
} */
.bg-red {
  background-color: rgba(255,0,0,.2) !important;
}