#contactShapes, .statusMessage {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
  border-radius: 10px;
}


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

#contactShapes, .statusMessage {
  color: #666;
  background-color: #ebedf2;
  background: -webkit-gradient( linear, left bottom, left top, color-stop(0,#dfe1e5), color-stop(1, #ebedf2) );
  background: -moz-linear-gradient( center bottom, #dfe1e5 0%, #ebedf2 100% );  
  border: 1px 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: .95;
}


/* The form dimensions */

#contactShapes {
  width: 50em;
  padding: 0 1.5em 0 1.5em;
  margin: 0 auto;
}


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

#contactShapes.positioned {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-top: auto;
  margin-bottom: auto; z-index: 999;
}


/* Dimensions and position of the status messages */

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

.statusMessage p {
  text-align: center;
  margin: 0;
  padding: 0;
}
/* Give form elements consistent margin, padding and line height */

#contactShapes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#contactShapes ul li {
  margin: .4em 0 0 0;
  padding: 0;
}

#contactShapes input, #contactShapes label, #contactShapes checkbox{
  line-height: 1em;
}


/* The field labels */

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

/* The fields */
.contactShapes-checkbox {float: right;}
.shapes checkbox-inline {padding: 10em}

.contactShapes input, .contactShapes textarea, .contactShapes .checkbox-inline label{
  display: block;
  margin: 0;
  padding: .4em;
  width: 57%;
  font-size: 1em;
  border: 1px solid #aaa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;    
  border-radius: 5px;
  -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: #fff;
}
.shapes label checkbox-inline {
  display: block;
  margin: 0;
  padding: .4em;
  width: 57%;
  font-size: .95em;
  background: #fff;
}
       
.contactShapes textarea {
  height: 6em;
  line-height: 1.2em;
  resize: none;
}

.contactShapes input[type="checkbox"]{margin: 0;
  padding: .4em;
  width: 57%;
  font-size: .95em;
  background: #fff; float: left;}
  
  /* Place a border around focused fields, and hide the inner shadow */

.contactShapes *:focus {
  border: 1px solid #66f;
  outline: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}


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

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


/* The Send and Cancel buttons */

#contactShapes input[type="submit"], #contactShapes input[type="button"] {
  float: right;
  margin: 1.5em 1em 0 1em;
  width: 10em;
  padding: .5em;
  border: 1px solid #666;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
  border-radius: 10px;
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  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;
}

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

#contactShapes input[type="submit"]:active, .contactShapes 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;
}

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