.profile {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;


}

.profile .profile-main{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
    width: 49%;
}



.profile .user-data{
    display: flex;
    align-items: center;
    gap: 72px;
}


.profile .user-data .photo{
    display: flex;
    position: relative;
    width: 153px;
    height: 153px;
    border-radius: 153px;
    border: 3px solid  #E63912;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.profile .user-data .photo .edit{
    cursor: pointer;
    width: 53px;
    height: 53px;
    flex-shrink: 0;
    background:  #E63912;
    border: 3px solid  #FFF;
    border-radius: 53px;
    padding: 10px;
    position: absolute;
    bottom: 0px;
    right: 0px;
}
.profile .user-data .data {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile .user-data .data .title{
    color: #252C37;
    font-family: "Gotham Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 21.6px */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.profile .user-data .data .note{
    display: flex;
    padding: 9px 14px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background:  #FFF;

    color: #252C37;
    text-align: center;
    font-family: "Gotham Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 20.8px */
    letter-spacing: 0.16px;
}

.profile .user-data  h2 {
    color:  #252C37;

    /* H3-30 */
    font-family: "Gotham Pro";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 36px */
}
.profile .user-data .desc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
}


.profile .user-form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
    width: 100%;
}


.flex-outer,
.flex-inner {
    list-style-type: none;
    padding: 0;
}

.flex-outer {
    width: 100%;
    margin: 0 auto;
}

.flex-outer li,
.flex-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flex-inner {
    padding: 0 8px;
    justify-content: space-between;
}

.flex-outer > li:not(:last-child) {
    margin-bottom: 10px;
}

.flex-outer li label,
.flex-outer li p {
    padding: 8px;
    color:  #252C37;
    font-family: "Gotham Pro";
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 115%; /* 19.55px */
}

.flex-outer > li > label,
.flex-outer li p {
    flex: 1 0 120px;
    max-width: 220px;
    position: relative;
    width: 30%;
}

.flex-outer > li > label + *,
.flex-inner {
    flex: 1 0 220px;
    width: 69%;
}

.flex-outer li p {
    margin: 0;
}

.flex-outer li input:not([type='checkbox']),
.flex-outer li textarea {
    border-radius: 8px;
    background:  #E9ECF1;
    color: #6F767F;
    font-family: "Gotham Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 20.8px */
    letter-spacing: 0.16px;
    display: flex;
    padding: 17px 100px 17px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.flex-outer li button {
    display: inline-flex;
    padding: 19px 34px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 32px;
    background:  #E7E9ED;
    text-align: center;
    font-family: "Gotham Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 21.6px */
    margin-right: 15px;
    cursor: pointer;
}

.flex-outer li button.red {
    background: #E63912;
    color: #FFF;
}

.flex-outer li button.red:hover{
    background: #d23512;
}

.flex-outer li button:hover {
    background: #d8dade;
}


.flex-inner li {
    width: 100px;
}

.flex-outer li.submit{
    padding-top: 30px;
}


.profile .profile-sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 42px;
    width: 30%;
    padding-left: 5px;
}

.profile .profile-sidebar h2{
    color:  #252C37;
    font-family: "Gotham Pro";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 36px */
}

.profile .profile-sidebar .managers{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-height: 639px;
    overflow: auto;
    direction: rtl;
}



.profile .profile-sidebar .managers>div {
    direction: ltr;
}


.profile .profile-sidebar .managers::-webkit-scrollbar {
    width: 14px;               /* ширина scrollbar */
}
.profile .profile-sidebar .managers::-webkit-scrollbar-track {
    background: #E9ECEF;       /* цвет дорожки */
}
.profile .profile-sidebar .managers::-webkit-scrollbar-thumb {
    background-color: #D0D3D7;    /* цвет плашки */
    border-radius: 20px;       /* закругления плашки */
    border: 3px solid #D0D3D7;  /* padding вокруг плашки */
}

.profile .profile-sidebar .manager{
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 12px;
    background:  #FFF;
    width: 100%;
}


.profile .profile-sidebar .user-data .photo {
    display: flex;
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 65px;
    border: 2px solid  #E63912;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile .profile-sidebar .user-data {
    align-items: start;
}


.profile .profile-sidebar .user-data .title{
    color:#252C37;
    font-family: "Gotham Pro";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 22.1px */
    letter-spacing: 0.17px;
}

.profile .profile-sidebar .user-data .phone {
    color:  #E63912;
    font-family: "Gotham Pro";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 22.1px */
    letter-spacing: 0.17px;
    text-decoration-line: underline;
}

.profile .profile-sidebar .user-data .email {
    color:  #6F767F;
    font-family: "Gotham Pro";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 22.1px */
    letter-spacing: 0.17px;
}

.profile .profile-sidebar .user-data .link {
    color:  #252C37;
    font-family: "Gotham Pro";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 22.1px */
    letter-spacing: 0.17px;
    text-decoration-line: underline;
}


.profile .profile-sidebar .user-data i.email {
    background-image:url('/local/templates/tnss/img/svg/trang-gray.svg');
    width: 15px;
    height: 16px;
    padding-left: 15px;
    background-repeat: no-repeat;
}


.profile .profile-sidebar .user-data i.phone {
    background-image:url('/local/templates/tnss/img/svg/trang-red.svg');
    width: 15px;
    height: 16px;
    padding-left: 15px;
    background-repeat: no-repeat;

}

.profile .profile-sidebar .user-data {
    gap: 30px;
}


.profile .user-form  .phone-input{
    content: '';
    display: block;
    background-image:url('/local/templates/tnss/img/svg/flag-russia.png');
    width: 22px;
    height: 22px;
    padding-left: 15px;
    background-repeat: no-repeat;
    position: absolute;
    right: -33px;
    top: 5px;
}


.profile .user-form input.icons{
    padding-left: 45px;
}


.profile  input[type=file] {
  display: none;
}

.profile .user-data .photo .edit:hover{
    background: #c23110;
}


.profile .profile-sidebar .element-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.profile .profile-sidebar  .flex-row {
    display: flex;
    flex-direction: row;

}

.profile .profile-sidebar  .flex-row.start {
    align-items: flex-start;

}

.profile .profile-sidebar  .flex-row.end {
    align-items: flex-end;

}
