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

legend.required 
  { color:#CC0033; }

fieldset
  { margin: 0 0 1.5em 0; padding: 0; }

legend
  { color: #14212B; font-weight: bold; }


fieldset ol
  { padding: 1em 1em 0 1em; list-style: none; }

fieldset li
  { padding-bottom: 1.2em; }

label
  { display: block; }

legend.first 
  { margin-bottom: 10px; }

input.button
  { border-style: none; color:#8CCEDA; background-color: #14212B; padding: 5px; margin:15px 0 35px 0; font-weight: bold; }
  
input.button:hover, input.button.hover
  { border-style: none; color:#14212B; background-color: #8CCEDA; }

/* all inputs, select, and textarea */
input.med, input.short, select.med, textarea.textbox { 
  font : 11px 'verdana', sans-serif bold; 
  color: #ffffff;
  padding : 5px; 
  border: 1px solid #14212B;
  background-color: #4F6373;
  }

textarea.textbox, input.med, select.med { width: 80%; }

/* to make focus stable in IE 6 */
* html input.button { 
  color: #4F6373 ;  
  border: 1px solid #17212B ;
  background-color: #8CCEDA ;
  margin-bottom:35px;
  
}


* html input.button.hover { 
  color: #8CCEDA;  
  border: 1px solid #17212B;
  background-color: #4F6373;
}


* html input.button.focus { 
  color: #4F6373;  
  border: 1px solid #17212B;
  background-color: #17212B;
}

/* 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: #4F6373;  
  border: 1px solid #17212B ;
  background-color: #D5E6EC;
}

/* for the checkbox input */
input.checkbox {
  /* not styled on demo page */
}

/* 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 {
  font-size:18px;
  color: #14212B ; 
  font-weight : bold; 
}

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

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

/* Why? link style */
small.whythis a {
  color:#14212B; 
  text-decoration : underline; 
  font-size : 10px;
}

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

/* hide the Why? text span */
small.whythis a span {  
  background-color : #ffffff; 
  padding : 4px; 
  color : #ffffff;
  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 {  
  background-color: #17212B; 
  color: #8CCEDA;
  padding : 4px; 
  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: #14212B ;
}

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


/* End CSS */
