/**
 * Vertical Org Tree                                         
 */
.ds-ct-tree-v * {
	margin: 0; padding: 0;
}
.ds-ct-tree-v li>div>div:first-child img {}
.ds-ct-tree-v {
	/* display: table; */
}
.ds-ct-tree-v ul {
	padding-top: 1em; 
	position: relative;
	
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:stretch;
}
.ds-ct-tree-v li {
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 1em 0.25em 0 0.25em;
	margin-bottom:1em;
}
.ds-ct-tree-v li:before,
.ds-ct-tree-v li:after {
	content: '';
	position: absolute; 
	top: 0; 
	right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 1em;
}
.ds-ct-tree-v li:after {
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

.ds-ct-tree-v li:only-child:after,
.ds-ct-tree-v li:only-child:before {
	display: none;
}

.ds-ct-tree-v li:only-child {
	padding-top: 0;
}
.ds-ct-tree-v li:first-child:before,
.ds-ct-tree-v li:last-child:after {
	border: 0 none;
}
.ds-ct-tree-v li:last-child:before {
	border-right: 1px solid #ccc;
	border-radius: 0 0.25em 0 0;
	-webkit-border-radius: 0 0.25em 0 0;
	-moz-border-radius: 0 0.25em 0 0;
}
.ds-ct-tree-v li:first-child:after {	
	border-radius: 0.25em 0 0 0;
	-webkit-border-radius: 0.25em 0 0 0;
	-moz-border-radius: 0.25em 0 0 0;
}
.ds-ct-tree-v ul ul:before {
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 1em;
}

.ds-ct-tree-v li>*:not(ul) {
	border: 1px solid #ccc;
	padding: 0.25em 0.5em;
	text-decoration: none;
	color: #666;
	/* font-family: arial, verdana, tahoma; */
	font-size: 1em;
	display: inline-block;
	
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
}

.ds-ct-tree-v li>*:not(ul)>div>* {display:block;}

/* .ds-ct-tree-v li a:hover, */
/* .ds-ct-tree-v li a:hover+ul li a { */
	/* background: #c8e4f8;  */
	/* color: #000;  */
	/* border: 1px solid #94a0b4; */
/* } */
/* .ds-ct-tree-v li a:hover+ul li:after,  */
/* .ds-ct-tree-v li a:hover+ul li:before,  */
/* .ds-ct-tree-v li a:hover+ul:before,  */
/* .ds-ct-tree-v li a:hover+ul ul:before { */
	/* border-color:  #94a0b4; */
/* } */


/**
 * Horizontal Org Tree
 */
.ds-ct-tree-h {
	display: table;
}
.ds-ct-tree-h ul {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	padding-left: 0.5em;
}
.ds-ct-tree-h li {
	position: relative;
	list-style-type: none;
	width: 100%;
	height: 100%;
	padding: 0.25em 0px 0.25em 0.5em;
}
.ds-ct-tree-h li:before,
.ds-ct-tree-h li:after {
	content: '';
	position: absolute; 
	bottom: 50%; 
	left: 0;
	border-left: 1px solid #ccc;
	height: 50%;
	width: 0.5em;
}
.ds-ct-tree-h li:after {
	bottom: auto;
	top: 50%;
	border-top: 1px solid #ccc;
}

.ds-ct-tree-h li:only-child:after,
.ds-ct-tree-h li:only-child:before {
	padding-right: 0;
}
.ds-ct-tree-h > ul > li:after {
	border: 0 none;
}
.ds-ct-tree-h li:first-child:before,
.ds-ct-tree-h li:last-child:after {
	border-left: 0 none;
	border-right: 0 none;
}
.ds-ct-tree-h ul ul:after {
	content: '';
	position: absolute; 
	top: 50%; 
	left: 0;
	border-top: 1px solid #ccc;
	width: 0.5em;
}

.ds-ct-tree-h li a {
	border: 1px solid #ccc;
	padding: 0.25em 0.5em;
	text-decoration: none;
	color: #666;
	/* font-family: arial, verdana, tahoma; */
	font-size: 1em;
	display: inline-block;
	vertical-align: middle;
	
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/* .horizontalTree li a:hover+ul:after, */
/* .horizontalTree li a:hover+ul ul:after { */
	/* border-color:  #94a0b4; */
/* } */
/* .horizontalTree li a:hover, */
/* .horizontalTree li a:hover+ul li a { */
	/* background: #c8e4f8;  */
	/* color: #000;  */
	/* border: 1px solid #94a0b4; */
/* } */
/* .horizontalTree li a:hover+ul li:after, */
/* .horizontalTree li a:hover+ul li:before,  */
/* .horizontalTree li a:hover+ul:before,  */
/* .horizontalTree li a:hover+ul ul:before { */
	/* border-color:  #94a0b4; */
/* } */


/**
 * Horizontal Org Tree(Vertical-align:top)
 */
.horizontalTreeTop {
	display: table;
}
.horizontalTreeTop {
    padding-top: 0.5em;
}
.horizontalTreeTop ul {
	position: relative;
	display: inline-block;
	vertical-align: top;
	padding-left: 0.5em;
}
.horizontalTreeTop li {
	vertical-align: middle;
	position: relative;
	list-style-type: none;
	width: 100%;
	height: 100%;
	padding: 0px 0px 0.5em 0.5em;
}
.horizontalTreeTop li:before,
.horizontalTreeTop li:after {
	content: '';
    position: absolute; 
	width: 0.5em;
}
.horizontalTreeTop li:before {
	bottom: 0;
	border-left: 0 none;
}
.horizontalTreeTop li:after {
	top: 0.5em;
	bottom: auto;
    left: 0;
    height: 100%;
    border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

.horizontalTreeTop li:only-child:after,
.horizontalTreeTop li:only-child:before {
	padding-right: 0;
}
.horizontalTreeTop > ul > li:after {
	border: 0 none;
}
.horizontalTreeTop li:first-child:before,
.horizontalTreeTop li:last-child:after {
	border-left: 0 none;
	border-right: 0 none;
}
.horizontalTreeTop ul ul:after {
	content: '';
	position: absolute; top: 0.5em; left: 0;
	border-top: 1px solid #ccc;
	width: 10.25em;
}

/* .horizontalTreeTop li a:hover+ul:after, */
/* .horizontalTreeTop li a:hover+ul ul:after { */
	/* border-color:  #94a0b4; */
/* } */
.horizontalTreeTop li a {
	border: 1px solid #ccc;
	padding: 0.25em 0.5em;
	text-decoration: none;
	color: #666;
	/* font-family: arial, verdana, tahoma; */
	font-size: 1em;
	display: inline-block;
	vertical-align: middle;
	
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}
/* .horizontalTreeTop li a:hover, */
/* .horizontalTreeTop li a:hover+ul li a { */
	/* background: #c8e4f8;  */
	/* color: #000;  */
	/* border: 1px solid #94a0b4; */
/* } */
/* .horizontalTreeTop li a:hover+ul li:after, */
/* .horizontalTreeTop li a:hover+ul li:before,  */
/* .horizontalTreeTop li a:hover+ul:before,  */
/* .horizontalTreeTop li a:hover+ul ul:before { */
	/* border-color:  #94a0b4; */
/* } */