.ms-Persona {
    margin: 0;
    border-collapse: separate;
    position: relative;
    color: #666;
    display: inline-flex;
    flex-direction: column;
}

.ms-Persona-optionalText,
.ms-Persona-secondaryText,
.ms-Persona-tertiaryText,
.ms-Persona-organisationUnit {
    color: #666;
    font-weight: 400;
    font-size: 12px;
    white-space: nowrap;
    line-height: 1.5;
    display: inline-flex;
}

.ms-Persona--inactive {
    opacity: 0.3;
}

.ms-Persona :before {
    box-sizing: content-box;
}

.ms-Persona-imageArea {
    position: absolute;
    overflow: hidden;
    text-align: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    z-index: 0;
    width: 100%;
    top: 6px;
    left: 6px;
}

.ms-Persona-initials {
    color: #fff;
    background-color: #0078d7;
    font-size: 11px;
    font-weight: 100;
    line-height: 22px;
}

.ms-Persona-image {
    display: none;
    width: 100%;
    height: 100%;
}

.ms-Persona-image img {
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ms-Persona-image.placeholder {
    background-image: url("data:image/png; base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC"); display: block;
}

.image-loaded .ms-Persona-image {
    display: block;
}

.image-loaded .ms-Persona-initials,
.image-loaded .ms-Persona-image.placeholder {
    display: none;
}

.ts-skype-status {
    height: 1em;
    width: 1em;
}

.ts-skype-status .status-icon {
    height: 1em;
    width: 1em;
}

.ts-skype-status .status-mask {
    height: 1.4em;
    width: 1.4em;
    left: -0.2em;
    bottom: -0.2em;
    background: #fff;
}

a.ms-Persona-link {
    text-decoration: none;
    color: #000;
}

a.ms-Persona-link:hover, a.ms-Persona-link:hover .ms-Persona {
    text-decoration: none;
    color: var(--sbb-color-red);
}

a.ms-Persona-link .ms-Persona-imageArea {
    top: 0;
    left: 0;
}
/* ------------------ size 16px ------------------ */
.ms-Persona.ms-Persona--16 {
    min-height: 16px;
    min-width: 16px;
    padding-left: 21px;
}

.ms-Persona.ms-Persona--16 .ms-Persona-imageArea {
    height: 16px;
    width: 16px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--16 .ms-Persona-initials {
    font-size: 11px;
    line-height: 16px;
    height: 16px;
}

.ms-Persona.ms-Persona--16 .ms-Persona-primaryText, .ms-Persona.ms-Persona--16 .ms-Persona-secondaryText {
    padding-top: 1px;
}

.ms-Persona.ms-Persona--16 .ms-Persona-primaryText {
    font-size: 13px;
}

.ms-Persona.ms-Persona--16 .ts-skype-status {
    font-size: 8px;
    top: 10px;
    left: 11px;
}
/* ------------------ size 24 ------------------ */
.ms-Persona.ms-Persona--24 {
    min-height: 24px;
    min-width: 24px;
    padding-left: 29px;
}

.ms-Persona.ms-Persona--24 .ms-Persona-imageArea {
    height: 24px;
    width: 24px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--24 .ms-Persona-initials {
    line-height: 24px;
    font-size: 11px;
}

.ms-Persona.ms-Persona--24 .ts-skype-status {
    font-size: 12px;
    top: 12px;
    left: 14px;
}
/* ------------------ size 32 ------------------ */
.ms-Persona.ms-Persona--32 {
    min-height: 32px;
    min-width: 32px;
    padding-left: 37px;
}

.ms-Persona.ms-Persona--32 .ms-Persona-imageArea {
    height: 32px;
    width: 32px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--32 .ms-Persona-initials {
    line-height: 32px;
    font-size: 14px;
}

.ms-Persona.ms-Persona--32 .ts-skype-status {
    font-size: 16px;
    top: 16px;
    left: 20px;
}
/* ------------------ size 40 ------------------ */
.ms-Persona.ms-Persona--40 {
    min-height: 40px;
    min-width: 40px;
    padding-left: 45px;
}

.ms-Persona.ms-Persona--40 .ms-Persona-imageArea {
    height: 40px;
    width: 40px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--40 .ms-Persona-initials {
    line-height: 40px;
    font-size: 18px;
}

.ms-Persona.ms-Persona--40 .ts-skype-status {
    font-size: 16px;
    top: 29px;
    left: 29px;
}
/* ------------------ size 64 ------------------ */
.ms-Persona.ms-Persona--64 {
    min-height: 64px;
    min-width: 64px;
    padding-left: 69px;
}

.ms-Persona.ms-Persona--64 .ms-Persona-imageArea {
    height: 64px;
    width: 64px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--64 .ms-Persona-initials {
    line-height: 64px;
    font-size: 18px;
}

.ms-Persona.ms-Persona--64 .ts-skype-status {
    font-size: 22px;
    top: 45px;
    left: 40px;
}
/* ------------------ size 240px ------------------ */
.ms-Persona.ms-Persona--160 {
    min-height: 160px;
    min-width: 160px;
    padding-left: 165px;
}

.ms-Persona.ms-Persona--160 .ms-Persona-imageArea {
    height: 160px;
    width: 160px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--160 .ms-Persona-initials {
    line-height: 160px;
    font-size: 18px;
}
/* ------------------ size 240px ------------------ */
.ms-Persona.ms-Persona--240 {
    min-height: 240px;
    min-width: 240px;
    padding-left: 245px;
}

.ms-Persona.ms-Persona--240 .ms-Persona-imageArea {
    height: 240px;
    width: 240px;
    top: 0;
    left: 0;
}

.ms-Persona.ms-Persona--240 .ms-Persona-initials {
    line-height: 240px;
    font-size: 18px;
}

a.ms-Persona-url {
    text-decoration: none;
}

a.ms-Persona-url .ms-Persona-title {
    display: inline;
    color: #000;
    border-bottom: 1px solid #777;
    text-decoration: none;
}

a.ms-Persona-url:hover {
    text-decoration: none;
}

a.ms-Persona-url:hover .ms-Persona-title {
    color: var(--sbb-color-red125);
    border-color: var(--sbb-color-red125);
    text-decoration: none;
}

.card.out-of-office .card-body {
    background: #faf5f8;
    border-left: 5px solid #943670;
}

.card.out-of-office .card-title {
    color: #943670;
    font-weight: bold;
}
