/*----------------genealogy-scroll----------*/

.genealogy-scroll::-webkit-scrollbar {
  width: 5px;
  height: 8px;
}
.genealogy-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #e4e4e4;
}
.genealogy-scroll::-webkit-scrollbar-thumb {
  background: #212121;
  border-radius: 10px;
  transition: 0.5s;
}
.genealogy-scroll::-webkit-scrollbar-thumb:hover {
  background: #d5b14c;
  transition: 0.5s;
}

/*----------------genealogy-tree----------*/
.genealogy-body {
  white-space: nowrap;
  overflow-y: hidden;
  padding: 50px;
  min-height: 500px;
  padding-top: 10px;
  text-align: center;
}
.genealogy-tree {
  display: inline-block;
}
.genealogy-tree ul {
  padding-top: 20px;
  position: relative;
  padding-left: 0px;
  display: flex;
  justify-content: center;
}
.genealogy-tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 20px 0 20px;
}
.genealogy-tree li::before,
.genealogy-tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid #ccc;
  width: 50%;
  height: 18px;
}
.genealogy-tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid #ccc;
}
.genealogy-tree li:only-child::after,
.genealogy-tree li:only-child::before {
  display: none;
}
.genealogy-tree li:only-child {
  padding-top: 0;
}
.genealogy-tree li:first-child::before,
.genealogy-tree li:last-child::after {
  border: 0 none;
}
.genealogy-tree li:last-child::before {
  border-right: 2px solid #ccc;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}
.genealogy-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;
}
.genealogy-tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid #ccc;
  width: 0;
  height: 20px;
}
.genealogy-tree li a {
  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;
}

.genealogy-tree li a:hover + ul li::after,
.genealogy-tree li a:hover + ul li::before,
.genealogy-tree li a:hover + ul::before,
.genealogy-tree li a:hover + ul ul::before {
  border-color: #fbba00;
}

/*--------------memeber-card-design----------*/
.member-view-box {
  padding: 0px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
}
.member-image {
  width: 80px;
  position: relative;
}
.member-image img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background-color: #000;
  z-index: 1;
}
.member-details {
  background: #eb9f27;
  color: #fff;
  margin: 5px 0;
  height: 20px;
  width: 100px;
}
.genology-name {
  padding: 3px;
}

.member-image.add-new {
  /* width: 51px; */
  padding: 25% 20%;
  background: #bcc4cf;
  border-radius: 69%;
}
.icon-dual-add {
  color: #585a66;
  fill: rgba(83, 105, 248, 0.16);
  width: 50px;
  stroke-width: 3;
}

.tip {
  display: inline-block;
  cursor: pointer;
}

/* tooltip content */

.tooltip h2 {
  white-space: nowrap;
}

/* demo styles */
.append {
  margin-left: 1em;
}
.genealogy-tree li {
  font-size: 18px;
  margin-bottom: 20px;
}

/****Tree View****/

.child-child-team .child-team:after {
  background: url('../images/child-line.png');
  background-size: 100% 54%;
  background-repeat: no-repeat;
  height: 145px;
  width: 34px;
  z-index: -9;
}

.team-count {
  position: absolute;
  top: -20px;
  right: -30px;
  background: #edae00;
  width: 80px;
  height: 65px;
  border-radius: 50%;
  text-align: center;
}
.team-count span {
  color: #fff;
  font-family: 'Numberfont';
  font-size: 25px;
  transform: translate(-15px, 22px);
}
.child-team .team-count {
  background: #12a04c;
}
.child-child-team .child-team .team-count {
  background: #edae00;
}

.side-right {
  overflow: hidden;
  width: 60px;
}

.active-left {
  border: 1px solid #eee;
  min-height: 100px;
  margin-top: 20px;
  padding: 10px;
  display: flex;
  align-items: center;
}
.active-left p {
  font-family: 'Myriad Pro bold';
  color: #364f8c;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 13px;
  margin-bottom: 0px;
  padding-left: 6%;
}
.active-left p span {
  color: #e0e0e0;
  text-transform: lowercase;
  margin-left: 6px;
}
.active-left-img {
  margin-left: auto;
  position: relative;
}
.active-left-img img {
  width: 95px;
  margin-top: -10px;
}
.active-left-img p {
  position: absolute;
  left: 22%;
  top: 50%;
  font-size: 40px;
  font-family: 'Numberfont';
  padding-left: 2px;
}
.active-left-img p span {
  color: #dfa400;
}
.right-img p {
  margin-left: 15px;
}

.right-img p span {
  color: #364f8c;
}
.sponsor-team {
  margin-top: 20px;
}
.parent-team {
  background: #f8f9fa;
  min-height: 45px;
  width: 200px;
  box-shadow: 0px 0px 5px #d4d4d4;
  margin-top: 20px !important;
  display: flex;
  margin-left: 10px !important;
  position: relative;
  cursor: pointer !important;
}
@media (max-width: 767px) {
  .parent-team {
    background: #f8f9fa;
    min-height: 45px;
    width: 100%;
    box-shadow: 0px 0px 5px #d4d4d4;
    margin-top: 20px !important;
    display: flex;
    margin-left: 10px !important;
    position: relative;
    cursor: pointer !important;
  }
}
.child-team {
  background: #f8f9fa;
  min-height: 45px;
  width: 200px;
  box-shadow: 0px 0px 5px #d4d4d4;
  margin-top: 10px;
  display: flex;
  margin-left: 35px;
  position: relative;
  cursor: pointer;
}
.child-child-team .child-team {
  margin-left: 60px;
}
.parent-team p {
  color: #364f8c;
  text-transform: uppercase;
  font-family: 'Myriad Pro Bold';
  padding-left: 5px;
  margin-bottom: 0px;
}
.child-team p {
  color: #364f8c;
  text-transform: uppercase;
  font-family: 'Myriad Pro Bold';
  padding-left: 5px;
  margin-bottom: 0px;
}
.parent-team span,
.child-team span {
  font-size: 12px;
  display: inline-block;
  padding-left: 5px;
  color: #9c9c9c;
}
.team-count {
  position: absolute;
  top: -20px;
  right: -30px;
  background: #edae00;
  width: 80px;
  height: 100px;
  border-radius: 50%;
  text-align: center;
}
.team-count span {
  color: #fff;
  font-family: 'Numberfont';
  font-size: 25px;
  transform: translate(-15px, 22px);
}
.child-team .team-count {
  background: #12a04c;
}
.child-child-team .child-team .team-count {
  background: #edae00;
}
.side-text {
  padding: 8px 5px 5px;
}
.parent-team {
  background: #f8f9fa;
  min-height: 45px;
  width: 25%;
  box-shadow: 0px 0px 5px #d4d4d4;
  margin-top: 20px;
  display: flex;
  margin-left: 10px;
  position: relative;
  cursor: pointer;
}
@media (max-width: 767px) {
  .parent-team {
    background: #f8f9fa;
    min-height: 45px;
    width: 100%;
    box-shadow: 0px 0px 5px #d4d4d4;
    margin-top: 20px;
    display: flex;
    margin-left: 10px;
    position: relative;
    cursor: pointer;
  }
}
.child-team:after {
  /* content: '';
  left: -27px;
  top: -55px;
  position: absolute;
  background: url(../images/parent-line.png);
  background-size: 100% 54%;
  background-repeat: no-repeat;
  height: 165px;
  width: 34px;
  z-index: -9; */
  content: '';
  position: absolute;
  top: -5px;
  left: -31px;
  border-left: 2px dashed #a2a5b5;
  width: 1px;
  height: 100%;
}
span .main-team li .side-text::before {
  content: '';
  position: absolute;
  border-top: 2px dashed #a2a5b5;
  top: 63px;
  left: -30px;
  width: 30px;
}
.child-present:before {
  content: '+';
  left: -13px;
  top: 20px;
  position: absolute;
  background: #ffd664;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-family: 'Myriad Pro Bold';
  text-align: center;
}

.minus-sign:before {
  content: '-';
}
.child-visible,
.child-child-team {
  display: none;
}
.display-flex {
  display: flex;
}

/*.collapsibleList li{
    cursor           : auto;
    list-style: none;
  }
  .li-plus{
    margin-right: 10px;
  }
  li.collapsibleList{
    cursor           : auto;
    list-style: none;
  }
  li.collapsibleList a,li.collapsibleListOpen a,li.collapsibleListClosed a{
    padding-left: 10px;
  }
  li.collapsibleListOpen{
    cursor           : pointer;
    list-style: none;
  }
  li.collapsibleListClosed{
    cursor           : pointer;
    list-style: none;
  }
  
  .treeView{
        -moz-user-select:none;
        position:relative;
    }
  
.treeView ul{
    margin:0 0 0 -1.5em;
    padding:0 0 0 1.5em;
}
*/
/*.treeView ul ul{
    background:url('../images/icons/list-item-contents.png') repeat-y 10px 0px;
}
*/
.treeView li.lastChild > ul {
  background-image: none;
}

.treeView li {
  margin: 0;
  padding: 15px 0px;
  list-style-position: inside;
  cursor: auto;
}
.stree-username:hover {
  color: #2da185;
  font-weight: 600;
}

.treeView li.collapsibleListOpen {
  cursor: pointer;
}

.treeView li.collapsibleListClosed {
  cursor: pointer;
}

.treeView li li {
  background: url('../images/icons/list-item.png') no-repeat 10px 13px;
  padding-left: 1.5em;
}

.treeView li.lastChild {
  background-image: url('../images/icons/list-item-last.png');
}

.treeView li.collapsibleListOpen {
  background-image: url('../images/icons/list-item-open.png');
}

.treeView li.collapsibleListOpen.lastChild {
  background-image: url('../images/icons/list-item-last-open.png');
}
.stree-username {
  border: 1px solid #2da185;
  padding: 2px 15px;
  color: #424c5e;
  font-weight: 500;
  position: relative;
  margin-left: 15px;
}
.stree-username:after {
  content: ' ';
  position: absolute;
  left: -15px;
  top: -1px;
  border-top: 13px solid transparent;
  border-right: 14px solid #2ca084;
  border-left: none;
  border-bottom: 12px solid transparent;
}
.fullname {
  font-size: 10px;
  color: #2da185;
}
.position {
  font-size: 11px !important;
  color: #edae00 !important;
}

/****End of Tree View****/
.cols {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}
.cols-auto {
  flex: 0 0 auto;
  max-width: 100%;
}
.ft-10{font-size: 10px;}
