.tree {
    min-height:20px;
    padding:19px;
    margin-bottom:20px;
}
.tree li {
    list-style-type:none;
    margin:0;
    padding:10px 5px 0 5px;
    position:relative;
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto;

}
.tree li::before {
    border-left:1px solid #e2e2e2;
    bottom:50px;
    height:100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:1px solid #e2e2e2;
    height:20px;
    top:30px;
    width:25px
}
.tree li span {
    /* -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none */
}
.tree li.parent_li>span {
    cursor:pointer
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:30px
}
.tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
    background:#eee;
    border:1px solid #94a0b4;
    color:#000
}

/*len*/

.orgBlock{
    overflow: hidden;

}
.orgWrap{
    margin: 0 auto;
    position: relative;
    /*left:50%;*/
    top:0;
    cursor: move;
    -webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;
}
.level1s{
    margin-top: 10px;
}
/*第一层*/
.level1s .level1{
    /*margin: 0 auto;*/
    width: fit-content;
}
/*.level1s .level1::before{
    content: '';
    display: block;
    border-left: 1px solid #a9a9a9;
    height: 100px;
    position: absolute;
    top:100%;
    left:50%;
    z-index: 0;
}*/
.level1s .level1 .content{
  margin-bottom: 20px;
}
.level1s .level1 .content::before{
  content: '';
  display: block;
  border-left: 1px solid #e2e2e2;
  height: 20px;

  position: absolute;
  top:calc(100% + 3px);
  left:50%;
  z-index: 0;

}
.level1s .level1 .noChildren::before{
  border-left: 0;
}
.orgWrap .noChildren .name{
    /* width: 170px; */
    position: relative;
    height:42px;
    line-height: 42px;
    width:fit-content;
    min-width: 100px;
    border: 3px solid #e2e2e2;
    text-align: center;
    font-size: 14px;
}
/*第二层*/
.level2s{
    position: relative;
    z-index: 2;
}
.divider{
    height: 20px;
    /* margin-left: 25px; */
    border-top:1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    z-index: 2;
    position: relative;
}
.level2s .level2{
    display: inline-block;
    position:absolute ;
    list-style: none;
}
.level2s .level2 .content{
    /* width: 170px; */
    border: 1px solid #d2d2d2;
    position: relative;
    border-radius:3px;
}

/*.level2s .level2.noneChild{*/
    /*padding-right: 40px;*/
/*}*/
.level2s .level2>.content::before{
    content: '';
    display: block;
    position: absolute;
    border-left: 1px solid #e2e2e2;
    left:50%;
    height:20px;
    top:-22px;
    z-index:2;
}
.level2s .level2:first-child .content::before, .level2s .level2:last-child .content::before{
    content: '';
    border-left: none;
}
.tree{
    display: inline-block;
    border: none;
    padding: 0;
}
/* .tree span{
    width: 250px;
    height: 100px;
} */
/*icon样式*/
.level1>.icon,.noneChild .icon{
    display: none;
}
.organization.content{
    position: relative;
}
/*第二层只有一个*/
#oneChild .divider{
    border: none;
    display:none;

}
#oneChild .level1s{
    width:fit-content;
}
#oneChild .level1{
    left:0;
}
/**没有第二层*/
#noneLevel2  .divider{
    border: none;
}

#noneLevel2 .level1s .level1 .content::before{
    content:'';
    border:none;
}
#noneLevel2 .level2s{
    display: none;
}

/*内部样式*/
.organization.content{
    border: 2px solid #e2e2e2;
    text-align: center;
    font-size:14px;
    width:fit-content;
    min-width:100px;
}
.content .left,.content .right{
    position: absolute;
    top:0;
    border: 1px dotted #e2e2e2;
    height:20px;
    width: 30px;
    font-style: normal;
}
.content .right{
    right:0;
    width: 40px;
    text-align: center;
}
.content .right .dv1,.content .right .dv2{
    width: 20px;
    box-sizing: border-box;
    display: inline-block;
    font-style: normal;
}
.content .right .dv2{
    border-left:1px dotted #e2e2e2;
}
.content .left{
    left:0;
    width: 20px;
}
.content .middle{
    margin:10px 0;

}
.content .bottom{
}
.content .bottom>div:not(:last-child){
    border-bottom: 1px dotted #e2e2e2 ;
    background: #38de29;
}
.content .bottom>div{
    background: #38de29;
}
/*加减号样式*/
.orgWrap .content i{
    position:absolute;
    bottom:auto;
    left: 5px;
    cursor:pointer;
    top: 8px;
    color: #5FB878;
}

.no-border:before{
    border-left: 0px !important;
}

.glyphicon-plus-sign:before {
    content: "\e65f"
}

.glyphicon-minus-sign:before {
    /*transform: rotate(180deg);*/
    /*-ms-transform: rotate(180deg);		!* IE 9 *!*/
    /*-webkit-transform: rotate(180deg);	!* Safari and Chrome *!*/
    /*-o-transform: rotate(180deg);		!* Opera *!*/
    /*-moz-transform: rotate(180deg);		!* Firefox *!*/
    content: "\e625"
}



.dept-icon{
    position: absolute;
    bottom: 3px;
    left: 3px;
    cursor: pointer;
}
.orgWrap ul,ol{
    margin-left: 20px;
}
/*第一层减号图标去掉*/
.orgWrap .level1 .content i{
    display: none;
}
.level2s {
    position: relative;
    z-index: 2;
    margin: 0;
    margin-left: 0 !important;
    padding: 0;
}
.level2s .level2{
    position: relative;
    vertical-align:top;
    min-width:85px;
    margin-right: 15px;
}
.orgWrap .content .name{
    height:35px;
    line-height: 35px;
    text-align: center;;
    padding: 0 25px;
    color: #666;
    background-color: #fff;
}
.level2s li:last-child{
    padding-right: 0 !important;
}
.thisaction{
	height: auto;
	background-color: #f8f8f8;
	padding: 3px;
    border-top:1px solid #eee; 
}
.thisaction a{
	color: #aaa;
	font-size:12px;
	text-align: center;
	margin: 0 10px;
	cursor:pointer;
}