#frame-chat html,#frame-chat body,#frame-chat div,#frame-chat span,#frame-chat applet,#frame-chat object,#frame-chat iframe-chat,#frame-chat h1,#frame-chat h2,#frame-chat h3,#frame-chat h4,#frame-chat h5,#frame-chat h6,#frame-chat p,#frame-chat blockquote,#frame-chat pre,#frame-chat a,#frame-chat abbr,#frame-chat acronym,#frame-chat address,#frame-chat big,#frame-chat cite,#frame-chat code,#frame-chat del,#frame-chat dfn,#frame-chat em,#frame-chat img,#frame-chat ins,#frame-chat kbd,#frame-chat q,#frame-chat s,#frame-chat samp,#frame-chat small,#frame-chat strike,#frame-chat strong,#frame-chat sub,#frame-chat sup,#frame-chat tt,#frame-chat var,#frame-chat b,#frame-chat u,#frame-chat i,#frame-chat center,#frame-chat dl,#frame-chat dt,#frame-chat dd,#frame-chat ol,#frame-chat ul,#frame-chat li,#frame-chat fieldset,#frame-chat form,#frame-chat label,#frame-chat legend,#frame-chat table,#frame-chat caption,#frame-chat tbody,#frame-chat tfoot,#frame-chat thead,#frame-chat tr,#frame-chat th,#frame-chat td,#frame-chat article,#frame-chat aside,#frame-chat canvas,#frame-chat details,#frame-chat embed,#frame-chat figure,#frame-chat figcaption,#frame-chat footer,#frame-chat header,#frame-chat hgroup,#frame-chat menu,#frame-chat nav,#frame-chat output,#frame-chat ruby,#frame-chat section,#frame-chat summary,#frame-chat time,#frame-chat mark,#frame-chat audio,#frame-chat video{
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    font:inherit;
    vertical-align:baseline
}

#frame-chat article,#frame-chat aside,#frame-chat details,#frame-chat figcaption,#frame-chat figure,#frame-chat footer,#frame-chat header,#frame-chat hgroup,#frame-chat menu,#frame-chat nav,#frame-chat section{
    display:block
}

#frame-chat body{
    line-height:1
}

#frame-chat ol,#frame-chat ul{
    list-style:none
}

#frame-chat blockquote,#frame-chat q{
    quotes:none
}

#frame-chat blockquote:before,#frame-chat blockquote:after,#frame-chat q:before,#frame-chat q:after{
    content:'';
    content:none
}

#frame-chat table{
    border-collapse:collapse;
    border-spacing:0
}

#frame-chat {
  min-width: 300px;
  max-width: 800px;
  height: 60vh;
  max-height: 500px;
  background: #E6EAEA;
  float: right;
  position: fixed;
  bottom: 2px;
  right: 8px;
  z-index: 999999;
}
@media screen and (max-width: 360px) {
  #frame-chat {
    width: 100%;
    height: 100vh;
  }
}
#frame-chat #sidepanel2 {
  float: left;
  min-width: 280px;
  max-width: 340px;
  width: 40%;
  height: 100%;
  background: #2c3e50;
  color: #f5f5f5;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 {
    width: 58px;
    min-width: 58px;
  }
}
#frame-chat #sidepanel2 #profile {
  width: 80%;
  margin: 10px auto;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 0 0;
    background: #32465a;
  }
}
#frame-chat #sidepanel2 #profile.expanded .wrap {
  height: 210px;
  line-height: initial;
}
#frame-chat #sidepanel2 #profile.expanded .wrap p {
  margin-top: 20px;
}
#frame-chat #sidepanel2 #profile.expanded .wrap i.expand-button {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
#frame-chat #sidepanel2 #profile .wrap {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  -moz-transition: 0.3s height ease;
  -o-transition: 0.3s height ease;
  -webkit-transition: 0.3s height ease;
  transition: 0.3s height ease;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap {
    height: 55px;
  }
}
#frame-chat #sidepanel2 #profile .wrap img {
  width: 50px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #e74c3c;
  height: auto;
  float: left;
  cursor: pointer;
  -moz-transition: 0.3s border ease;
  -o-transition: 0.3s border ease;
  -webkit-transition: 0.3s border ease;
  transition: 0.3s border ease;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap img {
    width: 40px;
    margin-left: 4px;
  }
}
#frame-chat #sidepanel2 #profile .wrap img.online {
  border: 2px solid #2ecc71;
}
#frame-chat #sidepanel2 #profile .wrap img.away {
  border: 2px solid #f1c40f;
}
#frame-chat #sidepanel2 #profile .wrap img.busy {
  border: 2px solid #e74c3c;
}
#frame-chat #sidepanel2 #profile .wrap img.offline {
  border: 2px solid #95a5a6;
}
#frame-chat #sidepanel2 #profile .wrap p {
  float: left;
  margin-left: 15px;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap p {
    display: none;
  }
}
#frame-chat #sidepanel2 #profile .wrap i.expand-button {
  float: right;
  margin-top: 23px;
  /* font-size: 0.8em; */
  cursor: pointer;
  color: #435f7a;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap i.expand-button {
    display: none;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  margin: 70px 0 0 0;
  border-radius: 6px;
  z-index: 99;
  line-height: initial;
  background: #435f7a;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options {
    width: 58px;
    margin-top: 57px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options.active {
  opacity: 1;
  visibility: visible;
  margin: 0px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options.active {
    margin-top: 62px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #435f7a;
  margin: -8px 0 0 24px;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options:before {
    margin-left: 23px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul {
  overflow: hidden;
  border-radius: 6px;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li {
  padding: 15px 0 30px 18px;
  display: block;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options ul li {
    padding: 15px 0 35px 22px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li:hover {
  background: #496886;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li span.status-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options ul li span.status-circle {
    width: 14px;
    height: 14px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li span.status-circle:before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -3px 0 0 -3px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options ul li span.status-circle:before {
    height: 18px;
    width: 18px;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li p {
  padding-left: 12px;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #profile .wrap #status-options ul li p {
    display: none;
  }
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-online span.status-circle {
  background: #2ecc71;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
  border: 1px solid #2ecc71;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-away span.status-circle {
  background: #f1c40f;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
  border: 1px solid #f1c40f;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-busy span.status-circle {
  background: #e74c3c;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
  border: 1px solid #e74c3c;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-offline span.status-circle {
  background: #95a5a6;
}
#frame-chat #sidepanel2 #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
  border: 1px solid #95a5a6;
}
#frame-chat #sidepanel2 #profile .wrap #expanded {
  padding: 100px 0 0 0;
  display: block;
  line-height: initial !important;
}
#frame-chat #sidepanel2 #profile .wrap #expanded label {
  float: left;
  clear: both;
  margin: 0 8px 5px 0;
  padding: 5px 0;
}
#frame-chat #sidepanel2 #profile .wrap #expanded input {
  border: none;
  margin-bottom: 6px;
  background: #32465a;
  border-radius: 3px;
  color: #f5f5f5;
  padding: 7px;
  width: calc(100% - 43px);
}
#frame-chat #sidepanel2 #profile .wrap #expanded input:focus {
  outline: none;
  background: #435f7a;
}
#frame-chat #sidepanel2 #search {
  border-top: 1px solid #32465a;
  border-bottom: 1px solid #32465a;
  font-weight: 300;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #search {
    display: none;
  }
}
#frame-chat #sidepanel2 #search label {
  position: absolute;
  margin: 10px 0 0 20px;
}
#frame-chat #sidepanel2 #search input {
  /* font-family: "proxima-nova",  "Source Sans Pro", sans-serif; */
  padding: 10px 0 10px 46px;
  width: calc(100%);
  border: none;
  background: #32465a;
  color: #f5f5f5;
}
#frame-chat #sidepanel2 #search input:focus {
  outline: none;
  background: #435f7a;
}
#frame-chat #sidepanel2 #search input::-webkit-input-placeholder {
  color: #f5f5f5;
}
#frame-chat #sidepanel2 #search input::-moz-placeholder {
  color: #f5f5f5;
}
#frame-chat #sidepanel2 #search input:-ms-input-placeholder {
  color: #f5f5f5;
}
#frame-chat #sidepanel2 #search input:-moz-placeholder {
  color: #f5f5f5;
}
#frame-chat #sidepanel2 #contacts {
  height: calc(100% - 100px);
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #contacts {
    height: calc(100% - 50px);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  #frame-chat #sidepanel2 #contacts::-webkit-scrollbar {
    display: none;
  }
}
#frame-chat #sidepanel2 #contacts.expanded {
  height: calc(100% - 334px);
}
#frame-chat #sidepanel2 #contacts::-webkit-scrollbar {
  width: 8px;
  background: #2c3e50;
}
#frame-chat #sidepanel2 #contacts::-webkit-scrollbar-thumb {
  background-color: #243140;
}
#frame-chat #sidepanel2 #contacts ul li.contact {
  position: relative;
  padding: 10px 0 15px 0;
  /* font-size: 0.9em; */
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #contacts ul li.contact {
    padding: 6px 0 46px 8px;
  }
}
#frame-chat #sidepanel2 #contacts ul li.contact:hover {
  background: #32465a;
}
#frame-chat #sidepanel2 #contacts ul li.contact.active {
  background: #32465a;
  border-right: 5px solid #435f7a;
}
#frame-chat #sidepanel2 #contacts ul li.contact.active span.contact-status {
  border: 2px solid #32465a !important;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap {
  width: 88%;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #contacts ul li.contact .wrap {
    width: 100%;
  }
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap span {
  position: absolute;
  left: 0;
  margin: -2px 0 0 -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  background: #95a5a6;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap span.online {
  background: #2ecc71;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap span.away {
  background: #f1c40f;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap span.busy {
  background: #e74c3c;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #contacts ul li.contact .wrap img {
    margin-right: 0px;
  }
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap .meta {
  padding: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #contacts ul li.contact .wrap .meta {
    display: none;
  }
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap .meta .name {
  font-weight: 600;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap .meta .preview {
  margin: 5px 0 0 0;
  padding: 0 0 1px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}
#frame-chat #sidepanel2 #contacts ul li.contact .wrap .meta .preview span {
  position: initial;
  border-radius: initial;
  background: none;
  border: none;
  padding: 0 2px 0 0;
  margin: 0 0 0 1px;
  opacity: .5;
}
#frame-chat #sidepanel2 #bottom-bar {
  position: absolute;
  width: 100%;
  bottom: 0;
}
#frame-chat #sidepanel2 #bottom-bar button {
  float: left;
  border: none;
  width: 50%;
  padding: 10px 0;
  background: #32465a;
  color: #f5f5f5;
  cursor: pointer;
  /* font-size: 0.85em; */
  /* font-family: "proxima-nova",  "Source Sans Pro", sans-serif; */
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #bottom-bar button {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
}
#frame-chat #sidepanel2 #bottom-bar button:focus {
  outline: none;
}
#frame-chat #sidepanel2 #bottom-bar button:nth-child(1) {
  border-right: 1px solid #2c3e50;
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #bottom-bar button:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #2c3e50;
  }
}
#frame-chat #sidepanel2 #bottom-bar button:hover {
  background: #435f7a;
}
#frame-chat #sidepanel2 #bottom-bar button i {
  margin-right: 3px;
  /* font-size: 1em; */
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #bottom-bar button i {
    /* font-size: 1.3em; */
  }
}
@media screen and (max-width: 735px) {
  #frame-chat #sidepanel2 #bottom-bar button span {
    display: none;
  }
}
#frame-chat .content {
  float: right;
  width: 60%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #frame-chat .content {
    width: calc(100% - 58px);
    min-width: 300px !important;
  }
}
@media screen and (min-width: 900px) {
  #frame-chat .content {
    width: calc(100% - 300px);
    min-width: 350px;
  }
}
#frame-chat .content .contact-profile {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #f5f5f5;
}
#frame-chat .content .contact-profile img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin: 9px 12px 0 9px;
}
#frame-chat .content .contact-profile p {
  float: left;
}
#frame-chat .content .contact-profile .social-media {
  float: right;
}
#frame-chat .content .contact-profile .social-media i {
  margin-left: 14px;
  cursor: pointer;
}
#frame-chat .content .contact-profile .social-media i:nth-last-child(1) {
  margin-right: 20px;
}
#frame-chat .content .contact-profile .social-media i:hover {
  color: #435f7a;
}
#frame-chat .content .messages {
  height: auto;
  min-height: calc(100% - 120px);
  max-height: calc(100% - 120px);
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width: 735px) {
  #frame-chat .content .messages {
    max-height: calc(100% - 105px);
  }
}
#frame-chat .content .messages::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}
#frame-chat .content .messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}
#frame-chat .content .messages ul li {
  display: inline-block;
  clear: both;
  float: left;
  margin: 15px 15px 5px 15px;
  width: calc(100% - 25px);
  /* font-size: 0.9em; */
}
#frame-chat .content .messages ul li:nth-last-child(1) {
  margin-bottom: 20px;
}
#frame-chat .content .messages ul li.sent img {
  margin: 6px 8px 0 0;
}
#frame-chat .content .messages ul li.sent p {
  background: #435f7a;
  color: #f5f5f5;
}
#frame-chat .content .messages ul li.replies img {
  float: right;
  margin: 6px 0 0 8px;
}
#frame-chat .content .messages ul li.replies p {
  background: #f5f5f5;
  float: right;
}
#frame-chat .content .messages ul li.replies label{
    float: right;
}

#frame-chat .content .messages ul li img {
  width: 22px;
  border-radius: 50%;
  float: left;
}
#frame-chat .content .messages ul li p {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 205px;
  line-height: 130%;
}
@media screen and (min-width: 735px) {
  #frame-chat .content .messages ul li p {
    max-width: 300px;
  }
}
#frame-chat .content .message-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
}
#frame-chat .content .message-input .wrap {
  position: relative;
}
#frame-chat .content .message-input .wrap input {
  /* font-family: "proxima-nova",  "Source Sans Pro", sans-serif; */
  float: left;
  border: none;
  width: calc(100% - 60px);
  padding: 11px 32px 10px 8px;
  /* font-size: 0.8em; */
  color: #32465a;
}
@media screen and (max-width: 735px) {
  #frame-chat .content .message-input .wrap input {
    padding: 15px 32px 16px 8px;
  }
}
#frame-chat .content .message-input .wrap input:focus {
  outline: none;
}
#frame-chat .content .message-input .wrap .attachment {
  position: absolute;
  right: 60px;
  z-index: 4;
  margin-top: 10px;
  /* font-size: 1.1em; */
  color: #435f7a;
  opacity: .5;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #frame-chat .content .message-input .wrap .attachment {
    margin-top: 17px;
    right: 65px;
  }
}
#frame-chat .content .message-input .wrap .attachment:hover {
  opacity: 1;
}
#frame-chat .content .message-input .wrap button {
  float: right;
  border: none;
  width: 50px;
  padding: 12px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
}
@media screen and (max-width: 735px) {
  #frame-chat .content .message-input .wrap button {
    padding: 16px 0;
  }
}
#frame-chat .content .message-input .wrap button:hover {
  background: #435f7a;
}
#frame-chat .content .message-input .wrap button:focus {
  outline: none;
}

#chat{
    float: right;
    position: fixed;
    bottom: 2px;
    right: 8px;
    margin: 5px;
    background-color: green;
    color: white;
    padding: 15px;
    border-radius: 50%;
    z-index: 999999;

}

#chat:hover{
    box-shadow: 0 0 0 0 rgb(0, 150, 0);
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgb(0, 153, 0);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

.notifict-chat{
    font-size: 15px;
    color: red !important;
    background-color: yellow !important;
    box-shadow: 0 0 0 0 rgb(201, 17, 17);
	transform: scale(1);
	animation: pulse2 2s infinite;
}

@keyframes pulse2 {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgb(201.5, 17.5, 17.5);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

.mess{
    float: right;
    border-radius: 50%;
    background-color: red;
    padding: 5px !important;
}

li.navigation-divider {
  background-color: #eee;
}

li.navigation-divider {
  margin: 10px 0;
  height: 1px;
  min-height: 1px !important;
  padding: 0px 0px !important;
  background-color: rgba(255,255,255,.1);
}