/*
   New Perspectives on HTML and CSS, 7th Edition
   Tutorial 7
   Tutorial Case

   Survey Forms Style Sheet
   Author: 
   Date:   

   Filename:         rb_forms.css

*/

/* Form Layout Styles */
/* See Tutorial 5 for details on using a flexible layout */

form#survey {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
}

form#survey > fieldset {
  -webkit-flex: 1 1 300px;
  flex: 1 1 300px;
  background-color: rgb(241,232,181);
  border-radius: 20px;
  padding: 10px;
  margin: 10px;
}

div.formRow {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  padding: 7px 0px;

}

div.formRow > * {
  -webkit-flex: 1 1 150px;
  flex: 1 1 150px;
}

/* Legend Styles */
legend{
  background: rgb(179,20,25);
  color: white;
  padding: 5px;

}

/* Text Area Styles */
textarea{
  margin: 10px;
  height: 100px;
  width: 95%;

}

/* Spinner Styles */
/* See Tutorial 5 for details on using a flexible layout */

div.formRow > input#dineSpin {
  -webkit-flex: 0 0 50px;
  flex: 0 0 50px;
}

/* Form Button Styles */

div#buttons{
  text-align: center;
  width: 100%;

}

input[type="submit"],input[type="reset"]{
  font-size: 1.2em;
  padding: 5px;
  margin: 15px;
  
}

/* Validation Styles */
