/* main layout classes */
html {
}

body { 
	margin: 0px;
	padding: 0px;
	font-family: verdana;
	font-size: 12px;
}

#title_bar {
	background-color: #F7E8BC;
	margin: -1px 0px 0px 0px;
	padding: 0px;
}

#main_navigation {
	margin: -2px 0px 0px 0px;
	width: 100%;
	font-family: arial;
	font-size: 12px;
	background-color: #014601;
	height: 28px;
}
#main_navigation a,
#main_navigation a:link,
#main_navigation a:visited {
	text-decoration: none;
	color: #F7E8BC;
	background-color: #005F00;
	padding: 2px 5px 2px 5px;
	border: 1px outset #593501;
	display: block;
	float: left;
	margin: 3px 5px 3px 5px;
}
#main_navigation a:hover {
	text-decoration: none;
	border: 1px inset #593501;
	background-color: #C3DEBE;
	color: #593501;
}

#main_page {
	margin: 10px;
}

/* default styles by tag */
legend {
	font-weight: bold;
	color: #F7E8BC;
	background-color: #005F00;
	border: 1px solid #593501;
	padding: 4px;
}
label {
	font-weight: bold;
	width: 200px;
	display: block;
	margin-top: 3px;
	margin-bottom: 2px;
	float: left;
	clear: left;
}
fieldset{
	width: 520px;
	padding: 5px;
	background-color: #FCF6E4;
	margin-top: 6px;
	margin-bottom: 6px;
}
input {
	background: #FFFDF9;
	margin-top: 3px;
	margin-bottom: 2px;
}
input.text {
	width: 300px;
}
select {
	background: #FFFDF9;
	margin-top: 3px;
	margin-bottom: 2px;
}
textarea {
	background: #FFFDF9;
	width: 300px;
	height: 80px;
	margin-top: 3px;
	margin-bottom: 2px;
}
div {
	margin-top: 2px;
	margin-bottom: 2px;
}
p {
	margin-top: 5px;
	margin-bottom: 5px;
}
table {
	font-family: verdana;
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
}
th {
	font-weight: bold;
	padding: 3px;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	color: #000000;
}
tr {
	vertical-align: bottom;
}
td {
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	padding: 3px;
}
a, a:link, a:visited {
	text-decoration: none;
	color: #C71E26;
}
a:hover {
	text-decoration: underline;
}
img {
	border: 0px;
}
h1 {
	font: 20px verdana;
	margin: 2px;
	color: #960E14;
	clear: both;
}
h2 {
	font: 18px verdana;
	margin: 15px 0px 5px 0px;
}
h3 {
	font: 14px verdana;
	font-weight: bold;
	margin: 3px 0px 3px 0px;
	color: #000000;
}

/* required fields and error message classes */
.error {
	color: #1903BE;
	font-weight: bold;
	border: 1px solid #887CE3;
	padding: 4px;
	background: #F1F1F1;
}
p.required,
label.required {
	color: #FF283C;
	font-weight: bold;
}
input.required,
textarea.required,
select.required {
	background: #EF9AA2;
}
p.optional,
label.optional {
	color: #008080;
	font-weight: bold;
}
input.optional,
textarea.optional,
select.optional {
	background: #93D2D2;
}

/* useful secondary classes */
.dim {
	color: #999999;
	font-size: 11px;
}

.small {
	font-size: 10px;
}

/* navigation */
a.btn {
	text-decoration: none;
	color: #444444;
	display: block;
	float: left;
	border: 1px #444444 outset;
	background: #dddddd;
	padding: 2px;
	margin-right: 3px;
}
a:hover.btn {
	color: #dddddd;
	background: #444444;
	border: 1px #dddddd inset;
}

.pedigree_chart {
	border: 0px;
	width: 100%;
}

.pedigree_section {
	vertical-align: middle;
	width: 25%;
	border: 0px;
}

.pedigree_entry {
	width: auto;
	border: 1px outset #000000;
	background-color: #F7E8BC;
	min-height: 50px;
}

.family_group_person {
	border: 1px outset #000000;
	background-color: #eeeeee;
	margin: 5px;
	padding: 3px;
	width: auto;
}

.descendancy_level1 {
	border-left: 1px dotted #000000;
	border-top: 1px dotted #000000;
	margin-left: 5px;
	margin-top: 10px;
	padding: 5px;
	width: 500px;
}

.descendancy_level2 {
	border-left: 1px dotted #000000;
	border-top: 1px dotted #000000;
	margin-left: 35px;
	padding: 5px;
	width: 460px;
}

.descendancy_level3 {
	border-left: 1px dotted #000000;
	border-top: 1px dotted #000000;
	margin-left: 35px;
	padding: 5px;
	width: 420px;
}

.descendancy_level4 {
	border-left: 1px dotted #000000;
	border-top: 1px dotted #000000;
	margin-left: 35px;
	padding: 5px;
	width: 380px;
}