::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-corner, ::-webkit-scrollbar-track {
    background-color: #e2e2e2;
}
::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(0,0,0,.3);
}
::-webkit-scrollbar-corner, ::-webkit-scrollbar-track {
    background-color: #e2e2e2;
}

.online-count {
    right: 0;
    position: fixed;
    top: 91px;
    width: 100%;
    text-align: center;
}

.cy-chat-main {
    -webkit-box-shadow: 0px 0px 2px #7a7a7a;
    position: relative;
    width: 1200px;
    margin: 0 auto;
    /*padding: 15px 15px 210px;*/
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f5f5f5;
}

.cy-chat-main ul li {
    position: relative;
    font-size: 0;
    margin-bottom: 15px;
    margin-top: 5px;
    padding-left: 60px;
    min-height: 68px;
    clear: both;
    overflow: visible;
    display: block;
    visibility: visible;
}


.cy-chat-main ul .cy-chat-system {
    min-height: 0;
    padding: 0
}
.cy-chat-system {
    margin: 10px 0;
    text-align: center;
}
.cy-chat-system span {
    display: inline-block;
    line-height: 30px;
    padding: 0 15px;
    border-radius: 3px;
    background-color: #e2e2e2;
    cursor: default;
    font-size: 14px;
}

.cy-chat-main ul .cy-chat-mine {
    position: relative;
    text-align: right;
    padding-left: 0;
    padding-right: 60px;
}






.cy-chat-main ul .layim-chat-mine {
    text-align: right;
    padding-left: 0;
    padding-right: 60px;
}

.cy-chat-mine .cy-chat-user {
    position: absolute !important;
    left: auto !important;
    right: 3px;
    top: 0;
    margin-left: 0;
    flex-shrink: 0;
}
.cy-chat-user {
    position: absolute;
    left: 3px;
    top: 0;
    flex-shrink: 0;
}

.cy-chat-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cy-chat-text, .cy-chat-user {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
}
.cy-chat-mine .cy-chat-text {
    left: -20px;
    top: 4px;
    border-radius: 18px;
    margin-left: 0;
    margin-top: 0;
    text-align: left;
    background-color: #95ec69;
    color: #000000;
    position: relative !important;
    max-width: 500px;
    display: inline-block !important;
    visibility: visible !important;
}
.cy-chat-system .cy-chat-text {
    top: 4px;
}

.cy-chat-text {
    top: 4px;
    position: relative;
    line-height: 22px;
    margin-top: 0;
    padding: 10px 15px;
    background-color: #ffffff;
    border-radius: 10px;
    color: #333;
    word-break: break-all;
    max-width: 500px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block !important;
    visibility: visible !important;
}
.cy-chat-mine .cy-chat-user cite {
    position: absolute;
    left: auto;
    right: 142px;
    top: -22px;
    width: auto;
    line-height: 20px;
    font-size: 12px;
    white-space: nowrap;
    color: #999;
    text-align: right;
    font-style: normal;
}

.cy-chat-user cite {
    position: absolute;
    left: 0px;
    top: -22px;
    width: auto;
    line-height: 20px;
    font-size: 12px;
    white-space: nowrap;
    color: #999;
    text-align: left;
    font-style: normal;
}

.cy-chat-mine .cy-chat-user cite i {
    padding-left: 0;
    margin-left: 8px;
    font-style: normal;
}

.cy-chat-user cite i {
    padding-left: 0;
    margin-left: 8px;
    font-style: normal;
}

.cy-chat-text:after {
    content: '';
    position: absolute;
    left: -8px;
    top: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #ffffff transparent transparent;
}

.cy-chat-mine .cy-chat-text:after {
    left: auto;
    right: -6px;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #95ec69;
}


.cy-chat-footer {
    -webkit-box-shadow: 0px 0px 2px #7a7a7a;
    position: fixed;
    bottom: 0;
    width: 1200px;
    background-color: white;
    border-top: 1px solid #F1F1F1;
}

.user-nav{
    -webkit-box-shadow: 0px 0px 2px #7a7a7a;
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
    display: block !important;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.user-content-wrap {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    -webkit-box-shadow: 1px 3px 10px #747474;
    display: block;
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.cy-chat-tool {
    position: relative;
    padding: 0 8px;
    height: 38px;
    line-height: 38px;
    font-size: 0;
}

.cy-chat-tool span {
    position: relative;
    margin: 0 10px;
    display: inline-block;
    vertical-align: top;
    font-size: 24px;
    cursor: pointer;
}

.cy-chat-tool span:hover{
    color:#1E9FFF;
}

.cy-chat-textarea {
    margin-left: 10px;
}

.cy-chat-textarea textarea {
    display: block;
    width: 100%;
    padding: 5px 0 0;
    height: 100px;
    line-height: 20px;
    border: none;
    overflow: auto;
    resize: none;
    background: 0 0;
}

.cy-chat-bottom {
    position: relative;
    height: 46px;
}

.cy-chat-send {
    position: absolute;
    right: 15px;
    top: 3px;
    height: 32px;
    line-height: 32px;
    font-size: 0;
    cursor: pointer;
}

.cy-chat-send .cy-send-btn {
    border-radius: 3px;
}
.cy-chat-send span {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #1E9FFF;
    color: #fff;
    border-radius: 3px;
}

.cy-chat-send .cy-clear-btn {
    background-color: #FFB800;
}

.cy-chat-send .cy-send-set {
    position: relative;
    width: 30px;
    height: 32px;
    margin-left: 0;
    padding: 0;
    border-left: 1px solid #1E9FFF;
    border-radius: 0 3px 3px 0;
}

.cy-send-set .layui-edge {
    position: absolute;
    top: 14px;
    left: 9px;
    border-width: 6px;
    border-top-style: solid;
    border-top-color: #fff;
}

.face-box {
    border-radius: 23px;
    display: none;
    position: absolute;
    bottom: 0;
    height: 200px;
    width: 500px;
    overflow: auto;
    background: #FFF;
}

@media screen and (max-width: 768px) {
    .mobile-none,.nav-right{
        display: none !important
    }
}


/* 自定义滚动条样式 */
.cy-chat-main {
    scroll-behavior: smooth;
}

.cy-chat-main::-webkit-scrollbar {
    width: 10px;
}

.cy-chat-main::-webkit-scrollbar-track {
    background: #8d8d8f;
}

.cy-chat-main::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0a84ff, #00c6ff);
    border-radius: 4px;
}

.cy-chat-main::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #0056b3, #0099cc);
}
