/*
* @Author: abnercrack
* @Date:   2017-03-07 12:58:04
* @Last Modified by:   abnercrack
* @Last Modified time: 2017-03-14 21:42:52
*/
$font-family-S: "PingFangSC-Regular ","Microsoft YaHei";
.contact-card-item {
    display: inline-block;
}

.card-list {
    display: inline-block;
}

.no-data-in-department,
.no-search-data {
    height: 500px;
    margin: 0 auto;
}

.contact-card-warp {
    //顶层
    // margin-right: 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e4ebf0;
    border-radius: 2px;
    width: 340px;
    // height: 220px;
    // zhangqina1
    padding-bottom: 11px;
    vertical-align: top;
    // zhagqian1 end
    display: inline-block;
    margin: 0 18px 18px 0;
    // 卡片头部
    .contact-card-header {
        background: #f5f8fa;
        width: 320px;
        height: 80px;
        padding: 10px;
        position: relative;
        //卡片头像
        .contact-card-avatar {
            position: absolute;
            border-radius: 99em;
            width: 80px;
            height: 80px;
            top: 10px;
            left: 10px;
            font-family: $font-family-S;
            line-height: 80px;
            text-align: center;
            color: #fff;
            font-size: 16px;
        }
        //
        .card-public-info {
            position: absolute;
            top: 20px;
            left: 105px;
            width: calc(100% - 115px);
            width: -webkit-calc(100% - 115px);
            width: -moz-calc(100% - 115px);   
            overflow: hidden;         
            .main-public-info {
                .name {
                    font-family: $font-family-S;
                    font-size: 16px;
                    color: #005999;
                    line-height: 30px;
                    text-align: left;
                    height: 30px;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 6px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
                .isboss {
                    display: none!important;
                }
                .not-has-im {
                    display: none!important;
                }
                .loading-cursor {
                    cursor: not-allowed!important
                }
                .loading-cursor:hover {
                    cursor: not-allowed!important
                }
                .mark {
                    vertical-align: middle;
                    background: #f28d48;
                    border-radius: 2px;
                    width: 37px;
                    height: 20px;
                    display: inline-block;
                    font-family: $font-family-S;
                    font-size: 12px;
                    color: rgba(255, 255, 255, 0.95);
                    line-height: 20px;
                    text-align: center;
                    margin-right: 6px;
                    padding: 0 4px;
                }
                .contact-card-webim {
                    vertical-align: middle;
                    width: 26px;
                    height: 26px;
                    display: inline-block;
                    cursor: pointer;
                    position: relative;
                    .tips {
                        position: absolute;
                        top: -40px;
                        left: -16px;
                        background: #36434d;
                        border-radius: 2px;
                        width: 56px;
                        height: 30px;
                        .tips-arrow {
                            width: 0;
                            height: 0;
                            border-width: 5px 5px 0px 5px;
                            border-style: solid;
                            border-color: #36434d #ffffff #ffffff #ffffff;
                            margin-left: 23px;
                        }
                        .tips-content {
                            background: #36434d;
                            border-radius: 2px;
                            width: 56px;
                            height: 30px;
                            font-family: $font-family-S;
                            font-size: 12px;
                            color: #ffffff;
                            line-height: 30px;
                            text-align: center;
                        }
                    }
                }
                .contact-card-webim:hover {
                    background-color: #f5f8fa;
                    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
                    border-radius: 2px;
                    width: 26px;
                    height: 26px;
                    cursor: pointer;
                }
            }
            .minor-public-info {
                font-family: $font-family-S;
                font-size: 14px;
                color: #3e4e59;
                letter-spacing: 0px;
                line-height: 24px;
                text-align: left;
                margin-top: 5px;
            }
        }
    }
    .contact-card-content {
        // height: 100px;
        // overflow: hidden;
        padding: 10px 0 0 11px;
        .card-content-field {
            font-family: $font-family-S;
            font-size: 12px;
            color: #3e4e59;
            line-height: 20px;
            text-align: left;
            width: 340px;
            div {
                display: inline-block;
            }
        }
    }
}

.hide-tips {
    display: none!important;
}
