/* the main layout */

#contentForm {
  display: block;
  width: 500px;
  margin: 70px auto;/*this line will center the page*/
  padding: 25px;
  border: 1px solid black;
  background-color: white;
}

/* and now the form formatting itself */
label {
  display: block;
  float: left;
  clear: left;
  Width: 150px;
  line-height: 20px;
  margin-bottom: 10px;
  margin: 5px 0;
}

input, textarea, select {
  margin: 0;
  padding: 2px;
  font-size: 1em;
  color: #666666;
  background: #F5F5F5;
  border: 1px solid #ccc;
  margin: 5px 0;
}   

input:focus, textarea:focus, select:focus {
  border: 1px solid #999;
  background-color: #FFFFFF;
}

input.button {
	cursor: pointer;
	border: none;
	font-weight: bold;
	width: 110px;
	height: 38px;
	margin-left: 150px;
	background-image: url(../images/btn_1.png);
	background-position: left top;
	background-repeat: no-repeat;
	color: #FFFFFF;
}

span.required{
  font-size: 13px !important;
  color: red !important;
}

.errormsg {
  display: block;
  width: 90%;
  height: 22px;
  line-height: 22px;
  color: #FFFFFF;
  font-weight: bold;
  background: #FF9D9D url(images/stop.gif) no-repeat 10px center;
  padding: 3px 10px 23px 30px;
  margin: 10px 0;
  border-top: 2px solid #FF0000;
  border-bottom: 2px solid #FF0000;
}

.msgSent {
  font-size: 20px;
  text-align: center;
}
/* FORM VALIDATION */
/* Form message boxes */

div.tmtFormMessage,
div.tmtFormErrorMessage {
	border: 1px;
	border-style: solid;
	padding: 5px;
	margin: 10px;
}
/*
div.tmtFormMessage {
	background-color: #A4BFF0;
	border-color: #12387A;
}
*/
div.tmtFormErrorMessage {
	background-color: #fff;
	background-image:url(images/field-alert.gif);
	background-position: 5px 4px;
	background-repeat: no-repeat;	
	border-color: #BB0000;
	padding-left: 30px;
	font-size:12px;
	color:#BB0000;
}

div.tmtFormMessage ul,
div.tmtFormErrorMessage ul {
	list-style-type: square;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	padding-left: 10px;
}

.required {
	background-image: url(images/required.gif);
	background-position: right;
	background-repeat: no-repeat;
}
