@charset "utf-8";

/* #contactForm CSS ================================================= */

/* Set the content dimensions */

#contact {
  width: 800px;
  padding: 50px;
  margin: 0 auto;
  display: block;
  font-size: 1.2em;
}
#contact h2 {
  line-height: 1.5em;
}

/* Style for the contact form and status messages */

#contactForm, .statusMessage {
  color: #63D7FD;  /*label font color*/
  background-color: #ebedf2;
  background: #585858; /*lower background color*/
  border:0px solid #aaa;
  -moz-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  opacity: 0.85; /*overall opacity*/
}

/* The form dimensions */

#contactForm {
  width: 40em;
  height: 33em;
  padding: 0 1.5em 1.5em 1.5em;
  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: 30em;
  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 {
  font-size: 2em;
  font-style: italic;
  letter-spacing: .05em;
  margin: 0 0 1em -.75em;
  padding: 1em;
  width: 19.5em;  
  color: #63D7FD;  /* top header font color */
  background: #313131; /* top background color */
  border-bottom: 0px solid #FFFFFF;
}

/* Give form elements consistent margin, padding and line height */

#contactForm ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#contactForm ul li {
  margin: .9em 0 0 0;
  padding: 0;
}
#contactForm input, #contactForm label {
  line-height: 1em;
}

/* The field labels */

label {
  display: block;
  float: left;
  clear: left;
  text-align: right;
  width: 28%;
  padding: .4em 0 0 0;
  margin: .15em .5em 0 0;
  font-weight: bold;
}

/* The fields */

input, textarea {
  display: block;
  margin: 0;
  padding: .4em;
  width: 67%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: 0px solid #FFFFFF;
  -moz-box-shadow: rgba(0,0,0,.2) 0 1px 4px inset;
  -webkit-box-shadow: rgba(0,0,0,.2) 0 1px 4px inset;
  box-shadow: rgba(0,0,0,.2) 0 1px 4px inset;
  background: #313131;
  color:#FFFFFF;
}
textarea {
  height: 13em;
  line-height: 1.5em;
  resize: none;
}

/* Place a border around focused fields, and hide the inner shadow */

#contactForm *:focus {
  border: 0px solid #66f; 
  background: #FFFFFF;
  color:#313131;
  outline: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

/* Display correctly filled-in fields with a green background */

input:valid, textarea:valid {
  background:#313131; /*original #dfd*/
  color:#FFFFFF;  /*original #313131*/
}

/* The Send and Cancel buttons */

input[type="submit"], input[type="button"] {
  float: right;
  margin: 2em 1em 0 1em;
  width: 10em;
  padding: .5em;
  border: 0px solid #FFFFFF;
  color: #FFFFFF; /*button font color*/
  background: #313131;
  font-size: 1em;
  line-height: 1em;
  font-weight: bold;
  opacity: 1.0;
}
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="button"]:hover,
input[type="button"]:active {
  cursor: pointer;
  opacity: 1.0;
}
input[type="submit"]:active, 
input[type="button"]:active {
  color: #333;
  background: #eee;
}
input[type="button"] {
  background: #C00; /*cancel button background color*/
}

