﻿.box.speaker > .box-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}

    .box.speaker > .box-content > *:not(:first-child) {
        margin-left: 1em;
    }

    .box.speaker > .box-content .name {
        font-weight: bolder;
    }

    .box.speaker > .box-content .title {
        font-weight: bolder;
    }

    .box.speaker .value {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.speaker-extrafields {
    clear: both;
    white-space: nowrap;
    font-size: 12px !important;
    width: 100%;
    margin: 0 0 0 6em !important;
}
    .speaker-extrafields li {
        white-space: nowrap;
    }
    .speaker-extrafields label {
        font-size: 12px !important;
        min-width: 40% !important;
        display: inline !important;
        white-space: nowrap !important;
    }


.box.speaker.conflicted,
.box.speaker.capped,
.box.speaker.speakerLimitReached {
    opacity: 0.5;
}

.speaker-pills {
    position: relative;
    bottom: 4ex;
    right: 1ex;
}
.speaker-pill {
    display: none;
    font-size: smaller !important;
    text-transform: uppercase;
    border-radius: 1ex;
    display: none;
    background-color: #d34e40;
    color: #f1c9c5 !important;
    padding: 0.5ex;
    float: right;
    margin-left: 1ex;
}

.box.speaker.conflicted .speaker-pill.conflicted,
.box.speaker.capped .speaker-pill.capped,
.box.speaker.highlyUtilized .speaker-pill.highlyUtilized,
.box.speaker.flagged .speaker-pill.flagged,
.box.speaker.speakerLimitReached .speaker-pill.speakerLimitReached {
    display: inline-block;
}


/* special handling when displayed in notes timeline */

.timeline-item .box.speaker > .box-content {
    flex-wrap: wrap;
}

.timeline-item .speaker-extrafields {
    margin-left: 1em !important;
}
