.icon-spin {
  display: inline-block;
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}
.no-border-radius {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-justify {
  text-align: justify;
}
.text-line-through {
  text-decoration: line-through;
}
.box-heading {
  font-weight: bold;
  font-family: 'Oswald';
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  #sidebar {
    z-index: 99999;
    position: relative;
  }
  #page-wrapper {
    margin-top: 50px;
  }
  #topbar .navbar-header {
    width: 100%;
    text-align: left;
  }
  #topbar .navbar-header #logo {
    line-height: auto;
    width: auto;
    height: auto;
  }
  #topbar .navbar-header .navbar-toggle {
    margin: 4px 15px;
    border: 0;
  }
  #topbar .navbar-header .navbar-toggle:hover,
  #topbar .navbar-header .navbar-toggle:focus {
    background: transparent;
    color: #488c6c;
  }
  #topbar .navbar-header .navbar-toggle .icon-bar {
    background: #ffffff;
    width: 30px;
    height: 5px;
    border-radius: 0;
  }
  #topbar .navbar-top-links {
    margin-left: 15px;
    margin-right: 15px;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px;
  }
  #footer {
    position: relative;
  }
  #sidebar-hover #topbar .navbar-header {
    width: 100%;
  }
  #sidebar-hover #wrapper #page-wrapper {
    margin-left: 0px;
  }
  #sidebar-hover .dropdown-submenu > .dropdown-menu {
    margin-left: 0;
  }
  .timeline-centered .timeline-entry {
    width: 100%;
    float: left;
  }
  .horizontal-menu-page #sidebar {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-collapse {
    display: block;
  }
  #topbar .navbar-header {
    text-align: center;
  }
  #topbar .navbar-header #logo {
    line-height: auto;
    width: 100%;
    height: auto;
  }
  #topbar .navbar-header .navbar-toggle {
    margin: 4px 15px;
    border: 0;
  }
  #topbar .navbar-header .navbar-toggle:hover,
  #topbar .navbar-header .navbar-toggle:focus {
    background: transparent;
    color: #488c6c;
  }
  #topbar .navbar-header .navbar-toggle .icon-bar {
    background: #ffffff;
    width: 30px;
    height: 5px;
    border-radius: 0;
  }
  #topbar .navbar-top-links {
    margin-left: 15px;
    margin-right: 15px;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px;
  }
  #footer {
    position: relative;
  }
  .timeline-centered .timeline-entry {
    width: 100%;
    float: left;
  }
  .horizontal-menu-page #sidebar {
    display: block;
  }
}
@media only screen and (min-width: 641px) and (max-width: 1280px) {
  .news-update-box {
    display: none;
  }
}
@media only screen and (min-width: 1281px) and (max-width: 1520px) {
  #topbar #topbar-search {
    width: 200px;
  }
  span.text-uppercase {
    display: none;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px 15px;
  }
  .news-update-box {
    width: 300px;
  }
}
/* BEGIN FLIP SCROLL RESPONSIVE TABLE */
@media only screen and (max-width: 800px) {
  /* Flip Scroll */
  #flip-scroll .cf:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  #flip-scroll * html .cf {
    zoom: 1;
  }
  #flip-scroll *:first-child + html .cf {
    zoom: 1;
  }
  #flip-scroll table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }
  #flip-scroll th,
  #flip-scroll td {
    margin: 0;
    vertical-align: top;
  }
  #flip-scroll th {
    text-align: left;
  }
  #flip-scroll table {
    display: block;
    position: relative;
    width: 100%;
  }
  #flip-scroll thead {
    display: block;
    float: left;
  }
  #flip-scroll tbody {
    display: block;
    width: auto;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
  }
  #flip-scroll thead tr {
    display: block;
  }
  #flip-scroll th {
    display: block;
    text-align: right;
  }
  #flip-scroll tbody tr {
    display: inline-block;
    vertical-align: top;
  }
  #flip-scroll td {
    display: block;
    min-height: 1.25em;
    text-align: left;
  }
  #flip-scroll th {
    border-bottom: 0;
    border-left: 0;
  }
  #flip-scroll td {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  #flip-scroll tbody tr {
    border-left: 1px solid #babcbf;
  }
  #flip-scroll th:last-child,
  #flip-scroll td:last-child {
    border-bottom: 1px solid #babcbf;
  }
  /* Flip Scroll */
  /* No More Table */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #no-more-tables tr {
    border: 1px solid #ccc;
  }
  #no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }
  #no-more-tables td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  #no-more-tables td:before {
    content: attr(data-title);
  }
  /* No More Table */
}
/* END FLIP SCROLL RESPONSIVE TABLE */

/* Genealogy styles */
.genealogy-tree {
  list-style-type: none;
}
.genealogy-tree ul li {
  list-style-type: none;
}


/* .genealogy{
  width: 180px;
  border: 1px solid #40516f;
  border-radius: 5px;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}
.genealogy img {
  width: 63px;
  display: block;
  margin: 0 auto;
}
.genealogy .associate-id {
  display: block;
  text-align: center;
}
.genealogy .associate-name {
  display: block;
  text-align: center;
  font-weight: 700;
}
.genealogy .level {
  display: block;
  text-align: center;
  font-weight: 700;
}
.genealogy::after {
  width: 2px;
} */


.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 5px 0 5px;
}
.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: 10px 15px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  border: 2px solid #15a8af;
  width: 180px;
}
.member-image{
  /* width: 60px; */
  position: relative;
  padding-bottom: 10px;
}
.member-image img{
  width: 60px;
  height: 60px;
  border-radius: 6px;
z-index: 1;
}
.associate-name {
  font-weight: 700;
}
