.mas-form {
  /* The container for the form */
  width: 800px;         /* IE6/7 don't support max-width; using fixed width. */
  margin: 40px auto;    /* Center with auto left/right margin */
  background: #fff;
  padding: 30px;
  font-family: Arial, sans-serif;
  color: #333;
  border: 1px solid #ccc; /* Fallback instead of box-shadow/border-radius */
}

/* Headings */
.mas-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Labels spaced above form elements */
.mas-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

/* Inputs, Selects, Textareas */
.mas-form input,
.mas-form select,
.mas-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  /* Remove box-sizing to avoid IE6/7 issues. 
     If you want partial support in IE8+ only, you could use:
     -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
     box-sizing: border-box; 
  */
}

/* Textareas */
.mas-form textarea {
  resize: vertical;
}

/* Submit Button */
.mas-form button {
  margin-top: 20px;
  background: #c01d1d;
  color: #fff;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.mas-form button:hover {
  background: #a01919;
}

/* Two-column row for first/last name in IE6/7 */
.mas-row {
  /* Trigger hasLayout in IE6/7 and contain floats */
  width: 100%;
  zoom: 1;
  overflow: hidden; 
  margin-top: 10px; /* Spacing above the row */
}

.mas-col {
  float: left;
  width: 48%;        /* Adjust to your liking */
  margin-right: 4%;  /* Spacing between columns */
}

/* A helper class for the last column so we remove the margin-right */
.mas-col.last {
  margin-right: 0;
}

/* Error & success messages */
.mas-error {
  color: red;
  font-weight: bold;
  margin: 20px 0;
}

.mas-success {
  color: green;
  font-weight: bold;
  margin: 20px 0;
}
