

/* Just resetting a few elements */

h1, ul, li
{
	margin: 0;
	padding: 0;
}

li
{
	list-style: none;
}

p
{
	margin: 0;
	padding: .5em 0;
}


/**/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  color: #333333;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
}


/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
/*blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }*/

a img { border: none; }


h1 {
  color: #477c1c;
  letter-spacing: 1px;
  
  margin: 10px 0;
  line-height: 180%;
  font-size: 140%;
}

h2 {
	font: 140%;
  color: #477c1c;
  font-weight: bold;
  line-height: 160%;
  font-size: 140%;
  margin: 10px 0px;
}

.document h2 a {
  color: #477c1c;
}

.non-luc {
  color: #477c1c;
}

h3 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 2px;
}

h4 {
  font-weight: bold;
  font-style: italic;
}

a {
  color: black;
  outline: none;
}


h2 img {
  vertical-align: bottom;
}

p {

}

body  {
  font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  font-size: 75% ;

}

/* Main content styling */

#wrap
{
	text-align: left;
	margin: 0px auto;
	padding: 0px;
	border:0;
	width: 900px;
  line-height: 140%;
}

#header
{
	background: white;

}

#main
{
	/*display: table;*/
 /* margin-top: 20px;*/

}

#logo {
  margin-right:  90px;
}

#pub
{

	float: left;
	width: 160px;
  padding-top: 20px;
}


#nav
{
	float: left;
	width: 145px;
  line-height: 150%;
  padding-left: 15px;
  padding-top: 20px;
}

#primaryContent
{
	background: white;
	padding: 10px 40px;
  	float: left;
    width: 500px;
}



#footer
{
	background: white;
	border-top: 1px solid #ccc;
	text-align: right;
	clear: both;
  font-style: italic;
}


th, td {
  border: 1px solid #ccc;
  padding: 2px 10px;
}

.selection {
  text-align: center;
}

.gains {
  text-align: right;
}

.good {
  font-weight: bold;
  color: #477c1c;
}

.mail {
  padding-left: 20px;
  background: yellow url('/images/mail.png') no-repeat;
}

#messages {
  border: 1px solid #b3d42c;
  background: #fefbbd;
  padding: 5px;
}

.error h2 {
	display:none;
}
.error li {
	color: red;
}

label {
  width: 120px;
  display: block;
}

.pf {
	border: 1px solid #477c1c;
	padding: 5px;
	background-color:#99CC77;
	margin: 20px 0;
}


#popad{
    position:absolute;                                                 
  top:5px;
  left:40%;		
  padding:5px;
  border:1px solid #999;
  background:#eee;
  width:478px;
  text-align: center;
}
#popad.dynamic{

}
html>body #popad{
  position:fixed;
}


