<THIS CSS STYLE SHEET IS LINKED TO THE INDEX FILE FOR THE GENEALOGY PAGE>


	*, #content :first-child, #content :last-child 
	{
		margin: 0;
	}

	body {
		font: 300 15px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
		background:teal;   			 <! changes the colour of the background to the tabs at very top of page.  Note use same colour for border of table at bottom>
		margin: 20px;
	}
	th {
		background-color:teal;			<! controls the background colour of the headings used in tables>
		color:white;			<! controls the colour of the actual heading text: note white on dark looks good but 
						may have to resort to putting (font color=white against the particular line in the index file)>
		font:courrier;
		
	}  				
	td {
		background-color:lightcyan;        		<! controls the background colour of the text lines within tables>                 
		color:black;			<! controls the colour of the main text within tables>
	} 				 
	h1 {
		margin-bottom: 20px;
		color:#fff;       			<!  makes no difference;>
		text-transform: uppercase;
		font-size: 55px;
		font-weight: 100;
		letter-spacing: 30px;
		text-shadow: 3px 3px 5px #000;
	}
	nav ul {
		list-style: none;
		padding: 0 0 0 10px;
		min-width: 460px;			<! No noticeable effect>
	}
	nav li {
		float: left;
		position: relative;
		height: 30px;
		border-radius: 10px 30px 0 0;
		margin-left: -10px;
		text-shadow: 1px 1px 0 #bbb;
		box-shadow: 0px 0px 10px rgba(0,0,0,.5);
		transition: .2s;
	}
	nav a {
		display: block;
		position: relative;
		width: 90px;
		height: 20px;
		padding: 6px 10px 20px 0;
		border-radius: 10px 30px 0 0;
		background:lightcyan;			<! changes colour of all tabs except for the first (selected) one see 4 paras down>
		color:blue;				<! no noticeable effect; WAS444;>
		text-align: center;
		text-decoration: none;
		transition: .2s;
	}
	nav li:hover {
		z-index: 1;
	}
	nav li:hover a {
		background: #fff;			<! Changes mouseover colour of the tabs>
		color:white;			<! makes no difference;>
	}
	#selected {
		z-index: 2;
	}
	#selected a {
		z-index: 3;
		background:lightcyan;           		 <!  Changes colour of the first (selected) tab>
		color:white;    			 <! was #000;>
		text-shadow: none;
		font-weight: 500;
	}
	#content {
		position: relative;
		z-index: 1;
		clear: both;
		min-width: 420px;
		padding: 20px;
		border-radius: 10px;
		box-shadow: 0px 0px 10px rgba(0,0,0,.5);
		background: lightcyan;    		<determines background colour of the banner block;>
	}
	#content p {
		margin: 20px 0;
	}
		

<! Styles applicable to drawing the family trees> 

/*Now the CSS*/
* {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;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	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{
	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 a:hover, .tree li a:hover+ul li a {
	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;
}

/*Thats all. I hope you enjoyed it.
Thanks :)*/



