#chat-container {
    position: fixed;
    bottom: 40px;
    right: 20px;
}
.bubble-wrapper{
    position:relative;
    width: 90px;
}

/*Chat Bubble*/
.chat-bubble {
    position: absolute;
    height: 70px;
    width: 70px;
    margin: 10px;
    bottom: 0px;
    vertical-align: bottom;
    background-color: #28a745;
    color:white;
    border-radius: 35px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    cursor: pointer;
    transform: scale(1,1);
    transition: transform 300ms;
/*    animation: popin 300ms;*/
}
.chat-bubble:hover {
    transform: scale(1.1,1.1);
}
.chat-bubble.active {
    transform: scale(1.1,1.1);
}
.chat-bubble .bubble-body {
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    line-height: 72px;
}
.chat-bubble .bubble-badge {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0px;
    right: 0px;
    border-radius:10px;
}
.chat-bubble .bubble-badge.hide {
    display:none;
}

/*Chat Conversation*/
.chat-wrapper {
    position: absolute;
    bottom: 0px;
    right: 90px;
    width: 500px;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
    transition: right 500ms;
}
.chat-wrapper.hide {
    right: -550px;
}
.media-chat {
    padding-right: 64px;
    margin-bottom: 0
}
.media {
    padding: 16px 12px;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear
}
.media .avatar {
    flex-shrink: 0
}
.avatar {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 100%;
    background-color: #f5f6f7;
    color: #8b95a5;
    text-transform: uppercase
}
.media-chat .media-body {
    -webkit-box-flex: initial;
    flex: initial;
    display: table
}
.media-body {
    min-width: 0
}
.media-chat .media-body p {
    position: relative;
    padding: 6px 8px;
    margin: 4px 0;
    background-color: #f5f6f7;
    border-radius: 3px;
    font-weight: 100;
    color: #9b9b9b
}
.media>* {
    margin: 0 8px
}
.media-chat .media-body p.meta {
    background-color: transparent !important;
    padding: 0;
    opacity: .8
}
.media-meta-day {
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 0;
    color: #8b95a5;
    opacity: .8;
    font-weight: 400
}
.media {
    padding: 16px 12px;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear
}
.media-meta-day::before {
    margin-right: 16px
}
.media-meta-day::before,
.media-meta-day::after {
    content: '';
    -webkit-box-flex: 1;
    flex: 1 1;
    border-top: 1px solid #ebebeb
}
.media-meta-day::after {
    content: '';
    -webkit-box-flex: 1;
    flex: 1 1;
    border-top: 1px solid #ebebeb
}
.media-meta-day::after {
    margin-left: 16px
}
.media-chat.media-chat-reverse {
    padding-right: 12px;
    padding-left: 64px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    flex-direction: row-reverse
}
.media-chat {
    padding-right: 64px;
    margin-bottom: 0
}
.media {
    padding: 16px 12px;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear
}
.media-chat.media-chat-reverse .media-body p {
    float: right;
    clear: right;
    background-color: #48b0f7;
    color: #fff
}
.media-chat .media-body p {
    position: relative;
    padding: 6px 8px;
    margin: 4px 0;
    background-color: #f5f6f7;
    border-radius: 3px;
    max-width: 375px;
}
.border-light {
    border-color: #f1f2f3 !important
}
.bt-1 {
    border-top: 1px solid #ebebeb !important
}
.publisher {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 12px 20px;
    background-color: #f9fafb
}
.publisher>*:first-child {
    margin-left: 0
}
.publisher>* {
    margin: 0 8px
}
.publisher-input {
    -webkit-box-flex: 1;
    flex-grow: 1;
    border: none;
    outline: none !important;
    background-color: transparent
}
.publisher-btn {
    background-color: transparent;
    border: none;
    color: #8b95a5;
    font-size: 16px;
    cursor: pointer;
    overflow: -moz-hidden-unscrollable;
    -webkit-transition: .2s linear;
    transition: .2s linear
}
.file-group {
    position: relative;
    overflow: hidden
}
.publisher-btn {
    background-color: transparent;
    border: none;
    color: #cac7c7;
    font-size: 16px;
    cursor: pointer;
    overflow: -moz-hidden-unscrollable;
    -webkit-transition: .2s linear;
    transition: .2s linear
}
.file-group input[type="file"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 20px
}
.chat-wrapper .close{
    cursor: pointer;
}

/*Animations*/
@keyframes popin {
    0%   {opacity:0; transform: scale(0);}
    40% {transform: scale(1.1);}
    70% {transform: scale(.8);}
    100% {transform: scale(1);}
}