@charset "utf-8";
/* CSS Document */

body {
	background: #e9e9e9;
}

#formWrap {
    width: 920px; 				/* width of the shadow box */
    /* margin-top: 30px; move whole form up DCH_035 5/12/20 */
    margin-left: 34rem; 		/* DCH_032  centres the entire form! */
    /* background: #6ff;   DCH_032 5/12/20 #6ff too bright*/
    border: 1px solid #f1f1f1;	/*subtle grey colour*/
    border-radius: 20px;    /* rounded corners CSS3? smaller or bigger curve*/
    box-shadow: 2px 2px 50px #999;/* 3rd parm: 50px gives very pronounced shadow */
    padding: 16px 10px 40px;
    margin-bottom: 2rem
}
#formWrap #form {
	border-top: 1px solid #eee;
	width: 720px;
}

/*here we format each row in the form*/
#form .row  {
	border-bottom: 1px dotted solid #eee;
	display: block;
	line-height: 38px;
	overflow: auto;
	padding: 10px 0px; /* 10px gap between form elements */
	width: 100%;
}
#form .row .label {
	font-weight: bold;
	text-align: right;
	float: left;
	padding-right: 10px;
	margin-right: 10px;
}
#form .row .input {
	float: left;
	margin-right: 10px;
	width: auto;
}

/*lets adjust the sizes of the form input boxes
*/

/*the display block will force my error messages to sit below the form boxes
*/.detail {
	width:260px;
	padding: 7px 8px;
	margin: 0;
	display: block;
	font-size: 1em;
	
/*	allow focussed field to be white, the rest will remain grey*/
/*  see below, .detail:focus */
	border-radius: 5px 5px 5px 5px;
	background: #e9e9e9;
	border: 1px solid #ccc;
	
}

/* format the message text area */
.mess {
	width: 450px;
	max-width: 450px; /* user is restricted to only dragging box bigger VERTICALLY */
	height: 140px;
	overflow: auto; /* stop scroll bar appearing on right-side of the mess area */
	padding: 7px 8px; /* pads around the text user types */
	line-height: 1em;
	margin: 0;
	display: block;
	
/*	allow focussed field to be white, the rest will remain grey*/
	border-radius: 5px 5px 5px 5px;
	background: #e9e9e9;
	border: 1px solid #ccc;
}

/* make changes when field has focus */
.mess:focus {
	background-color: #fff;
	border: 1px solid #999;
	outline: none;
}



/* make changes when field has focus */
.detail:focus {
	background-color: #fff;
	border: 1px solid #999;
	outline: none;
}

/*when user has clicked inside a form field*/
.detail:active {
	background-color: #fff;
	border: 1px solid #999;
	outline: none; /* else browsers add their own colored border */
}

/*when user has clicked inside a form field*/
.mess:active {
	background-color: #fff;
	border: 1px solid #999;
	outline: none; /* else browsers add their own colored border */
}

#form .row .context {
	color: #999;
	font-size: 11px;
	font-style: italic;
	line-height: 14px;
	width:200px;
	float: left;
}
.Submit {
	margin-top: 25px;
/*	margin-left: 180px; /* set Submit button to the left so it aligns with other elements DCH_034 5/12/20 */
	color:#000;
	font-size: 16px;
	text-shadow: 1px 1px 1px #999;
}

/*target the span tag*/
/* puts the x image next to error msg */
.span.error{
	color: #000;
	display: block;
	background-image: url(../images/x.png);
	background-repeat: no-repeat;
	background-position: left 6px;
	padding-left: 25px;
}

#formWrap h2 {
	text-shadow: 1px 1px 1px #ccc;
	color: #255e67;
	text-align: center;
}
