.avatar-sm {
  width: 40px;
  height: 40px;
  background-color: #181c18;
  border-radius: 50%;
  overflow: hidden;
  text-transform: uppercase;
  color: var(--color-acc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-sm img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.dropdown .avatar-sm:hover {
  color: var(--color-main);
}

.account-wrap {
  padding-top: 40px;
  padding-bottom: 80px;
}

.account-header {
  display: flex;
  margin-bottom: 24px;
}
.account-header__start, .account-header__end {
  margin-bottom: 22px;
}
@media (min-width: 768px) {
  .account-header {
    align-items: center;
  }
  .account-header__start {
    margin-right: 20px;
  }
  .account-header__end {
    margin-left: auto;
  }
}
@media (max-width: 767px) {
  .account-header {
    flex-direction: column;
  }
  .account-header__end {
    order: -1;
  }
}

.account-title {
  font-weight: 900;
  margin-bottom: 0;
}

.account-caption {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 6px 0;
}
@media (max-width: 575px) {
  .account-caption {
    font-size: 1.25rem;
  }
}

.account-subtitle {
  max-width: 12.6875rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-acc);
}

/* ACCOUNT-BTN */
.account-btn {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  color: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  background-color: var(--bg);
  padding: 11px 10px;
  border-radius: 6px;
}
.account-btn:hover {
  text-decoration: none;
  background-color: var(--color-brand);
  color: var(--bg);
}
.account-btn__icon {
  flex-shrink: 0;
  margin-right: 10px;
}
.account-btn__icon svg, .account-btn__icon img {
  display: block;
}
@media (min-width: 768px) {
  .account-btn {
    white-space: nowrap;
  }
}

/* ACCOUNT-BLOCK */
.account-block:not(:last-child) {
  margin-bottom: 40px;
}

/* ACCOUNT-NAV */
.account-nav-wrap {
  overflow: hidden;
  overflow-x: auto;
}

.account-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  white-space: nowrap;
  border-bottom: 1px solid var(--bg);
}
.account-nav li {
  margin-right: 17px;
}
.account-nav a {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-acc);
  border-bottom: 2px solid transparent;
}
.account-nav a:hover {
  text-decoration: none;
  color: #fff;
}
.account-nav .current a {
  color: var(--color-brand);
  border-bottom-color: currentColor;
  font-weight: 700;
}

/* ACCOUNT-MAIN */
@media (min-width: 992px) {
  .account-main {
    display: flex;
  }
  .account-main__aside {
    width: 32.349%;
    flex-shrink: 0;
    margin-right: 20px;
  }
  .account-main__body {
    flex-grow: 1;
    min-width: 1px;
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  .account-main__aside {
    margin-bottom: 20px;
  }
}

/* ACCOUNT-PANEL */
.account-panel {
  border-radius: 12px;
  background-color: var(--bg);
}
.account-panel__inner {
  padding: 40px;
}
@media (max-width: 575px) {
  .account-panel__inner {
    padding: 24px;
  }
}

/* ACCOUNT-FIELD */
.account-field {
  display: block;
  border: 1px solid var(--color-acc);
  border-radius: 8px;
  position: relative;
}
.account-field__input {
  padding: 0 14px;
  height: 3.3125rem;
  background-color: transparent;
  border: none;
  color: inherit;
}
.account-field__label {
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  color: #B2B4B2;
  letter-spacing: 0.02em;
  position: absolute;
  top: -0.6em;
  left: 8px;
  padding: 0 4px;
  background-color: var(--bg);
}
.account-field-note {
  padding: 0 14px;
  margin-top: 5px;
  font-size: 0.6875rem;
  color: var(--color-acc);
}

/* ACCOUNT-GROUP */
@media (min-width: 768px) {
  .account-group {
    display: flex;
  }
  .account-group__col {
    padding-right: 40px;
    flex-shrink: 0;
    width: 28%;
  }
  .account-group__body {
    flex-grow: 1;
    min-width: 1px;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .account-group__col {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 40px;
  }
}

/* ACCOUNT-AVATAR */
.account-avatar {
  max-width: 162px;
}
.account-avatar__circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #181c18;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-acc);
  margin: 0 auto;
}
.account-avatar__circle img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.account-avatar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -15px;
}
.account-avatar__btn > * {
  margin: 0 8px;
}
.account-avatar__txt {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-acc);
  text-align: center;
  margin-top: 24px;
}

.account-file {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  z-index: 0;
}
.account-file input {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  padding: 0;
  top: 0;
  left: 0;
  opacity: 0;
}

.account-act {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  overflow: hidden;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.account-act_delete {
  background-color: #BB2A2A;
}
.account-act_delete:hover {
  box-shadow: 0 0 15px #BB2A2A;
}
.account-act_file {
  background-color: var(--color-brand);
}
.account-act_file:hover {
  box-shadow: 0 0 15px var(--color-brand);
}

/* ACCOUNT-STAT */
.account-stat__row {
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: 500;
  color: var(--color-acc);
  padding: 16px 0;
  border-bottom: 1px solid #4e4e4e;
}
.account-stat__row:first-child {
  padding-top: 0;
}
.account-stat__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.account-stat__start {
  margin-right: 20px;
}
.account-stat__end {
  margin-left: auto;
}
.account-stat__title {
  font-weight: 600;
  color: var(--color-main);
}
.account-stat__txt {
  text-align: right;
}
@media (max-width: 575px) {
  .account-stat {
    font-size: 0.875rem;
  }
}

/* NOTIFICATION */
.notification {
  font-size: 0.875rem;
  color: #B2B4B2;
  font-weight: 500;
  padding: 16px 0;
}
.notification:not(:last-child) {
  border-bottom: 1px solid #4e4e4e;
}
.notification:first-child {
  padding-top: 0;
}
.notification:last-child {
  padding-bottom: 0;
}
.notification.active .notification__header {
  position: relative;
  padding-right: 20px;
}
.notification.active .notification__header:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-brand);
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.notification__header {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--color-main);
}
@media (max-width: 575px) {
  .notification__header {
    font-size: 1rem;
  }
}
.notification__content {
  margin-bottom: 20px;
}
.notification_preview {
  padding: 0;
  border-bottom: none;
}
.notification_preview .notification__header {
  font-size: 1rem;
  margin-bottom: 9px;
}
.notification_preview .notification__content {
  margin-bottom: 10px;
}

.cut {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* COMMENT */
.comment {
  padding: 16px 0;
  border-bottom: 1px solid rgba(124, 124, 124, 0.3);
}
.comment:first-child {
  padding-top: 0;
}
.comment__top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.comment__top-start {
  margin-right: 20px;
}
.comment__top-end {
  margin-left: auto;
}
.comment__body:not(:last-child) {
  margin-bottom: 24px;
}
.comment__group {
  display: flex;
}
.comment__group-col {
  width: 60px;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .comment__group-col {
    width: 50px;
  }
}
.comment__group-body {
  flex-grow: 1;
  min-width: 1px;
  max-width: 100%;
  align-self: center;
}
.comment__main {
  font-size: 0.875rem;
  line-height: 1.5;
}
@media (min-width: 576px) {
  .comment__footer {
    padding-left: 60px;
  }
}

.action-btn-wrap {
  display: flex;
  align-items: center;
  margin: 0 -5px;
}
.action-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-main);
  transition: color 0.3s;
  margin: 0 5px;
}
.action-btn:hover {
  color: var(--color-brand);
}

.tags {
  margin: -2px;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 0.875rem;
}
.tags li {
  border-radius: 12px;
  background-color: var(--color-dark);
  padding: 4px 8px;
  min-width: 58px;
  text-align: center;
  margin: 2px;
}

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: -6px -12px;
}
.meta__item {
  margin: 6px 12px;
}
.meta-styled {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-acc);
}
@media (max-width: 575px) {
  .meta {
    margin-left: -8px;
    margin-right: -8px;
  }
  .meta__item {
    margin-left: 8px;
    margin-right: 8px;
  }
}

.time, .like, .reply {
  display: flex;
  align-items: center;
}
.time:before, .like:before, .reply:before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 6px;
}

.time:before {
  background: url("../img/icons/clock.svg") no-repeat 50% 50%/contain;
}

.like:before {
  background: url("../img/icons/heart.svg") no-repeat 50% 50%/contain;
}

.reply:before {
  background: url("../img/icons/reply.svg") no-repeat 50% 50%/contain;
}

/* CHALLENGE */
.challenge__row:not(:last-child) {
  margin-bottom: 20px;
}
.challenge__media {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.challenge__media img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}
.challenge__block:not(:last-child) {
  margin-bottom: 30px;
}
.challenge__title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.challenge__content {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-acc);
}
.challenge__btn {
  text-transform: none;
  min-height: 40px;
}
@media (min-width: 501px) {
  .challenge {
    display: flex;
  }
  .challenge__col {
    margin-right: 40px;
    flex-shrink: 0;
    width: 47.45%;
  }
  .challenge__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}
@media (min-width: 501px) and (max-width: 767px) {
  .challenge__col {
    margin-right: 20px;
  }
}
@media (max-width: 500px) {
  .challenge__col {
    margin-bottom: 16px;
  }
}

.progress {
  position: relative;
  height: 7px;
  background-color: #000;
  overflow: hidden;
  border-radius: 2px;
}
.progress__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--color-brand);
  border-radius: 2px;
}
.progress-txt {
  text-align: right;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-acc);
  margin-top: 8px;
}
.progress_styled {
  background-color: var(--bg);
  border-radius: 2px;
}

/* TABLE */
.table-wrap {
  overflow: hidden;
  overflow-x: auto;
}

.table {
  display: table;
  width: 100%;
  font-weight: 600;
  font-size: 0.75rem;
}
.table__row {
  display: table-row;
}
.table__row:first-child .table__cell {
  padding-top: 0;
}
.table__caption {
  color: #9e9e9e;
}
.table__cell {
  white-space: nowrap;
  display: table-cell;
  padding: 16px 30px 16px 0;
  border-bottom: 1px solid #4e4e4e;
}
.table__cell:last-child {
  padding-right: 0;
  text-align: right;
}
.table__title {
  white-space: normal;
  min-width: 180px;
}

/* PAY-LINE */
.pay-line {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(124, 124, 124, 0.3);
}
.pay-line:first-child {
  padding-top: 0;
}
.pay-line__start {
  margin-right: 20px;
}
.pay-line__end {
  margin-left: auto;
}
.pay-line-footer {
  margin-top: 16px;
  text-align: right;
}
@media (max-width: 575px) {
  .pay-line-footer .button {
    width: 100%;
  }
}

.pay-card {
  display: flex;
}
.pay-card__icon {
  color: var(--color-brand);
  flex-shrink: 0;
  margin-right: 16px;
}
.pay-card__content {
  font-weight: 600;
}
.pay-card__title {
  margin-bottom: 10px;
}
.pay-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-acc);
}