/* chat application css */
/*----------------------*/
.chat-application .app-content .content-right .content-wrapper {
  padding : 0;
}

.chat-application .app-content {
  border : 1px solid #E4E5EC;
  border-radius : 0.21rem;
}

.chat-application .chat-user-profile {
  /* app chat user profile sidebar */
  position : absolute;
  height : calc(100vh - 8.4rem);
  width : 300px;
  border-radius : 0.25rem;
  border-top-left-radius : 0;
  border-bottom-left-radius : 0;
  background-color : #FFFFFF;
  -webkit-transform : translateX(112%);
      -ms-transform : translateX(112%);
          transform : translateX(112%);
  -webkit-transition : all 0.3s ease;
          transition : all 0.3s ease;
  z-index : 6;
}
.chat-application .chat-user-profile.show {
  -webkit-transform : translateX(0);
      -ms-transform : translateX(0);
          transform : translateX(0);
}
.chat-application .chat-user-profile .chat-user-profile-header .chat-profile-close {
  position : absolute;
  top : 14px;
  left : 13px;
  cursor : pointer;
}
.chat-application .chat-user-profile .chat-user-profile-content .chat-user-profile-scroll {
  position : relative;
  height : calc(100vh - 22.5rem);
  padding : 2rem;
}

.chat-application .chat-sidebar {
  height : calc(100vh - 8.4rem);
  position : absolute;
  width : 300px;
  border-left : 1px solid #E4E5EC;
  border-radius : 0.25rem;
  border-top-left-radius : 0;
  border-bottom-left-radius : 0;
  margin : 0;
  box-shadow : none;
}
.chat-application .chat-sidebar .chat-sidebar-close {
  position : absolute;
  left : 0.25rem;
  top : 0.25rem;
  font-size : 1.25rem;
  z-index : 1;
  cursor : pointer;
  visibility : hidden;
}
.chat-application .chat-sidebar .chat-sidebar-search {
  /* chat search area */
  position : absolute;
  padding : 0.65rem 1rem;
  border-bottom : 1px solid #E4E5EC;
  width : 300px;
}
.chat-application .chat-sidebar .chat-sidebar-search input.form-control {
  height : calc(1.2em + 1.2rem);
  margin-top : -1px;
  padding-right : calc(1.25em + 1rem + 2px);
}
.chat-application .chat-sidebar .chat-sidebar-search .form-control-position {
  top : -5px;
}
.chat-application .chat-sidebar .chat-sidebar-search .form-control-position i {
  position : relative;
  right : 2px;
  top : 0;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper {
  position : relative;
  height : calc(100% - 4rem);
  width : 300px;
  margin-top : 3.7rem;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper ul {
  padding-right : 0;
  margin-bottom : 0;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper li {
  padding : 0.8rem 1.5rem;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper li:hover {
  cursor : pointer;
  background : #F2F4F4;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper li.active {
  background : #666EE8;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper li.active h6, .chat-application .chat-sidebar .chat-sidebar-list-wrapper li.active span {
  color : #FFFFFF !important;
}
.chat-application .chat-sidebar .chat-sidebar-list-wrapper li img {
  border : 2px solid #FFFFFF;
}

.chat-application .chat-overlay {
  /* chat overlay */
  position : absolute;
  top : 0;
  right : 0;
  left : 0;
  bottom : 0;
  z-index : 2;
  display : block;
  border-radius : 0.21rem;
  visibility : hidden;
}
.chat-application .chat-overlay.show {
  background-color : rgba(0, 0, 0, 0.2);
  visibility : visible;
}

.chat-application .chat-window-wrapper .chat-container {
  position : relative;
  height : calc(100vh - 17.5rem);
  text-align : center;
  padding : 1.4rem;
}

.chat-application .chat-window-wrapper .chat-start, .chat-application .chat-window-wrapper .chat-container {
  background-color : #DFDBE5;
  background-image : url('data:image/svg+xml,%3Csvg width=\'180\' height=\'180\' viewBox=\'0 0 180 180\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z\' fill=\'%239C92AC\' fill-opacity=\'0.1\' fill-rule=\'evenodd\'/%3E%3C/svg%3E');
}

.chat-application .chat-window-wrapper .chat-start {
  height : calc(100vh - 8.4rem);
  display : -webkit-box;
  display : -webkit-flex;
  display : -ms-flexbox;
  display :         flex;
  -webkit-box-pack : center;
  -webkit-justify-content : center;
  -ms-flex-pack : center;
          justify-content : center;
  -webkit-box-align : center;
  -webkit-align-items : center;
  -ms-flex-align : center;
          align-items : center;
  -webkit-box-orient : vertical;
  -webkit-box-direction : normal;
  -webkit-flex-direction : column;
      -ms-flex-direction : column;
          flex-direction : column;
}
.chat-application .chat-window-wrapper .chat-start .chat-start-icon, .chat-application .chat-window-wrapper .chat-start .chat-start-text {
  box-shadow : 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
  cursor : pointer;
}
.chat-application .chat-window-wrapper .chat-start .chat-start-text {
  border-radius : calc(0.25rem * 5);
}
.chat-application .chat-window-wrapper .chat-start .chat-start-icon {
  border-radius : 50%;
  background-color : #FFFFFF;
}

.chat-application .chat-content .chat-body {
  overflow : hidden;
  margin : 0.67rem 0 0 2rem;
}
.chat-application .chat-content .chat-body .chat-message {
  position : relative;
  float : left;
  text-align : left;
  padding : 0.75rem 1rem;
  margin : 0 0.3rem 1.33rem 1.33rem;
  clear : both;
  word-break : break-word;
  color : #FFFFFF;
  background : #666EE8;
  border-radius : 0.25rem;
  box-shadow : 0 2px 4px 0 rgba(102, 110, 232, 0.6);
}
.chat-application .chat-content .chat-body .chat-message p {
  margin-bottom : 0;
}
.chat-application .chat-content .chat-body .chat-message .chat-time {
  position : absolute;
  bottom : -20px;
  left : 0;
  color : #6B6F82;
  font-size : 0.8rem;
  white-space : nowrap;
}

.chat-application .chat-content .chat-avatar {
  float : left;
}

.chat-application .chat-content .chat-left .chat-avatar {
  float : right;
}

.chat-application .chat-content .chat-left .chat-message {
  text-align : right;
  float : right;
  margin : 0 1.3rem 1.8rem 0.3rem;
  color : #6B6F82;
  background-color : #FAFBFB;
  box-shadow : 0 2px 6px 0 rgba(0, 0, 0, 0.3);
}

.chat-application .chat-content .badge {
  background-color : #F3F8FD;
  color : #6B6F82;
}

.chat-application .chat-profile {
  /* chat profile right sidebar */
  height : calc(100vh - 8.5rem);
  width : 300px;
  border-radius : 0.25rem;
  border-top-right-radius : 0;
  border-bottom-right-radius : 0;
  background-color : #FFFFFF;
  position : absolute;
  -webkit-transform : translateX(-110%);
      -ms-transform : translateX(-110%);
          transform : translateX(-110%);
  -webkit-transition : all 0.3s ease;
          transition : all 0.3s ease;
  z-index : 3;
  left : 1.8rem;
  bottom : 0;
  opacity : 0;
}
.chat-application .chat-profile.show {
  opacity : 1;
  -webkit-transform : translateX(-8%);
      -ms-transform : translateX(-8%);
          transform : translateX(-8%);
}
.chat-application .chat-profile .chat-profile-header .chat-profile-close {
  position : absolute;
  top : 14px;
  left : 13px;
  cursor : pointer;
}
.chat-application .chat-profile .chat-profile-content {
  position : relative;
  height : calc(100vh - 22.8rem);
}

.chat-application img.round {
  border-radius : 3.65rem;
}

.chat-application.horizontal-layout.horizontal-menu-padding .app-content {
  min-height : calc(100% - 15rem);
}
.chat-application.horizontal-layout.horizontal-menu-padding .app-content .content-header {
  margin-bottom : 0;
}

.chat-application.horizontal-layout.horizontal-menu-padding .chat-user-profile {
  height : calc(100vh - 15rem);
  width : 315px;
}
.chat-application.horizontal-layout.horizontal-menu-padding .chat-user-profile .chat-user-profile-content .chat-user-profile-scroll {
  height : calc(100vh - 29.1rem);
}
.chat-application.horizontal-layout.horizontal-menu-padding .chat-user-profile.show {
  visibility : visible;
}

.chat-application.horizontal-layout.horizontal-menu-padding .chat-sidebar {
  height : calc(100vh - 15rem);
}
.chat-application.horizontal-layout.horizontal-menu-padding .chat-sidebar .chat-sidebar-list-wrapper {
  height : calc(100% - 3.7rem);
}

.chat-application.horizontal-layout.horizontal-menu-padding .chat-window-wrapper .chat-container {
  height : calc(100vh - 24.1rem);
}

.chat-application.horizontal-layout.horizontal-menu-padding .chat-window-wrapper .chat-start {
  height : calc(100vh - 15rem);
}

.chat-application.horizontal-layout.horizontal-menu-padding .chat-profile {
  /* chat profile right sidebar */
  height : calc(100vh - 15rem);
}
.chat-application.horizontal-layout.horizontal-menu-padding .chat-profile .chat-profile-content {
  height : calc(100vh - 33.3rem);
}

.chat-application.horizontal-layout .app-content {
  padding : 0;
  min-height : calc(100% - 13.4rem);
}

.chat-application.horizontal-layout .chat-user-profile {
  height : calc(100vh - 13.6rem);
}
.chat-application.horizontal-layout .chat-user-profile .chat-user-profile-content .chat-user-profile-scroll {
  height : calc(100vh - 27.7rem);
}

.chat-application.horizontal-layout .chat-sidebar {
  height : calc(100vh - 13.6rem);
}
.chat-application.horizontal-layout .chat-sidebar .chat-sidebar-list-wrapper {
  height : calc(100% - 3.8rem);
}

.chat-application.horizontal-layout .chat-window-wrapper .chat-container {
  height : calc(100vh - 22.6rem);
}

.chat-application.horizontal-layout .chat-window-wrapper .chat-start {
  height : calc(100vh - 13.6rem);
}

.chat-application.horizontal-layout .chat-profile {
  /* chat profile right sidebar */
  height : calc(100vh - 13.7rem);
}
.chat-application.horizontal-layout .chat-profile .chat-profile-content {
  height : calc(100vh - 27.8rem);
}

@media (min-width: 768px) and (max-width: 992px) {
  .content-right {
    width : 100%;
  }
  .chat-application .chat-sidebar {
    -webkit-transform : translateX(110%);
        -ms-transform : translateX(110%);
            transform : translateX(110%);
    -webkit-transition : all 0.3s ease-in-out;
            transition : all 0.3s ease-in-out;
    z-index : 5;
    right : 23px;
  }
  .chat-application .chat-sidebar.show {
    -webkit-transform : translateX(7.2%);
        -ms-transform : translateX(7.2%);
            transform : translateX(7.2%);
  }
  .chat-application .chat-sidebar .chat-sidebar-close {
    visibility : visible !important;
  }
}

@media (max-width: 1200px) {
  .chat-application.horizontal-layout .app-content {
    padding : 0;
    min-height : calc(100% - 13.4rem);
  }
  .chat-application.horizontal-layout .chat-user-profile {
    height : calc(100vh - 8.3rem);
  }
  .chat-application.horizontal-layout .chat-user-profile .chat-user-profile-content .chat-user-profile-scroll {
    height : calc(100vh - 22.4rem);
  }
  .chat-application.horizontal-layout .chat-sidebar {
    height : calc(100vh - 8.3rem);
  }
  .chat-application.horizontal-layout .chat-sidebar .chat-sidebar-list-wrapper {
    height : calc(100% - 3.8rem);
  }
  .chat-application.horizontal-layout .chat-window-wrapper .chat-container {
    height : calc(100vh - 17.3rem);
  }
  .chat-application.horizontal-layout .chat-window-wrapper .chat-start {
    height : calc(100vh - 8.3rem);
  }
  .chat-application.horizontal-layout .chat-profile {
    /* chat profile right sidebar */
    height : calc(100vh - 8.4rem);
  }
  .chat-application.horizontal-layout .chat-profile .chat-profile-content {
    height : calc(100vh - 22.5rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .app-content {
    padding : 0;
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-user-profile {
    height : calc(100vh - 10rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-user-profile .chat-user-profile-content .chat-user-profile-scroll {
    height : calc(100vh - 24.1rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-sidebar {
    height : calc(100vh - 9.9rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-sidebar .chat-sidebar-list-wrapper {
    height : calc(100% - 3.7rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-window-wrapper .chat-container {
    height : calc(100vh - 19rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-window-wrapper .chat-start {
    height : calc(100vh - 9.8rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-profile {
    /* chat profile right sidebar */
    height : calc(100vh - 10rem);
  }
  .chat-application.horizontal-layout.horizontal-menu-padding .chat-profile .chat-profile-content {
    height : calc(100vh - 24.1rem);
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .content-right {
    width : 100%;
  }
  .chat-application .chat-sidebar {
    -webkit-transform : translateX(110%);
        -ms-transform : translateX(110%);
            transform : translateX(110%);
    -webkit-transition : all 0.3s ease-in-out;
            transition : all 0.3s ease-in-out;
    z-index : 5;
    right : -35px;
  }
  .chat-application .chat-sidebar.show {
    -webkit-transform : translateX(-12.4%);
        -ms-transform : translateX(-12.4%);
            transform : translateX(-12.4%);
  }
  .chat-application .chat-sidebar .chat-sidebar-close {
    visibility : visible !important;
  }
}

@media (max-width: 349.98px) {
  .chat-application .chat-sidebar {
    -webkit-transform : translateX(110%);
        -ms-transform : translateX(110%);
            transform : translateX(110%);
    -webkit-transition : all 0.3s ease-in-out;
            transition : all 0.3s ease-in-out;
    z-index : 5;
    width : 230px !important;
    right : -27px !important;
  }
  .chat-application .chat-sidebar .chat-sidebar-search, .chat-application .chat-sidebar .chat-sidebar-list-wrapper {
    width : 230px !important;
  }
  .chat-application .chat-sidebar.show {
    -webkit-transform : translateX(-12.4%);
        -ms-transform : translateX(-12.4%);
            transform : translateX(-12.4%);
  }
  .chat-application .chat-sidebar .chat-sidebar-close {
    visibility : visible !important;
  }
  .chat-application .chat-user-profile {
    width : 230px !important;
  }
  .chat-application .chat-profile {
    width : 230px !important;
    left : 1.35rem !important;
  }
}

@media (max-width: 575.98px) {
  .chat-sidebar {
    -webkit-transform : translateX(110%);
        -ms-transform : translateX(110%);
            transform : translateX(110%);
    -webkit-transition : all 0.3s ease-in-out;
            transition : all 0.3s ease-in-out;
    z-index : 5;
    width : 260px !important;
    right : -31px !important;
  }
  .chat-sidebar .chat-sidebar-search, .chat-sidebar .chat-sidebar-list-wrapper {
    width : 260px !important;
  }
  .chat-sidebar.show {
    -webkit-transform : translateX(-12.4%);
        -ms-transform : translateX(-12.4%);
            transform : translateX(-12.4%);
  }
  .chat-sidebar .chat-sidebar-close {
    visibility : visible !important;
  }
  .chat-user-profile {
    width : 260px !important;
  }
  .chat-profile {
    width : 260px !important;
    left : 1.6rem !important;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE specifc CSS */
  .chat-sidebar-list-wrapper .chat-sidebar-list .d-flex {
    display : -webkit-inline-box !important;
    display : -webkit-inline-flex !important;
    display : -ms-inline-flexbox !important;
    display :         inline-flex !important;
  }
}

@supports (-ms-ime-align: auto) {
  /* Edge specific css */
  .chat-sidebar-list-wrapper .chat-sidebar-list .d-flex {
    display : -webkit-inline-box !important;
    display : -webkit-inline-flex !important;
    display : -ms-inline-flexbox !important;
    display :         inline-flex !important;
  }
}