/* Controls */
.user-npc-controls a.user-npc-button { padding: 2px 0 !important; }
.user-npc-controls a.user-npc-button .user-npc-on,
.user-npc-controls a.user-npc-button .user-npc-load { display: none; }
.has-npc a.user-npc-button .user-npc-on { display: block; }
.has-npc a.user-npc-button .user-npc-off { display: none; }
.posts .post.user-npc-loading .user-npc-controls a.user-npc-button img { display: none !important; }
.posts .post.user-npc-loading .user-npc-controls a.user-npc-button .user-npc-load { display: block !important; }
.user-npc-menu {
    position: absolute;
    max-width: none;
    display: none;
}
.user-npc-menu li.selected a {
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 4px center;
}

/* Post Content Replacement */
.posts .post.has-npc .mini-profile,
.posts .post.has-npc .signature,
.posts .post .quote.has-npc > .quote_body > .quote_avatar_container,
.posts .post .quote.has-npc > .quote_body > .quote_header { display: none; }
.posts .post.has-npc .mini-profile.user-npc-mini,
.posts .post.has-npc .signature.user-npc-sig,
.posts .post .quote.has-npc > .quote_body > .user-npc.quote_avatar_container,
.posts .post .quote.has-npc > .quote_body > .user-npc.quote_header { display: block; }
.posts .post.has-npc .signature.user-npc-sig .guest { font-weight: bold; }

/* Micro-Profiles */
.npc-micro-profile {
    margin: 0 3px 3px 0;
    overflow: hidden;
    font-size: 13px;
    padding: 5px;
    width: 200px;
    height: 50px;
    position: relative;
}
.npc-micro-profile .info { overflow: visible; }
.npc-micro-profile .avatar {
    position: relative;
    top: auto;
    left: auto;
}
.npc-micro-profile .av-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    font: bold 8px Verdana,Arial;
    text-transform: uppercase;
    text-align: center;
    z-index: 1; }
.npc-micro-profile .close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-position: center;
    color: #fff;
    font: bold 20px Verdana,Arial;
    text-transform: uppercase;
    text-align: center;
    display: none;
}
.npc-micro-profile .avatar:hover .close { display: block; }
.members .npc-micro-profile { margin: 0 3px 0 0; }

/* PBN Bar */
#user-npc-pbn {
    display: inline-block;
    float: left;
    padding: 0px 3px;
    margin-top: 3px;
}
#user-npc-pbn > img {
    max-height: 16px;
    max-width: 16px;
}
#user-npc-pbn > .user-npc-pbn-on { display: none; }
#user-npc-pbn.active > .user-npc-pbn-on { display: inline; }
#user-npc-pbn.active > .user-npc-pbn-off { display: none; }
#user-npc-pbn-dialog .npc-micro-profile { cursor: pointer; }
#user-npc-post-as {
    position: fixed;
    z-index: 19;
    cursor: move;
}
#user-npc-post-as .micro-profile { margin: 0; }
#user-npc-post-as .avatar {
    cursor: pointer;
    position: relative;
}
#user-npc-post-as .avatar .close {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}