* {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;
}
.tree .tree-thumbnail
{
    HEIGHT: 50px;
    VERTICAL-ALIGN: text-top;
    MARGIN: 0px auto 4px;
    DISPLAY: block
}

/***     The treeline style is to show the list of predecessors or successors as a nested list **/  
   .treeline {
     margin-top: 10px;
     margin-left: 400px;
     margin-right: auto;
     width: 100%;
     text-decoration: none;
}

treeline li a: {
    text-decoration: none!important;
}
  treeline ul a: {
    text-decoration: none!important;
}


.treeline li a:hover, .tree li a:hover+ul li a {
    text-decoration: none;
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}

.treeline li a:hover+ul li::after, 
.treeline li a:hover+ul li::before, 
.treeline li a:hover+ul::before, 
.treeline li a:hover+ul ul::before{
	border-color:  #94a0b4;
} 



   ul.treeline, ul.treeline ul {
     list-style-type: none;
     background: url(vline.png) repeat-y;
     margin: 0;
     padding: 0;
     text-align: left;
   }
   
   ul.treeline ul {
     margin-left: 10px;
     text-align: left;
   }

   ul.treeline last ul {
     margin-left: 10px;
     text-align: left;
     color: #000000;
   }

   ul.treeline li {
     margin: 0;
     padding: 0 12px;
     line-height: 20px;
     background: url(node.png) no-repeat;
     color: #00f;
     font-weight: bold;
     text-align: left;
   }

   ul.treeline li.last {
     text-align: left;  
     background: #fff url(lastnode.png) no-repeat;
     color:  #00f;
   }

   ul.treeline li.first {
     margin: 0;
     padding: 0 12px;
     line-height: 20px;
     color: #00f;
     font-weight: bold;
     text-align: left;
     background: #fff;  
   }

/***     The treelcell style is to show the list of predecessors or successors in a table structure horizontally or vertically **/ 
    .treecell {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border: 2px solid #ccc;
        padding: 1px 1px;
        text-decoration: none;
        color: #666;
        font-family: arial, verdana, tahoma;
        font-size: 12px;
        line-height: 1.25;
        display: inline-block;
        width: 120px;
        height: 30px;
        border-radius: 10px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;      
} 
/* cell for horizontal list*/
    .treecellh {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border: 2px solid #ccc;
        padding: 1px 1px;
        text-decoration: none;
        color: #666;
        font-family: arial, verdana, tahoma;
        font-size: 10px;
        line-height: 1.25;
        display: inline-block;
        width: 120px;
        height: 25px;
        border-radius: 10px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;   
      
}         
/*** The following style is used in the family tree cell*/
.parentnamescellleft {
        margin-left: auto;
        text-align: center;
        border: 1px solid #ccc;
        text-decoration: none;
        color: #666;
        font-family: arial, verdana, tahoma;
        font-size: 12px;
        line-height: 1.25;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;      
}  
.parentnamescellright {
        text-align: center;
        border: 1px solid #ccc;
        text-decoration: none;
        color: #666;
        font-family: arial, verdana, tahoma;
        font-size: 12px;
        line-height: 1.25;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;      
}  
    .familytreecell {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        border: 1px solid #ccc;
        padding: 1px 1px;
        text-decoration: none;
        color: #666;
        font-family: arial, verdana, tahoma;
        font-size: 12px;
        line-height: 1.25;
        display: inline-block;
        width: 180px;
        height: 120px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;      
}  
.familytreecell:hover {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}



/*   
    .tree *
{
    PADDING-BOTTOM: 0px;
    PADDING-TOP: 0px;
    PADDING-LEFT: 0px;
    MARGIN: 0px;
    PADDING-RIGHT: 0px
}
.tree
{
    WHITE-SPACE: nowrap
}
.tree UL
{
    FONT-SIZE: 0px;
    POSITION: relative;
    PADDING-TOP: 5px;
    MARGIN: 0px auto;
    DISPLAY: table;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s
}
.tree LI
{
    LIST-STYLE-TYPE: none;
    FONT-SIZE: 12px;
    POSITION: relative;
    PADDING-BOTTOM: 0px;
    TEXT-ALIGN: center;
    PADDING-TOP: 20px;
    PADDING-LEFT: 5px;
    DISPLAY: inline-block;
    LINE-HEIGHT: normal;
    PADDING-RIGHT: 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s
}
.tree LI:before
{
    BORDER-TOP: #2980b9 1px solid;
    HEIGHT: 20px;
    WIDTH: 50%;
    RIGHT: 50%;
    POSITION: absolute;
    TOP: 0px
}
.tree LI:after
{
    BORDER-TOP: #2980b9 1px solid;
    HEIGHT: 20px;
    WIDTH: 50%;
    RIGHT: 50%;
    POSITION: absolute;
    TOP: 0px
}
.tree LI:after
{
    RIGHT: auto;
    LEFT: 50%;
    BORDER-LEFT: #2980b9 1px solid
}
.tree LI:after
{
    DISPLAY: none
}
UNKNOWN
{
    PADDING-TOP: 0px
}
.tree LI:first-child:before
{
    BORDER-TOP: 0px;
    BORDER-RIGHT: 0px;
    BORDER-BOTTOM: 0px;
    BORDER-LEFT: 0px
}
.tree LI:after
{
    BORDER-TOP: 0px;
    BORDER-RIGHT: 0px;
    BORDER-BOTTOM: 0px;
    BORDER-LEFT: 0px
}
.tree LI LI:before
{
    BORDER-RIGHT: #2980b9 1px solid;
    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
}
.tree LI LI:before
{
    BORDER-RIGHT: medium none;
    RIGHT: auto;
    LEFT: 50%;
    BORDER-LEFT: #2980b9 1px solid
}
.tree UL.p > LI:before
{
    BORDER-TOP: medium none;
    BORDER-RIGHT: medium none;
    WIDTH: 100%;
    BORDER-BOTTOM: medium none;
    LEFT: 0px;
    BORDER-LEFT: medium none;
    DISPLAY: block
}
.tree UL.p > LI:after
{
    BORDER-TOP: medium none;
    HEIGHT: 20px;
    WIDTH: 50%;
    RIGHT: 50%;
    POSITION: absolute;
    TOP: 0px
}
.tree UL.p > LI:after
{
    BORDER-LEFT: medium none
}
.p1
{
    MARGIN: 0px auto;
    DISPLAY: table
}
.p1:before
{
    BORDER-TOP: medium none;
    BORDER-RIGHT: medium none;
    WIDTH: 100%;
    BORDER-BOTTOM: medium none;
    LEFT: 0px;
    MARGIN: 5px 0px;
    BORDER-LEFT: medium none;
    DISPLAY: block
}
.tree UL.c
{
    PADDING-TOP: 20px
}
.tree UL UL.c:before
{
    HEIGHT: 20px;
    WIDTH: 0px;
    POSITION: absolute;
    LEFT: 50%;
    BORDER-LEFT: #2980b9 1px solid;
    TOP: 0px
}
.tree LI A
{
    TEXT-DECORATION: none;
    BORDER-TOP: #ccc 1px solid;
    BORDER-RIGHT: #ccc 1px solid;
    MIN-WIDTH: 50px;
    BORDER-BOTTOM: #ccc 1px solid;
    POSITION: relative;
    COLOR: #666;
    OUTLINE-WIDTH: medium;
    PADDING-BOTTOM: 4px;
    PADDING-TOP: 4px;
    OUTLINE-STYLE: none;
    PADDING-LEFT: 4px;
    BORDER-LEFT: #ccc 1px solid;
    DISPLAY: inline-block;
    OUTLINE-COLOR: invert;
    PADDING-RIGHT: 4px;
    BACKGROUND-COLOR: #fff;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px
}
.tree LI A#hilight
{
    BORDER-TOP: #999 1px solid;
    BORDER-RIGHT: #999 1px solid;
    BORDER-BOTTOM: #999 1px solid;
    COLOR: #333;
    BORDER-LEFT: #999 1px solid;
    BACKGROUND-COLOR: #ffff88
}
.tree LI A.o
{
}
.tree LI A SPAN
{
    FONT-SIZE: 10px;
    DISPLAY: block
}
.tree LI A.m:hover
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4f8;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree LI A.f:hover
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree LI A:hover + UL LI A.m
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4fb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree LI A:hover + UL LI A.f
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree LI A:hover + .p1 A.m
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4fb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree LI A:hover + .p1 A.f
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .tree-thumbnail
{
    HEIGHT: 50px;
    VERTICAL-ALIGN: text-top;
    MARGIN: 0px auto 4px;
    DISPLAY: block
}
.tree A.f .tree-thumbnail
{
    background-color: #ffc0cb;
    
}
.tree A.m .tree-thumbnail
{
    background-color: #c8e4f8;
}
.tree A.fold .tree-thumbnail
{
    BACKGROUND-IMAGE: url(../images/f.gif)
    
}
.tree A.molf .tree-thumbnail
{
    BACKGROUND-IMAGE: url(../images/m.gif)   
}
.tree-detail
{
    VERTICAL-ALIGN: text-top;
    DISPLAY: inline-block
}
.tree-ie8 TD.line
{
    FONT-SIZE: 1px;
    HEIGHT: 1px;
    LINE-HEIGHT: 0px
}
.tree-ie8 .li
{
    LIST-STYLE-TYPE: none;
    FONT-SIZE: 12px;
    POSITION: relative;
    PADDING-BOTTOM: 0px;
    TEXT-ALIGN: center;
    PADDING-TOP: 0px;
    PADDING-LEFT: 5px;
    DISPLAY: inline-block;
    LINE-HEIGHT: normal;
    PADDING-RIGHT: 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s
}
.tree .li A SPAN
{
    FONT-SIZE: 10px;
    DISPLAY: block
}
.tree .li A
{
    TEXT-DECORATION: none;
    BORDER-TOP: #ccc 1px solid;
    BORDER-RIGHT: #ccc 1px solid;
    MIN-WIDTH: 50px;
    BORDER-BOTTOM: #ccc 1px solid;
    COLOR: #666;
    PADDING-BOTTOM: 4px;
    PADDING-TOP: 4px;
    PADDING-LEFT: 4px;
    BORDER-LEFT: #ccc 1px solid;
    DISPLAY: inline-block;
    PADDING-RIGHT: 4px;
    BACKGROUND-COLOR: #fff;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px
}
.tree .li A.m:hover
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4f8;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .li A.f:hover
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .li A:hover + UL .li A.m
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4fb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .li A:hover + UL .li A.f
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .li A:hover + .p1 A.m
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #c8e4fb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.tree .li A:hover + .p1 A.f
{
    BORDER-TOP: #94a0b4 1px solid;
    BORDER-RIGHT: #94a0b4 1px solid;
    BACKGROUND: #ffc0cb;
    BORDER-BOTTOM: #94a0b4 1px solid;
    COLOR: #000;
    BORDER-LEFT: #94a0b4 1px solid
}
.popover
{
    Z-INDEX: 4444
}
.icon-info-sign
{
    BACKGROUND-IMAGE: url(../images/icon-info-sign.png);
    BACKGROUND-POSITION: 0px 0px
}
*/