
body, div {
	margin:0; padding:0; 
}	
body {
	background-color: #E1E6EA; /* #8596AA; */
}
body, table {
	font-family: Arial, Helvetica, Sans-serif; font-size: 14px;
}
h1, h2, h3, h4 {
	font-weight: normal; color:#005aac; 
}
/* reinstated h1..h6 */
h1 { 
	font-size: 24px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 17px;
}
h5 {
	font-size: 14px;
}
h5, h6 {
	font-weight: bold; color: #3366CC;
}
.small { 
	font-size:12px;
}
a {
	color: black;	
}
a:visited {
	color: #808080;
}
a.nav, a.nav:visited {
	color:white; 
}
a.plain {
	text-decoration:none;
}
a.plain:hover, a.current {
	text-decoration:underline;
}
.first {
	margin-top:14px; padding-top:0;
}
.em {
	color: #3366cc;	font-weight:bold;
}
/* master page sections */
#topbar {
	height:32px; background: url(/images/topbarbg.png) repeat-x;
}
#topnav {
	float:left; color:white; padding: 6px 0 0 6px;
}
#frame {
	width:900px; margin:auto; padding:0;
}
.shadow {
	-webkit-box-shadow: 2px 3px 12px 4px rgba(50,50,50,.2);
	-moz-box-shadow: 2px 3px 12px 4px rgba(50,50,50,.2);
	box-shadow: 2px 3px 12px 4px rgba(50,50,50,.2);
}
#banner {
	position:relative; height: 118px; 
	background: url(/images/headerbg.png) repeat-x;
	padding-left:0px;padding-right:0px;width:900px; /* offset */
}
table.tabs {
	margin:0; width:100%; border-collapse:collapse; background-color: #EAEAF8; border:0;
}
td.tab {
	white-space: nowrap; padding: 4px 8px 4px 8px; border: 1px solid #919B9c; border-left:0;
}
td.lasttab {
	border-right: 2px solid #919b9c;
}
td.current {
	background-color:white; border-bottom: 1px solid white;
}
div.nav {
    position:absolute; top:auto; right:50px;
}
.tocp { 
    max-width:250px; max-height:600px; overflow:auto; 
    position:absolute; top:0; left:0;
    display:none; background-color:white;
    padding:4px; padding-left:8px; 
    border:1px solid #3366CC;
}
#content {
	position:relative; width: 800px; min-height:500px;
	margin:auto; padding:12px 50px 21px 50px;  
	background:white; border:0;
}
#footer {
	color:gray; font-size:14px; 
	text-align:center; padding-top:0px;
}
/* toc */	
div.toc {
	float:right; border:1px solid #3366cc; background-color:#FCFCFF; 
	margin: 0 0 6px 6px; padding: 0 0 0 1em;
}
a.toc, a.toc:visited {
    color:black; text-decoration:none;
}
a.toc:hover {
    text-decoration:underline;
}
a.section, a.section:visited {
	font-weight:bold; color:#3366cc;
}
/* tables */
table {
	border-collapse:collapse;
}
th {
	font-weight:normal; color:#3366CC; padding:4px;
}
.bt {
	border-top: 1px solid black; padding-top:5px;
}
.bb {
	border-bottom:1px solid black; padding-bottom:5px;
}
.bl {
	border-left:1px solid black;
}
.br {
	border-right:1px solid black;
}
hr.foot {
    margin-left:0; width:150px; height:1px; 
    color: #3366CC; background-color:#3366cc;
}
tr.bt td { padding-top:5px; }
tr.bb td { padding-bottom:5px; }

/* R and Stata */
pre.R, pre.r, pre.stata {
	font-family: "lucida console", "courier new", monotype;	font-size:13px;
	border:1px solid #c0c0c0; padding:7px; border-radius:8px;
}
table.stata { 
	font-family: "lucida console", "courier new", monotype;	font-size:13px;
	white-space:pre;
}
img.center {display:block; margin:auto;}
code {
	font-family: "lucida console", "courier new", monotype;	font-size:13px;
	color:#3366CC;
}
.graph {
	text-align:center;
}
/* Multilevel */
.abstract {
        font-size:12px; display:none
}
/* glm */
p.box {
	border-collapse:collapse;
	border: 1px solid #336699;
	padding: 4px;
}
