﻿.main-section {
    width: 300px;
    position: fixed;
    right: 50px;
    bottom: -375px;
}

.first-section:hover {
    cursor: pointer;
}

.open-more {
    bottom: 0px;
    transition: 2s;
}

.border-chat {
    border: 1px solid #579ddb;
    margin: 0px;
}

.first-section {
    background-color: #579ddb;
}

    .first-section p {
        color: #fff;
        margin: 0px;
        padding: 10px 0px;
    }

        .first-section p:hover {
            color: #fff;
            cursor: pointer;
        }

.right-first-section {
    text-align: right;
}

    .right-first-section i {
        color: #fff;
        font-size: 15px!important;
        padding: 12px 3px;
    }

        .right-first-section i:hover {
            color: #fff;
        }

.chat-section ul li {
    list-style: none;
    margin-top: 10px;
    position: relative;
}

.chat-section {
    overflow-y: scroll;
    height: 300px;
}

    .chat-section ul {
        padding: 0px;
    }

.left-chat img,
.right-chat img {
    width: 50px;
    height: 50px;
    float: left;
    margin: 0px 10px;
}

.right-chat img {
    float: right;
}

.second-section {
    padding: 0px;
    margin: 0px;
    background-color: #F3F3F3;
    height: 300px;
}

.left-chat,
.right-chat {
    overflow: hidden;
}

    .left-chat p,
    .right-chat p {
        background-color: #579ddb;
        padding: 10px;
        color: #fff;
        border-radius: 5px;
        float: left;
        width: 60%;
        margin-bottom: 2em;
    }

        .left-chat p span,
        .right-chat p span {
            position: absolute;
            left: 70px;
            margin-top: 30px;
            color: #B7BCC5;
        }

        .right-chat p span {
            left: 45px;
        }

    .right-chat p {
        float: right;
        background-color: #FFFFFF;
        color: #579ddb;
    }

.third-section {
    border-top: 1px solid #EEEEEE;
    background-color: #FFFFFF;
}

.text-bar input {
    width: 90%;
    margin-left: -15px;
    padding: 10px 10px;
    border: 1px solid #fff;
}

.text-bar a i {
    background-color: #579ddb;
    color: #fff;
    width: 30px;
    height: 30px;
    padding: 7px 0px;
    border-radius: 50%;
    text-align: center;
}

.left-chat:before {
    content: " ";
    position: absolute;
    top: 0px;
    left: 55px;
    bottom: 150px;
    border: 15px solid transparent;
    border-top-color: #579ddb;
}

.right-chat:before {
    content: " ";
    position: absolute;
    top: 0px;
    right: 55px;
    bottom: 150px;
    border: 15px solid transparent;
    border-top-color: #fff;
}

.attachment-panel {
    padding: 3px 10px;
    text-align: right;
}