﻿.modal-content--profile {
  padding: 48px;
}

@media (max-width: 576px) {
  .modal-content--profile {
    padding: 24px;
  }
}

.profile-modal-title {
  align-items: center;
  color: var(--secondary);
  display: flex;
  font-size: 24px;
  font-weight: 700;
}

.profile-modal-sub-title {
  color: var(--secondary);
  /*font-size: 18px;
  font-weight: 700;*/
}

.profile-modal-title__img {
  margin-right: 16px;
}

.profile-modal-close {
  background: none;
  border: 0;
  position: absolute;
  right: 24px;
  top: 24px;
}

.profile-modal-table {
  margin-bottom: 16px;
}


.profile-modal-table td:not(:last-of-type) {
  padding: 5px 30px 5px 0;
}
@media(max-width: 576px) {

    .profile-modal-table td:nth-of-type(2n+3) {
        display:none;
    }
    .profile-modal-table td:not(:last-of-type) {
        padding: 5px 20px 5px 0;
    }
    .profile-modal-table td:nth-of-type(2n+2) {
        padding: 5px 0px 5px 0;
    }


}

.nav--profile {
  margin-top: -30px;
  padding-right: 32px;
}

@media (max-width: 576px) {
  .nav--profile {
    margin-top: 0;
  }
}

.btn-profile {
  background: var(--light-gray);
  border-radius: 4px;
  display: block;
  margin-bottom: 16px;
  padding: 8px 16px;
}

.btn-profile.active {
  background: var(--primary);
  color: var(--white);
}