body {
  color: #3e3e3e;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f4f4f4 !important;
}

h2 {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.rdgk-main {
  box-sizing: border-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

}

.rdgk-le {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.rdgk-rt {
  padding: 0 15px;
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  box-sizing: border-box;
}

/* general */
.clear {
  clear: both;
}

/* Header */
.brand {
  color: #E05E00 !important;
  font-family: georgia;
  font-style: italic;
}

/* list stuff */
#org {
  background-color: white;
  margin: 10px;
  padding: 10px;
}

#show-list {
  cursor: pointer;
}

/* bootstrap overrides */
.alert-message {
  margin: 2px 0;
}

/*
.topbar{
	position 			: absolute;
}*/

/* Custom chart styling */
.jOrgChart {
  /*margin                : 10px;
  padding               : 20px;*/
}

/* Custom node styling */
.jOrgChart .node {
  font-size: 16px;
  border-radius: 8px;
  color: #fff;
  -moz-border-radius: 8px;
  min-height: 40px;
}

.node p {
  font-family: tahoma;
  font-size: 10px;
  line-height: 11px;
  padding: 2px;
}

.jOrgChart .organ {
  width: 40px;
  /*height:370px;*/
}

.jOrgChart .line {
  width: 2px !important
}

.jOrgChart .down {
  /*margin-right: 50.7%;*/
  height: 40px;
}

.jOrgChart table {
  margin-left: auto;
  margin-right: auto;
}

.jOrgChart .right {
  border-left: 2px solid black;
}

@media screen and (max-width: 768px) {
  .rdgk-rt {
    display: none;
  }

  .rdgk-le {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .main-box {
    background-color: transparent;
  }

  .tree-menu {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .tree-item {
    color: #222;
    /* border-bottom: 1px solid #f0f0f0; */
  }

  .tree-item:last-child {
    border-bottom: none;
  }

  .item-header {
    display: flex;
    cursor: pointer;
    position: relative;
    align-items: center;
    font-weight: normal;
    font-size: 15px;
    padding-left: 25px;
  }

  .item-header.has-children::before {
    content: '';
    position: absolute;
    left: 0;
    width:20px;
    height: 20px;
    /* border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb; */
    /* transform: rotate(45deg); */
    transition: transform 0.3s;
    background: no-repeat center;
    background-image: url(./icon-down.png);
    background-size: cover;
    transform: rotate(-90deg);
  }

  .item-header.open.has-children::before {
    transform: rotate(0);
  }

  .item-header .indicator {
    margin-right: 8px;
    color: #aaa;
    font-size: 18px;
  }

 
  .item-children .tree-item {
    border-bottom: none;
  }

  .item-children .item-header {
    padding: 0 15px;
    line-height: 2;
    padding-left: 25px;
    min-height: 20px;
  }

  .level-2{
    margin-left: 10px;
  }
  .level-3{
    margin-left: 20px;
  }
  .level-4{
    margin-left: 30px;
  }
  .level-5{
    margin-left: 40px;
  }
  .item-children:last-child .tree-item{
    margin-left: 15px;
  }
  /* .level-2> .item-header {
    padding-left: 25px;
  }

  .level-3> .item-header {
    padding-left: 35px;
  }

  .level-4> .item-header {
    padding-left: 45px;
  }

  .level-5> .item-header {
    padding-left: 55px;
  } */
}