﻿#chat-container > *, #chat-container :after, #chat-container :before {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#chat-container input[type=text] {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#chat-container {
    /*position: absolute;*/
    position: fixed;
    width: 92%;
    height: 100vh;
    z-index: 1014;    
    border-bottom: 1px solid #CDCECF;
    top: 0;
    background: #f2f4f8;
    transition-duration: .25s;
    -webkit-transition-duration: .25s;
    -moz-transition-duration: .25s;
    -o-transition-duration: .25s;
    -ms-transition-duration: .25s;
}

    #chat-container.open .chat-container-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.61);
    }

    #chat-container:hover, #chat-container:hover .chat-list-open-close {
        border-color: #A7A7A7;
    }

    

    #chat-container .chat-list-open-close {
        display: block;
        width: 25px;
        height: 25px;
        border: 1px solid #CDCECF;        
        position: absolute;
        /*top: 15%;*/
        top:9px;
        padding: 3px 1px 3px 5px;
        font-size: 21px;
        line-height: 22px;
        cursor: pointer;
        color: #868686;
        box-shadow: inset 0 .2em 0 rgba(0, 0, 0, .05);
        -moz-box-shadow: inset 0 .2em 0 rgba(0, 0, 0, .05);
        background: #f2f4f8;
        text-align: center;
    }

        #chat-container .chat-list-open-close b {
            position: absolute;
            right: 0;
            background: #ed1c24;
            line-height: 9px;
            height: 10px;
            width: 10px;
            top: 3px;
            border: 1px solid #FFF;
            border-radius: 3px;
            font-size: 9px;
            text-align: center;
            vertical-align: middle;
            color: #fff;
            font-weight: 400;
        }

    #chat-container.open .chat-list-open-close i:before {
        content: "\f00d" !important;
    }

    #chat-container.open .chat-list-open-close b {
        display: none;
    }



.smart-ltr #chat-container {
    width: 92%;
    right: -92%;
    border-left: 1px solid #CDCECF;
}

.smart-ltr #chat-container.open {
        right: 0;
        top: 0;
    }

.smart-rtl #chat-container {
    width: 60%;
    left: -60%;
    border-right: 1px solid #CDCECF;
}

.smart-rtl #chat-container.open {
        left: 0;
        top: 0;
    }


.smart-ltr #chat-container .chat-list-open-close {
    left: -32px;
    border-radius: 50% 0 0 50%;
    border-right: 1px solid #f2f4f8 !important;
}

.smart-rtl #chat-container .chat-list-open-close {
    right: -32px;
    border-radius: 0 50% 50% 0;
    border-left: 1px solid #f2f4f8 !important;
}


@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .smart-ltr #chat-container {
        width: 75%;
        right: -75%;
    }
}

@media (min-width: 1281px) {
    .smart-ltr #chat-container {
        width: 60%;
        right: -60%;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .smart-rtl #chat-container {
        width: 75%;
        left: -75%;
    }
}

@media (min-width: 1281px) {
    .smart-rtl #chat-container {
        width: 60%;
        left: -60%;
    }
}
