.modal.modal-left .modal-dialog,
.modal.modal-right .modal-dialog,
.modal.modal-top .modal-dialog,
.modal.modal-bottom .modal-dialog {
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

/* Left & Right */

.modal.modal-left .modal-dialog,
.modal.modal-right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 500px;
  max-width: 100%;
  height: 100%;
}

.modal.modal-left .modal-content,
.modal.modal-right .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.modal-left .modal-body,
.modal.modal-right .modal-body {
  padding: 15px 15px 80px;
}

.modal.modal-left.fade .modal-dialog {
  left: -500px;
  -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
  -o-transition: opacity 0.3s linear, left 0.3s ease-out;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.modal-left.fade.show .modal-dialog {
  left: 0;
}

.modal.modal-right.fade .modal-dialog {
  right: -500px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out;
      box-shadow: 0px 0px 10px #686666;
}

.modal.modal-right.fade.show .modal-dialog {
  right: 9px;
  border: 2px solid #3bb3bd;
}

.modal.modal-left .modal-content,
.modal.modal-right .modal-content,
.modal.modal-top .modal-content,
.modal.modal-bottom .modal-content,
.modal.modal-full .modal-content {
  border-radius: 0;
  border: none;
}

.modal.modal-left .modal-dialog.modal-sm,
.modal.modal-right .modal-dialog.modal-sm {
  width: 300px;
}

.modal.modal-left .modal-dialog.modal-lg,
.modal.modal-right .modal-dialog.modal-lg {
  width: 800px;
}

.modal.modal-left .modal-dialog.modal-xl,
.modal.modal-right .modal-dialog.modal-xl {
  width: 1140px;
}

/* Top and Bottom */

.modal.modal-top .modal-dialog,
.modal.modal-bottom .modal-dialog {
  position: fixed;
  margin: auto;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.modal.modal-top .modal-content,
.modal.modal-bottom .modal-content {
  height: auto;
  overflow-y: auto;
}

.modal.modal-top .modal-body,
.modal.modal-bottom .modal-body {
  padding: 15px 15px;
}

/* Top */

.modal.modal-top.fade .modal-dialog {
  top: -100%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
  -o-transition: opacity 0.3s linear, top 0.3s ease-out;
  transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.modal-top.fade.show .modal-dialog {
  top: 0;
}

/* Bottom */

.modal.modal-bottom.fade .modal-dialog {
  bottom: -100%;
  -webkit-transition: opacity 0.3s linear, bottom 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, bottom 0.3s ease-out;
  -o-transition: opacity 0.3s linear, bottom 0.3s ease-out;
  transition: opacity 0.3s linear, bottom 0.3s ease-out;
}

.modal.modal-bottom.fade.show .modal-dialog {
  bottom: 0;
}

.modal.modal-bottom.fade .modal-dialog {
  bottom: -100%;
}

/* Full Screen */

.modal.modal-full .modal-dialog {
  position: fixed;
  margin: auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.modal.modal-full .modal-content {
  height: 100%;
  overflow-y: auto;
}

.modal.modal-full .close-modal {
  position: fixed;
  top: 0;
  right: 3rem;
}

/* Footer */

.modal-footer-fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  border-radius: 0;
}

/* XS */

.modal.modal-left.xs .modal-body,
.modal.modal-right.xs .modal-body {
  padding: 15px;
}

/* Full screen modal menu indicators */

a.has-sub:after { font-family: "FontAwesome"; }
a.has-sub:after { content: "\f107"; margin-left: 1rem; }
a.has-sub[aria-expanded="true"]:after { content: "\f106"; }

.first-chat {
  /*border: 2px solid #dedede;
  background-color: #f1f1f1;
  border-radius: 5px;*/
  padding: 5px;
  margin: 10px 0;
}
.darker {
 /* border: 2px solid #dedede;
  background-color: #f1f1f1;
  border-radius: 5px;*/
  padding: 5px;
  margin: 10px 0;
}
/*.darker {
  border-color: #ccc;
  background-color: #ddd;
}
*/
.first-chat::after {
  content: "";
  clear: both;
  display: table;
}
.darker::after {
  content: "";
  clear: both;
  display: table;
}
.first-chat img {
  float: left;
  max-width: 33px;
  width: 100%;
  margin-right: 20px;
  border-radius: 50%;
}
.darker img {
  float: left;
  max-width: 33px;
  width: 100%;
  margin-right: 20px;
  border-radius: 50%;
}

.first-chat img.right {
  float: right;
  margin-left: 20px;
  margin-right:0;
}

.time-right {
  float: right;
  color: #aaa;
}

.time-left {
  float: left;
  color: #999;
}
.chat-1 img {
    width: 22% !important;
    float: left;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px;
        background-color: #fff;
}
.chat-1 span {
    color: #fff;
    display: flex;
    align-items: center;
    /* float: left; */
    /* width: 100%; */
    margin-top: 0px;
    margin-left: 10px;
    float: left;
    font-weight: bold;
    text-transform: uppercase;
}
.footer-send-mess {
    float: left;
    width: 99%;
    position: fixed;
    bottom: -320px;
    background-color: #fff;
    padding: 10px;
    right: 5px;
      border-top: 1px solid #ddd;
    
}

.footer-send-mess input {
    border: 1px solid #ddd;
    padding-left: 5px;
}

.footer-send-mess span {
      position: absolute;
    /* top: 0; */
    /* left: 0; */
    bottom: 28px;
    right: 7px;
    background-color: #000;
    padding: 10px;
    color: #fff;
}
.modal-content {
    height:400px !important;
    overflow-x:hidden;
}
.chat-1 {
    padding-top: 10px;
}
 span.rev_butt {
  
    padding-right: 0;
}
.footer .col-lg-12 {
    width: 25% !important;
    max-width: 25% !important;
}
.footer .right a {  
    margin: 0 1px;   
}
.caht-rgt12 {
    height: 200px !important;
    margin-top: 6% !important;
}




/****/

div#right_modal {
    display: inline-block;
    z-index: 111;
    max-width: 400px;
    float: right;
    margin: 0px;
    right: 0px !important;
    left: inherit !important;
	height:0px;
}
div#friends::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color:#fff;
  border-radius:0px;
}
div#friends::-webkit-scrollbar {
  width:6px;
  background-color:#F5F5F5;
}
div#friends::-webkit-scrollbar-thumb {
  border-radius:0px;
  background-color:#c3c1bc;
}




/****/