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

#newsletter_form_div {clear:both;}

/* id for the form itself */
form#gb_form, form#newsletter_form {font-size:90%;}

/* outer fieldset - it's common to make this border:0; */
#gb_form fieldset#formwrap {padding:0 15px 10px;
	background-color:#FFF;
	margin:0;
	border:1px solid #383BA9;}
#newsletter_form fieldset#newsformwrap {padding:0 5px 10px;
	background-color:#383BA9;
	margin:0 0 20px;
	clear:both;
	border:1px solid #FFF;}

/* section fieldsets - it's common to make this border:0; */
#gb_form fieldset {margin:5px;
	padding:5px;
	border:1px solid #383BA9;
	background: #FFF;}
#newsletter_form fieldset {margin:5px 0;
	padding:5px 0;
	border:none;
	border-collapse:collapse;
	background:#383BA9;}

/* form legends and _div "heading" */
#gb_form legend, #gb_form dt {color:#383BA9;}
#newsletter_form legend, #newsletter_form_div dt {color:#FFF;}
#newsletter_form_div dt {font-size:75%;
	font-weight:bold;}
#gb_form legend {padding:2px 10px;
	background-color:#FFF;
	border:1px solid #383BA9;}
#newsletter_form legend {padding:2px 10px;
	background-color:#383BA9;
	border:none;
	border-collapse:collapse;
	margin:0;}

/* main legend at top of the form */
legend#mainlegend {color:#383BA9;
	text-transform:capitalize;
	padding:2px 10px;
	font-family:"Times New Roman", Times, serif;
	font-size:150%;}
legend#newslegend {color:#FFF;
	text-transform:capitalize;
	padding:2px 5px;
	margin:0;
	font-size:125%;}

/* form label text */
#gb_form label {color:#383BA9;}
#newsletter_form label {color:#FFF;
	font-size:90%;}

/* all inputs, select, and textarea */
input.med, input.short, select.med, input.newsmed, select.newsmed, textarea.textbox {color:#383BA9; 
  padding:2px;
  margin:4px 0;
  border:1px solid #383BA9;
  background-color:#FFF;}
input.med, input.short, select.med, input.newsmed, select.newsmed {font-size:90%;}
textarea.textbox {font-size:130%;}
input.med, textarea.textbox {width:98.5%;}
input.newsmed, #newsletter_form textarea.textbox {width:95%;}

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

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

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

/* success heading color */
span.success {color:#5D57C9; 
  font-weight:bold;}
span.newssuccess {color:#FFF; 
  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 {position:relative;}

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

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

/* hide the Why? text span */
small.whythis a span {border:1px solid #E7E8FD; 
  background-color:#E7E8FD; 
  padding:0 4px 0 4px; 
  color:#E7E8FD;
  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 #383BA9; 
  background-color:#E7E8FD; 
  color:#383BA9;
  padding:0 4px 0 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:#5D57C9;}
#newsletter_form_div dd {color:#FFF;
	margin:0;
	padding:0;
	font-size:75%;}

/* position result blockquote flush with parent */
dl#result_dl_blockq blockquote, dl.result_dl_blockq blockquote {margin-left:0;
	padding:0;}
dl#newsresults_dl_dd, dl.newsresults_dl_dd {color:#FFF;
	margin:0;
	padding:0;
	font-size:75%;}

/* style the input names in the result */
div#hf_form_div span.items {font-weight:bold;
  color:#5D57C9;}
div#hf_form_div span.newsitems {font-weight:bold;
  color:#FFF;}
  
/* style the submit button */
#gb_form .FormButton, #newsletter_form .FormButton {padding:1px 0;
	text-align:center;
	margin-top:10px;}
#gb_form .FormButton {border:solid 1px #383BA9;
	color:#5D57C9;
	background-color:#FFF;}
#gb_form .FormButton:hover {color:#000;
	background-color:#DBDBF1;
	border:solid 1px #383BA9;}
#newsletter_form .FormButton {border:solid 1px #FFF;
	color:#FFF;
	background-color:#5D57C9;}
#newsletter_form .FormButton:hover {color:#383BA9;
	background-color:#FFF;
	border:solid 1px #5D57C9;}
	
#gb_form fieldset.ReqBG {background-color:#E7E8FD;}
#gb_form fieldset.OptBG {background-color:#F0EFFD;}
#gb_form fieldset.NewsBG {background-color:#E4F1F7;}
#newsletter_form_div #newsresults {color:#FFF;}
#newsletter_form_div {margin-bottom:20px;}
#newsletter_form_div p {color:#FFF;
	font-size:75%;}
#newsletter_form_div dl {margin:0;
	padding:0;}
#newsletter_form_div a {color:#FFF;
	font-size:75%;
	text-decoration:underline;}
#newsletter_form_div a:hover {color:#FFF;
	font-size:75%;
	text-decoration:none;}
#newsletter_form_div h2.newsformhead {color:#DBDBF1;}
.Floaters {position:absolute;
	top:-9000px;
	left:-9000px;}
/* End CSS */