/* 
  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 */

input.button { 
  color : #1b9ea8;  
  border : 1px solid #fa9c08;
  background-color : #060606;
}

div#gb_form_div { 
  width: 420px;
  font: 'Trebuchet MS'; 
}

div#gb_form_div a {
color: #1b9ea8;
}

div#gb_form_div h2 a {
color: #1b9ea8;
}

#formhead, .results {
color: #1b9ea8;
}

/* id for the form itself */
form#gb_form { 
  /* not styled on demo page */
}

/* form and results heading size */
.main_formhead, .formhead { 
  font-size : 14PX; 
  color : #ff9522; 
}

/* outer fieldset - it's common to make this border : 0; */
fieldset#formwrap {  
border: 0;
}

/* section fieldsets - it's common to make this border : 0; */
fieldset { 
background: #060606;
border: 1px solid #282828;
padding: 5px;
}

/* form legends and dt "heading" */
legend, dt { 
font : 13px 'Trebuchet MS', sans-serif; 
  font-weight : bold; 
  color : #fa9c08;
}

/* main legend at top of the form */
legend#mainlegend { 
	font : 13px 'Trebuchet MS', sans-serif; 
  font-size : 1.2em;
  color : #ad5f07; 
}

/* form label text */
label { 
  font : 12px 'Trebuchet MS', sans-serif; 
  color : #a46520;
  padding: 4px 0px;
}

/* all inputs, select, and textarea */
input.med, input.short, select.med, textarea.textbox { 
  font : 13px 'Trebuchet MS', sans-serif; 
  color : #1b9ea8; 
  padding : 2px; 
  border : 1px solid #111;
  background-color : #1d2c2f;
  margin: 5px 5px 5px 0px;
}

/* to make focus stable in IE 6 */
* html input.button { 
  color : #fa9c08;  
  border : 1px solid #fa9c08;
  background-color : #222;
}
* html input.button.hover { 
  color : #fa9c08;  
  border : 1px solid #fa9c08;
  background-color : #222;
}
* html input.button.focus { 
  color : #fa9c08;  
  border : 1px solid #fa9c08;
  background-color : #222;
}

/* 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 : #fa9c08;  
  border : 1px solid #1b9ea8;
  background-color : #222;
}

/* 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 : #1b9ea8; 
  font-weight : bold; 
}

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

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

/* set up relativity to position small Why? text */
small.whythis { 
  position : relative; 
color: #1b9ea8;
}

/* Why? link style */
small.whythis a { 
  text-decoration : underline; 
  font-size : 0.95em;
color: #1b9ea8;
}

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

/* hide the Why? text span */

small.whythis a span { 
  display:none;
  padding : 0 4px 0 4px; 
  color : #1b9ea8;
  text-decoration : none; 
}

/* bring back Why? text span (title attribute backs this up for borwsers it doesn't function in */
small.whythis a:hover span, small.whythis a:focus span, small.whythis a:active span { 
  border : 1px solid #1b9ea8; 
  background-color : #222; 
  padding : 0 4px 0 4px; 
  text-decoration : none; 
  display: inline;
}

/* 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 : #a46520;
}

/* 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 : #ff9522;
}

div#hf_form_div span.items a{
color: #1b9ea8;
}


/* End CSS */