/* 
bleu : 5085a1
beige : 938a7b
  Secure and Accessible PHP Contact Form v.2.0 Basic Styles by Mike Cherim 
  THESE ARE THE VARIOUS ELEMENTS, CLASSES, IDS, AND SELECTORS YOU MAY NEED FOR STYING THIS FORM
  Anchors or link elements have not been included, but everythig else is :-)
*/

/* for main form wrapping div */
div#gb_form_div {}

/* id for the form itself */
form#gb_form {}

/* form and results heading size */
.main_formhead, .formhead { 
  font-size : 1.4em; 
  color : #d1dfe7; 
}

/* section fieldsets - it's common to make this border : 0; */
fieldset { 
  border: none;
  border-top: 1px solid #c7bca8;
  padding: 10px 0 25px;
  position: relative;
}

/* outer fieldset - it's common to make this border : 0; */
fieldset#formwrap {
  margin: 25px 0 250px;
  border: none;
  max-width: 575px;
}

/* form legends and dt "heading" */
legend, dt { 
  font-weight : bold; 
  color : #5085a1;
}
legend strong {color: #cd0000; font-weight: normal; font-style: italic; font-size: .8em;}

/* main legend at top of the form */
legend#mainlegend { 
  font-size : 1.2em;
  color : #938a7b; 
  padding-top: 10px;
}

/* form label text */
label {color : #000;}

/* all inputs, select, and textarea */
input.med, input.short, select.med, textarea.textbox { 
  font : 80% 'Trebuchet MS', sans-serif; 
  color : #666; 
  padding : 2px; 
  border : 1px solid #938a7b;
  background-color : #fff;
}
textarea#message {width: 575px; color: #5085a1; font-size: 1.05em;}

/* button position */
#gb_form_div .button {margin: 10px 0; padding: 0 5px;}

/* to make focus stable in IE 6 */
* html input.button { 
  color : #000;  
  border : 1px solid #5085a1;
  background-color : #c9dbe5;
}

/* hover and focus styling - the classes like .hover and .focus below are for the javascript for IE */
input.med:hover, input.med:focus, input.short:hover, input.short:hover, select.med:hover, select.med:focus, textarea.textbox:hover, textarea.textbox:focus, input.med.hover, input.med.focus, input.short.hover, input.short.focus, select.med.hover, select.med.focus, textarea.textbox.hover, textarea.textbox.focus { 
  color : #000;  
  border : 1px solid #000;
  background-color : #fff;
}

/* for the checkbox input */
input.checkbox {}

/* error heading weight and color - bold is for the error reason text */
span.error, dt.error, strong.error { 
  color : #cd0000; 
  font-weight : bold; 
}

/* success heading color */
span.success { 
  color : #5085a1; 
  font-weight : bold; 
}

/* privacy and "Why?" small element link sizes (relative to their parent element */
small.privacy, small.whythis { 
  font-size : 80%; 
}

/* set up relativity to position small Why? text */
small.whythis {}

/* Why? link style */
small.whythis a { 
  font-size : 0.95em;
}

small.whythis a:hover, small.whythis a:focus, small.whythis a:active { 
  text-decoration : none;
} 

/* hide the Why? text span */
small.whythis a span { 
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 195px;
  border : 1px solid #5085a1; 
  background-color : #d9e2e7; 
  color : #000;
  padding : 2px 4px; 
  text-decoration : none; 
  text-align: center; 
  margin: 10px 0 0;
  visibility: hidden;
}

/* bring back Why? text span (title attribute backs this up for browsers it doesn't function in */
small.whythis a:hover span, small.whythis a:focus span, small.whythis a:active span { 
  visibility: visible;
  text-decoration : none; 
}

/* the link back to me for form credit */
p.creditline { 
  float : right; 
  margin : -17px 0; 
  padding-bottom : 1px; 
  font-size : 80%; 
}

/* used for abbreviation used relative to form. the .abbr class is for the span added for IE */
abbr, .abbr { 
  cursor : help; 
  border-bottom : 1px dotted #999;
}

/* set result color for blockquote dt "heading" */
dl#result_dl_blockq dt, dl.result_dl_blockq dt {
  color : #5085a1;
}

/* position result blockquote flush with parent */
dl#result_dl_blockq blockquote, dl.result_dl_blockq blockquote {
  margin-left : 0;
}

/* style the input names in the result */
div#hf_form_div span.items {
  font-weight : bold;
  color : #5085a1;
}

/* results*/ 
div#gb_form_div p {margin: 25px 0; max-width: 575px;}
div#gb_form_div dl dt {margin: 25px 0 10px;}
div#gb_form_div dl dd {margin: 0 25px;}
div#gb_form_div ul {margin: 0 25px;}
div#gb_form_div #result_dl_blockq {max-width: 575px;}
div#gb_form_div #result_dl_blockq blockquote {background-color: #f0efeb; border: 1px solid #938a7b; padding: 5px 10px;}

/* End CSS */
