
/* Style for the contact form and status messages */

#contactForm, .statusMessage{
  color: #666;
  background-color: #ebedf2;
  border: 1px solid #aaa;
  opacity: .95;
}

/* The form dimensions */

#contactForm {
  width: 850px;
  height: 632px;
  margin: 0 auto;
}


/* Position the form in the middle of the window (if JavaScript is enabled) */

#contactForm.positioned {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: auto;
  margin-bottom: auto;
}


/* Dimensions and position of the status messages */

.statusMessage {
  display: none;
  margin: auto;
  width: 50em;
  height: 2em;
  padding: 1.5em;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.statusMessage p {
  text-align: center;
  margin: 0;
  padding: 0;
}


/* The header at the top of the form */

#contactForm h2 {
	position:relative;
	float:left;
  font-size: 32px;
  font-style: italic;
  font-weight:bold;
  text-align: center;
  letter-spacing: .03em;
  margin: 0 0 12px 0;
  padding: 10px;
  width: 588px;  
  color: #aeb6aa;
  background: #dfe0e5;
  border-bottom: 1px solid #aaa;
}
#banners h1 {
	font-size: 24px;
	letter-spacing: .03em;
	width: 210px;
	padding: 20px 0 0;
	text-align:center;
	font-weight:bold;
	margin: 0;
}
#banners .sub {
	text-align: center;
	display: block;
	font-size: 12px;
}

/* Give form elements consistent margin, padding and line height */

#entries {
	position: relative;
	float: left;
	width: 590px;
	display: block;
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}
#banners {
	position: relative;
	float: left;
	width: 210px;
	height: 602px;
	padding: 15px;
	background: #FFF;

}
#entries li {
  margin: 10px 0 0 0;
  padding: 0;
}

#contactForm input, #contactForm label {
  line-height: 12px;
}


/* The field labels */

label {
  display: block;
  float: left;
  clear: left;
  text-align: right;
  width: 35%;
  padding: .4em 0 0 0;
  margin: .15em .5em 0 0;
  font-weight: bold;
}


/* The fields */

input, textarea {
  display: block;
  margin: 0;
  padding: .4em;
  width: 45%;
  font-family: "Georgia", serif;
  font-size: 1em;
  border: 1px solid #aaa;
  background: #fff;
}

textarea {
  height: 13em;
  line-height: 1.5em;
  resize: none;
}


/* Place a border around focused fields, and hide the inner shadow */

#contactForm *:focus {
  border: 1px solid #66f;
  outline: none;
}

input .err, textarea .err {
	background-color: #f66;
}

/* Display correctly filled-in fields with a green background */

input:valid, textarea:valid {
  background: #dfd;
}


/* The Send and Cancel buttons */

input[type="submit"], input[type="button"] {
  float: right;
  margin: 2em 1em 0 1em;
  width: 10em;
  padding: .5em;
  border: 1px solid #666;
  color: #fff;
  background: #0a0;
  font-size: 1em;
  line-height: 1em;
  font-weight: bold;
  opacity: .7;
  -webkit-appearance: none;
  -moz-transition: opacity .5s;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

input[type="submit"]:hover,
input[type="submit"]:active,
input[type="button"]:hover,
input[type="button"]:active {
  cursor: pointer;
  opacity: 1;
}

input[type="submit"]:active, input[type="button"]:active {
  color: #333;
  background: #eee;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
}

input[type="button"] {
  background: #f33;
}


