/**************************************
********************* PROFILE PHOTO ***
***************************************/
.profile-card
{
    padding: 9px;
    background: rgba( 255, 255, 255, .5 );
    border: solid 1px rgba( 69, 71, 77, .05 );
    position: relative;
    background: #43464d;
}
.profile-card-main
{
    width: 520px;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: all .2s linear;
    background: rgba(255,255,255, .1);
}
/*.profile-card-main:before
{
    content: "";
    border: solid 0px #fff;
    transition: all .2s linear;
    position: absolute;
    left: 1px;
    top: 1px;
    right: 1px;
    bottom: 1px;
    z-index: 0;
}*/
.profile-card-main *
{
    position: relative;
    z-index: 1;
}
.profile-card-photo
{
    width: 74px;
    height: 74px;
    border: solid 3px #45474d;
    border-radius: 10%;
    box-sizing: content-box;
    float:left;
    top: 50%;
    background-color: #3b3c41;
}
.profile-card-main h1
{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.profile-card-main h2 {
    color: #7691ce;
    font-size: 14px;
}

.profile-card-buttons {
    padding: 4px 0;
}

.twister-user-info .profile-card-buttons {
    position: absolute;
    top: 0;
    right: 0;
}


/*************************************
************ ACCOUNT MODAL ***********
**************************************/

.account-modal.modal-wrapper {
    height: 394px;
    margin-top: -197px;
}

.account-modal .module {
    margin: 4px;
}

.account-modal .module > div {
    width: 100%;
    margin: 4px 0;
    padding: 4px 12px;
}

.account-modal input, .account-modal textarea {
    display: block;
    border: solid 1px rgba(0, 0, 0, .3);
    border-radius: 4px;
    width: 320px;
    margin: 12px 16px;
    padding: 2px 4px;
}

.account-modal textarea {
    width: 330px;
    max-width: 330px;
    min-width: 330px;
    min-height: 28px;
}

.account-modal input:focus, .account-modal textarea:focus {
    border: solid 1px rgba(118, 145, 206, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

.account-modal .alias {
    margin: 0px 16px;
}

.account-modal .avatar {
    position: absolute;
    right: 12px;
    top: 42px;
    cursor: pointer;
    width: 64px;
    height: 64px;
    overflow: hidden;
    margin: 12px 16px;
}

.account-modal .avatar img {
    width: 64px;
    height: auto;
    border: solid 1px rgba(0, 0, 0, .3);
    border-radius: 4px;
}

.account-modal .c-buttons {
    text-align: right;
}

.account-modal .toggle-secret-key {
    float: left;
}

.account-modal .secret-key-container {
    text-align: center;
    font-size: 12px;
}

.account-modal .secret-key {
    background-color: #FFF;
    border: solid 1px rgba(0, 0, 0, .3);
    font-weight: bold;
}

/*************************************
************ PROFILE MODAL ***********
**************************************/

.modal-wrapper.profile-modal {
    width: 580px;
    height: 760px;
    margin: -380px 0 0 -290px;
}

.profile-modal .modal-content {
    height: 730px;
    overflow-y: hidden;
    padding: 3px;
}

.profile-modal .modal-header, .profile-modal .profile-card {
    z-index: 1;
}
.profile-modal h1.profile-name {
    color: #43464d;
}
.profile-modal .profile-location {
    color: #48577d;
}
.profile-modal .profile-url {
    font-size: 14px;
    font-style: italic;
}
.profile-modal .profile-bio {
    text-align: center;
}
#msngrswr {
    display: none;
    margin-top: 20px;
    height: 30px;
}
.profile-extra-contact {
    float: left;
    display: none;
    margin-right: 35px;
}
.bitmessage-ctc, .tox-ctc {
    position: absolute;
    height: 30px;
    width: 30px;
    display: inline-block;
    margin-right: 5px;
    border: 1px solid #d6d8dc;
    background: #e3e5ea url(img/clipboard.png) center no-repeat;
    opacity: .8;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    -webkit-transition: all 20ms;
    -moz-transition: all 20ms;
    -ms-transition: all 20ms;
    -o-transition: all 20ms;
    transition: all 20ms;
    font-size: 18px;
}
.bitmessage-ctc:hover, .tox-ctc:hover {
    background-color: #f0f2f8;
    opacity: 1;
    cursor: pointer;
    text-decoration: none;
}
.bitmessage-ctc:active, .tox-ctc:active {
    background-color: #edfced;
}
.bitmessage-ctc:after,
.tox-ctc:after {
    content: '📋';
}
.profile-modal .profile-tox, .profile-modal .profile-bitmessage {
    display: inline-block;
    width: 70px;
    height: 30px;
    border: 1px solid #c0c2c6;
    opacity: .8;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    -ms-transition: all 200ms;
    -o-transition: all 200ms;
    transition: all 200ms;
}
.profile-modal .profile-tox:hover, .profile-modal .profile-bitmessage:hover {
    opacity: 1;
    background-color: #f0f2f8;
}
.profile-modal .profile-tox:active, .profile-modal .profile-bitmessage:active {
    background-color: #edfced;
}
.profile-modal .profile-tox {
    background: #e3e5ea url(../img/tox.png) center no-repeat;
}
.profile-modal .profile-bitmessage {
    background: #e3e5ea url(../img/bm.png) center no-repeat;
}

.profile-modal .profile-data {
    display: inline-block;
    border-bottom: 0;
}

.profile-modal .postboard {
    margin-left: 0;
    padding: 5px 0 5px 0;
}

.profile-modal .postboard h2 {
    width: auto;
}

.profile-modal .postboard-posts {
    display: block;
    height: 100%;
    overflow: auto;
}

.profile-modal .postboard h2 span {
    font: 18px/40px 'Open Sans Condensed', sans-serif;
    padding-left: 10px;
}
.profile-modal .profile-card-main
{
    background: #f3f5fb;
    color: #8d8d8d;
    width:100%;
}
.profile-modal .profile-card-main a {
    color: #8bb9e0;
}
.profile-modal .postboard-posts .post
{
    padding: 0;
}
.profile-modal .post-interactions
{
    margin: 2px 10px 3px 60px;
}
.profile-modal .profile-card
{
    margin: 0;
    padding: 0;
    background: #f3f5fb;
}
/*
.profile-card-main
{
    height: 200px;
}
*/

.profile-modal .members {
    overflow-y: auto;
}

h1.profile-name {
    display: inline;
}
h2.profile-screen-name {
    display: inline;
    bottom: 0;
    color: #8f95a4;
}

.profile-modal h1.profile-name,
.profile-modal h2.profile-screen-name,
.profile-modal span.profile-location,
.profile-modal a.profile-url {
    display: block;
}

.profile-modal span.profile-location:empty,
.profile-modal a.profile-url:empty,
.profile-modal a.profile-bio:empty {
    display: none;
}

.profile-card .profile-bio .group-description {
    color: #43464d;
    background: rgba(0, 0, 0, 0);
    border: none;
    text-align: center;
    padding: 4px;
    vertical-align: middle;
}

.profile-card .profile-bio .group-description:focus,
.profile-card .profile-bio .group-description:hover {
    color: #fff;
    background: #e18881;
    opacity: .8;
}

.profile-card .profile-bio .save, .profile-card .profile-bio .cancel {
    display: none;
    margin-left: 2px;
}

.group-messages-control .invite-form, .group-messages-control .secret-key {
    display: none;
    font-size: 12px;
    text-align: center;
    padding: 4px 0;
}

.group-messages-control .invite-form textarea {
    border: solid 1px rgba(0, 0, 0, .3);
    border-radius: 3px;
    vertical-align: middle;
    width: 73%;
    height: 20px;
    resize: none;
    margin: 0 4px;
    padding: 1px 4px;
}

.group-messages-control .invite-form textarea:focus {
    border: solid 1px rgba(118, 145, 206, .8);
}

.group-messages-control .invite-form button {
    color: #DDD;
    background-color: #45474D;
    border: medium none;
    vertical-align: middle;
}

.group-messages-control .invite-form button:hover {
    color: #FFF;
}
