/*Now the CSS*/
* {margin: 0; padding: 0; box-sizing:border-box;}

body {
padding:0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
/*width: 948px;
height: 2660px;
background-color: #fff;
border: 1px solid #dbdbdb;*/
}

.tree ul {
	position: relative;
	display: inline-block;
	transition: all 0.1s;
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
}

.tree li {
        list-style-type: none;
	position: relative;
	padding: 10px 0% 0% 100px;
        width:400px;
	transition: all 0.1s;
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
}

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

.tree a::before {
	content: '';
	position: absolute; left: 52px; top:35px;
	border-top: 1px solid #ccc;
	width: 100px; height: .0em;
	z-index: -1;
}
/* .tree li::after{ */
/* 	right: auto; left: 0%; */
/* 	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 0px 0 0;
	-webkit-border-radius: 0 0px 0 0;
	-moz-border-radius: 0 0px 0 0;
}
.tree li:first-child::after{
	border-radius: 0px 0 0 0;
	-webkit-border-radius: 0px 0 0 0;
	-moz-border-radius: 0px 0 0 0;*/


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

.tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	margin-top: 10px;
	text-decoration: none;
	color: #000;
	font-family: verdana, tahoma;
	font-size: 16px;
	display: inline-block;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	transition: all 0.1s;
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	width: 250px;
  background-color: #fff;
}

.tree li > ul {
display:block;
}

.tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: 15px;
    /* left: 20em; */
    right: -240px;
}

:hover .tooltiptext {
    visibility: visible;
}

.tree .dec{
	border: 1px solid #000;
	border-radius: 0px;
        cursor:default;
}

.tree .ndec{
	border: 1px solid #ccc;
        cursor:default;
}

.tree .act {
        border: 1px solid #ccc;
	      text-decoration: underline;
        cursor:pointer;
}
.tree .act:hover {
        border: 1px solid #ccc;
	      text-decoration: none;
}
.tree .nodata{
    background-color: #ffaaaa;
}

/*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;
}
.tree .dec:hover, .tree .dec:hover+ .dec {
	border: 1px solid #000;

}
/*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 :)*/
