@font-face {
    font-family: AzukaRegular;
    src: url(/fonts/Brandon_reg.otf);
}
html {
    font-family: 'AzukaRegular';

}

.icons-chat .btn {
    display: inline-flex;
    align-items: center;
}
#slideErrorContainer {
    float: right;
    left: 69%;
    width: 31%;
    height: 10px;
    position: absolute;
}

#slideMessageContainer {
    float: left;
    width: 31%;
    height: 10px;
    position: absolute;
}

.slideMessage, .slideError {
    display: block;
    position: static;
    width: 100%;

    margin: 0 20px 0 10px;
    padding: 5px;
    border-radius: 3px;
    color: black;
    font-size: medium;
}

.slideMessage {
    float: left;
    background-color: #00b2e5;
}

.slideError {
    float: right;
    background-color: #ff3232;
}

/*@media  screen and (max-width: 1000px){*/
    /*.chatMessageDivYours, .chatMessageDivchatMessageDivOther {*/
        /*width: 70%;*/
    /*}*/
/*}*/

.webChatBoxes1
{
    float: left;
    padding-bottom: 5px;
    height: 100%;
    width: 84%;
}



.webChatBoxes2:hover .ratingGauge
{
    transition: opacity 0.1s ease-in-out;
    opacity: 0.3;
}

.webChatBoxes1 textarea
{
    max-width: 900px;
    min-width: 290px;
    min-height: 55px;
    border-radius: 5px;
    height: 55px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.webChatBoxes1, .webChatBoxes2
{
    border-radius: 10px;

}

.calculatingLabel
{
    font-size: 12px;
    font-weight: bold;
    animation: blinker 1s linear infinite;
}

.ratingGauge
{/*
    Width:50%;
    margin:10% 25%;*/
}

@keyframes blinker
{
    50% { opacity: 0; }
}

.hiddenClickName
{
    opacity: 0;
}

.webChatBoxes2:hover .hiddenClickName
{
    transition: all 0.8s ease-in-out;
    opacity: 1;
    height: 100%;
}

/*!*New Styling for the Awesome Responsive WebChat*!*/
/*@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700);*/
/*@import url(http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);*/


::selection{
    background: rgba(82,179,217,0.3);
    color: inherit;
}

/* M E N U

.menu {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100px;
    background: rgba(82,179,217,0.9);
    /*z-index: 100;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
*/
.back {
    position: absolute;
    width: 90px;
    height: 50px;
    margin: 25px 0;
    top: 0px;
    left: 0px;
    color: #fff;
    line-height: 50px;
    font-size: 30px;
    padding-left: 10px;
    cursor: pointer;
}
.flex-image img {

    background-color: rgba(255,255,255,0.98);
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    width: 50px;

}


.last{

    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    cursor: default;
    text-align: left;
}
.client-name-date {
    /* position: absolute; */
    /* top: 3px; */
    /* left: 110px; */
    /* height: 50px; */
    /* margin: 25px 0; */
    font-size: 20px !important;
    font-weight: 300;
    color: rgba(255,255,255,0.98);
    /* cursor: default; */
}

/* M E S S A G E S */

.chat {
    list-style: none;
    background: none;
    background-color: rgba(0, 0, 0, 0);
    margin: 0;
}

.chat-bottom{
    display: flex;
    justify-content: space-between;
    background: #fafafa;
}
.textbox-chat {
    overflow-y: auto;
    max-height: 80vh;
}

.clientmenu {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}
.flex-container {
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid black;
    padding: 20px;
    justify-content: space-between;
}
/*.chat li {*/
    /*padding: 0.5rem;*/
    /*overflow: hidden;*/
    /*display: flex;*/
/*}*/
.chat .avatar {
    width: 40px;
    height: 40px;
    position: relative;
    display: block;
    z-index: 2;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    background-color: rgba(255,255,255,0.9);
}
.chat .avatar img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    background-color: rgba(255,255,255,0.9);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.chat .day {
    position: relative;
    display: block;
    text-align: center;
    color: #c0c0c0;
    height: 20px;
    text-shadow: 7px 0px 0px #e5e5e5, 6px 0px 0px #e5e5e5, 5px 0px 0px #e5e5e5, 4px 0px 0px #e5e5e5, 3px 0px 0px #e5e5e5, 2px 0px 0px #e5e5e5, 1px 0px 0px #e5e5e5, 1px 0px 0px #e5e5e5, 0px 0px 0px #e5e5e5, -1px 0px 0px #e5e5e5, -2px 0px 0px #e5e5e5, -3px 0px 0px #e5e5e5, -4px 0px 0px #e5e5e5, -5px 0px 0px #e5e5e5, -6px 0px 0px #e5e5e5, -7px 0px 0px #e5e5e5;
    box-shadow: inset 20px 0px 0px #e5e5e5, inset -20px 0px 0px #e5e5e5, inset 0px -2px 0px #d7d7d7;
    line-height: 38px;
    margin-top: 5px;
    margin-bottom: 20px;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.chatSystemMessageDiv{

}

.chatMessageNameYours{
    font-size: 16px;
    float: right;
}

.chatMessageNameOther{
    font-size: 16px;
    float: left;
}

.chatMessageNameYours img{
    width: 30px;
    height: auto;
    margin-right: 11px;
    float: right;
}

.chatMessageNameOther img{
    width: 30px;
    height: auto;
    margin-left: 11px;
    float: left;
}

.chatMessageNameYours, hr{
    width:100%;

}

.chatMessageNameOther, hr{
    width: 100%;
}

.chatMessageNameOther .attachIcon{
    text-indent: -9999px;
    border: none;
    background-image: url('../images/attach 2 small.ico');
    background-repeat: no-repeat;
    height: 38px;
    width: 39px;
    background-color: transparent;
    cursor: pointer;
    float: left;
}

.chatMessageDiv, .chatSystemMessageDiv {
    /*padding: 10px;*/
    background-size: 100%;
    clear: both;
    color: white;
    text-align: center;
}

.chatMessageDivOther {
    width: 80%;
    margin: 2px;
    /* background: #ecf0f1; */
    /* color: #3498db; */
    float: right;
    text-align: right;
    padding: 1em;
    -moz-border-radius: 1em 0 0 1em;
    -webkit-border-radius: 1em;
    border-radius: 1em 0 0 1em;
    background-color: #f1f1f1;
}
.chatMessageDivOther .msg {
    order: 1;
    color: #3498db;
    border-top-left-radius: 0px;
    box-shadow: -1px 2px 0px #D4D4D4;
}
.chatMessageDivOther:before {
    content: "";
    position: relative;
    top: 0px;
    right: 0px;
    left: 40px;
    width: 0px;
    height: 0px;
    /*border: 5px solid #fff;
    border-left-color: transparent;
    border-bottom-color: transparent;*/
}

.chatMessageDivYours {
    justify-content: flex-end;
    align-items: flex-end;
    width: 80%;
    /* color: white; */
    /* float: left; */
    margin: 2px;
     border: 1px solid darkgrey;
    /* background: #3498db; */
    float: left;
    padding: 10px;
    text-align: left;
    -moz-border-radius: 0 1em 1em 0;
    -webkit-border-radius: 0;
    border-radius: 0 1em 1em 0;
    background-color: #ddd;
}
.chatMessageDivYours .msg {
    order: 1;
    border-bottom-right-radius: 0px;
    box-shadow: 1px 2px 0px #D4D4D4;
}
.chatMessageDivYours .avatar {
    order: 2;
}
.chatMessageDivYours .avatar:after {
    content: "";
    position: relative;
    display: inline-block;
    bottom: 19px;
    right: 0px;
    width: 0px;
    height: 0px;
    border: 5px solid #fff;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 0px 2px 0px #D4D4D4;
}

.chatMessageDivYours .chatMessageTime {
    float: right;
}
.chatMessageDivOther .chatMessageTime{
    float:left

}
span.chatMessageTime {
    font-size: 12px;
    color: grey;
}

.msg {
    background: white;
    min-width: 50px;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.07);
}
.msg p {
    font-size: 0.8rem;
    margin: 0 0 0.2rem 0;
    color: #777;
}
.msg img {
    position: relative;
    display: block;
    width: 450px;
    border-radius: 5px;
    box-shadow: 0px 0px 3px #eee;
    transition: all .4s cubic-bezier(0.565, -0.260, 0.255, 1.410);
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
@media screen and (max-width: 800px) {
    .msg img {
        width: 300px;
    }
}
@media screen and (max-width: 550px) {
    .msg img {
        width: 200px;
    }
}

.msg time {
    font-size: 0.7rem;
    color: #ccc;
    margin-top: 3px;
    float: right;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.msg time:before{
    content:"\f017";
    color: #ddd;
    font-family: FontAwesome;
    display: inline-block;
    margin-right: 4px;
}

emoji{
    display: inline-block;
    height: 18px;
    width: 18px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -7px;
    margin-right: 2px;
    transform: translate3d(0px, 3px, 0px);
}
emoji.please{background-image: url(http://imgur.com/ftowh0s.png);}
emoji.lmao{background-image: url(http://i.imgur.com/MllSy5N.png);}
emoji.happy{background-image: url(http://imgur.com/5WUpcPZ.png);}
emoji.pizza{background-image: url(http://imgur.com/voEvJld.png);}
emoji.cryalot{background-image: url(http://i.imgur.com/UUrRRo6.png);}
emoji.books{background-image: url(http://i.imgur.com/UjZLf1R.png);}
emoji.moai{background-image: url(http://imgur.com/uSpaYy8.png);}
emoji.suffocated{background-image: url(http://i.imgur.com/jfTyB5F.png);}
emoji.scream{background-image: url(http://i.imgur.com/tOLNJgg.png);}
emoji.hearth_blue{background-image: url(http://i.imgur.com/gR9juts.png);}
emoji.funny{background-image: url(http://i.imgur.com/qKia58V.png);}

/*@-webikt-keyframes pulse {*/
    /*from { opacity: 0; }*/
    /*to { opacity: 0.5; }*/
/*}*/

/* T Y P E */

textarea.textarea {
    height: 67px;
    z-index: 99;
    background: #fafafa;
    border: none;
    outline: none;
    color: #666;
    font-size: 16px;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    font-family: 'AzukaRegular';
}

.emojis {
    position: fixed;
    display: block;
    bottom: 15px;
    left: 7px;
    width: 34px;
    height: 34px;
    background-image: url(http://i.imgur.com/5WUpcPZ.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100;
    cursor: pointer;
}

.emojis:active {
    opacity: 0.9;
}

.button-send{

    /*width: 38px;*/
    /*height: 38px;*/
    /*background-image: url('../images/send_message.png');*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*z-index: 100;*/
    /*cursor: pointer;*/
    /*margin: 0;*/
    /*background-color: #fff;*/
}
.container-bottom {
    position: fixed;
    width: 100%;
    bottom: 0;
}
.attach-button{
    background-image: url('../images/attach 2 small.ico');
    background-repeat: no-repeat;
    height: 38px;
    width: 38px;
    background-color: transparent;
    cursor: pointer;
    background-position-x: center;
    background-position-y: center;
    margin: 0 !important;
}
.text-box {
    flex-grow: 1;
}
a {
    /*color: white;*/
    text-decoration: none;
}
/*.close-overlay::before {*/
    /*color: rgba(255, 255, 255, 0.9);*/
    /*z-index: 100000 !important;*/
    /*content: "X";*/
    /*font-size: 15px;*/
    /*text-shadow: 0 -1px rgba(0, 0, 0, 0.9);*/
    /*background: #000;*/
    /*border-radius: 20px;*/
    /*padding: 6px;*/
    /*width: 20px;*/
    /*border: 2px solid #537895;*/
    /*position: absolute;*/
    /*top: -15px;*/
    /*right: -15px;*/
    /*text-align: center;*/
/*}*/


.client-details {
    display: flex;
    margin-top: 10px;
    justify-content: space-around;
}
.client-details > button{
    flex-basis: 100%;
    -webkit-flex-basis: 100%;
}
.icons-chat {
    height: 67px;
    display: flex;
    background: white;
}
.icons-chat input {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.user-profile {
    flex-grow: 1;
}

.unselectedMatters {
    background: rgba(25,25,25,0.4);
    padding: 2px;
    font-size: larger;
    font-weight: bold;
    cursor: -webkit-grab;
}

.webChatQueueClient:nth-child(odd) {
    padding: 10px;
    font-size: large;
    border-radius: 5px;
    background: #2D3F55;
    border-color: #4A7496;
    background-image: linear-gradient(to bottom, #4A7496, #2D3F55);
    box-sizing: border-box;
    cursor: pointer;
}

.webChatQueueClient:nth-child(even) {
    padding: 10px;
    font-size: large;
    border-radius: 5px;
    background: #425266;
    border-color: #4A7496;
    background-image: linear-gradient(to bottom, #4A7496, #425266);
    box-sizing: border-box;
    cursor: pointer;
}



.webChatQueueClient:hover {
    color: whitesmoke;
    background-color: #2D3F55;
}

.webChatClient:nth-child(odd) {
    padding: 10px;
    font-size: large;
    border-radius: 5px;
    background: #2D3F55;
    border-color: #4A7496;
    background-image: linear-gradient(to bottom, #4A7496, #2D3F55);
    box-sizing: border-box;
    cursor: pointer;
}

.webChatClient:nth-child(even) {
    padding: 10px;
    font-size: large;
    border-radius: 5px;
    background: #425266;
    border-color: #4A7496;
    background-image: linear-gradient(to bottom, #4A7496, #425266);
    box-sizing: border-box;
    cursor: pointer;
}

.webChatClient:hover {
    color: whitesmoke;
    background-color: #2D3F55;
}

.webChatOldClient {
    padding: 2px;
    font-size: large;
    border-bottom: solid red 1px;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
}

.webChatOldClient:hover {
    background: linear-gradient(0deg, indianred, whitesmoke, whitesmoke, whitesmoke, indianred);
}

.webChatCloseOldClient {
    float: right;
    border: 1px solid black;
    border-radius: 5px;
    padding: 0 5px 0 7px;
    background: red;
    font-weight: bold;
}



.unreadCount {
    border: 1px solid red;
    border-radius: 3px;

    margin-left: 5px;

    padding-left: 4px;
    padding-right: 4px;

    color: red;
    background: whitesmoke;

    font-weight: bold;
}

.webChatSearchTable th {
    border-bottom: 2px solid black;

    font-weight: bold;
}

.webChatSearchTable tr:hover {
    background: lightgrey;
}
@media
(max-width: 768px) {

    #clientsDiv, #queueDiv {
        height: auto;
    }
}