/*chat css*/
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300);
@import url(https://fonts.googleapis.com/css?family=Open+Sans);

.popup-box {
   background-color: #ffffff;
    border: 1px solid #b0b0b0;
    bottom: 0;
    display: none;
    height: auto;
    position: fixed;
    right: 30px;
    width: 300px;
    font-family: 'Open Sans', sans-serif;
    z-index: 999;
}

.popup-box-modal {
   background-color: #ffffff;
    /*border: 1px solid #b0b0b0;*/
    /*bottom: 0;*/
    /*display: none;*/
    height: auto;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    z-index: 999;
}

.round.hollow {
    margin: 40px 0 0;
}
.round.hollow a {
    border: 2px solid #ff6701;
    border-radius: 35px;
    color: red;
    color: #ff6701;
    font-size: 23px;
    padding: 10px 21px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
}
.round.hollow a:hover {
    border: 2px solid #000;
    border-radius: 35px;
    color: red;
    color: #000;
    font-size: 23px;
    padding: 10px 21px;
    text-decoration: none;
}
.popup-box-on {
    display: block !important;
}
.popup-box .popup-head {
    background-color: #3490dc;
    clear: both;
    color: #fff;
    display: inline-table;
    
    padding: 7px 10px;
    width: 100%;
     font-family: Oswald;
}
.bg_none i {
    border: 1px solid #ff6701;
    border-radius: 25px;
    color: #ff6701;
    font-size: 17px;
    height: 33px;
    line-height: 30px;
    width: 33px;
}
.bg_none:hover i {
    border: 1px solid #000;
    border-radius: 25px;
    color: #000;
    font-size: 17px;
    height: 33px;
    line-height: 30px;
    width: 33px;
}
.bg_none {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
}
.popup-box .popup-head .popup-head-right {
    margin: 0px 0px 0;
    line-height: 35px;
}
.popup-box .popup-messages {
}
.popup-head-left img {
    border: none;
    background: #3f9684  none repeat scroll 0 0;
    border-radius: 50%;
    float: left;
    height: 30px;
    width: 30px;
    margin-top: 5px;
}

.chat-username-header {
    font-size: 14px;
    font-weight: bold;
    margin-left: 20px;
    font-family: 'Open Sans', sans-serif;
    line-height: 35px;
}

.popup-messages-footer > textarea {
    border-bottom: 1px solid #b2b2b2 !important;
    height: 34px !important;
    margin: 7px;
    padding: 5px !important;
     border: medium none;
    width: 95% !important;
}

.chat_message_textarea {
    border-bottom: 1px solid #b2b2b2 !important;
    height: 34px !important;
    margin: 7px;
    padding: 5px !important;
    border: medium none;
    width: 95% !important;
}

.popup-messages-footer {
    background: #fff none repeat scroll 0 0;
    /*bottom: 0;
    position: absolute;*/
    width: 100%;
}
.popup-messages-footer .btn-footer {
    overflow: hidden;
    padding: 2px 5px 10px 6px;
    width: 100%;
}
.simple_round {
    background: #d1d1d1 none repeat scroll 0 0;
    border-radius: 50%;
    color: #4b4b4b !important;
    height: 21px;
    padding: 0 0 0 1px;
    width: 21px;
}


.font-11 {
    font-size: 11px;
}


.popup-box .popup-messages {
    background: #fff none repeat scroll 0 0;
    height: auto;
    overflow: auto;
}
.direct-chat-messages {
    overflow: auto;
    padding: 10px;
    transform: translate(0px, 0px);
    
}
.popup-messages .chat-box-single-line {
    border-bottom: 1px solid #a4c6b5;
    height: 12px;
    margin: 7px 0 20px;
    position: relative;
    text-align: center;
}
.popup-messages abbr.timestamp {
    background: #fff none repeat scroll 0 0;
    color: #005c9d;
    padding: 0 11px;
}

.popup-head-right .btn-group {
    font-size: 14px;
    display: inline-flex;
    margin: 0 8px 0 0;
    vertical-align: top !important;
}
.chat-header-button {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #636364;
    border-radius: 50%;
    font-size: 14px;
    height: 30px;
    width: 30px;
}
.popup-head-right .btn-group .dropdown-menu {
    border: medium none;
    min-width: 122px;
  padding: 0;
}
.popup-head-right .btn-group .dropdown-menu li a {
    font-size: 12px;
    padding: 3px 10px;
  color: #303030;
}

.popup-messages .chat-box-single-line {
    border-bottom: 1px solid #005c9d;
    height: 12px;
    margin: 7px 0 20px;
    position: relative;
    text-align: center;
}
.popup-messages .direct-chat-messages {
    height: 200px;
}
.popup-messages {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #dfece7;
    border-radius: 2px;
    color: #1f2121;
}

.popup-messages .direct-chat-timestamp {
    color: #000;
    font-size: 10px;
    opacity: 0.6;
    font-weight: bold;
}

.popup-messages .direct-chat-name {
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 0 49px !important;
  color: #005c9d;
  opacity: 0.9;
}
.popup-messages .direct-chat-info {
    display: block;
    font-size: 12px;
    margin-bottom: 0;
}
.popup-messages  .big-round {
    margin: -9px 0 0 !important;
}
.popup-messages  .direct-chat-img {
    border: none;
    background: #3f9684  none repeat scroll 0 0;
    border-radius: 50%;
    float: left;
    height: 30px;
    margin: -21px 0 0;
    width: 30px;
}
.direct-chat-reply-name {
    color: #fff;
    font-size: 15px;
    margin: 0 0 0 10px;
    opacity: 0.9;
}

.direct-chat-img-reply-small
{
    border: 1px solid #fff;
    border-radius: 50%;
    float: left;
    height: 20px;
    margin: 0 8px;
    width: 20px;
  background:#3f9684;
}

.popup-messages .direct-chat-msg {
    margin-bottom: 10px;
    position: relative;
}

.popup-messages .doted-border::after {
  background: transparent none repeat scroll 0 0 !important;
    border-right: 2px dotted #fff !important;
  bottom: 0;
    content: "";
    left: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
   display: inline;
    z-index: -2;
}

.popup-messages .direct-chat-msg::after {
    background: #fff none repeat scroll 0 0;
    border-right: medium none;
    bottom: 0;
    content: "";
    left: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
   display: inline;
    z-index: -2;
}
.direct-chat-text::after, .direct-chat-text::before {
   
    border-color: transparent #dfece7 transparent transparent;
    
}
.direct-chat-text::after, .direct-chat-text::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent #d2d6de transparent transparent;
    border-image: none;
    border-style: solid;
    border-width: medium;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
}
.direct-chat-text::after {
    border-width: 5px;
    margin-top: -5px;
}

.direct-chat-text {
    background: #d2d6de none repeat scroll 0 0;
    border: 1px solid #d2d6de;
    border-radius: 5px;
    color: #444;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}






.direct-chat-text-response::after, .direct-chat-text-response::before {
   
    border-color: transparent #dfece7 transparent transparent;
    
}
.direct-chat-text-response::after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    content:"";
    position:absolute;
    height:0;
    width:0;
    left:100%;
    top:15px;
    border:20px solid transparent;
    border-left: 20px solid #d2d6de;
}
.direct-chat-text-response::after {
    border-width: 5px;
    margin-top: -5px;
}
.direct-chat-text-response {
    background: #dfece7 none repeat scroll 0 0;
    border: 1px solid #dfece7;
    border-radius: 2px;
    color: #1f2121;
}
.direct-chat-text-response {
    background: #AAC9FF none repeat scroll 0 0;
    border: 1px solid #d2d6de;
    border-radius: 5px;
    color: #444;
    margin: 5px 5px 0 30px;
    padding: 5px 10px;
    position: relative;
}

.popup-head {
  height: 35px;
  border-radius: 5px 5px 0px 0px;
}

.popup-box {
  border-radius: 5px 5px 0px 0px;
}

.direct-chat-timestamp-response {
    color: #000;
    font-size: 10px;
    opacity: 0.6;
    font-weight: bold;
    margin-left: 30px;
}

.pull-center {
  margin: auto;
  width: 50%;
  padding: 5px;
}

.image-100 {
  width:100px;
}

.dropdown-menu {
  min-width: 0px;
  text-align: center;
}



.contacts-container {
  flex: 0 0 25%;
  min-width: 100px;
  max-width: 420px;
  background-color: #f8fafc;
  border: 1px solid #dfece7;
}

.contacts-tags-container {
  background-color: #fff;
  height: calc(100vh - 185px);
  overflow: auto;
  border: 1px solid #dfece7;
}

.contacts-tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
}

.contacts-tags:hover {
  background-color: #d2d6de;
  cursor: pointer;
}

.contacts-tags-img {
  padding: 5px;
}

.contacts-tags-name {
  padding: 5px;
  flex: 1 1 auto;
}

.contacts-tags-buttons {
  align-items: center;
  display: flex;
  float: right;
  padding: 9px;
  right: 0px;
  top: 0px;
}

.unseen-messages {
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 0px 3px;
  font-size: 11px;
}

.messages-container {
  display: flex;
  flex: 3;
  flex-direction: column;
}

.messages-header {
  align-items: center;
  border-bottom: none;
  box-shadow: 0 1px 2px 0
  rgba(0, 0, 0, .10);
  display: flex;
  flex: 1;
  height: 60px;
  padding-left: 16px;
  background-color: #fff;
}

.profile-thumbnail {
  border-radius: 50%;
  width: 30px;
}

.profile-thumbnail-40 {
  border-radius: 50%;
  width: 40px;
}

.profile-thumbnail-container {
  display: flex;
  justify-content: center;
  margin-left: 2px;
  margin-right: 12px;
}

.header-contact-name-container {
  align-items: center ;
  display: flex;
  
  flex-direction: row;
  height: 32px;
}

.is-typing {
  display: flex;
  align-items: center ;
  flex: 1;
  height: 32px;
  padding-left: 5px;
}


.header-action-buttons-container {
  justify-content: flex-end;
  align-items: center ;
  display: flex;
  padding: 9px;
  flex: 1;
  font-size: 20px;
}

.header-search_box {

}

.contact-search-container {
  align-items: center;
  justify-content: center;
  border-bottom: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .10);
  display: flex;
  flex: 1;
  height: 60px;
  background-color: #f8fafc;
}

.footer-action-buttons-container-left {
  align-items: center;
  background-color: transparent;
  padding: 9px;
  font-size: 20px;
}

.footer-textarea-container {
  flex: 1 1 auto;
}

.footer-chat_message_textarea {
    border-bottom: 1px solid #b2b2b2 !important;
    height: 34px !important;
    margin: 7px;
    padding: 5px !important;
    border: medium none;
    width: 100%;
}

.full-popup-messages {
  background:#fff none repeat scroll 0 0;
  border-bottom: #666 2px solid
  #dfece7;
  border-radius: 2px;
  color:
  #1f2121;
  width: 100%;
  padding: 10px;
  overflow: auto;
  height: calc(100vh - 185px);
}


.full-popup-messages .chat-box-single-line {
    border-bottom: 1px solid #005c9d;
    height: 12px;
    margin: 7px 0 20px;
    position: relative;
    text-align: center;
}
.full-popup-messages .direct-chat-messages {
    height: 200px;
}
.full-popup-messages {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #dfece7;
    border-radius: 2px;
    color: #1f2121;
}

.full-popup-messages .direct-chat-timestamp {
    color: #000;
    font-size: 10px;
    opacity: 0.6;
    font-weight: bold;
}

.pull-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.full-popup-messages abbr.timestamp {
    background: #fff none repeat scroll 0 0;
    color: #005c9d;
    padding: 0 11px;
}

.full-popup-messages .direct-chat-name {
  font-size: 12px;
  font-weight: bold;
  margin: 0 0 0 49px !important;
  color: #005c9d;
  opacity: 0.9;
}
.full-popup-messages .direct-chat-info {
    display: block;
    font-size: 12px;
    margin-bottom: 0;
}
.full-popup-messages  .big-round {
    margin: -9px 0 0 !important;
}
.full-popup-messages  .direct-chat-img {
    border: none;
    background: #3f9684  none repeat scroll 0 0;
    border-radius: 50%;
    float: left;
    height: 30px;
    margin: -21px 0 0;
    width: 30px;
}

.full-popup-messages .direct-chat-msg {
    margin-bottom: 10px;
    position: relative;
}

.full-popup-messages .doted-border::after {
  background: transparent none repeat scroll 0 0 !important;
    border-right: 2px dotted #fff !important;
  bottom: 0;
    content: "";
    left: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
   display: inline;
    z-index: -2;
}

.full-popup-messages .direct-chat-msg::after {
    background: #fff none repeat scroll 0 0;
    border-right: medium none;
    bottom: 0;
    content: "";
    left: 17px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 2px;
   display: inline;
    z-index: -2;
}

@media screen and (min-width: 0px) and (max-width: 450px) {
  .hide_content{ display: none; }  /* show it on smaller screen */
  .contacts-container{  max-width: 100px; }
}

@media screen and (min-width: 0px) and (max-width: 400px) {
  .footer-chat_message_textarea{  width: 115px; }
  .header-search_box{  width: 70px; }
}

@media screen and (min-width: 0px) and (max-width: 800px) {
  .contacts-hide_content{ display: none; }  /* show it on smaller screen */
  .contacts-tags{ width: 50%; margin: 0 auto; }
}

