.video-chat-wrap{
    position: relative;
    margin-bottom: 60px;
    z-index: 1;
    width: 100%;
}
.video-chat-wrap:after{
    content: '';
    display: block;
    clear: both;
}
.video-chat-wrap .video-girl{

}
.video-chat-wrap .chat-girl{
    /* width: calc(100% - 846px);*/
    /* width:310px;*/
    width:26.72%;
    float: right;
    background: #2597c7;
    height: 100%;
    position: absolute;
    right: 0;
    top:0;

}
.video-chat-wrap .video-girl iframe{
    display: inline-block;
    vertical-align: top;
}
.videoWrapper {
    position: relative;
    width:73.28%;
}
.video-button{
  position: absolute;
  bottom: 30px;
  left:30px;
  right:30px;
  display: block;
  color:#fff;
  text-align: center;
  background: #f7495c;
  padding:16px 20px;
  border-radius: 30px;
  text-decoration: none;
}
.video-button:hover{
  background: #f73c51;
}
.chat-heading{
    /* padding: 20px;*/
    padding: 12px 15px;
    border-bottom: 1px solid #51acd2;
    position: relative;
}
.chating-wrap{
    /* padding: 20px;*/
    padding: 15px;
}
.round-photo {
    float: left;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    overflow: hidden;
}
.chat-name-status{
    margin-left: 55px;
}
.chat-name-status p{
    font-size: 18px;
    font-weight: 300;
    line-height: 21px;
}
.chat-name-status span{
    font-size: 12px;
    color:#fff;
}
.msg-header{
    margin-bottom: 4px;
    font-weight: 300;
}
.msg-header time{
    font-size: 12px;
    float: right;
    color:#8bc8e1;
}
.msg-text{
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}
.your-message,.her-message{
    margin-bottom: 15px;
}
.your-message .your-name{
    color:#ffca3a;
    font-size: 14px;
}
.her-message .her-name{
    color:#80ffb6;
    font-size: 14px;
}
#chating-scroll{
    position: relative;
    height: calc(100% - 136px);
}

.chat-types-tabs:after{
    content: '';
    display: block;
    position: absolute;
    bottom:-36px;
    left:0;
    width: 100%;
    height: 35px;
    z-index: 2;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2597c7+0,2597c7+100&1+0,0+100 */
    background: -moz-linear-gradient(top,  rgba(37,151,199,1) 0%, rgba(37,151,199,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(37,151,199,1) 0%,rgba(37,151,199,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(37,151,199,1) 0%,rgba(37,151,199,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2597c7', endColorstr='#002597c7',GradientType=0 ); /* IE6-9 */

}

.chat-types-tabs{
    position: relative;
    background: #2597c7;
    border-bottom: 1px solid #51acd2;
    font-size: 0;
}
.chat-types-tabs .tab-item{
    display: inline-block;
    width: 50%;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-ransition:0.3s ease-in-out;
}
.chat-types-tabs .tab-item.active
{
    background: #1E85B1;
}
.chat-types-tabs .tab-item:hover{
    background: #29A3D6;
}
i.private{
    display: inline-block;
    background: url('../img/chat-icons.png') no-repeat 0 0;
    width: 11px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -2px;
}
i.group{
    display: inline-block;
    background: url('../img/chat-icons.png') no-repeat -15px 0;
    width: 19px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -2px;
}
.chat-types-tabs .tab-item+.tab-item{
    border-left:1px solid #51acd2;
}
.typing-area{
    height: 50px;
    width: 100%;
    position: absolute;
    bottom:0;
    left:0;
}
.typing-area textarea{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: #fff;
    resize: none;
    box-sizing: border-box;
    /* padding: 20px;*/
    padding:17px 15px;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding-right: 55px;
    border-radius: 0;
    -webkit-appearance: none;
    overflow: hidden;
}
.typing-area .send-enter{
    position: absolute;
    border: none;
    outline: none;
    background: url(../img/enter.png) center center no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    bottom: 13px;
    right: 14px;
    width: 19px;
    height: 21px;
    cursor: pointer;
}
.fixed-chat.opened{
    bottom: 0;
    width: 280px;
}
.fixed-chat.visible{
    visibility: visible;
    opacity: 1;
}
.fixed-chat{
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 100;
    bottom: -406px;
    right: 0;
    width: 200px;
    background: #2597c7;
    height: 446px;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-ransition:0.3s ease-in-out;
}
.fixed-chat .chat-girl{
    height: 100%;
}
#chating-scroll2 {
    position: relative;
    height: calc(100% - 270px);
}
.chat-topbar{
    height: 40px;
    background: #2597c7;
    border-bottom: 1px solid #51acd2;
    position: relative;
    z-index: 2;
    font-size: 0;
    overflow: hidden;
    cursor: pointer;
}
.chat-topbar .left{
    float: left;
    font-size: 16px;
    padding: 10px 15px;
}
.chat-topbar .right{
    float: right;
}
.close-chat{
    width: 40px;
    height: 40px;
    background: #1E85B1;
    display: inline-block;
    vertical-align: top;
    position: relative;
    cursor: pointer;
    border-left: 1px solid #51ACD2;
}
.close-chat i{
    display: block;
    background: url('../img/chatbar-fix-nav.png') no-repeat 0 0;
    width: 12px;
    height: 12px;
    position: absolute;
    left:50%;
    top:50%;
    margin-left: -6px;
    margin-top: -6px;
}
.opened .close-chat i{
    background: url('../img/chatbar-fix-nav.png') no-repeat -19px 0;
}
.indicate{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    vertical-align: 1px;
    margin-right: 7px;
    animation: flash 2.5s infinite;
    -webkit-animation: flash 2.5s infinite;
    -moz-animation: flash 2.5s infinite;
}
.indicate.online{
    background: #0ADA7A;
}
.indicate.offline{
    background: #f7495c;
}
.video-girl-fixed {
    height: 158px;
}
.video-girl-fixed iframe{
    width: 280px !important;
    height: 158px !important;
}
.opened .fix-chat-name{
    display: block;
}
.fix-chat-name{
    float: left;
    font-size: 16px;
    padding: 10px 15px;
    max-width: 160px;
    white-space: nowrap;
    display: none;
}
.fix-chat-name p{
    text-overflow: ellipsis;
    overflow: hidden;
}




/*---volume---*/

.video-controls{
    z-index: 2000;
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    padding:60px 20px 20px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
}
.videoWrapper:hover .video-controls{
    opacity: 1;
    visibility: visible;
}
.videoWrapper:hover .video-volume{
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    opacity: 1;
    visibility: visible;
}
.video-volume{
    transform: translateY(20px);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
}
.volume-icon{
    width: 30px;
    height: 26px;
    display: inline-block;
    vertical-align: middle;
    background-size: 30px 51px !important;
    margin-right: 2px;
    cursor:pointer;
}
.off .volume-icon{
    background: url('../img/video-controls.svg') no-repeat 0 2px;
}
.on .volume-icon{
    background: url('../img/video-controls.svg') no-repeat 0 -25px;
}
.volume-line{
    width: 80px;
    height: 6px;
    border-radius: 3px;
    display: inline-block;
    background: rgba(255,255,255,0.6);
    vertical-align: middle;
    position: relative;
}
.volume-line .vol-covered{
    position: absolute;
    height: 6px;
    border-radius: 3px;
    display:block;
    background: #fff;
    left:0;
    top:0;
}
.volume-line .vol-dragger{
    display: block;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top:50%;
    margin-top: -7px;
    cursor:pointer;
}

@media (max-width: 1160px){

    .video-chat-wrap{
        margin-bottom: 50px;
    }
}

@media (max-width: 680px){
    .fixed-chat{
        display: none;
    }
}




