.modal-dialog {
    width: auto !important;
    margin: 0px !important;
}

.cnpprofile-premium-header {
    background: rgba(0, 0, 0, 0.8);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    height: 160px;
    border-bottom: 5px solid #a51c30;
    z-index: 1050;
}

.cnpprofile-premium-header.float{
    position: fixed;
    z-index: 1050;
    top: 0px;
    width: 100%;
    height: 67px;
    border-bottom-width: 2px;
    padding-top:10px;
}
.cnpprofile-premium-header.float .cnpprofile-premium-header-info {
    height: 36px;
    line-height: 36px;
    min-height: 36px;
}
.cnpprofile-premium-header.float .premium-logo>img {
    height: 50px;
    width: 50px;
    margin-right: 20px;
}
.cnpprofile-premium-header.float .cnpprofile-premium-header-info .premium-info {
    padding-top: 0;
    padding-left: 10px;
}
.cnpprofile-premium-header.float .premium-info .name, .cnpprofile-premium-header.float .premium-info .numbers {
    float:left;
    margin-right: 20px;
}
.cnpprofile-premium-header.float .premium-info .numbers {
    font-size: 90%;
}
.cnpprofile-premium-header.float .premium-tabs {
    margin-left: 80px;
}
.cnpprofile-premium-header.float .nav>li>a {
    padding: 2px 15px;
}
.page-content.float{
    margin-top: 160px;
}
.cnpprofile-premium-header.normal{
    position: static;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.7);
}

.cnpprofile-premium-header-info {
    min-height: 120px;
    line-height: 120px;
    height: 120px;
    position: relative;

    /*padding-top: 20px;*/
}

.cnpprofile-premium-header-info .premium-logo{
    display: inline-block;
    float: left;
}
.premium-logo>img{
    height: 80px;
    width: 80px;
    margin-right: 5px;
    border-radius: 50%!important;
}
.cnpprofile-premium-header-info .premium-info{
    display: inline-block;
    color: #ffffff;
    width: 60%;
    padding-top: 30px;
    padding-left: 30px;
}
.cnpprofile-premium-header-info .premium-btn{
    display: inline-block;
}
.cnpprofile-premium-header-info .cnpprofile-website {
    display: inline-block;
    position: absolute;
    line-height: 24px;
    height: 24px;
    bottom: -30px;
    right: 0px;
    padding-right: 20px;
}
.cnpprofile-premium-header-info .cnpprofile-website>a {
    color: #fff;
}
.premium-info .name{
    line-height: 20px;
    height: 20px;
    margin-bottom: 20px;
    font-size: 18px;

}
.premium-info .name h1{
    font-size: 18px;
    font-weight:bold;
    margin-top: 0px;
    display: inline-block;
}
.premium-info .cnp-title{
    font-size: 12px;
}
.premium-info .numbers{
    line-height: 20px;
    height: 20px;
}

.premium-info .badge-box {
    margin-right: 10px;
}
.premium-info .badge{
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    color: #0a0a0a;
    padding: 3px;
}
.premium-info .fa{
    line-height: 12px;
    height: 12px;
    width: 12px;
    font-size: 12px;
}

.cnpprofile-premium-header-menu {

}
.premium-tabs {
    margin-bottom: 5px;
    position: relative;
    bottom: 4px;
}
.premium-tabs ul {
    margin-bottom: 0px !important;
}
.premium-tabs li {
    margin-right: 10px;
    border-radius: 4px 4px 0 0 !important;
}
.premium-tabs a {
    color: #a51c30;
    background-color: #ffffff;
    border-radius: 4px 4px 0 0 !important;
}
.premium-tabs a:hover {
    color: #ffffff !important;
    background-color: #a51c30 !important;
}
.premium-tabs a:hover>.badge {
    color: #a51c30 !important;
    background-color: #fff  !important;
}
.premium-tabs .active>a {
    color: #ffffff !important;
    background-color: #a51c30 !important;
}
.premium-tabs .active>a>.badge {
    color: #a51c30 !important;
    background-color: #fff  !important;
}

.premium-tabs a>.badge {
    color: #fff !important;
    background-color: #a51c30  !important;
}
.premium-tabs .cnp-portal a {
    color: #fff;
    background-color: #FFAD00;
    border-radius: 4px 4px 0 0 !important;
}
.premium-tabs .cnp-portal a:hover {
    color: #a51c30 !important;
    background-color: #FFAD00 !important;
}

.premium-alert {
    padding: 5px !important;
    border: 1px solid #FFAD00 !important;
}
.premium-alert .alert {
    padding: 5px !important;
    margin-bottom: 5px;
}
.premium-alert p {
    font-size: 12px;
    line-height: 20px;
}

.premium-topics {
}

.premium-topics .event-title {
    margin-bottom: 10px;
}
.premium-topics .event-files {
    margin-bottom: 10px;
}
.premium-topics .premium-audio {

}
.premium-topics .premium-audio .audio-logo {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    border-radius: 50%!important;
}
.premium-topics .premium-audio .event_side_card > a {
    padding-top: 6px;
    max-width: 180px;
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.premium-topics .topic-section{
    display: inline-block;
}
.premium-topics .topic-more{
    display: inline-block;
    float: right;
}
.premium-topics .topic-time{
    float: right;
    font-size: 12px;
    color: darkgrey;
}
.premium-topics .topic-content{
    margin-top: 10px;
    line-height: 24px;
}
.premium-topics .topic-logo{
    width: 120px;
    display: inline-block;
    float:left;
    margin-right: 10px;
}
.premium-topics .topic-logo-big{
    width: 200px;
    float:left;
    margin-right:10px;
}
.premium-topics .topic-section-2{
    display: inline-block;
    width: 100%;
    padding: 10px;
}
.premium-topics .topic-item{
    margin-bottom: 20px;
}
.premium-topics .topic-item-new .topic-logo{
    width: 150px;
    display: inline-block;
    float:left;
}
.premium-topics .topic-full-content {
    display: inline-block;
    line-height: 24px;
    width: 100%;
}
.premium-topics .topic-full-content img {
    width: 50%;
}
.topic-full-content table {
    width: 100%;
}

.last-topic {
    float:left;
    width: 30%;
    height: 100px;
    background-color:#ffffff;
    line-height: 100px;
    padding: 0 10px;
}
.last-topic .arrow {
    width: 10%;
    float: left;
    display: inline-block;
}

.next-topic {
    float:right;
    width: 30%;
    height: 100px;
    background-color:#ffffff;
    line-height: 100px;
    padding: 0 10px;

}
.next-topic .link, .last-topic .link {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    display: inline-block;
    height: 100%;
    word-break: break-all;
}
.next-topic .arrow {
    width: 10%;
    float: right;
    display: inline-block;
}

.premium-qa {
    display: inline-block;
    width: 100%;
}

.premium-qa .qa-item {
    display: inline-block;
    margin-top: 20px;
}

.premium-qa .qa-flag{
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    background: #f0ad4e!important;

}
.premium-qa .qa-info{
    display: inline-block;
    width: 95%;
    float: right;
}
.premium-qa .qa-title{
    line-height: 24px;
    /*display: inline-block;
    max-width: 75%;*/
}
.premium-qa .qa-date{
    display: inline-block;
    /*float: right;*/
    color: darkgrey;
    font-size: 12px;
}
.premium-qa .qa-content{
    margin-top: 10px;
    line-height: 24px;     /* fallback */
}

.premium-case .case-title{
    margin-bottom: 10px;
}

.premium-case .case-time{
    float:right;
    color: darkgrey;
    font-size: 12px;
}

.premium-case .case-stat{
    display: inline-block;
    width: 20%;
}
.premium-case .case-desc{
    float:right;
    display: inline-block;
    width: 80%;
    padding-left: 10px;

    overflow: hidden;
    line-height: 24px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.premium-case .case-content {
    display: inline-block;
    line-height: 24px;
    font-size: 13px;
}

.premium-case .case-long table {
    border: solid 1px darkgrey;
    width: 100%;
}
.premium-case .case-long table tr{
    border: solid 1px #dfdfdf;
    line-height: 24px;
}
.premium-case .case-long table td:first-child {
    background-color: #F5F5F5;
    text-align: center;
}
.premium-case .case-long table td:last-child {
    padding-left: 5px;
}

.premium-case .longcase-item{
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.cnpcase-table tr.odd {
    background-color: #F5F5F5;
    border: 1px;
    border-bottom-style: hidden !important;
    border-top-style: solid !important;
}
.cnpcase-table tr.even {
    border: 1px;
    border-bottom-style: hidden !important;
    border-top-style: solid !important;
}

.cnpcase-table .case-note {
    border: 0px;
    border-style: hidden;
    width:100%;
}

.case-note td:first-child {
    text-align: left !important;
    padding-left: 25px !important;
    color: #959595;
    font-size: 13px;
}
.case-note .content-wrap {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.case-note td {
    padding-top: 2px !important;
}

.cnpcase-table .userlogo {
    height: 25px;
    width: 25px;
    margin-right: 5px;
    border-radius: 50% !important;
}

.cnpcase-table-header {
    border: 1px;
    border-top-style: solid !important;
    border-bottom-style: solid !important;
    font-weight:bold;
    background-color: #F5F5F5;
}
.cnpcase-ribbon {
    position: static !important;
}

.cnpcase-ribbon .ribbon {
    height:25px !important;
    line-height: 1;
    left: 5px !important;
    top: -30px !important;
}

.cnpcase-table th, .cnpcase-table tr:not(.case-note), .cnpcase-table td:not(.sn) {
    text-align: center !important;
}
.cnpcase-table tr.case-note td{
    text-align: left !important;
}
.cnpcase-table td.sn {
    text-align: left !important;
}
.cnpcase-table th {
    min-width: 50px;
}

.hide-article-pos {
    position: relative;
    display: inline-block;
    z-index: 999;
    padding-top: 0px;
}

.note.premium-message{
    border-left: 5px solid #12b112;
}

.premium-thanks .thank-item {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.premium-thanks .thank-item:not(:last-child){
    border-right: 1px solid #9099a3;
}
.premium-thanks .thank-user{
    position: absolute;
    bottom: 0px;
    right: 10px;
}
.premium-thanks .quote{
    font-size: 30px;
}
.premium-thanks .thank-content{
    overflow: auto;
    line-height: 24px;
    display: -webkit-box;
    max-height: 144px;
    margin-bottom: 10px;
}

.premium-company .badge {
    background-color: #a51c30;
    height: 24px;
    line-height: 24px;
    width: 100%;
    font-size: 14px !important;
    padding: 0px !important;
    color: #ffffff;
}
.premium-company .badge a{
    color: #ffffff;
}

.premium-company .company-desc.wrap {
    overflow: hidden;
    line-height: 24px;     /* fallback */
    max-height: 188px;
    width: auto !important;
}
.premium-company .company-desc {
    word-break: break-all;
}

.premium-company .company-agent {
    margin:10px;
}

.premium-company .agent-logo {
    display: inline-block;
}
.premium-company .agent-logo>img {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    border-radius: 50%!important;
}
.premium-company .agent-name {
    display: inline-block;
}

.premium-review .review-logo {
    display: inline-block;
    text-align: center;
    width: 15%;
}
.premium-review .school-name {
}
.premium-review .school-name-en {
    color: #959595;
    font-size: 12px;
}
.premium-review .badge {
    /*margin-top:5px;*/
}
.premium-review .review-logo>img {
    height: 80px;
    width: 80px;
    margin-right: 10px;
    border-radius: 50%!important;
}
.premium-review .review-content {
    display: inline-block;
    width: 83%;
    margin-left: 10px;
    line-height: 24px;
}
.premium-review .review-item {
    border-bottom: solid 1px #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.review-item a {
    word-break: break-all;
}
.premium-review .review-ranking {
    width: 50px;
    height: 50px;
    padding: 5px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1.33;
    margin-bottom: 0px;
    color: white;
    background-color: green;
    border-color: green;
    margin-right: 5px;
    margin-top: 10px;
}
.premium-review .review-date {
    color: #959595;
    font-size: 12px;
    margin-top: 5px;
}
.premium-review .page_go {
    display: none;
}

.premium-review .review-content-right{
    line-height: 24px;
    word-break: break-all;
}

.premium-contact .nav>li>a {
    padding: 10px 10px;
}

.wrap-2 {
    overflow: hidden;
    line-height: 24px;
    max-height: 48px;
}
.wrap-5 {
    overflow: hidden;
    line-height: 24px;
    max-height: 120px;
}
.wrap-7 {
    overflow: hidden;
    line-height: 24px;
    max-height: 168px;
}
.wrap-12 {
    overflow: hidden;
    line-height: 24px;
    max-height: 288px;
}

.wrap-2-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 2 !important;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.wrap-4-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 4 !important;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.wrap-5-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 5;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.wrap-7-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 7;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.wrap-12-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 12;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.wrap-9-ellipsis {
    overflow: hidden;
    -webkit-line-clamp: 9;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.wrap-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.line-3 {
    -webkit-line-clamp: 3 !important;
}

.ellipsis {

}

.load-more {
    line-height: 24px;
}

.badge-company {
    background-color: #a51c30;
    height: 24px;
    line-height: 24px;
    padding: 0px 10px 0px 10px !important;
    color: #ffffff;
}
.badge-company a{
    color: #ffffff;
}

.premium-portal .portal-content {
    display: inline-block;
    /*width: 83.3333%;*/
    float: right;
}
.premium-portal .portal-menu {
    display: inline-block;
}
.portal-menu ul {
    padding-inline-start: 0px;
}
.portal-menu li {
    margin: 5px;
    padding: 5px;
    color: #000000;
    background-color: #e7ecf1;
    text-align: center;
    list-style-type: none;
    float:left;
    width: 100px;
}
.portal-menu li.active {
    background-color: green;
    color: #fff;
}
.portal-menu li.active a {
    color: #fff;
}
.portal-content .btn.orange {
    background-color: #FFAD00;
    color: #fff;
}
.portal-topic-table .table-header {
    border: 1px;
    border-top-style: solid !important;
    border-bottom-style: solid !important;
    background-color: #F5F5F5;
}
.portal-topic-table .topic-content {
    font-size: 12px;
    line-height: 20px;
}

.portal-case-form .case-lable {
    padding-left: 0px;
    padding-right: 0px;

}

.premium-faq .faq-icon {
    display: inline-block; float: left;
    width: 20px;
    height: 20px;
    background-color: grey;
    color: #fff;
    border-radius: 50%!important;
    text-align: center;

}
.premium-faq .faq-text {
    display: inline-block; width: 90%; padding-left: 10px;
    line-height: 20px;
}
.premium-faq .faq-item{
    margin: 10px 0 10px 0;
}
.premium-faq .contact-item {
    margin: 10px 0 10px 0;
}
.premium-faq .faq-conact-1 {
    display: inline-block; float: left;
}
.premium-faq .faq-conact-2 {
    display: inline-block; width: 80%;
    line-height: 20px;
}
.premium-faq .panel-title .accordion-toggle {
    padding: 5px 5px !important;
    font-size: 14px !important;
}

.portal-review .portal-review-item{
    /*margin-bottom: 10px;*/
    padding: 10px;
    border-bottom: solid 1px #eee;
}
.portal-review .portal-review-rate{
    display: inline-block;
    float: left;
    width: 10%;
    padding: 10px;
}
.portal-review .portal-review-rate button{
    background-color: #1bbb9b;
    color: #fff;
    font-size: 16px;
    width: 40px;
    height: 40px;
}
.portal-review .portal-review-content{
    width: 75%;
    display: inline-block;
    line-height: 20px;
    max-height: 100px;
}
.portal-review .portal-review-action{
    display: inline-block;
    float: right;
    width: 10%;
}
.portal-review .portal-review-head{
    margin-bottom: 10px;
}

.long-review-section .review-lable {
    font-weight: bold;
    color:#949494;
}

.timeline-status {
    font-size: 14px;

}
.timeline-status.active{
    color: #0a6aa1 !important;
    font-size: 18px;
}

.premium-portal .portal-form input[type=file]{
    padding: 30px;
}

.btn-link-portal {
    background-color: #FFAD00;
    color: #fff;
    padding: 1px 5px !important;
}

.premium-wechatgroup .wcgroup-logo {
    width: 60px;
    float: left;
}
.premium-wechatgroup .wcgroup-logo>img{
    height: 50px;
    width: 50px;
    border-radius: 50%!important;
}
.premium-wechatgroup .wcgroup-name {
    padding: 15px;
    margin-left: 10px;
}
.premium-wechatgroup .wcgroup-desc {
    line-height: 20px;
}


/****** 小屏幕css ******/
@media (max-width: 991px){
    .portlet.premium-cnp{
        padding: 5px 5px 5px 5px !important;
    }
    .portlet.premium-cnp>.portlet-title {
        min-height: 30px !important;
    }
    .cnpprofile-premium-header-info .cnpprofile-website {
        bottom: 0px;
        left: 10px;
    }

    .cnpprofile-premium-header-info .premium-logo{
    }
    .cnpprofile-premium-header-info .premium-logo>img{
        height: 60px;
        width: 60px;
    }
    .cnpprofile-premium-header-info .premium-info{
        width: 80%;
        padding-top: 30px;
        padding-left: 5px;
    }
    .cnpprofile-premium-header-info .premium-btn{
        display: none;
    }

    .premium-info .name{
        line-height: 20px;
        height: 20px;
        margin-bottom: 20px;
    }

    .premium-info .cnp-title{
        font-size: 12px;
    }
    .premium-info .numbers{
        line-height: 20px;
        height: 20px;
    }

    .premium-info .badge{
        height: 18px;
        width: 18px;
        background-color: #ffffff;
        color: #0a0a0a;
        padding: 3px;
    }
    .premium-info .fa{
        line-height: 12px;
        height: 12px;
        width: 12px;
        font-size: 12px;
    }

    .cnpprofile-premium-header-menu {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 10px;
    }
    .premium-tabs {
        margin-bottom: 5px;
        position: relative;
        bottom: 4px;
    }
    .premium-tabs ul {
        margin-bottom: 0px !important;
    }
    .premium-tabs li {
        margin-right: 5px;
    }
    .premium-tabs a {
        padding: 5px 5px !important;
    }
    .premium-alert {
        margin-top: 5px;
    }
    .premium-topics .wechat-topic{
        margin-top: 10px;
    }
    .premium-topics .topic-time{
        float: left;
    }
    .premium-topics .topic-content{
        float: left;
        margin-top: 0px;
    }
    .premium-topics .topic-logo-big {
        width: 150px;
    }
    .premium-topics .topic-title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .premium-topics .topic-logo {
        width: 80px;
    }
    .premium-topics .topic-section-2 {
        width: 70%;
    }
    .premium-qa .qa-item {
        margin-top: 10px;
    }
    .premium-qa .qa-info{
        width: 88%;
    }
    .premium-qa .qa-date{
        float: none;
    }
    .premium-case .case-stat{
        width: 100%;
    }
    .premium-case .case-desc{
        width: 100%;
    }
    .premium-case .table-scrollable {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .premium-thanks .thank-item:not(:last-child){
        border-right: 0px;
        border-bottom: 1px solid #9099a3;
    }

    .premium-review .review-logo {
        width: 100%;
        padding-left: 10px;
    }

    .premium-review .review-logo>img {
        float: left;
        height: 60px;
        width: 60px;
    }
    .premium-review .review-content {
        margin-top: 10px;
        width: 100%;
        margin-left: 0px;
    }

    .last-topic {
        width: 45%;
        margin-bottom: 20px;
    }
    .next-topic {
        width: 45%;
        margin-bottom: 20px;
    }
}
/****** 小屏幕css ******/
@media (max-width: 766px){
    .premium-info {
        padding-top: 20px !important;
    }
    .premium-info h1 {
        display: block !important;
    }
    .premium-info .name {
        height: auto !important;
        margin-bottom: 13px !important;
    }
}