.img-holder {
  position: relative;
  display: block;
  width: 100%;
  height: 0px;
  overflow: hidden;
  padding-bottom: 100%;
  margin: 0px auto 0px;
}
.img-holder figure {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: block;
  margin: 0px;
  text-align: center;
  padding: 0px;
}
.img-holder figure img {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  z-index: 1;
  transition: all 0.6s ease;
  object-fit: scale-down;
  object-position: 50% 50%;
}
.img-holder.img-cover figure img {
  object-fit: cover;
}

.main-content {
  padding-bottom: 70px;
}
footer.footer {
  background: var(--bg-primary);
  /* position: fixed; */
  left: 0;
  /* width: 100%; */
  bottom: 0;
  text-align: center;
  padding: 15px 0;
  color: #fff;
  /* z-index: 999; */
}

.kyc-document .img-holder {
  padding-bottom: 62.18%;
}
.gallery-box {
  margin-bottom: 30px;
}
.gallery-box .img-holder {
  padding-bottom: 70%;
}
.navbar-vertical.navbar-expand-xs {
  background-color: #f8f9fa;
  /* z-index: 999; */
  padding-bottom: 60px;
}
.profile-img .avatar {
  position: absolute;
  right: 0;
}

.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: 50px auto;
}
.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
  content: "\f040";
  font-family: "FontAwesome";
  color: #757575;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}
.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*----------------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 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: 0px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
}
.member-image {
  width: 75px;
  position: relative;
}
.member-image img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background-color: #000;
  z-index: 1;
}

.invoice-holder {
  width: 100%;
  border: 1px solid #ababab;
  padding: 0px;
  max-width: 945px;
  margin: 0 auto;
  border-top: 0;
}
.invoice-holder table td,
.invoice-holder table th {
  border-width: 0.5px !important;
  border-color: #ababab;
  padding: 2px 3px;
}
.invoice-holder table th {
  font-size: 13px;
}
th.text-left, th.text-right {
  width: 100vh;
  text-align: center;
}
.invoice-holder table table {
  width: 100%;
}
.invoice-holder table table td {
  border-width: 0 !important;
  text-align: center;
}
.invoice-holder span.text-md {
  font-size: 14px;
  color: #344767;
}
.invoice-address {
  font-size: 16px;
  padding: 20px 0 25px;
}
.invoice-address p {
  font-size: 12px;
  margin-bottom: 0;
}
.invoice-logo {
  width: 25%;
  height: 100px;
  margin: auto;
  padding: 20px 20px 25px;
}
.invoice-logo img {
  height: 60px;
}
.invoice-row {
  width: 100%;
  padding: 0 5px;
  border-top: 1px solid #ababab;
  display: flex;
}
.invoice-row ol li {
  font-size: 12px;
}
.invoice-col {
  width: 50%;
  float: left;
  height: auto;
  padding: 5px;
  border-right: 1px solid #ababab;
}
.invoice-row .invoice-col:last-child {
  border-right: 0;
}
.invoice-total {
  background: #ebebeb;
  font-weight: 600;
}

/*--------------dashboard-footer-design----------*/
.website-content footer.footer {
  position: fixed;
  width: 100%;
  z-index: 9999;
  height: max-content;
}
/*--------------customer-kyc-detail-design----------*/
.image_zindex {
  position: relative;
  z-index: 0;
}

@media screen and (max-width: 767px) {
  footer.footer {
    height: 10%;
  }
}
@media screen and (max-width: 575px) {
  .ticket_area_card_1, .ticket_area_card_2{
    width: 100%;
  }
}


.profile_managenment_wrap .title, .wish_list_wrap .title, .return_list_wrap .title {
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-primary);
}

.profile_managenment_wrap .title h3, .wish_list_wrap .title h3, .return_list_wrap .title h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.profile_managenment_wrap .profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 15px;
}

.profile_managenment_wrap .profile {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.profile_managenment_wrap .profile h3 {
  font-size: 24px;
  margin-bottom: 0;
}

.profile_managenment_wrap .profile p {
  margin-bottom: 0;
  padding: 8px 0;
}

.profile_managenment_wrap .card {
  margin-bottom: 20px;
}

.profile_managenment_wrap ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  padding-left: 0;
}

.wish_list_wrap ul, .return_list_wrap ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  gap: 20px;
}

.wish_list_wrap ul li .card .product_items {
  display: flex;
  align-items: center;
  padding: 20px;
}

.wish_list_wrap ul li .card .product_items img, .return_list_wrap ul li .card .product_items img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
  margin-right: 20px;
}

.wish_list_wrap ul li .card .product_items h6 {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
}

.wish_list_wrap ul li .card .product_items strong {
  color: #000;
  margin-bottom: 10px;
}

.return_list_wrap ul li .card .product_items {
  display: flex;
  padding: 20px;
}


@media (max-width: 991.98px) {
  .wish_list_wrap ul,.return_list_wrap ul{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .profile_managenment_wrap ul {
    grid-template-columns: 1fr 1fr;
  }

  .wish_list_wrap ul li .card .product_items,.return_list_wrap ul li .card .product_items {
    display: inline;
  }

  .wish_list_wrap ul li .card,.return_list_wrap ul li .card {
    text-align: center;
  }

  .wish_list_wrap ul li .card .product_items img,.return_list_wrap ul li .card .product_items img {
    margin-right: 0;
    margin-bottom: 10px;
  }
 
}
