.chatDiv{
  color: #ddd;
	bottom: 20px;
/*  left: 10px;
  right: 10px; */
  border: 2px solid #1d1d1d;
  position: fixed; 
  border-radius: 2px;
  display: block;
  position: fixed;
  z-index: 2;
  background: #3e3e3e;
 /* box-shadow: 0px 0px 10px rgba(16, 16, 16, 0.25);*/
 }
@media (min-width: 768px) {
/*
    .chatDiv {
        left:210px;
        right:360px;
    }
*/
}
/*.chatDiv button{
	width: 40px;
}*/
#uploadBtn{ 
	float: left; 
	width: 50px !important;
	min-height: 45px;
    border: none;
    background: #2a2a2a;
    color: #d8d8d8;
    font-size: 2em;
    line-height: 45px;
    outline: none;
    padding-left: 0 !important;
    padding-right:0px !important;
    text-align: center !important;
}
	#uploadBtn:hover{
		/*background-color: #009688;
		border-top-left-radius: 5px; 
		border-bottom-left-radius: 5px; */
		color: #f3f3f3;
	}
#emojiBtn{ 
	float: right; 
	width: 50px;
	min-height: 45px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 1.5em;
  line-height: 45px;
  outline: none;
  color: #d8d8d8;
  text-shadow: 0px 0px 1px #333333;
  margin-right: 2px;
}
	#emojiBtn:hover{
		color: #f3f3f3;
	}	
#chatbox{ 
/*  border-left: 1px solid #333; */
  /*border-right: 1px solid #333; */
  outline: none; 
  padding: 12px; 
  z-index: 10; 
  margin-left: 45px; 
  margin-right: 45px;
  min-height: 45px; 
  max-height: 45px;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
}
.popup{
	position: fixed;
  z-index: 12;
}
	a.popupRef{ cursor:  pointer; }
	.gridpop li{
		
		float: left;
	}
			
#sidebuttons{
	bottom: 0px;			
	right: 0px;
	width: 80px;
	position: fixed;
	z-index: 10;
}
#uploadPreview>img{
	max-width: 100px;
	max-height: 100px;
}
.btnUploader{
  outline:  none !important;
}

.uploadProgress{
	width: 56px;
	height: 4px;
	background: url(../img/upload5.gif) no-repeat center;
	display: inline-block;
	position: relative;
	top: -20px;
	opacity: 0.8;
	z-index: 100;
}
li.emojiRef{ display: none; }


/* FROM BOOTSTRAP */
/*button{ cursor: pointer; }
.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050 !important;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  -o-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.modal-content {
  position: relative;
  background-color: #888;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  outline: 0;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.7;
  filter: alpha(opacity=70);
  z-index: 2;
}
.modal-header {
  color: #eee;
  padding: 15px;
  border-bottom: 1px solid #4D4D4D;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
}
.modal-body {
  color: #ddd;
  position: relative;
  padding: 20px;
  border-top: solid 1px #bbb;
  border-bottom: solid 1px #555;
}
#uploadPreview{
  text-align: center;
}
#modal-body textarea.form-control{
background:red;
}
.modal-footer {
  padding: 20px;
  text-align: right;
  border-top: 1px solid #a0a0a0;
}
.modal-footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.dropdown-toggle:focus {
  outline: 0;
}
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  max-width: 276px;
  padding: 1px;
  font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  font-size: 15px;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.popover.top {
  margin-top: -10px;
}
.popover.right {
  margin-left: 10px;
}
.popover.bottom {
  margin-top: 10px;
}
.popover.left {
  margin-left: -10px;
}
.popover-title {
  margin: 0;
  padding: 8px 14px;
  font-size: 15px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: -1 -1 0 0;
}
.popover-content {
  padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.popover > .arrow {
  border-width: 11px;
}
.popover > .arrow:after {
  border-width: 10px;
  content: "";
}
.popover.top > .arrow {
  left: 50%;
  margin-left: -11px;
  border-bottom-width: 0;
  border-top-color: #999999;
  border-top-color: rgba(0, 0, 0, 0.25);
  bottom: -11px;
}
.popover.top > .arrow:after {
  content: " ";
  bottom: 1px;
  margin-left: -10px;
  border-bottom-width: 0;
  border-top-color: #ffffff;
}
.popover.right > .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-left-width: 0;
  border-right-color: #999999;
  border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.right > .arrow:after {
  content: " ";
  left: 1px;
  bottom: -10px;
  border-left-width: 0;
  border-right-color: #ffffff;
}
.popover.bottom > .arrow {
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  top: -11px;
}
.popover.bottom > .arrow:after {
  content: " ";
  top: 1px;
  margin-left: -10px;
  border-top-width: 0;
  border-bottom-color: #ffffff;
}
.popover.left > .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999999;
  border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.left > .arrow:after {
  content: " ";
  right: 1px;
  border-right-width: 0;
  border-left-color: #ffffff;
  bottom: -10px;
}
*/
.popup>.dropdown-menu > li > a:hover,
.popup>.dropdown-menu > li > a:focus {
  background-image: none;
}
.close {
  text-decoration: none;
  text-shadow: none;
  opacity: 0.4;
}
.close:hover,
.close:focus {
  opacity: 1;
}

.popup>.dropdown-menu {
  position: absolute;
  bottom: 100% !important;
  top: auto !important;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 290px;
  height: 197px;
  padding: 2px;
  margin: 2px 0 0;
  list-style: none;
  font-size: 15px;
  text-align: left;
  /*background-color: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.15);*/
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-box-shadow: 0 0 rgba(0,0,0,0);
  box-shadow: 0 0 rgba(0,0,0,0);
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: auto;
}

.popup>.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
.popup>.dropdown-menu .divider {
  height: 1px;
  margin: 9.5px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.popup>.dropdown-menu > li > a {
  display: block;
  padding: 3px 10px;
  clear: both;
  font-weight: normal;
  line-height: 1.4;
  color: #ccc;
  white-space: nowrap;
  font-size: 14px;
}
.popup>.dropdown-menu > li > a:hover,
.popup>.dropdown-menu > li > a:focus,
.popup>.dropdown-menu > li > a.selected {
  text-decoration: none;
  color: #ffffff;
  background-color: #29b499;
  border-radius:4px;
}
.popup>.dropdown-menu > li, .popup>.dropdown-menu > li.showing{
  display: list-item;
}
.popup>.dropdown-menu > li.hidden{
  display: none;
}
.popup>.dropdown-menu > .active > a,
.popup>.dropdown-menu > .active > a:hover,
.popup>.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #2780e3;
}
.popup>.dropdown-menu > .disabled > a,
.popup>.dropdown-menu > .disabled > a:hover,
.popup>.dropdown-menu > .disabled > a:focus {
  color: #999999;
}
.popup>.dropdown-menu > .disabled > a:hover,
.popup>.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: not-allowed;
}
.open > .dropdown-menu {
  display: block;
}
.open > a {
  outline: 0;
}
.popup>.dropdown-menu-right {
  left: auto;
  right: 0;
}
.popup>.dropdown-menu-left {
  left: 0;
  right: auto;
}
.popup>.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #999999;
  white-space: nowrap;
}
.popup>.dropdown-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 990;
}

.pull-right > .popup>.dropdown-menu {
  right: 0;
  left: auto;
}
.popup>.dropup .caret,
.navbar-fixed-bottom .popup>.dropdown .caret {
  border-top: 0;
  border-bottom: 4px dashed;
  border-bottom: 4px solid \9;
  content: "";
}
.popup>.dropup .popup>.dropdown-menu,
.navbar-fixed-bottom .popup>.dropdown .popup>.dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 2px;
}
@media (min-width: 768px) {
  .navbar-right .popup>.dropdown-menu {
    left: auto;
    right: 0;
  }
  .navbar-right .popup>.dropdown-menu-left {
    left: 0;
    right: auto;
  }
}

.emoji-tab{
    border: none;
    margin-left:  5px;
    margin-right: 0px;
    background: none;
    color: #bbb;
    font-size: 0.84em; 
    outline: none;
    letter-spacing: 0.5px;
  }
    .emoji-tab-selected{
      color: #dedede !important;
      border-bottom: 2px solid #29b499;
       
    outline: none;
    }
.emojiPopup{
  background: #3e3e3e;
  border: solid 1px #111;
  box-shadow: 0px 0px 10px #252525 !important;
}
#uploadFilename{
  border: none;
    background: none;
    font-size: 10px;
    min-width: 335px;
}
.userPopup{
    background: #3e3e3e;
    border: solid 1px #111;
    box-shadow: 0px 0px 10px #252525 !important;
}
.emoji-search-div{
  padding: 10px;
  border-bottom: 1px solid #525252;
}
  .emoji-search-div input{
    height: 25px;
    border: 1px solid #292929;
    font-size: 14px;
    background: #484848;
    color: #ddd;
    box-shadow: none !important;
  }
    .emoji-search-div input:focus{
      border: 1px solid #333;
    }