
.nd-wrap-content--family-tree .nd-content {
  position: relative;
  padding: 0;
}
.content__tree {
  position: relative;
  /* padding: 18px 4px 4px; */
  width: 100%;

  height: 100%;
  /* height: 100%; */
  /* max-height: 638px; */
  background: #F6F6F6;
}

.control-pannel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.control-pannel__top {
  position: absolute;

  /* left: 30px;
  top: 15px; */
  z-index: 5;
  width: 100%;

  display: flex;
  justify-content: space-between;

  gap: 15px;

  padding: 15px 30px;


}


.tree-app-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 18px 4px 4px;
  scrollbar-color: #2F6E5B #eee;
  scrollbar-width: auto;
  cursor: grab;
  overflow: scroll;
  /* max-height: 638px; */
}


#tree-app-wrap__child-wrap {
  display: inline-block;
  margin: 100%;

  /* position: relative;

  width: max-content;
  height: max-content; */

  /* margin-top: 900px;
  margin-bottom: 900px;
  margin-left: 900px;
  padding-right: 900px; */

  background-color: #F6F6F6;
  z-index: 9;

  -ms-overflow-style: none;
  scrollbar-width: none;
}
#tree-app-wrap__child-wrap::-webkit-scrollbar {
  display: none;
}




#tree_breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  flex: 0 1 auto;
  width: 100%;
  overflow: hidden;


}

.tree_breadcrumbs__body {
  display: flex;
  align-items: center;
  overflow-x: auto;
  width: max-content;
  padding: 5px;
  background: #fff;
  border-radius: 50px;
}



#tree_breadcrumbs .tree_breadcrumbs__main {
  flex: 0 0 auto;
}

#tree_breadcrumbs .tree_breadcrumbs__other {
  position: relative;
  display: none;
}

.tree_breadcrumbs__other:has( .tree_breadcrumbs__list .div ) {
  display: flex;
}


#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav {
  display: none;
  padding: 10px 10px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: #E9EBF0;
  backdrop-filter: blur(5px);
  position: absolute;
  z-index: 5;
  cursor: pointer;
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav:hover {
  background: #DBDEE7;
  backdrop-filter: blur(5px);
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav:active {
  outline: 1px solid #B7BDCE;
  background: #DBDEE7;
  backdrop-filter: blur(5px);
}




#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav.tree_breadcrumbs__right {
  right: 5px;
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav.tree_breadcrumbs__right i{
  transform: rotate( -180deg );
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav i{
  display: block;
  width: 24px;
  height: 24px;
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav i::before{
  background-color: #444444;
}




#tree_breadcrumbs .tree_breadcrumbs__other.tree_breadcrumbs__other--scroll::before,
#tree_breadcrumbs .tree_breadcrumbs__other.tree_breadcrumbs__other--scroll::after {
  content: "";
  position: absolute;
  min-width: 50px;
  max-width: 100px;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#tree_breadcrumbs .tree_breadcrumbs__other.tree_breadcrumbs__other--scroll::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 55%, rgba(255,255,255,.1) 100%);
}
#tree_breadcrumbs .tree_breadcrumbs__other.tree_breadcrumbs__other--scroll::after {
  right: 0;

  min-width: 50px;
  max-width: 60px;

  background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.5) 25% ,rgba(255,255,255,1) 100%);
}

#tree_breadcrumbs .tree_breadcrumbs__other::-webkit-scrollbar {
  width: 0;
  display: none;
}



.tree_breadcrumbs__list{
  position: relative;
  display: flex;
  /* overflow: hidden;
  overflow-x: scroll; */

  white-space: nowrap; /* [1] */
  overflow-x: auto; /* [2] */
  -webkit-overflow-scrolling: touch; /* [3] */
  -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */


  flex-wrap: nowrap;
  gap: 8px;
}



#tree_breadcrumbs .tree_breadcrumbs__item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px 10px 20px;
  border: 1px solid #B7BDCE;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  color: #326E5B;
  background: #fff;

}

#tree_breadcrumbs .tree_breadcrumbs__item:hover {
  border: 1px solid #326E5B;
  cursor: pointer;
}

#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item {
  padding-right: 6px;
}


#tree_breadcrumbs .tree_breadcrumbs__item:not( .tree_breadcrumbs__item--active ) {
  cursor: pointer;
}

#tree_breadcrumbs .tree_breadcrumbs__item.tree_breadcrumbs__item--active {
  border: 1px solid #326E5B;
  color: #fff;
  background: #8DBEAF;
}

#tree_breadcrumbs .tree_breadcrumbs__main .tree_breadcrumbs__item i {
  display: block;
  width: 20px;
  height: 20px;
}

#tree_breadcrumbs .tree_breadcrumbs__main .tree_breadcrumbs__item i::before {
  background-color: #326E5B;
}



#tree_breadcrumbs .tree_breadcrumbs__main .tree_breadcrumbs__item.tree_breadcrumbs__item--active i::before {
  background-color: #fff;
}



#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item .breadcrumb__close {
  display: flex;
  justify-content: center;
  font-style: italic;
  align-items: center;


  padding: 4px;
  margin-top: -4px;
  margin-bottom: -4px;

  cursor: pointer;
  border-radius: 50%;
}


#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item .breadcrumb__close i {
  width: 20px;
  height: 20px;
}

#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item.tree_breadcrumbs__item--active .breadcrumb__close:hover {
  background: rgba(255, 255, 255, 0.30);
}








.tree_breadcrumbs__list::-webkit-scrollbar {
  width: 0;
  display: none;
}

.tree_breadcrumbs__item .breadcrumb__close {
  display: none
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item .breadcrumb__close i::before {
  background-color: #B7BDCE;
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item .breadcrumb__close:hover {
  background: #DBDEE7;
}
#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item .breadcrumb__close:hover i::before {
  background-color: #444444;
}



#tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__item.tree_breadcrumbs__item--active .breadcrumb__close i::before {
  background-color: #FFF;
}

.tree_breadcrumbs__item.tree_breadcrumbs__item--active .breadcrumb__close:hover i::before {
  background-color: #326E5B;
}








.card__container {
top: 90px;
right: 55px;
}

.nd_calendar__button {
cursor: pointer;
}
.nd_calendar__button.nd-icon {
width: 24px;
height: 24px;
position: absolute;
right: 11px;
top: 11px;
}

.nd_calendar__button.nd-icon::before {
background-color: #b7bdce;
}

.ui-datepicker-trigger {
display: none;
}


.nd-sidebar.right {
    width: 308px;
    width: 25%;
    height: auto;
    padding-top: 0;
    top: unset;
    position: relative;
    flex-shrink: 0;
    background-color: var(--color-white);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.12);
    border-radius: 15px 0px 0px 15px;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 0;
}
.nd-sidebar span {
/* display: block;
color: var(--black, #444);
font-family: Proxima Nova;
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: normal;
margin-bottom: 16px; */
}
.nd-sidebar span.small_grey {
    margin-left: 8px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: gray;
}

  .nd-sidebar__decrease_right {
    width: 10px;
    height: 48px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: var(--color-white);
    box-shadow: none;
    border-radius: 14px 0px 0px 14px;
    z-index: 2;
    cursor: pointer;
}
  .nd-sidebar.right__small .nd-sidebar__decrease_right i::before {
      transform: rotate(0deg);
  }
  .nd-sidebar__decrease_right i::before {
      width: 16px;
      height: 100%;
      position: relative;
      left: -5px;
      background-color: var(--color-black);
      transform: rotate(180deg);
  }

  .right__small {
      padding: 0 !important;
      padding-left: 20px !important;
      width: 20px !important;
  }
  .nd-sidebar.right .aside_title {
    position: absolute;
    height: -moz-fit-content;
    height: fit-content;
    top: 0;
    left: 0;
    right: 0;
    background: #FAFAFA;
    border-radius: 15px 15px 0px 0px;
    padding: 24px;
    display: flex;
    align-items: center;
}



.content__tree.fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 900;
}
.preloader_tree {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 101;
  background: #F6F6F6;
}


.preloader_tree-layer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
    border-radius: 50%;
    color: #2F6E5B;
}

.preloader_tree-layer-1 {
    border-color: green;
    width: 60px;
    height: 60px;
    animation: rotate 2s infinite;
    border-top-color: transparent;
    border-right-color: transparent;
    color: #2F6E5B;
}

.preloader_tree-layer-2 {
  border-color: green;
  animation: rotate 2s infinite .4s;
  width: 45px;
  height: 45px;
  transform: rotate(-20deg);
  border-top-color: transparent;
  border-right-color: transparent;
  color: #2F6E5B;
}

.preloader_tree-layer-3 {
  border-color: green;
  width: 30px;
  height: 30px;
  animation: rotate 2s infinite .6s;
  transform: rotate(-20deg);
  border-top-color: transparent;
  border-right-color: transparent;
  color: #2F6E5B;
}

@keyframes rotate {
  from {
  }
  to {
    transform: rotate(360deg);
  }
}



@media screen and (-webkit-min-device-pixel-ratio:0) {
    select,
    textarea,
    input {
    font-size: 16px;
    }
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select:focus,
    textarea:focus,
    input:focus {
    font-size: 16px;
    }
}

.nd_calendar__button {
    cursor: pointer;
  }
  .nd_calendar__button.nd-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 11px;
    top: 11px;
  }

  .nd_calendar__button.nd-icon::before {
    background-color: #b7bdce;
  }

  .ui-datepicker-trigger {
    display: none;
  }




  @media screen and (max-width: 768px) {





    .nd-wrap-content {
      height: 100% !important;
      min-height: auto !important;
      /* max-height: calc(100svh - 65px); */
      /* min-height: calc(100svh - 65px); */
    }
    .nd-wrap-content.nd-wrap-content--family-tree {
      padding: 0;
    }
    .page-template-tree .nd-wrap-content .nd-content .content__tree {
      height: calc(100svh - 150px);
      overflow: unset !important;
      padding: 0 !important;
    }
    .tree-app-wrap {
      /* height: calc(100svh - 65px); */
      height: 100%;
      /* -ms-touch-action: pinch-zoom;
      touch-action: pinch-zoom; */

    }
    .control-pannel {
      /* height: calc(100% - 20px); */
    }

    .control-pannel__top {
      width: calc(100% - 20px - 8px);
      padding: 0;
    }


    #tree_breadcrumbs .tree_breadcrumbs__main {
      display: flex;
      gap: 8px;
    }
    #tree_breadcrumbs .tree_breadcrumbs__other {
      position: absolute;
      flex-direction: column;

      align-items: flex-start;
      overflow-y: auto;
      top: calc(100% + 10px);

      display: none;
      max-height: 350px;
      padding: 18px;
      width: 100%;

      border-radius: 25px;
      box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.12);
    }


    #tree_breadcrumbs .tree_breadcrumbs__other.mobile-show {
      display: flex;
    }
    #tree_breadcrumbs .tree_breadcrumbs__other::before,
    #tree_breadcrumbs .tree_breadcrumbs__other::after {
      display: none !important;;
    }
    #tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__nav {
      display: none !important;
    }
    #tree_breadcrumbs .tree_breadcrumbs__other .tree_breadcrumbs__list {
      flex-direction: column;
    }
    #tree_breadcrumbs .tree_breadcrumbs__item {
      justify-content: space-between;
    }




    .tree_breadcrumbs-open_mobile_list {
      border-radius: 100px;
      background: #DBDEE7;

      display: flex;
      padding: 10px 10px;

      /* transform: rotate(180deg); */

      justify-content: center;
      align-items: center;
      gap: 10px;

      backdrop-filter: blur(5px);
    }
    .tree_breadcrumbs-open_mobile_list.show  {
      transform: rotate(180deg);
      /* translate: ; */
    }
    .tree_breadcrumbs-open_mobile_list i {
      display: block;
    }
    .tree_breadcrumbs-open_mobile_list i::before {
      background-color: #444444;
      height: 20px;
      width: 20px;
    }

    .tree_breadcrumbs-open_mobile_list:active {
      border-radius: 100px;
      outline: 1px solid var(--gray, #B7BDCE);
      background: #DBDEE7;

      backdrop-filter: blur(5px);
    }

    #tree_breadcrumbs .tree_breadcrumbs__item {
      font-size: 12px;
    }





  }
  @media screen and (max-width: 475px) {


    .content__tree {
      /* position: relative; */
      /* margin-left: 20rem; */
      /* margin-right: 20rem; */
      /* width: 100%; */
      padding: 0;
      border-radius: 5px;
    }
    .mobile_rotate {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      background:rgb(0 0 0 / 60%);
      /* display: flex; */
      flex-direction: column;
      justify-content: flex-start;
      z-index: 555;
      backdrop-filter: blur(4px);
    }
    .mobile_rotate__inner {
      display: flex;
      flex-direction: column;
      padding: 18px;
      margin-top: 10%;
    }
    .mobile_rotate__inner span {
      margin-left: auto;
    }
    .mobile_rotate__inner .rotate_show {
      margin: 150px auto 40px;
      width: 170px;
    }
    .mobile_rotate__inner p {
      color: #fff;
      font-family: 'Source Serif Pro';
      font-style: normal;
      font-weight: 700;
      font-size: 21px;
      line-height: 25px;
      text-align: center;
    }

    .tree_breadcrumbs__mobile--active {
      display: none;
    }

    #tree_breadcrumbs {
        padding: 0px;
    }


  }



