.pf-im-empty {
  opacity: 0.6;
  text-align: center;
  font-size: 11px;
  margin-top: 20px;
}
#pf-im-total-messages {
  position: fixed;
  z-index: 10001;
  right: 4px;
  bottom: 30px;
  padding: 6px 8px;
  color: #fff;
  line-height: normal;
  background: #EF312C;
  font-size: 9px;
  border-radius: 50%;
  display: none;
}
.close-im-window,
.popup-im-window {
  position: absolute;
  right: 8px;
  top: 12px;
  background: #EF312C;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.6;
}
.popup-im-window {
  background: green;
  right: 22px;
}
.close-im-window:hover,
.popup-im-window:hover {
  opacity: 1;
}
#pf-open-im {
  position: fixed;
  z-index: 1000;
  right: 6px;
  bottom: 50%;
  margin-bottom: -20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px #ececec solid;
  border-radius: 50%;
  cursor: pointer;
  visibility: hidden !important;
}
#pf-open-im i {
  font-size: 22px;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  top: 8px;
}
#pf-im {
  background: #eeeeee;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  z-index: 10000;
  left: 50%;
  width: 800px;
  margin-left: -400px;
  position: fixed;
  color: #808080;
  top: 50%;
  overflow: hidden;
  display: none;
  height: 400px;
  margin-top: -200px;
  cursor: default;
}
.pf-im-title {
  height: 35px;
  line-height: 35px;
  font-weight: 200;
  padding-left: 5px;
  color: #808080;
  font-size: 12px;
  border-bottom: 1px #dfdfdf solid;
  border-right: 1px #dfdfdf solid;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
  /* IE6-9 */
}
.pf-im-title i {
  margin-right: 5px;
  margin-left: 5px;
}
.pf-im-title i.fa-chevron-down {
  margin: auto;
  position: absolute;
  right: 6px;
  top: 10px;
  opacity: 0.5;
  cursor: pointer;
}
.pf-im-title i.fa-chevron-down:hover {
  opacity: 1;
}
.pf-im-menu {
  background: #f5f5f5;
  border-bottom: 1px #dfdfdf solid;
  border-right: 1px #dfdfdf solid;
  width: 300px;
}
.pf-im-menu ul {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: auto;
  height: 30px;
  line-height: 34px;
}
.pf-im-menu ul li {
  display: table-cell;
  font-size: 11px;
  text-align: center;
  width: 50%;
}
.pf-im-menu ul li a,
.pf-im-menu ul li a:hover {
  display: block;
  text-decoration: none;
  color: #808080;
  text-align: center;
}
.pf-im-menu ul li a.active {
  color: #337AB7;
}
.pf-im-menu ul li:nth-of-type(2) {
  border-left: 1px #dfdfdf solid;
}
#pf-im > i {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 20px;
  opacity: 0.6;
  margin-left: -10px;
  margin-top: -10px;
}
.pf-im-main {
  position: absolute;
  top: 70px;
  left: 0;
  bottom: 0;
  overflow: auto;
  width: 300px;
  border-right: 1px #dfdfdf solid;
  z-index: 100;
}
.pf-im-main._is_friends_list {
  top: 100px;
}
._pf_im_friend_search {
  position: absolute;
  top: 70px;
  left: 0;
  width: 300px;
  background: #fff;
  border-right: 1px #dfdfdf solid;
  height: 30px;
  line-height: 30px;
  z-index: 99;
}
._pf_im_friend_search > i {
  position: absolute;
  top: 0;
  left: 10px;
  bottom: 0;
  height: 30px;
  line-height: 30px;
}
._pf_im_friend_search > input,
._pf_im_friend_search > input:focus {
  padding: 0;
  margin: 0;
  box-shadow: none;
  outline: none;
  border: 0;
  height: 30px;
  line-height: 30px;
  text-indent: 30px;
  font-size: 11px;
}
#pf-chat-window-active {
  visibility: hidden;
  position: fixed;
  z-index: 100000001;
  right: 205px;
  top: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7.5px 0 7.5px 10px;
  border-color: transparent transparent transparent #fff;
}
#pf-chat-window {
  z-index: 10000000;
  right: 0;
  left: 300px;
  top: 35px;
  bottom: 0;
  background: #ffffff;
  position: absolute;
  overflow: hidden;
}
#pf-chat-window .chat-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 35px;
  bottom: 60px;
  overflow: auto;
}
#pf-chat-window .chat-form {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  height: 50px;
  background: #fff;
  border: 1px #dfdfdf solid;
  overflow: hidden;
  border-radius: 6px;
}
#pf-chat-window .chat-form > span {
  position: absolute;
  height: 20px;
  line-height: 20px;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 5px;
  display: block;
}
#pf-chat-window .chat-form > span > i {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
}
#pf-chat-window .chat-form > div {
  padding: 4px;
}
#pf-chat-window .chat-form input,
#pf-chat-window .chat-form input:focus {
  width: 100%;
  box-shadow: none !important;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0 0 22px 0;
  margin: 0;
  font-size: 12px;
}
.pf-chat-with-user {
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  padding-left: 10px;
}
.pf-chat-with-user:hover {
  background: #e1e1e1;
}
.pf-chat-message {
  padding: 8px 8px 8px 40px;
  position: relative;
}
.pf-chat-owner {
  padding-left: 8px;
  padding-right: 40px;
}
.pf-chat-owner .pf-chat-image {
  left: auto;
  right: 8px;
}
.chat-row-close {
  position: absolute;
  right: 7px;
  top: 7px;
  opacity: 0.8;
  color: #9a9a9a;
}
.chat-row-users {
  opacity: 0.7;
}
.chat-row-users > span {
  display: inline-block;
  vertical-align: top;
  margin-right: 4px;
}
.chat-row-title {
  height: 35px;
  padding-left: 8px;
  padding-top: 5px;
  border-bottom: 1px #e9e9e9 solid;
}
.chat-row-title:hover .chat-row-users {
  opacity: 1;
}
.chat-row-title {
  cursor: default;
  position: relative;
}
.chat-row-title .image_deferred,
.chat-row-title .image_object {
  background-size: contain;
  width: 25px;
  height: 25px;
  display: inline-block;
}
.chat-row-title ._size__120,
.chat-row-title ._size__120:hover,
.chat-row-title ._size__50,
.chat-row-title ._size__50:hover {
  display: inline-block;
  max-width: 25px;
  max-height: 25px;
}
.chat-row-title ._size__120 > span,
.chat-row-title ._size__120:hover > span,
.chat-row-title ._size__50 > span,
.chat-row-title ._size__50:hover > span {
  font-size: 11px;
  top: 6px;
}
.pf-chat-image {
  position: absolute;
  left: 8px;
  top: 10px;
}
.pf-chat-image .image_deferred,
.pf-chat-image .image_object {
  background-size: contain;
  width: 25px;
  height: 25px;
  display: inline-block;
}
.pf-chat-image ._size__120,
.pf-chat-image ._size__120:hover,
.pf-chat-image ._size__50,
.pf-chat-image ._size__50:hover {
  display: inline-block;
  max-width: 25px;
  max-height: 25px;
}
.pf-chat-image ._size__120 > span,
.pf-chat-image ._size__120:hover > span,
.pf-chat-image ._size__50 > span,
.pf-chat-image ._size__50:hover > span {
  font-size: 11px;
  top: 6px;
}
.pf-chat-body {
  background: #f2f2f2;
  padding: 5px;
  font-size: 13px;
  border-radius: 6px;
}
.pf-chat-body time {
  display: block;
  color: #808080;
  padding-top: 5px;
  font-size: 11px;
}
.pf-im-panel.active,
.pf-im-panel.active:hover {
  background: #337AB7 !important;
  color: #fff !important;
}
.pf-im-panel.active time,
.pf-im-panel.active:hover time,
.pf-im-panel.active .pf-im-panel-preview,
.pf-im-panel.active:hover .pf-im-panel-preview {
  color: #fff !important;
}
.pf-im-panel.new .pf-im-count {
  display: block;
}
.pf-im-panel-info {
  padding-left: 50px;
  padding-top: 4px;
}
.pf-im-count {
  background: #337AB7;
  color: #fff;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  left: 22px;
  bottom: 8px;
  font-size: 7px;
  z-index: 2;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  opacity: 0.8;
}
.pf-im-panel:hover {
  background: #fff;
  transition: all 0.50s ease;
}
.pf-im-friends > span ._size__50,
.pf-im-friends > span ._size__50:hover,
.pf-im-friends > span ._size__120,
.pf-im-friends > span ._size__120:hover {
  width: 20px;
  height: 20px;
}
.pf-im-friends > span ._size__50 > span,
.pf-im-friends > span ._size__50:hover > span,
.pf-im-friends > span ._size__120 > span,
.pf-im-friends > span ._size__120:hover > span {
  font-size: 9px;
  top: 5px;
}
.pf-im-panel {
  transition: all 0.50s ease;
  position: relative;
  height: 75px;
  padding: 0 8px;
  cursor: pointer;
  border-bottom: 1px #dfdfdf solid;
  color: #222;
}
.pf-im-panel .pf-im-panel-image {
  position: absolute;
  left: 8px;
  top: 8px;
}
.pf-im-panel .pf-im-panel-image .image_deferred,
.pf-im-panel .pf-im-panel-image .image_object {
  background-size: contain;
  width: 40px;
  height: 40px;
}
.pf-im-panel .pf-im-panel-image ._size__50,
.pf-im-panel .pf-im-panel-image ._size__50:hover,
.pf-im-panel .pf-im-panel-image ._size__120,
.pf-im-panel .pf-im-panel-image ._size__120:hover {
  width: 40px;
  height: 40px;
}
.pf-im-panel .pf-im-panel-image ._size__50 > span,
.pf-im-panel .pf-im-panel-image ._size__50:hover > span,
.pf-im-panel .pf-im-panel-image ._size__120 > span,
.pf-im-panel .pf-im-panel-image ._size__120:hover > span {
  font-size: 18px;
  top: 10px;
}
.pf-im-panel time {
  /*
		position:absolute;
		right:8px;
		top:8px;
		*/
  font-size: 10px;
  opacity: 0.8;
  display: inline-block;
  color: #808080;
}
.pf-im-panel .pf-im-panel-content {
  padding-left: 50px;
  padding-top: 8px;
  font-size: 12px;
  font-weight: normal;
}
.pf-im-panel-preview {
  font-size: 11px;
  color: #808080;
  opacity: 0.5;
  width: 135px;
  padding-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-im-friends:hover {
  background: #e1e1e1;
}
.pf-im-friends {
  display: block;
  height: 35px;
  line-height: 35px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  padding-left: 32px;
  border-bottom: 1px #dfdfdf solid;
  font-size: 12px;
}
.pf-im-friends > span {
  position: absolute;
  left: 5px;
  top: 7px;
  display: block;
  line-height: normal;
}
.pf-im-friends > span a,
.pf-im-friends > span a:hover {
  display: block;
}
.pf-im-friends .image_deferred,
.pf-im-friends .image_object {
  background-size: contain;
  width: 20px;
  height: 20px;
}
.pf-im-friends ._size__120,
.pf-im-friends ._size__120:hover {
  width: 20px;
  height: 20px;
}
.chat-row-back {
  display: none;
}
/**
 * Responsive
 */
@media (max-device-width: 980px), (max-width: 980px) {
  body {
    margin-right: 0 !important;
  }
}
@media only screen and (max-device-width: 825px), (max-width: 825px) {
  body.im-is-active #pf-im {
    display: block !important;
    width: auto;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    height: auto;
  }
  body.im-is-active .popup-im-window {
    display: none;
  }
  body.im-is-active .chat-row-back {
    display: inline-block;
    vertical-align: middle;
    margin-left: -5px;
    margin-top: -5px;
    margin-right: 5px;
    background: #f2f2f2;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
  }
  body.im-is-active .pf-im-menu,
  body.im-is-active .pf-im-main {
    width: auto;
    right: 0;
  }
  body.im-is-active #pf-chat-window {
    left: 0;
  }
}
.ui-resizable-handle {
  z-index: 100000000 !important;
}
#page_route_im_popup #pf-im {
  display: block !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: auto;
  height: auto;
  margin: 0;
}
#page_route_im_popup #pf-im > i {
  display: none;
}
#page_route_im_popup .close-im-window,
#page_route_im_popup .popup-im-window {
  display: none;
}
.pf-im-panel.is_hidden {
  display: none !important;
}
.chat-form-actions-close {
  position: absolute;
  right: 10px;
  bottom: 60px;
  padding: 1px 4px;
  font-size: 14px;
  display: none;
}
.chat-form-actions {
  position: absolute;
  left: 0;
  bottom: -60px;
  right: 0;
  height: 60px;
  overflow: auto;
  background: #fff;
  z-index: 1000;
  border: 1px #dfdfdf solid;
  border-left: 0;
  border-right: 0;
}
.chat-form-actions > i {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -6px;
  margin-top: -6px;
  font-size: 12px;
  opacity: 0.6;
}
.pf_im_hosting {
  background: #fff;
  padding: 20px;
  margin-bottom: 10px;
  max-width: 300px;
}
.pf_im_hosting_title {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 1px;
  color: #222;
  padding-bottom: 5px;
  margin-bottom: 15px;
  border-bottom: 1px #ececec solid;
}
.pf_im_hosting_packages > div {
  background: #f6f6f6;
  padding: 10px;
  display: block;
  vertical-align: top;
}
.pf_im_hosting_packages > div > em {
  font-style: normal;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 1px;
  display: block;
}
.pf_im_hosting_packages > div > em > span {
  font-size: 12px;
}
.pf_im_hosting_packages > div > span {
  display: block;
  font-size: 12px;
  opacity: 0.6;
  padding: 6px 0;
}
.pf_im_hosting_packages > div > strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  text-transform: uppercase;
  padding-bottom: 10px;
}
.pf_im_hosting_pay,
.pf_im_hosting_pay:hover {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 200;
  background: #F4645F;
  color: #fff;
  opacity: 0.6;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.5s ease;
  letter-spacing: 1px;
}
.pf_im_hosting_pay:hover {
  opacity: 1;
}
.pf_im_cancel {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}
.pf_im_cancel a,
.pf_im_cancel a:hover {
  font-weight: normal;
  color: #808080;
  opacity: 0.6;
}
.pf_im_cancel a:hover {
  color: #F4645F;
  opacity: 1;
}
.pf_im_is_hosted {
  margin-top: 10px;
}
.pf_im_is_hosted > span {
  background: #2ecc71;
  color: #fff;
  display: inline-block;
  padding: 10px 10px;
  font-size: 12px;
}
._im_a {
  margin: 10px 30px 10px 0;
  background: #fff;
  font-size: 11px;
  padding: 10px;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
._im_a ._im_a_image {
  position: absolute;
  top: 12px;
  left: 10px;
}
._im_a ._im_a_image > img {
  max-width: 60px;
}
._im_a ._im_a_body {
  padding-left: 70px;
}
._im_a ._im_a_body > h1 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: #222;
}
._im_a ._im_a_body > p {
  padding: 5px 0 0 0;
  color: #808080;
}
._im_attach_link {
  position: relative;
}
._im_attach_link .error_message {
  position: fixed;
  top: 50%;
  width: 300px;
  left: 50%;
  margin-left: -150px;
  z-index: 100000;
}
._im_attach_link #__form_url {
  background: #EEEEEE;
  padding: 0;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  text-indent: 5px;
}
._im_attach_link .table > .table_right {
  padding: 10px 5px 0 5px;
}
._im_attach_link .table_clear {
  position: absolute;
  right: 5px;
  top: 10px;
  padding: 0;
  margin: 0;
}
._im_attach_link .table_clear > input.btn {
  margin: 0;
  padding: 0 10px;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
}
.chat-form ._im_a {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  background: #F2F2F2;
}
.pf-chat-body {
  position: relative;
}
.pf_chat_message_deleted {
  font-size: 11px;
  opacity: 0.6;
  font-style: italic;
}
.pf_chat_delete_message {
  position: absolute;
  bottom: 2px;
  right: 6px;
  display: none;
}
.pf_chat_delete_message i {
  color: #808080;
  opacity: 0.6;
}
.pf-chat-message:hover .pf_chat_delete_message {
  display: block;
}
.pf_chat_delete_message:hover i {
  opacity: 1;
}
.open_it {
  margin-left: 40px;
  position: relative;
}
.open_it .chat_panel_remove {
  background: rgba(255, 0, 0, 0.8);
  left: -40px;
  top: 0;
  bottom: 0;
  right: auto;
  position: absolute;
  display: block;
  width: 40px;
  text-align: center;
}
.open_it .chat_panel_remove i {
  color: #fff;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  height: 75px;
  line-height: 75px;
  z-index: 1000;
}
