.flex {
  display: flex;
  height: 100vh;
}

.form-group.required .control-label:after {
  content:"*";
  color:red;
  margin-left: 5px;
}