/*
   IT-270 Web Page Project

   Service Forms Style Sheet

   Author:  David Dean    
   Date:     January 22, 2016   
   Filename:    forms.css
   
   Supporting Files: customer.png, go.png, stop.png
   
   */ 
   
header, figure, hgroup, footer, article, nav, section {
   display: block;
}

body {
   background-color: rgb(217, 206, 195);
}

html, body {
 height: 100%;
} 

section#main {
    background-color: rgb(255, 204, 153);
    background-position: top right, top left;
    background-repeat: no-repeat;

    font-family: Verdana, Geneva, sans-serif;
    margin: 0px auto;
    min-height: 100%;
    position: relative;
    width: 900px;

     border-left: 1px solid black;
     border-right: 1px solid black;

    -moz-box-shadow: 5px 0px 20px rgb(101, 101, 101),
                      -5px 0px 20px rgb(101, 101, 101);
    -webkit-box-shadow: 5px 0px 20px rgb(101, 101, 101),
                      -5px 0px 20px rgb(101, 101, 101);
    box-shadow: 5px 0px 20px rgb(101, 101, 101),
              -5px 0px 20px rgb(101, 101, 101);
    }/*  Field set styles */

fieldset {
	background-color: rgb(255, 237, 217);
	border: 1px solid black;
	float: left;
	margin: 10px 0px 10px 2.5%;
	width: 46%;
}

legend {
	background-color: rgb(128, 0, 42);
	color: white;
	padding: 3px 0px;
	text-indent: 5px;
	width: 100%;
}

/* Label styles */

label {
	clear: both;
	display: block;
	float: left;
	font-size: 0.9em;
	margin: 7px 4% 7px 5px;
	width: 40%;
}
   
 /* Input style rules */
 
 input {
	 display: block;
	 float: left;
	 font-size: 0.9;
	 margin: 7px 0px;
	 width: 50%;
 }
 
 input#state {
	 width: 50px;
 }
 
 /* Selection style lists */
 
 select {
	 display: block;
	 float: left;
	 font-size: 0.9em;
	 margin: 7px 0px;
 }
 /* Option buttons styles */
 
 fieldset.optionGroup {
	 border-width: 0px;
 }

 fieldset.optionGroup label {
	display: inline;
	float: none;
	margin: 0px 3px 0px 0px;
	width: 30px;
 }
 
  fieldset.optionGroup input {
	display: inline;
	float: none;
	margin: 0px 20px 0px 0px;
	width: 20px;
 }
  textarea {
	display: block;
	float: left;
	height: 150px;
	margin: 10px 0px;
	width: 50%;
  }
  
  #newsletter {
	color: rgb(233, 69 , 0);
	float: none;
	margin: 10px auto;
	text-align:center;
	width: 90%;
  }
  
  #newsletter input {
	display: inline;
	float: none;
	width: 20px;
  }
  
  /* Number input style boxes */

  #ordersPerMonth {
	width: 70px;
  }
  
  /* Range slider styles */
  
  label.sliderLabel {
	  clear: none;
	  font-size: 0.7em;
	  margin: 10px 0px;
	  text-align: center;
	  width: 10px;
  }
  
  input[type="range"] {
		width: 150px;
  }
  
  /* Button Styles */
  
  form p {
	  text-align: center;
  }
  
  input[type="submit"], input[type="reset"]{
	  display:inline;
	  float: none;
	  height: 40px;
	  width: 200px;
  }
  
  /* Validation styles */
  
  input:focus, select:focus, textarea:focus {
	  background-color: rgb(220, 255, 220);
  }
  
  input:focus:valid {
	  background: rgb(255, 220, 220) url(go.png) botttom right
	  no-repeat;
	  
	  -o-background-size: contain;
	  -moz-background-size: contain;
	  -webkit-background-size: contin;
	  background-size: contain;
  }
  
  input:focus:invalid {
	  background: rgb(255, 232, 233) url(stop.png) bottom right
	  no-repeat;
	  
	  -o-background-size: contain;
	  -moz-background-size: contain;
	  -webkit-background-size: contin;
	  background-size: contain;
  }



