

.fixed-chat *{box-sizing: border-box;}

.fixed-chat.opened{
    bottom: 0;
    width: 410px;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.33);
}
.fixed-chat.visible{
    visibility: visible;
    opacity: 1;
}
.fixed-chat{
    max-height: 600px;
    position: fixed;
    z-index: 100;
    /*bottom: -406px;*/
    bottom: 0;
    right: 0;
    width: 200px;
    background: #252b39;
    /*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%;
}


.chat-topbar{
    height: 40px;
    background: #252b39;
    position: relative;
    z-index: 2;
    font-size: 0;
    cursor: pointer;
}
.chat-topbar .left{
    font-size: 16px;
    padding: 10px 15px;
    color:#fff;
}
#toggle-fixed-chat{
    position: relative;
    z-index: 3;
    padding-right: 40px;
    height: 40px;
}
.chat-topbar .right{float: right;}
.chat-topbar .left{float: left;}
.fixed-chat.opened .close-chat{z-index: 4;}
.chat-topbar .close-chat{
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
}
.close-chat-n{
    width: 40px;
    height: 40px;
    background: #343d51;/*#1E85B1;*/
    display: inline-block;
    vertical-align: top;
    position: relative;
    cursor: pointer;
    border-left: 1px solid #4b5875;/*#51ACD2;*/
}

.chat-topbar .close-chat-n {
    position: absolute;
    right: 0;
    top: 0;
}

.opened .close-chat-n {
    opacity: 0;
}

.close-chat-n i{
    display: block;
    background: url('/assets/img/main/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-n i{
    background: url('/assets/img/main/chatbar-fix-nav.png') no-repeat -19px 0;
    opacity: 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: #76d03a;
}
.indicate.offline{
    background: #f75b16;
}

.chat-content {
    height: 602px;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}
.opened .chat-content {
    display: block;
    background: #ffffff;
    visibility: visible;
    opacity: 1;
    /*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-loader {
    height: 602px;
    line-height: 602px;
    text-align: center;
}

.opened .chat-topbar {
    position: absolute;
    width: 40px;
    right: 0;
    top: 0;
    opacity: 0;
}
.opened .chat-topbar #toggle-fixed-chat{
    display: none;
}

.chat-loader md-progress-circular{
    display: inline-block;
}


@media (max-width: 1160px){

    .video-chat-wrap{
        margin-bottom: 50px;
    }
}
@media (max-width: 959px){
    .fixed-chat.opened{
        z-index: 999;
        height: 100%;
        max-height: 600px;
    }
}

@media (max-width: 680px){
    .fixed-chat.opened{
        z-index: 999;
        height: 100%;
        max-height: 100%;
        width: 100%;
    }
}

@media (max-width: 420px){
    .video-chat-wrap .chat-girl {min-height: 66vh;height: calc(100vh - 245px);}
}
@media (max-width: 380px){
    .video-chat-wrap .chat-girl {min-height: 55vh;height: calc(100vh - 225px);}
}
@media (max-width: 340px){
    .video-chat-wrap .chat-girl {min-height: 55vh;height: calc(100vh - 190px);}
}
/* used */



/*
bg : #2597c7;
bottom: 1px solid #51acd2
close: #1E85B1
left: 1px solid #51ACD2;
*/