
/*.tree, .tree ul { list-style: none; }
.tree ul { margin-left: 20px; }
.tree {  margin-left: 20px; }
.tree li { padding: 0px 2px 5px 20px; background: url(/images/user.png) no-repeat; }*/
.genealogy {
	margin: 40px 0;
	float: left;
}
.distributors-nav li span {
	font-weight: bold;
	font-size: 1.1em;
	color: #999;
}
.small-date {
	width: 60px !important;
}
.small-btn {
	font-size: 0.8em;
}
.outstanding {
	clear: both;
	min-height: 20px;
	margin-top: 20px;
	padding: 10px;
	background-color: #E5FFDE;
	text-align: left;
}
.outstanding p {
	margin-bottom:  0px;
}
.updated {
	clear: both;
	min-height: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px;
	background-color: #FFC;
	text-align: left;
}
.updated p {
	margin:  0px;
	padding: 0px;
	font-weight: bold;
}
/* Genealogy */

.tabs {
	width: 734px;
	clear: both;
	float: left;
	border-bottom: solid 10px #839F01;
	margin-bottom: 20px;
}
.tabs li {
	width: 116px;
	height: 38px;
	float: left;
	background:url(../images/tab-inactive.png) no-repeat;
	margin-left: 5px;
	color: #fff;
	text-align: center;
	line-height: 3.22;
	color: #fff;
	font-weight: bold;
}
.tabs li.deleted {
	background: none;
	width: 220px;
	color: #000;
	font-size: 1.0em;
	float: right;
}
.tabs li.search {
	background: none;
	width: 70px;
	color: #000;
	font-size: 1.0em;
	float: right;
}
.tabs li.back {
	background: none;
	width: 80px;
	color: #000;
	font-size: 1.0em;
	float: right;
}
.tabs:first-child {
	margin-left: 20px;
	margin-right: 0;
}
.tabs li.active {
	background:url(../images/tab-active.png) no-repeat;
	color: #fff;
	font-weight: bold;
}
/* Shadowbox Popup */

body#shadowboxPopup {
	background: #fff;
	min-width: auto;
	height: 90%;
}
body#shadowboxPopup h1 {
	text-align: left;
	margin: 20px;
}
body#shadowboxPopup p {
	text-align: left;
	margin: 20px;
}
 /* Genealogy Graphic View */

 * {margin: 0; padding: 0;}

.tree ul {
	padding-top: 20px; position: relative;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	display: table;
    margin: 0 auto;
	font-size:0;
	margin-bottom: 40px;
}

.tree{
	white-space:nowrap;
}

.tree li {
	display:inline-block;
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	line-height: normal;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a {
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
}

.tree li > div{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;

	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li > div:hover, .tree li > div:hover+ul li div {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after,
.tree li a:hover+ul li::before,
.tree li a:hover+ul::before,
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}

.tree li.inactive > div > a {
	text-decoration: line-through;
	color: #ccc;
}
.tree li.active > div > a {
	text-decoration: none !important;
	color: #333 !important;
}

.branchExpand {	margin-right: 20px !important; }
.branchExpand,.branchExpandAll {
	border: none !important;
	margin: 5px 0;
	font-weight: bold;
	float: left;
	text-align: center;
}

.branchExpandAll {
	float: right;
}


body#shadowboxPopupAlt {
	width: 600px !important;
	background: #fff;
}
body#shadowboxPopup {
	width: 500px !important;
}
body#shadowboxPopup img {
	display: block;
	margin-left: 10px;
}
body#shadowboxPopup .box-account {
	width: 460px !important;
}
body#shadowboxPopup fieldset {
	width: 460px !important;
}
body#shadowboxPopup input[type=text] {
	width: 130px;
	margin: 5px 20px;
	float: left;
}
body#shadowboxPopup label {
	margin-bottom: 0px;
	margin-left: 10px;
	float: left;
}

input.input-text, select, textarea {
	height: auto;
}

body#shadowboxPopupAlt {
	margin: 20px;
}
