.consult{
    position: fixed;
    right: 24px;
    bottom: 100px;
    background: #FFFFFF;
    box-shadow: 0px 0px 24px 1px rgba(159,149,149,0.2);
    border-radius: 39px 39px 39px 39px;
    padding: 20px 13px;
    z-index: 10
}
.consult-li{
    position: relative;
}
.consult-li-image{
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.consult-li-circle{
    position: relative;
    text-align: center;
    width: 52px;
    height: 52px;
    border-radius: 26px 26px 26px 26px;
    margin: 0 auto;
    cursor: pointer;
}
.consult-li:hover .consult-li-circle{
    background: #C0191F;
}
.consult-li:nth-child(4){
    display: none;
}
.consult-li:nth-child(1) .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_wxzx_n@2x.png');
}
.consult-li:nth-child(2) .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_dhzx_n@2x.png');
}
.consult-li:nth-child(3) .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_yygh_n@2x.png');
}
.consult-li:nth-child(4) .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_fhdb_n@2x.png');
}

.consult-li:nth-child(1):hover .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_wxzx_y@2x.png');
}
.consult-li:nth-child(2):hover .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_dhzx_y@2x.png');
}
.consult-li:nth-child(3):hover .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_yygh_y@2x.png');
}
.consult-li:nth-child(4):hover .consult-li-image{
    background-image: url('/sannuo/templates/web/img/consult/ic_fhdb_y@2x.png');
}

.consult-wxchat{
    position: absolute;
    visibility: hidden;
    right: 100%;
    top: -20px;
    transform: translateX(-20px) scale(0.1);
    transform-origin: right 50px;
    width: 248px;
    height: 305px;
    background-image: url('/sannuo/templates/web/img/consult/img_bg_wxzx@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-sizing: border-box;
    padding: 24px 31px 24px 24px;
    transition: all 0.3s;
}
.consult-wxchat-image{
    width: 192px;
    height: 192px;
}
.consult-li-name{
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    line-height: 19px;
}
.consult-wxchat-title{
    margin-top: 16px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    line-height: 18px;
}

.consult-li:nth-child(1):hover .consult-wxchat{
    visibility: visible;
    transform: translateX(-20px) scale(1);
}
.consult-li:nth-child(2):hover .consult-phone{
    visibility: visible;
    transform: translateX(-20px) scale(1);
}
.consult-wxchat-desc{
    font-size: 14px;
    margin-top: 12px;
    color: #fff;
    line-height: 14px;
}

.consult-phone{
    position: absolute;
    visibility: hidden;
    right: 100%;
    top: -77px;
    transform: translateX(-20px) scale(0.1);
    transform-origin: right 100px;
    width: 390px;
    height: 254px;
    background-image: url('/sannuo/templates/web/img/consult/img_bg_dhzx@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-sizing: border-box;
    padding: 28px 39px 36px 32px;
    transition: all 0.3s;
}

.consult-phone-title{
    font-size: 22px;
    font-weight: bold;
    color: #C0191F;
    line-height: 22px;
}
.consult-phone-list{
    margin-top: 16px;
    background: #FFFFFF;
    border-radius: 6px 6px 6px 6px;
    padding: 0 24px;
}

.consult-phone-item{
    position: relative;
    text-align: left;
    line-height: 31px;
    padding: 20px 0 20px 36px;
}
.consult-phone-item > a {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
}
.consult-phone-item:not(:first-child) {
    border-top: 1px solid #EBEBEB;
}
.consult-phone-item:nth-child(1)::after {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url('/sannuo/templates/web/img/consult/ic_dh@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.consult-phone-item:nth-child(2)::after {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url('/sannuo/templates/web/img/consult/ic_sj@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 留言弹框 */
.modal-message{
    visibility: hidden;
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translateX(-50%) scale(0.1);;
    background: #FFFFFF;
    box-shadow: 0px 0px 24px 1px rgba(159,149,149,0.16);
    border-radius: 16px 16px 16px 16px;
    width: 9.6rem;
    box-sizing: border-box;
    transition: 0.3s all;
    transform-origin: 50% 50%;
    z-index: 100
}
.modal-message.active{
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.modal-message-head{
    position: relative;
    width: 100%;
    height: 2.5rem;
    background-image: url('/sannuo/templates/web/img/consult/img_top_yygh@2x.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1rem;
    box-sizing: border-box;
}
.modal-message-title{
    font-size: 0.6rem;
    line-height: 0.6rem;
    font-weight: bold;
    color: #000;
}
.modal-message-close{
    position: absolute;
    right: 0.6rem;
    top: 0.6rem;
    width: 0.5rem;
    height: 0.5rem;
    cursor: pointer;
}


.modal-message-content{
    padding: 0 0.8rem 0.75rem;
}
.modal-message-item{
    position: relative;
    width: 100%;
    height: 1.3rem;
    background: #F8F8F8;
    border-radius: 6px 6px 6px 6px;
}
.modal-message-item:not(:first-child) {
    margin-top: 20px;
}
.modal-message-item:nth-child(1)::after {
    position: absolute;
    content: '';
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background-image: url('/sannuo/templates/web/img/consult/ic_xm@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.modal-message-item:nth-child(2)::after {
    position: absolute;
    content: '';
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    background-image: url('/sannuo/templates/web/img/consult/ic_dhhm@2x.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.modal-message-input{
    width: 100%;
    height: 100%;
    border: none;
    padding-left: 1.25rem;
    box-sizing: border-box;
    background: #F8F8F8;
    outline: none;
    font-size: 0.4rem;
    font-weight: 400;
    color: #000000;
    line-height: 0.7rem;
}
.modal-message-label{
    padding: 0.6rem 0 0.3rem 0;
    font-size: 0.4rem;
    font-weight: 400;
    color: #333333;
    line-height: 0.4rem;
}
.modal-message-textarea{
    width: 100%;
    height: 5rem;
    padding: 0.25rem 0.5rem;
    border: none;
    box-sizing: border-box;
    background: #F8F8F8;
    outline: none;
    overflow-y: auto;
    font-size: 0.4rem;
    font-weight: 400;
    color: #000000;
    line-height: 0.7rem;
}
.modal-message-footer{
    margin-top: 0.6rem;
    text-align: right;
}
.modal-message-button{
    width: 2.8rem;
    height: 1rem;
    background: #C0191F;
    border-radius: 6px 6px 6px 6px;
    font-size: 0.4rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1rem;
    text-align: center;
    outline: none;
    border: none;
    cursor: pointer;
}
.modal-message-button[disabled] {
    opacity: 0.5;
}

/* 留言结果面板 */
.modal-result{
    display: none;
    padding-top: 1.35rem;
    text-align: center;
}

.modal-result-image{
    width: 2.8rem;
    height: 2.65rem;
    margin: 0 auto;
}
.modal-result-title{
    margin-top: 0.4rem;
    font-size: 0.45rem;
    font-weight: bold;
    color: #333333;
    line-height: 0.45rem;
}
.modal-result-desc{
    font-size: 0.4rem;
    font-weight: 400;
    color: #999999;
    margin-top: 0.3rem;
}
.modal-result-footer{
    padding-top: 0.8rem;
}
.modal-tips{
    display: none;
    color: #C0191F;
    font-size: 14px;
}

@media (max-width: 767px) {
    .consult{
        transform: scale(0.7);
        bottom: 10px;
        right: 10px;
    }
}