/* defaults */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,p,blockquote,th,td {
	margin:0;
	padding:0;
}
body {
	font:normal 100%/140% Times,Georgia,Charter,'Liberation Serif','Bitstream Charter',serif;
	background:white url("img/beancountshtile.jpg") repeat-x left top;
	color:#3B2A0D;
	text-align:center;
	min-width:720px;
}

/* boxes, box specific typography */

#pg {
	position:relative;
	margin:0 auto 0 auto;
	text-align:left;
	max-width:1200px;
}
#pghead {
	position:absolute;
	top:0;
	left:0px;
	width:100%;
	height:320px;
	background:transparent url("img/beancountscoins-sxc722835.jpg") no-repeat left top;
}
#pglogo {
	height:320px;
	background:transparent url("img/beancountstitle.png") no-repeat right top;
}
#pgbody {
	width:100%;
	position:absolute;
	top:330px;
}
#pgmain {
	margin:40px 60px 0 80px;
	font-size:90%;
}

#pgtail {
	border-top:1px solid #E0AF91;
	margin:.5em 60px 0 80px;
	padding:.5em 0 .5em 0;
	position:absolute;
	font-size:80%;
	line-height:1.2;
}
#pgtail p {
	margin:0;
}

#pgnav {
	height:3em;
	font-size:80%;
	margin:0 60px 0 0;
	float:right;
}
#pgnav ul {
	list-style-type:none;
	padding:0;
	float:left;
}
#pgnav ul li  {
	width:110px;
	margin:0 1px 0 1px;
	text-decoration:none;
	background:#88611E;
	float:left;
	padding:0;
	border: 1px outset #3B2500;
}
#pgnav ul li a {
	text-decoration:none;
	display:block;
	padding:5px;
	color:#553601;
}
#pgnav ul li a:hover {
	text-decoration:none;
	color:#3B2500;
	background-color: #A27933;
}
#pgnav ul #curlnk {
	display:block;
	padding:5px;
	color:#BB9A61;
	font-weight:bold;
}
#pgnav ul ul {
	display:none;
}
#pgnav ul li:hover ul {
	visibility:visible;
	display:block;
	position:absolute;
	width:120px;
	margin:0 0 0 -2px;
}
#pgnav li li a {
	padding:5px;
}

.txtflt {
	width:160px;
	background:#88611E;
	float:right;
	font-size:80%;
	line-height:1.2;
	border:1px outset #3B2500;
	margin:0 0 0 10px;
	padding:.5em 5px 0 5px;
	color: #EECD94;
}
.txtflt p {
	margin:0 0 1em 0;
}
.txtflt :last-child {
	margin-bottom:0;
}

/* typography */
h1, h2, h3, h4, h5, h6 {
	margin:0 0 .5em 0;
	color: #553500;
}
h1 {	font-size:150%;}
h2 {	font-size:135%;}
h3 {	font-size:125%;}
h4 {	font-size:115%;}
h5 {	font-size:105%;}
h6 {	font-size:100%;}

p, ul, ol, dl {
	margin:0 0 1.5em 0;
}
ul {
	padding:0 0 0 25px;
}
a {
	text-decoration:underline;
}
a:link {
	color:#6E562E;
}
a:visited {
	color:#3B2A0D;
}
a:hover, a:active {
	color:red;
}
img {
	border:none;
}
hr {
	height:1px;
	clear:both;
}
