/* Team subscriptions. Layout only -- colours, buttons, badges and tables all
   come from trailforks.css (.block .table1 .button1 .badgesquare .grey .red
   .green .clickable), so teams inherit any future restyle for free. */

.teamHeader {
    margin-bottom: 10px;
}

.teamNav {
    margin: 0;
    padding: 0;
}

.teamNav li {
    display: inline-block;
    margin-right: 4px;
}

.teamNav li a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #e8e8e8;
    color: #444444;
}

.teamNav li.selected a {
    background-color: #444444;
    color: #ffffff;
}

.teamSeatSummary {
    margin-bottom: 12px;
}

.teamSeatCount {
    margin: 0 0 6px 0;
}

.teamSeatBar {
    height: 8px;
    border-radius: 4px;
    background-color: #e8e8e8;
    overflow: hidden;
}

.teamSeatBarFill {
    height: 100%;
    background-color: #29691f;
}

.teamAvatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 6px;
}

.teamInviteActions {
    margin-top: 10px;
}

.teamInviteActions .teamJoinLink {
    width: 320px;
    max-width: 100%;
    padding: 4px;
}

#teamInviteTargets {
    width: 100%;
    box-sizing: border-box;
}

#teamInviteResult {
    margin-top: 8px;
}

.teamRoster {
    margin: 0;
    padding: 0;
    list-style: none;
}

.teamRoster li {
    display: inline-block;
    margin: 0 12px 12px 0;
    vertical-align: middle;
}

/* a seat button with nothing to give */
.teamSeatToggle.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.teamSeatToggle.working {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .teamInviteActions .teamJoinLink {
        width: 100%;
        margin-top: 6px;
    }

    .teamNav li {
        margin-bottom: 4px;
    }
}

/* admin dashboard summary strip */
.teamAdminStats {
    margin: 0;
    padding: 0;
}

.teamAdminStats li {
    display: inline-block;
    margin-right: 18px;
    color: #666666;
}

.teamAdminStats li b {
    color: #222222;
    font-size: 17px;
}
