﻿/* ------- Button icons -----------*/
.bdh-chat-bubble, .bdh-chat-notification {
    display: inline-block !important;
    vertical-align: middle;
    margin-right:3px;
    position: relative;
    top: -1px;
}

.bdh-chat-bubble {
    width:17px;
    background: url(../../Images/MessagingChat/bubble.png) no-repeat top left;
    background-position: 0 -62px;
    width: 15px;
    height: 12px;
}

.bdh-chat-notification {
    color: #fff;
    border-radius: 12px;
    padding: 2px 5px 2px 5px;
    font: 10px Arial, Sans-serif;
    background-color: #ec5954;
}

/*------Chat contacts window---------------*/
#bdhChatContainer {
    bottom: 0px; 
    right: 0;
    z-index: 1;
}

#bdhChatPopup {
    bottom: 0px; 
    display: none; 
    width: 307px; 
    z-index: 100; 
    margin-right: 5px !important;
    float: right;
    position: fixed;
    right: 0;
}

#bdhChatControls {
    position: absolute; 
    z-index: 100; 
    right: 0px; 
    width: 42px;
}

#bdhChatClose {
    cursor: pointer; 
    float: right; 
    position: relative; 
    background-color: -webkit-gradient(linear, left top, left bottom, from(#03789c), to(#004b64)); 
    right: 20px; top: 8px;
}

#bdhChatMinimize {
    cursor: pointer; 
    float: right; 
    position: relative; 
    background-color: -webkit-gradient(linear, left top, left bottom, from(#03789c), to(#004b64)); 
    right: 22px; 
    top: 8px;
}    
       
#bdhChatContacts {
    margin: 8px 8px 10px 2px;  
    overflow-y: auto; 
    max-height: 279px;
    min-height: 279px;
}

#bdhChatUserImage {
    width: 35px;
    height: 35px;
}

#bdhChatMessage {
    padding: 2px; 
    display: block; 
    font-size: 12px; 
    border: 1px solid rgb(187, 187, 187); 
    background-color: rgb(238, 238, 238); 
    color: rgb(102, 102, 102); 
    text-align: center; 
    width: 94%; 
    margin: 5px 3px 3px 5px; 
    background-position: initial; 
    background-repeat: initial;
}

.bdh-chat-successNotification {
    border: 1px solid rgb(57, 166, 69) !important;
    color: rgb(57, 166, 69) !important;
}

.bdh-chat-warningNotification {
    border: 1px solid rgb(234, 101, 50) !important;
}

.bdh-chat-errorNotification {
    border: 1px solid rgb(235, 39, 39) !important;  
    color: rgb(235, 39, 39) !important;
}

.bdh-chat-powered {
    margin-right:5px; 
    margin-top:3px; 
    text-align: right;
    margin-bottom: 0px; 
    font-size:1.2em; 
    width:100%;
}

.bdh-chat-header {
    height: 35px; 
	border-right:none;
	border-left:none;
	border-bottom:none;
    background: #004359;
    background:-moz-linear-gradient(top, #037092, #004359);
    background:-ms-linear-gradient(top, #037092, #004359);
    background:-o-linear-gradient(top, #037092, #004359);
	background:-webkit-gradient(linear, left top, left bottom, from(#037092), to(#004359));
	-moz-border-radius: 8px;       
	-moz-background-clip: padding; 
	-webkit-background-clip: padding-box; 
	background-clip: padding-box;
	-moz-box-shadow: 1px 0px 0px #013140, 0px 1px 0px #013140, -1px 0px 0px #013140, 0px -1px 0px #013140; 
    white-space: nowrap;
    border-top-left-radius: 5px; 
    border-top-right-radius: 5px;
}

.bdh-chat-title {
    color: white; 
    position: relative; 
    z-index: 100; 
    top: 25px; 
    left:10px;
}

.bdh-chat-contentForm {
    display: block; 
    background-color: rgb(255, 255, 255); 
    border-left-width: 1px; 
    border-left-style: solid; 
    border-left-color: #8c8888; 
    border-right-width: 1px; 
    border-right-style: solid; 
    border-right-color: #8c8888; 
    border-bottom-width: 1px; 
    border-bottom-style: solid; 
    border-bottom-color: #8c8888; 
    text-align: left; 
    padding: 4px 4px 10px 4px; 
    position: relative;
    z-index: 90;
    min-height: 210px; 
    min-width: 250px;       
}

.bdh-chat-offline {
    padding-top:15px; 
    margin-top:10px; 
    background: url('../../Images/MessagingChat/offline.png') no-repeat;
}

.bdh-chat-online {
    padding-top:15px; 
    margin-top:10px; 
    background: url('../../Images/MessagingChat/online.png') no-repeat;
}

.bdh-chat-private-messages-topRow {
    display: inline-block;
    width: 100%;
    background-color: #d9d9d9;
    padding: 15px 0 0 0;
}

.chat-warning-message {
    margin: 10px 0 10px 0;
    padding: 20px;
    background-color: #f44336;
    color: white;
    border-radius: 10px;
}

.fadeable{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.7s, opacity 0.7s linear;
}

.chat-warning-message-close-button{
    padding-top: 5px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-warning-message-close-button:hover {
    color: black;
}

.bdh-chat-addContact {
    background: url('../../Images/MessagingChat/addContact.png') no-repeat; 
    width: 30px;
    height: 30px;
    display: inline-block;
    cursor: pointer;
    float: right;
}

.bdh-chat-removeContact {
    background: url('../../Images/MessagingChat/removeContact.png') no-repeat; 
    width: 30px;
    height: 30px; 
    display: inline-block;
    cursor: pointer;
    float: right;
}

.bdh-chat {
    background: url('../../Images/MessagingChat/chat.png') no-repeat; 
    width: 30px;
    height: 30px; 
    display: inline-block;
    cursor: pointer;
    margin-top: 5px;
}

.bdh-chat-addContactRow {
    height: 30px;
    width: 100%;
    background-color: #d6d6d6;
}

.bdh-chat-addContactRow div {
    float: right;
}

/*---------Minimized Chat Window----------*/
#bdhMiniChat {
    bottom: 0px; 
    display: none; 
    position: fixed; 
    z-index: 100;
    float: right;
    width: 307px;
    margin-right: 5px !important;
    right: 0;
}

#bdhMiniChatControls {
    position: absolute; 
    z-index: 100; 
    right: 0px; 
    margin-top: 5px;
}

#bdhMiniChatClose {
    cursor: pointer; 
    float: right; 
    position: relative; 
    background-color: -webkit-gradient(linear, left top, left bottom, from(#03789c), to(#004b64)); 
    right: 20px;
}

.bdh-chat-mini-title {
    color: white; 
    position: relative; 
    z-index: 100; 
    top: 11px; 
    left:10px;
}

/*-------Users list-------------*/
.bdh-chat-userListItem {
    background-position: 2px center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin: 5px;
    overflow: hidden;
}

.bdh-chat-userListItem .bdh-chat-profilePicture {
    display: block;
    float: left;
    height: 25px;
    width: 25px;
}

.bdh-chat-userListItem .bdh-chat-profileStatus {
    display: block;
    float: right;
    height: 7px;
    margin: 10px 6px 0;
    width: 10px;
}

.bdh-chat-userFullName {
    margin-top:10px; 
}

.bdh-chat-boldUserFullName {
    font-weight: bold;
    margin-top:10px;
}

/*------- Private chat window-------------------*/
.bdh-chat-private-headerImage {
    float: left; 
    width: 28%;
}

.bdh-chat-private-headerCo {
    color: white; 
    margin-left: -20px;
}

.bdh-chat-private-userImage {
    margin-left:10px; 
    margin-top:10px;
    width: 35px;
    height: 35px;
}

.bdh-chat-private-messages {
    overflow-y: auto; 
    min-height:230px; 
    max-height:230px; 
    max-width:250px; 
    min-width: 100%;
}

.bdh-chat-private-userFullName {
    float: right; 
    width: 60%; 
    border: none; 
    height: 0px;
}

.bdh-chat-private-historyButton {
    cursor: pointer; 
    padding-left:70px; 
    font-weight:bold;
}

.bdh-chat-private-textArea {
    resize: none;
    font-size: 13px;
    min-height:30px;
}

.bdh-chat-private-controls {
    cursor: pointer; 
    float: right;
    margin-right: 5px; 
    margin-top: 3px;
}

.bdh-chat-private-closeImg {
    background: url(../../Images/MessagingChat/close.png) no-repeat;
    padding: 10px;
}

.bdh-chat-private-minimizeImg {
    background: url(../../Images/MessagingChat/minimize.png) no-repeat;
    padding: 6px;
}

.bdh-chat-private-maximizeImg {
    background: url(../../Images/MessagingChat/maximize.png) no-repeat;
    padding: 10px;
}

.bdh-chat-private-popoutImg {
    background: url(../../Images/MessagingChat/popout.png) no-repeat;
    padding: 6px;
}

.bdh-chat-private-container {
    display: none;
    margin-right: 10px; 
    bottom: 0;  
    z-index:100; 
    float: right;
    right: 0;
    position: fixed;
}

#bdhChatPrivateAllMessages {
    overflow-wrap: break-word;
    word-break: break-word;
}

#bdhChatPrivateTop {
    border-right:none;
	border-left:none;
	border-bottom:none;
	background:-webkit-gradient(linear, left top, left bottom, from(#037092), to(#004359));	
	-webkit-background-clip: padding-box; 
	background-clip: padding-box;
    white-space: normal;
    display: block;
    height: 50px;
    text-align: left;
    border-top-left-radius: 3px; 
    border-top-right-radius: 3px;
}

/*--------Private Minimazed------------*/
#bdhChatPrivateMiniTop {
    display: none;
    border-right:none;
	border-left:none;
	border-bottom:none;
	background:-webkit-gradient(linear, left top, left bottom, from(#037092), to(#004359));	
	background-clip: padding-box;	
    white-space: normal;
    height: 50px;
    min-width: 261px;
    bottom: 0;
    text-align: left;
    border-top-left-radius: 3px; 
    border-top-right-radius: 3px;
}

.bdh-chat-private-mini-userFullName {
    float: right;
    width: 70%;
    border: none;
    height: 0px;
}