
form {
    /* Center form on the page */
    margin: 0 auto;
    width: 450px;
    /* Specify outline and background of the form */
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
	background-color : #eecf03 /* MPL Yellow color from site */
}

form div + div {
    margin-top: 1em;
}

label {
    /* Make sure that all labels have the same size and are properly aligned */
    display: inline-block;
    width: 90px;
    text-align: right;
}

input, textarea {
    /* Make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em sans-serif;

    /* Give the same size to all text field */
    width: 350px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* Harmonize the look & feel of text field border */
    border: 2px solid #999;
/*     border: 1px solid #999; */
}

input:focus, textarea:focus {
    /* Give slight highlight on active elements */
    border-color: blue;
}

input:invalid {
  border: 3px solid red;
}

/*
 input:valid {
  border: 1px solid green;
 }
*/

textarea {
    /* Properly align multiline text fields with their labels */
    vertical-align: top;

    /* Give enough room to type some text */
    height: 5em;

    /* Allow users to resize any textarea vertically
       It does not work on all browsers */
    resize: vertical;
}

.g-recaptcha {
    /* Position the google recactcha v2 box in the same position as the text fields */
    padding-left: 90px; /* same size as the label elements */
}

.button {
    /* Position the buttons to the same position of the text fields */
    padding-left: 90px; /* same size as the label elements */
}

button {
    /* Extra margin represent roughly the same space as the space
       between the labels and their text fields */
    margin-left: .5em;
}

.formhint {
    /* Control the form hints div class=formhint */
	font: 11px sans-serif;
	color: #900;
    padding-left: 95px; /* same size as the label elements */
	margin: 5px 0px 5px 0px;
    text-align: left;
}