.main-header-profile .main-img-user {
  &::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: 6px;
    width: 6px;
    height: 6px;
    background-color: #17b86a;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
    border-radius: 100%;
    inset-block-end: 3px;
    display: block !important;
    inset-block-start: 35px;
  }

  display: inline-block;
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 100%;
  text-align: center;
}

.main-profile-menu .profile-user img {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  margin-inline-start: 0;
  width: 37px;
  height: 37px;
}

/* ###### 7.8 Profile  ###### */
.main-profile-social-list {
  .media {
    align-items: center;

    + .media {
      margin-block-start: 20px;
    }
  }

  .media-icon {
    font-size: 34px;
    width: 30px;
    line-height: 0;
  }

  .media-body {
    margin-inline-start: 20px;

    span {
      display: block;
      font-size: 12px;
    }

    a {
      font-size: 13px;
    }
  }
}

.main-content-body-profile {
  .nav {
    flex-direction: column;
    padding-block: 20px;
    padding-inline-start: 20px;
    padding-inline-end: 15px;
    border-block-end: 1px solid #{$border};
    margin-block-end:1.3rem;
  }

  .main-nav-line .nav-link {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    color: #{$gray-800};

    &.active {
      font-weight: 700;
      color: #{$primary};

      &::before {
        background-color: #{$primary};
      }
    }
  }
}

@media (min-width: 576px) {
  .main-content-body-profile .nav {
    flex-direction: row;
    align-items: center;
  }
  
   .main-content-body-profile .nav {
  padding-block-start: 18px;
  padding-inline-start: 14px;
  padding-block-end: 17px;
  padding-inline-end: 30px;
  }
}

@media (min-width: 992px) {
  .main-content-body-profile .nav {
    padding-inline-start: 20px;
  }
}

@media (min-width: 1200px) {
  .main-content-body-profile .nav {
    padding-inline-start: 25px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .main-content-body-profile .main-nav-line .nav-link.active::before {
    width: auto;
    inset-block-start: auto;
    inset-inline-start: 0;
    inset-inline-end: 0;
    height: 2px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .main-content-body-profile .main-nav-line .nav-link + .nav-link {
    margin-block-start: 0;
    margin-inline-start: 20px;
  }
}

.main-profile-body {
  padding: 15px 0 0;
}

@media (min-width: 576px) {
  .main-profile-body {
    padding-block-start: 20px;
  }
}

@media (min-width: 992px) {
  .main-profile-body {
    padding-block-start: 25px;
    padding-inline-start: 0;
    padding-block-end: 0;
    padding-inline-end: 20px;
  }
}

@media (min-width: 1200px) {
  .main-profile-body {
    padding-inline-start: 25px;
  }
}

.main-profile-contact-list {
  .media {
    align-items: center;

    + .media {
      margin-block-start: 25px;
    }
  }

  .media-icon {
    line-height: 0;
    font-size: 36px;
    width: 35px;
    text-align: center;
  }

  .media-body {
    margin-inline-start: 25px;

    span {
      font-size: 12px;
      color: #{$gray-600};
      display: block;
      line-height: 1.3;
    }

    div {
      font-weight: 500;
      color: #{$gray-900};
    }
  }
}

@media (max-width: 1134px) {
  .main-profile-body .media.profile-footer {
    display: block !important;

    .media-body {
      padding-block-start: 3px;
      padding-inline-start: 0;
      padding-block-end: 15px;
      padding-inline-end: 0;
    }
  }
}

@media (max-width: 578px) {
  .main-profile-menu .profile-user img {
    margin-inline-start: 0;
  }
}

.main-profile-contact-list .media-icon, .main-profile-social-list .media-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: rgb($white) ;
  font-size: 21px;
  position: relative;
  inset-block-start: 2px;
  border-radius: 100%;
}

.main-profile-body .card-header {
  padding-block-start: 0;
  padding-inline-start: 0;
}

.drop-down-profile {
  position: relative;
}

.profile-footer a {
  width: 34px;
  height: 34px;
  background: #efeff5;
  color: #{$black};
  margin: 1px auto;
  text-align: center;
  line-height: 34px;
  display: inline-block;
  border-radius: 50%;
  font-size: 12px;
}

.drop-down-profile span.assigned-task {
  position: absolute;
  font-size: 12px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  color: rgb($white) ;
  inset-block-start: 0;
  margin: 0 auto;
  text-align: center;
  border-radius: 50%;
  inset-inline-end: 0;
}

@media (max-width: 575px) {
  .main-content-body-profile .main-nav-line .nav-link.active::before {
    inset-inline-start: 0px;
  }
}

@media (max-width: 767.98px) {
  .main-profile-menu .profile-user img {
    margin-inline-start: 0 !important;
  }
}

.profile-name {
  margin-block-start: 8px;
}

@media (min-width: 601px){
.profile-cover__info .nav {
    padding-block-start: 15px;
    padding-inline-start: 0;
    padding-block-end: 10px;
    padding-inline-end: 170px;
    color: #999;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    text-align: center;
}
}
.profile-cover__info .nav li {
    font-size: 14px;
    color: #464461;
    margin-block-end: 13px;
}
.profile-cover__info , .profile-tab .main-nav-line .nav-link.active {
  color: #{$primary};
    padding: 15px;
}
.profile-cover__info .nav span {
    display: block;
    margin-block-end: 10px;
    font-size: 25px;
}
.profile-cover__info .nav li:not(:first-child) {
    margin-inline-start: 30px;
    padding-inline-start: 30px;
    border-inline-start: 1px solid rgba(238, 238, 238, 0.2);
}
.profile-tab .main-nav-line .nav-link {
    font-weight: 500;
}
.main-nav-line .nav-link {
    color: #3c4858;
    position: relative;
    border: 0px solid #ededf5;
    padding: 7px;
}
.main-content-body-profile .main-nav-line .nav-link {
    color: #3c4858;
    position: relative;
    padding: 8px 25px;
}
.profile-tab.tab-menu-heading .main-nav-line .nav-link{
    position: relative;
    padding: 4px 20px;


}
.profile-tab .main-nav-line .nav-link {
    font-weight: 500;
}
@media (min-width: 769px){
.main-nav-line .nav-link + .nav-link {
    margin-block-start: 0;
    margin-inline-start: 5px;
    padding: 8px 25px;
}
}
.user-lock img {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

@media (max-width: 768px){
  .main-nav-line .nav-link + .nav-link {
      margin-block-start: 10px !important;
      margin-inline-start: 0 !important;
  }
}

.panel-tabs.main-nav-line .nav-link {
    border-radius: 0px;
}
.profile-image img{
  position: relative;
  width: 180px;
  height: 180px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.profile-online {
  inset-block-start: 6px;
  inset-inline-end: -10px;
  position: absolute;
  border: 3px solid rgb($white);
  padding: 6px;
}
.profile-tab.tab-menu-heading {
  font-size: 14px !important;
}
.bg-white-transparent {
  background-color: rgba(255,255,255,0.4);
}

.profile-cover{
  background-image: url(../../assets/img/photos/35.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.profile-img{
  position: absolute;
  inset-block-start: -58px;
  border: 5px solid rgb($white) ;
}