.dof-form input, .dof-form select, .dof-form textarea { 
  width: 100%;
  min-height: 30px;
  height: 30px;
  border: none;  
  box-sizing: border-box;
}

/* Fix checkbox size. */
.dof-form input[type=checkbox] { 
  width: auto;
  height: auto; 
}

/* Each row has one or more columns. */
.dof-form .form-row { 
  display: flex;
  flex-wrap: wrap;
  margin-top: 1em;   
}

.dof-form .form-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 0px;
  padding: 0 2px;
}

/* Label area. */
.dof-form .form-label {
  display: flex;
  align-items: center;
}

/* Input area. */
.dof-form .form-field {
  border: 1px solid ui-tabs-anchor;
  border-radius: 1px;
}

.dof-form-error {
  color: #ef1610;
  box-shadow: 0 0 4px 1px #ef1610;
}