/*
   New Perspectives on HTML and CSS
   Tutorial 6
   Case Problem 1

   Comment Form Style Sheet
   Author: Erin M.
   Date:   Johnson

   Filename:comments.css
   Supporting Files: go.png, stop.png
   
*/

/* Fieldset Styles */

fieldset {
  
  background-color: rgb(245, 245, 255);
  margin: 15px auto 15px;
  padding: 5px
  width: 90%;
}

/* Label styles */

label {
  float:left;
  clear: left;
  display: block;
  font-size: 0.9em;
  width: 100%;
  margin
}

/* Input boxes */

input {
 
  display: block;
  float: right;
  font-size: 0.9em;
  width: 55%;
  margin: 0px 10px 0px;
}

/* Text area styles */

textarea {
  
  display: block;
  font-size: 0.9em;
  float: right;
  height: 150px;
  margin: 10px 0px;
  width: 55%;
}


/* Button styles */

input[type="submit"] {

  clear: both;
  float: none;
  margin: 5px auto;
  height: 30px;
  width: 200px;
}

/* Validation styles */

input:focus, select:focus, textarea:focus {
  background-color: rgb(225, 225, 240)
}

input:focus:valid {
  background: rgb(225, 240, 225) url(go.png) bottom right no-repeat;
  
  -o-background-size: contain;
  -moz-background-size: contain;
  -webkit-background-size: contain;
  background-size: contain;
}

input:focus:invalid {
  background: rgb(240, 225, 225) url(stop.png) bottom right no-repeat;
  -o-background-size: contain;
  -moz-background-size: contain;
  -webkit-background-size: contain;
  background-size: contain;
}

