


.mainbody {
  max-width: 800px;
  height: 100%;
  background-color: white;  
}

/* Page content */
.mainpane {
  margin-left: 190px; /* Same as the width of the sidenav */
  max-width: 800px;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);  
}

.maintreepane {
  margin-left: 190px; /* Same as the width of the sidenav */    
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;	
  max-width: 800px;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); 	
}

.leftpane {
    background: rgb(255, 160, 122);
    position: fixed;
    top: 0;
    left: 0;
    width: 190px;
    height: 100%;
}

.wrapper {
    background: rgb(255, 160, 122);
    position: fixed;
    top: 0;
    left: 0;
	right: 0;
    width: 190px;
    height: 100%;
}

.wrapper .sidebar{
    background: rgb(255, 160, 122);
    position: fixed;
    top: 0;
    left: 0;
	right: 0;
    width: 190px;
    height: 100%;
    padding: 2px 0;
    transition: all 0.5s ease;
}


.wrapper .sidebar .profile{
    margin-bottom: 20px;
    text-align: center;
}

.wrapper .sidebar .profile img{
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
}

.wrapper .sidebar .profile h3{
    color: #ffffff;
    margin: 10px 0 5px;
}

.wrapper .sidebar .profile p{
    color: rgb(206, 240, 253);
    font-size: 14px;
}

.wrapper .sidebar ul{
	background: rgb(255, 160, 122);
	list-style-type: none;
	display: block;
	padding: 5px 5px;

	color: rgb(241, 237, 237);
	font-size: 16px;
	position: relative;
}

.wrapper .sidebar li{
	background: rgb(255, 160, 122);	
	display: block;
	padding: 5px 5px;
	
	color: rgb(241, 237, 237);
	font-size: 16px;
	position: relative;
}

.wrapper .sidebar a{
	background: rgb(255, 160, 122);
	display: block;
	padding: 13px 30px;
	
	color: rgb(241, 237, 237);
	font-size: 16px;
	position: relative;
}

.wrapper .sidebar ul li a .icon{
	color: #dee4ec;
	width: 5px;
	height: 5px;
	display: inline-block;
}

.navicon{
	color: #dee4ec;
	width: 5px;
	height: 5px;
	display: inline-block;
}




.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active{
	color: #0c7db1;
	background:white;
    border-right: 2px solid rgb(5, 68, 104);
}

.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon{
	color: #0c7db1;
}

.wrapper .sidebar ul li a:hover:before,
.wrapper .sidebar ul li a.active:before{
	display: block;
}



.wrapper .section{
	width: calc(100% – 175px);
	margin-left: 175px;
	transition: all 0.5s ease;
}

.wrapper .section .top_navbar{
	background: rgb(7, 105, 185);
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0 30px;
 
}


.family header {
  background-color: #00539f;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 20px;
}

.family footer {
  text-align: center;
  margin-top: 30px;
  padding: 10px;
  background-color: #00539f;
  color: white;
  border-radius: 5px;
}

.family p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.family ul {
  list-style-type: none;
  padding: 0;
}

.family li {
  background-color: #e0e0e0;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 4px;
  border-left: 4px solid #00539f;
}



/* CSS tree as left node parents*/
	ul.nostyle {
		position: relative;
		list-style-type: none;
		margin: 0;
		padding: 0;	
	}
	
	li.nostyle {
		position: relative;
	}
	li.nostyle a{
		border: 1px solid #ccc;
		padding: 5px 10px;
		text-decoration: none;
		color: #666;
		font-family: arial, verdana, tahoma;
		font-size: 14px;
		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;
	}
	
	li.nostyle a:hover {
		background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
	}
	
	
	
	
	ul.treestyle {
		position: relative;
		list-style-type: none;		
		padding-left: 32px;	
	}
	
	li.treestyle {
		position: relative;
		padding: 5px 5px 0 5px;
	}	
	
	li.treestyle::before, li.treestyle::after {
		content: "";
		position: absolute;
		left: -12px;
	}
	li.treestyle::before {
		border-top: 1px solid #000;
		top: 9px;
		width: 18px;
		height: 0;
	}
	li.treestyle::after {
		border-left: 1px solid #000;
		border-left: 1px solid #000;
		height: 100%;
		width: 0px;
		top: 2px;
	}
	ul.treestyle > li.treestyle:last-child::after {
		height: 8px;
	}	
	li.treestyle a{
		border: 1px solid #ccc;
		padding: 5px 10px;
		text-decoration: none;
		color: #666;
		font-family: arial, verdana, tahoma;
		font-size: 14px;
		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;
	}
	
	li.treestyle a:hover {
		background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
	}


/*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: 10px;
	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;
}



.legendpane td table{
  border: 1px solid black;
  border-radius: 10px;
}



