.main-section {
  width: 300px;
  position: fixed;
  right: 0px;
  bottom: -361px;
}

.main-section:last-of-type {
  margin-right: 0px;
}

.first-section:hover {
  cursor: pointer;
}

.open-more {
  bottom: -3px;
  /*transition: 2s;*/
}

.border-chat {
  background-image: linear-gradient(180deg, #22A5F0, #1771E6);
  border-bottom: none;
  box-shadow: #e6f1ff 0 0 10px;
}

.border-chat.no-shadow {
  box-shadow: none;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #fff;
}

.first-section {
  background-image: linear-gradient(180deg, #22A5F0, #1771E6);

}

.first-section p {
  color: #fff;
  margin: 0px;
  padding: 10px 0px;
}

.first-section p:hover {
  color: #fff;
  cursor: pointer;
}

.right-first-section {
  text-align: right;
}

.right-first-section i {
  color: #fff;
  font-size: 15px;
  padding: 12px 3px;
}

.right-first-section i:hover {
  color: #fff;
}

.chat-section ul li {
  list-style: none;
  margin-top: 10px;
  position: relative;
}

.chat-section {
  overflow-y: scroll;
  height: 300px;
}

.chat-section ul {
  padding: 0px;
}

.left-chat img,
.right-chat img {
  width: 50px;
  height: 50px;
  float: left;
  margin: 0px 10px;
}

.right-chat img {
  float: right;
}

.second-section {
  padding: 0px;
  margin: 0px;
  background-color: #fff;
  height: 300px;
}

.left-chat,
.right-chat {
  overflow: hidden;
}

.left-chat span,
.right-chat span {
  top: 60px;
}

.left-chat p {
  display: inline-block;
  border-radius: 0px 20px 20px 0px;
  color: #000;
  background: #eff0f1;
  padding: 10px 20px;
  overflow-wrap: break-word;
}

.right-chat p {
  right: 0px;
  color: #fff;
  background-image: linear-gradient(180deg, #22A5F0, #1771E6);
  padding: 10px 20px;
  border-radius: 20px 0px 0px 20px;
  max-width: 70%;
  float: right;
  overflow-wrap: break-word;
}

.text-bar {
  max-width: 90%;
  margin: auto;
  border-radius: 20px;
  border: 1px solid #cccccc;
  padding: 7px 20px;
  text-align: left;
  background: #fff;
}

.text-bar input {
  margin-left: 0px !important;
  border: none;
  border-left: none;
}

/* styles for validation helpers */
.field-validation-error {
  color: #b94a48;
}

.field-validation-valid {
  display: none;
}

input.input-validation-error {
  border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
  border: 0 none;
}

.validation-summary-errors {
  color: #b94a48;
}

.validation-summary-valid {
  display: none;
}

/* Normal Case*/
.reveal .fa {
  font-family: 'FontAwesome';
  font-style: normal;
}

ul {
  list-style: none;
  padding-left: 1px;
}

#PrivateChatArea {
  z-index: 44;
  max-height: 300px;
  min-height: 300px;
  width: 278px;
  bottom: -2%;
  position: fixed;
  right: 170px;
  opacity: 1;
  display: none;
}

#OnlineUsers1 {
  z-index: 88;
  height: auto;
  width: 181px;
  bottom: -3%;
  right: 0%;
  opacity: 1;
}

#OnlineUsers2 {
  z-index: 88;
  height: auto;
  width: 181px;
  bottom: -3%;
  position: fixed;
  right: 0%;
  opacity: 1;
}

.sender {
  /*background-color:#00ff90!important;*/
  min-height: 15px !important;
  min-width: 15px !important;
  color: #00ff90 !important;
}

.reciver {
  /*background-color:#0094ff!important;*/
  min-height: 15px !important;
  color: #0094ff !important;
  min-width: 15px !important;
}

.alertBox {
  bottom: 0px;
  right: 0px;
  position: fixed;
  z-index: 111;
}

h3.media-heading {
  font-size: 15px;
  float: left;
  padding-left: 15px;
  margin-bottom: 3px;
}

/*notification*/
#top_menu .nav>li,
ul.top-menu>li {
  float: left;
}

.notify-row {
  float: left;
  margin-top: 15px;
  margin-left: 92px;
}

.notify-row .notification span.label {
  display: inline-block;
  height: 18px;
  width: 20px;
  padding: 5px;
}

a .message {
  display: block !important;
  font-size: 11px;
}

ul.top-menu>li>a {
  color: #666666;
  font-size: 16px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  border: 1px solid #666666 !important;
  padding: 2px 6px;
  margin-right: 15px;
}

ul.top-menu>li>a:hover,
ul.top-menu>li>a:focus {
  border: 1px solid #b6b6b6 !important;
  background-color: transparent !important;
  border-color: #b6b6b6 !important;
  text-decoration: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  color: #b6b6b6 !important;
}

.notify-row .badge {
  position: absolute;
  right: -10px;
  top: -10px;
  z-index: 100;
}

.dropdown-menu.extended {
  max-width: 300px !important;
  min-width: 160px !important;
  top: 42px;
  width: 235px !important;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.176) !important;
  border: none !important;
  border-radius: 4px;
  -webkit-border-radius: 4px;
}

.dropdown-menu.extended li p.green {
  background-color: #68dff0;
  color: #fff;
}

.notify-arrow-green {
  border-color: transparent transparent #68dff0;
  border-bottom-color: #68dff0 !important;
  border-top-color: #68dff0 !important;
}

.notify-arrow {
  border-style: solid;
  border-width: 0 9px 9px;
  height: 0;
  margin-top: 0;
  opacity: 0;
  position: absolute;
  left: 7px;
  top: -18px;
  transition: all 0.25s ease 0s;
  width: 0;
  z-index: 10;
  margin-top: 10px;
  opacity: 1;
}

.dropdown-menu.extended li p {
  background-color: #F1F2F7;
  color: #666666;
  margin: 0;
  padding: 10px;
  border-radius: 4px 4px 0px 0px;
  -webkit-border-radius: 4px 4px 0px 0px;
}

.dropdown-menu.extended li a:hover {
  background-color: #F7F8F9 !important;
  color: #2E2E2E;
}

.bg-theme {
  background-color: #68dff0;
}

#ChatRoomsContainer1 {
  position: absolute;
  left: 5px;
  z-index: 50;
}

.pull-right>.dropdown-menu {
  right: 0;
  left: auto;
  /*background-color: #1a7bb9;*/
}

.panel-primary>.panel-heading {
  background-color: #B79628 !important;
}

/* TESTTTTTTTTTTTTTTTTTT */
.chat-sidebar {
  width: 200px;
  position: fixed;
  height: 100%;
  right: 0px;
  top: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid rgba(29, 49, 91, .3);
}

.sidebar-name {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 4px;
  font-size: 12px;
}

.sidebar-name span {
  padding-left: 5px;
}

.sidebar-name a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.sidebar-name:hover {
  background-color: #e1e2e5;
}

.sidebar-name img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

.popup-box {
  display: none;
  position: fixed;
  bottom: 0px;
  right: 0px;
  height: 285px;
  background-color: rgb(237, 239, 244);
  width: 500px;
  border: 1px solid rgba(29, 49, 91, .3);
  z-index: 999;
}

.popup-box .popup-head {
  background-color: #6d84b4;
  padding: 5px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  clear: both;
}

.popup-box .popup-head .popup-head-left {
  float: left;
}

.popup-box .popup-head .popup-head-right {
  float: right;
  opacity: 0.5;
}

.popup-box .popup-head .popup-head-right a {
  text-decoration: none;
  color: inherit;
}

.popup-box .popup-messages {
  height: 100%;
  overflow-y: scroll;
}

/* ************************************************  */

@media screen and (min-width: 280px) and (max-width: 500px) {
  .panel-heading {
    padding: 6px 5px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 106px;
    padding: 1px 0;
    /* margin: 1px 0 0; */
    font-size: 10px;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    /* box-shadow: 0 6px 12px rgba(0,0,0,0.175); */
    /* background-clip: padding-box; */
  }

  #PrivateChatArea {
    z-index: 44;
    max-height: 300px;
    min-height: 300px;
    width: 58% !important;
    bottom: -2%;
    position: fixed;
    right: 40% !important;
    opacity: 1;
  }

  .chat-message {
    font-size: 10px !important;
    font: normal normal normal normal 13.3333330154419px/normal Arial;
  }

  #OnlineUsers3 {
    z-index: 88;
    height: auto;
    width: 40% !important;
    bottom: -3%;
    position: fixed;
    right: 0%;
    opacity: 1;
  }
}

.submitButton {
  background-color: #d7e5e4;
  border: #5f9482 solid 1px;
  padding: 4px;
  cursor: pointer;
}

.submitButton:hover {
  background-color: #e1e1e1;
}

.chatRoom {
  width: 650px;
  margin-left: auto;
  margin-right: auto;
  border: solid 1px gray;
}

.chatRoom .title {
  font-size: 16px;
  font-weight: bold;
  padding: 8px;
  background-color: #d7e5e4;
  border-bottom: solid 1px #5f9482;
}

.chatRoom .content {
  height: 300px;
  clear: both;
}

.chatRoom .content .chatWindow {
  float: left;
  width: 409px;
  height: 300px;
  border-right: solid 1px #5f9482;
  overflow-y: scroll;
}

.chatRoom .content .chatWindow .message {
  padding: 4px;
}

.chatRoom .content .chatWindow .message .userName {
  font-weight: bold;
}

.chatRoom .content .users {
  float: right;
  width: 240px;
  height: 300px;
}

.chatRoom .content .users .user {
  display: block;
  cursor: pointer;
  padding: 4px;
  background-color: #f9f9f9;
  border-bottom: solid 1px #5f9482;
}

.chatRoom .content .users .loginUser {
  display: block;
  padding: 4px;
  color: gray;
  border-bottom: solid 1px #5f9482;
}

.chatRoom .content .users .user:hover {
  background-color: #e1e1e1;
}

.chatRoom .messageBar {
  border-top: solid 1px gray;
  padding: 4px;
}

.chatRoom .messageBar .textbox {
  width: 550px;
}

.disconnect {
  position: absolute;
  margin: 10px;
  background-color: #ffcbcb;
  padding: 4px;
  border: solid 1px red;
}

.draggable {
  position: absolute;
  border: #5f9482 solid 1px !important;
  width: 550px;
}

.draggable .header {
  cursor: move;
  background-color: #d7e5e4;
  border-bottom: #5f9482 solid 1px;
  color: #1e4638;
}

.draggable .selText {
  color: black;
  padding: 4px;
}

.draggable .messageArea {
  width: 550px;
  overflow-y: scroll;
  height: 200px;
  border-bottom: #5f9482 solid 1px;
}

.draggable .messageArea .message {
  padding: 4px;
}

.draggable .buttonBar {
  width: 550px;
  padding: 4px;
}

.draggable .buttonBar .msgText {
  width: 462px;
}

.draggable .buttonBar .button {
  margin-left: 4px;
  width: 55px;
}