body {
	font-family: 'Trebuchet MS', helvetica, sans-serif;
	font-size: 13px;
	background: #494949;
	text-align: center;
	padding: 0px;
	margin: 0px;
}
h1 {font-size: 20px;font-weight: bold}
h2 {font-size: 16px;font-weight: bold}
h3 {font-size: 14px;font-weight: bold}
h4 {font-size: 13px;font-weight: bold}
p {
	text-align: left;
}
table {
	width: 100%;
}
tr {
	vertical-align: top;
}
td {
	vertical-align: top;
	font-size: 13px;
}
td.date {text-align: right; white-space: nowrap}
th {
	vertical-align: top;
	text-align: left;
	font-size: 13px;
}
img {
	border: 0px;
}
form {margin:0px}
textarea {width: 500px;height:400px;}
a {color: #009;}
#top a,#footer a {color: #fff;}
#bottom a {color: #ccc}
#wrapper {
	width: 990px;
	margin: 0px auto 0px auto;
	text-align: left;
}
#top {
	text-align: right;
	padding: 2px 25px 2px 15px;
	color: #fff
}
#header {
	background:url('images/block-header.png') -10px -10px;
	padding: 5px 25px 15px 15px;
	height: 75px;
	overflow: hidden;
	clear: both;
}
#content {
	padding: 0px;
	margin: 0px;
}
#footer {
	padding: 2px 25px 2px 15px;
	color: #fff;
	clear: both;
}
#bottom {
	text-align: center;
	padding: 2px 15px 2px 25px;
	font-size: 10px;
	clear: both;
	color: #666;
}
#sidebar {
	float: left;
	margin-right: 0px;
}
#main,#maintop,#mainbottom {
	margin: 0px 0px 0px 215px;
}
#main {background: url('images/white.png') repeat-y -10px 0px;padding:1px 25px 1px 15px}
#maintop{background: url('images/white-top.png') -10px -10px;padding:10px 25px 10px 15px}
#mainbottom {background: url('images/white-bottom.png') -10px 0px;padding:10px 25px 10px 15px}
#title {
	font-weight: bold;
	font-size: 25px;
	padding-left: 70px;
}
#subtitle {
	font-weight: bold;
	font-size: 15px;
	font-style: italic;
	padding-left: 70px;
}
#change_lang_list {
	float: left;
}
#change_tpl_list {
	float: right;
}
#search {
	margin-top: 5px;
	width: auto;
	max-width: 600px;
	float:right;
}
#search table { border-collapse: separate;}
#search td { padding: 0px;}
.clear {clear: both;}
.right {float: right;}
.left {float: left;}
.selected{background: #f5f9d2;}
p.selected{padding: 5px;}
.media {float: right; clear:right;max-width: 300px;min-width:200px;margin: 0px 0px 10px 10px}
.media h3 {padding-top:0px;margin-top:0px;}
.box {width: 180px; padding: 1px 25px 1px 10px; margin-top: 0px;}
.box h3 {padding:0px;margin:0px}
.boxtop {width: 180px; padding: 0px 25px 0px 10px; margin-top: 0px;height:20px;}
.boxbottom {width: 180px; padding: 0px 25px 0px 10px; margin-top: 0px;height:20px;}
#personmenu,#eventmenu,#notemenu,#mediamenu,#sourcemenu {background: url('images/blue.png') repeat-y -10px 0px;}
#personmenutop,#eventmenutop,#notemenutop,#mediamenutop,#sourcemenutop {background: url('images/blue-top.png') -10px -10px;}
#personmenubottom,#eventmenubottom,#notemenubottom,#mediamenubottom,#sourcemenubottom {background: url('images/blue-bottom.png') -10px 0px;}
#adminmenu {background: url('images/pink.png') repeat-y -10px 0px;}
#adminmenutop{background: url('images/pink-top.png') -10px -10px;}
#adminmenubottom {background: url('images/pink-bottom.png') -10px 0px;}
#hist {background: url('images/orange.png') repeat-y -10px 0px;}
#histtop{background: url('images/orange-top.png') -10px -10px;}
#histbottom {background: url('images/orange-bottom.png') -10px 0px;}
#stats {background: url('images/yellow.png') repeat-y -10px 0px;}
#statstop{background: url('images/yellow-top.png') -10px -10px;}
#statsbottom {background: url('images/yellow-bottom.png') -10px 0px;}
.error {color: #f00;}
.warning {color: #f60;}
.message {color: #090;}
#reltb {width: auto; margin: 0px auto 0px auto; border-collapse: collapse}
#reltb td {padding: 0px;}
.knotbox {width: 164px; height: 74px; padding: 8px 14px 23px 8px; margin: auto; overflow: hidden;}
.knotboxsingle {width: 164px; height: 74px; padding: 8px 14px 13px 8px; margin: auto; overflow: hidden;}
.relbox {width: 164px; height: 74px; padding: 3px 14px 13px 8px; overflow: hidden;background: url('images/line.png') no-repeat top left;}
.relboxtopleft {background: url('images/line-top-left.png') no-repeat top left;}
.relboxtopright {background: url('images/line-top-right.png') no-repeat top left;}
.relboxtopendleft {background: url('images/line-top-end-left.png') no-repeat top left;}
.relboxtopendright {background: url('images/line-top-end-right.png') no-repeat top left;}
.relboxend {background: url('images/line-end.png') no-repeat top left;}
#relknot1 {background: url('images/knot-double.png') no-repeat top left; }
#relknot2 {background: url('images/knot-double.png') no-repeat top right; }
#relknot0 {background: url('images/knot-single.png') no-repeat top center; }
#relknot {background: url('images/knot.png') no-repeat top center; }
.pedbox {width: 164px; height: 74px; padding: 0px; overflow: hidden; position: absolute;z-index: +1;}
.pedbg {width: 100px; padding: 0px; background: url('images/black-square.gif'); position: absolute;}
#pedigree {background: url('images/pedigree.png') -0px 0px;position: relative; height: 735px;}
#pedbox0 {left: 15px;}
#pedbox1,#pedbox2 {left: 195px}
#pedbox3,#pedbox4,#pedbox5,#pedbox6 {left: 375px}
#pedbox7,#pedbox8,#pedbox9,#pedbox10,#pedbox11,#pedbox12,#pedbox13,#pedbox14 {left: 555px}
#pedbox0 {top: 330px;}
#pedbox1 {top: 150px;}
#pedbox2 {top: 510px;}
#pedbox3 {top: 60px;}
#pedbox4 {top: 240px;}
#pedbox5 {top: 420px;}
#pedbox6 {top: 600px;}
#pedbox7 {top: 15px;}
#pedbox8 {top: 105px;}
#pedbox9 {top: 195px;}
#pedbox10 {top: 285px;}
#pedbox11 {top: 375px;}
#pedbox12 {top: 465px;}
#pedbox13 {top: 555px;}
#pedbox14 {top: 645px;}

#sidebar h2 {font-size: 14px;font-weight: bold;margin-top:0px;}
#sidebar > div > li {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
	}
.alignright {float:right;}
