/*
* Styles for user profile page
*/

h1 {
text-align: center;
font-weight: normal;
font-size: 1.52em;
line-height: 1.4em;
}

h1 span {
display: block;
font-size: 1rem;
margin-top: -0.32em;
text-transform: lowercase;
color: var(--attention-color);
}


#profile-wrapper {
padding: 0.92em 0 0.92em 0;
}

.avatar-pic {
margin: 2.2em auto 2em auto;
text-align: center;
}


.profile-data {
width: max-content;
margin: 2em auto 4.2em auto;
line-height: 1.32em;
}

.row {
margin: 0.52em 0;
padding: 0;
text-align: center;
max-width: 280px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--tertiary-color);
}


.profile-info {
margin: 0 auto;
max-width: 640px;
padding: 0 1em;
line-height: 1.6em;
text-indent: 0;
}

.admin-badge, .system-badge {
float: left;
width: 32px;
height: 32px;
margin-top: 0.52em;
margin-right: 1em;
background-position: 0 center;
background-repeat: no-repeat;
filter: var(--avatar-admsys-filter);
background-size: 32px 32px;
}

.admin-badge {
background-image: url("/svg/admin.svg");
}

.system-badge {
background-image: url("/svg/system.svg");
}


.profile-links {
margin: 3.2em auto;
text-align: center;
}

.plink a {
display: inline-block;
margin: 0 0.72em;
text-decoration: none;
color: var(--link-color);
}

.plink a:visited {
color: var(--link-color);
}

.plink a:hover {
text-decoration: underline;
}



@media screen and (max-width: 1200px) {
#profile-wrapper {
padding-left: 1.32em;
padding-right: 1.32em;
}
}

@media screen and (max-width: 640px) {
.profile-links a {
display: block;
width: max-content;
white-space: nowrap;
margin: 1.32em auto;
}
}

@media screen and (max-width: 420px) {
#profile-wrapper {
padding-left: 0.72em;
padding-right: 0.72em;
}
}

@media screen and (max-width: 380px) {
#profile-wrapper {
padding-top: 0.52em;
}
h1 {
line-height: 1em;
}
.avatar-pic {
margin-top: 1.52em;
margin-bottom: 1.72em;
}
.profile-data {
margin-top: 1.52em;
margin-bottom: 2.52em;
}
}


@media screen and (max-width: 360px) {
#profile-wrapper {
padding-left: 0.52em;
padding-right: 0.52em;
}
}
