
.ascendantPedigree {
	margin: 0px;
}
.ascendantPedigree a {
	border: solid 1px #ccc;
	padding: 0px 5px;
	word-wrap: break-word;
	text-decoration: none;
	display: block;
	float: left;
	border-radius: 5px;
	width: 150px;
	-moz-border-radius: 5px;
	font-family: arial, verdana, tahoma;
	position: relative;
	-webkit-border-radius: 5px;
	text-align: center;
}
div.ascendantPedigree {
	min-width: 700px;
}
.ascendantPedigree a:hover {
}
.ascendantPedigree, .ascendantPedigree .family, .ascendantPedigree .parent, .ascendantPedigree .children, .ascendantPedigree .person, .ascendantPedigree .partner {
	padding: 0px;
	margin: 0px;
	position: relative;
}
div.ascendantPedigree .family {
	padding-left: 0px;
}
div.ascendantPedigree .parent {
	display: inline-block;
	vertical-align: middle;
}
div.ascendantPedigree .children {
	display: inline-block;
	padding-left: 15px;
	vertical-align: middle;
}
div.ascendantPedigree .person, div.ascendantPedigree .parent {
	padding-top: 5px;
	padding-bottom: 5px;
}
/* Middle sibling connection lines */
.ascendantPedigree div.children > div::before {
	top: 0px;
	left: -10px;
	border-left: 1px solid #ccc;
	width: 10px;
	position: absolute;
	content: "";
	height: 100%;
}
/* First child hook */
.ascendantPedigree div.children > div:first-child::before {
	border-top: 1px solid #ccc;
	border-radius: 5px 0 0 0;
	top: 50%;
	left: -10px;
	border-left: 1px solid #ccc;
	width: 10px;
	-moz-border-radius: 5px 0 0 0;
	position: absolute;
	-webkit-border-radius: 5px 0 0 0;
	content: "";
	border-bottom: none;
	height: 60%;
}
/* Last child hook */
.ascendantPedigree div.children > div:last-child::before {
	border-radius: 0 0 0 5px;
	top: 0%;
	left: -10px;
	border-left: 1px solid #ccc;
	width: 10px;
	-moz-border-radius: 0 0 0 5px;
	position: absolute;
	-webkit-border-radius: 0 0 0 5px;
	content: "";
	border-bottom: 1px solid #ccc;
	height: 50%;
}
/* Parent connector */
.ascendantPedigree div.families > div.family::before {
	top: 0%;
	left: 10px;
	border-left: solid 1px #ccc;
	width: 10px;
	position: absolute;
	content: "";
	height: 100%;
}
/* Last parent connector */
.ascendantPedigree div.families > div:last-child::before {
	border-radius: 0 0 0 5px;
	top: 0%;
	left: 10px;
	border-left: solid 1px #ccc;
	width: 10px;
	-moz-border-radius: 0 0 0 5px;
	position: absolute;
	-webkit-border-radius: 0 0 0 5px;
	content: "";
	border-bottom: 1px solid #ccc;
	height: 50%;
}
/* Twig from parent to children */
.ascendantPedigree div.children::before {
	top: 0px;
	left: -4px;
	width: 10px;
	position: absolute;
	content: "";
	border-bottom: 1px solid #ccc;
	height: 50%;
}
/* Make twig from parent to indicate children longer */
.ascendantPedigree div.pointer::before {
	top: 0px;
	left: -4px;
	width: 20px;
	position: absolute;
	content: "";
	border-bottom: 1px solid #ccc;
	height: 50%;
}
/* Twig from children to sibling connector */
.ascendantPedigree div.children > div a::before, div.parent a::before {
	top: 0px;
	left: -10px;
	width: 10px;
	position: absolute;
	content: "";
	border-bottom: 1px solid #ccc;
	height: 50%;
}
/* Remove twig from root person */
.ascendantPedigree div.parent > a::before {
	border-bottom: none;
}
/* Remove twig from first and last child and last parent */
.ascendantPedigree div.children > div:first-child a::before,.ascendantPedigree div.children > div:last-child a::before,.ascendantPedigree div.families > div:last-child > div.parent a::before {
	border: none;
}
/* Special case for empty node */
.ascendantPedigree div.children > div:only-child::before {
	border-top: none;
	border-radius: 0 0 0 0;
	border-left: none;
	-moz-border-radius: 0 0 0 0;
	-webkit-border-radius: 0 0 0 0;
}
.parentSection .male {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	box-shadow: 0px 4px 4px rgba(67, 67, 67, 0.4);
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
.parentSection .female {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	box-shadow: 0px 4px 4px rgba(67, 67, 67, 0.4);
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
.parentSection .unknown {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	box-shadow: 0px 4px 4px rgba(67, 67, 67, 0.4);
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
.male .label {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	background: none;
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
.female .label {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	background: none;
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
.unknown .label {
	background-color: #e8e8e8;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 );
	color: #000000;
	background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#e8e8e8 100%);
	background: none;
	font-weight: normal;
	font-size: 11px;
	font-family: Arial, Arial, Helvetica, sans-serif;
}
@media (min-width:1081px) {
	div.ascendantPedigree {
	}
}
@media (max-width:781px) {
	div.ascendantPedigree a {
		width: 120px;
	}
}
@media (max-width:691px) {
	div.ascendantPedigree a {
		width: 90px;
		font-size: 10px;
	}
}
@media (max-width:600px) {
	div.ascendantPedigree {
		max-width: 400px;
	}
}