﻿body {
  max-width: 1024px;
  margin: 0 auto;
  font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
}

.header {
  padding: 15px 5px 15px 5px;
}

.container {
  width: 100%;
  margin: 0px auto;
}

.body-container {
  min-height: 200px;
  display: block;
  border: 1px solid #ddd;
  height: calc( 100vh - 35px);
}

.cust-chat-header {
  background: #367fa9;
  color: white;
  font-size: 16px;
  display: block;
  /*padding: 10px 15px 10px 15px;*/
}

  .cust-chat-header span.user-status {
    float: right;
    margin-top: 8px;
    margin-right: 8px;
  }

.m40 {
  margin-top: 10px;
}

.chat-btn {
  /*padding: 15px 0px 0px 0px;*/
}

  .chat-btn button {
    border: 0;
    font-size: 20px;
    color: #367fa9;
    padding: 0px 5px;
  }

    .chat-btn button.close-btn {
      color: #c51f1f;
    }

.chat-body {
  /*padding: 15px;*/
  display: flex;
  flex-direction: column;
  height: calc( 100vh - 100px);
  position: relative;
  overflow-y: auto;
}


.box {
  position: relative;
  border-radius: 3px;
  background: #ffffff;
  border-top: 3px solid #d2d6de;
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

  .box.box-primary {
    border-top-color: #3c8dbc;
  }

.box-header {
  color: #444;
  display: block;
  padding: 10px;
  position: relative;
}

.box-body {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  padding: 5px 10px;
}

.box-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-top: 1px solid #f4f4f4;
  padding: 5px 10px;
  background-color: #fff;
}
.box-footer form{margin:0px;}
.box-header > .fa, .box-header > .glyphicon, .box-header > .ion, .box-header .box-title {
  display: inline-block;
  font-size: 18px;
  margin: 0;
  line-height: 1;
}

.form-control {
  border-radius: 0;
  box-shadow: none;
  border-color: #d2d6de;
}

label {
  font-size: 14px;
}

.box.box-warning {
  border-top-color: #f39c12;
}

.direct-chat-messages {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  padding: 10px 0px;
  height: calc(100vh - 165px);
  overflow: auto;
}

@-moz-document url-prefix() {
  .direct-chat-messages{
    padding: 10px 8px 10px 0px;
  }
}

.chat-body .box {
  margin-bottom: 0px;
}

.chat-body .box-body {
  padding: 0px;
}

\
.chat-body .form-alert-message .alert-danger {
  margin-top: 15px;
}

.direct-chat-msg {
  display: block;
  margin-bottom: 10px;
}

  .direct-chat-msg:before, .direct-chat-msg:after {
    content: " ";
    display: table;
  }

  .direct-chat-msg:after {
    clear: both;
  }

.direct-chat-info {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.direct-chat-name {
  font-weight: 600;
}

.direct-chat-timestamp {
  margin: 0 50px 0 0;
  color: #999;
}

.direct-chat-timestamp {
  margin: 0 50px 0 50px;
}

.left .direct-chat-timestamp {
  margin: 0 0 0 50px;
}

.direct-chat-text {
  border-radius: 5px;
  position: relative;
  padding: 5px 10px;
  background: #e9e9e9;
  border: 1px solid #e9e9e9;
  margin: 5px 0px 0px 10px;
  color: #444444;
  font-size: 14px;
  max-width: calc( 92% - 50px);
  float: left;
}

  .direct-chat-text:after, .direct-chat-text:before {
    position: absolute;
    right: 100%;
    left: -13px;
    top: 15px;
    border: solid transparent;
    border-right-color: #e9e9e9;
    content: ' ';
    height: 0;
    width: 0;
    pointer-events: none;
  }

  .direct-chat-text:before {
    border-width: 6px;
    margin-top: -6px;
  }

  .direct-chat-text:after {
    border-width: 5px;
    margin-top: -5px;
  }

.right .direct-chat-img {
  float: right;
}

.right .direct-chat-text {
  margin-right: 10px;
  margin-left: 0;
  float: right;
}

.right > .direct-chat-text {
  background: #f39c12;
  border-color: #f39c12;
  color: #ffffff;
}

.right .direct-chat-text:after, .right .direct-chat-text:before {
  right: auto;
  left: 100%;
  border-right-color: transparent;
  border-left-color: #d2d6de;
}

.right > .direct-chat-text:after, .right > .direct-chat-text:before {
  border-left-color: #f39c12;
}

.round {
  border-radius: 50%;
}

.user-initials {
  height: 40px;
  width: 40px;
  font-size: 17px;
  line-height: 40px;
  color: white;
  text-align: center;
  font-family: Arial;
  margin: auto;
  cursor: default;
  text-transform: uppercase;
}

dl {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
}

  dl dt {
    color: #3c8dbc;
  }

.input-group-btn button {
  border-radius: 0;
}

.ui-select-offscreen {
  clip: rect(0 0 0 0) !important;
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  outline: 0 !important;
  left: 0 !important;
  top: 0 !important;
}

.form-group .ui-select-container {
  width: 100% !important;
}

.disabled {
  color: #b5bbc8;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .sidebanner {
    display: none;
  }
}



.btn-mute .fa-stack {
  width: auto;
  height: auto;
  line-height: 18px;
}

.btn-mute .fa-ban {
  color: #c51f1f;
  font-size: 12px;
  margin-left: -4px;
  margin-top: -17px;
  position: relative;
  top: -2px;
}

span.required {
  color: #c51f1f
}

.input-group #content {
  overflow-y: auto;
  max-height: 48px;
}

.chat-btn .btn:hover {
  color: #fff;
  opacity: .7;
  padding:5px;
}

.chat-btn button.close-btn:hover {
  color: #c51f1f;
  opacity: .7;
}
.chat-btn button, .chat-btn button:hover
{
  padding:5px 5px 5px 5px;

}
.form-control:focus {
  box-shadow: none !important;
}

.nglink {
  cursor: pointer;
}

.alert .text {
  font-size: 14px;
  font-weight: normal;
}

.alert h4 {
  font-weight: 600;
}

.sitelogo {
  max-width: 120px;
}

.cust-chat-header {
  min-height: 42px;
  padding: 8px 10px;
  position: relative;
}

.mtop-15 {
  margin-top: 15px;
}

.box-primary, .box-warning {
  border: none !important;
  box-shadow: none;
}

.form-group {
  margin-bottom: 15px;
}

  .form-group label {
    margin-bottom: 5px;
  }

.direct-chat-name {
  text-transform: capitalize;
}

.header {
  padding: 0px;
  position: relative;
}

.chat-body p {
  margin-top: 15px;
}

.chat-btn button {
  color: #fff;
}

.chat-btn {
  position: relative;
  z-index: 9999;
  right: 0px;
  color: #fff;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
  border-radius: 25px;
}

.input-group-btn .btn {
  background: none;
  border: none;
}

.online {
  color: #76f506;
  float: right;
  margin-top: 13px;
}

.offline {
  color: #f96328;
  float: right;
  margin-top: 13px;
}

.poweredby-logo {
  margin-top: 8px;
}

  .poweredby-logo svg {
    width: 12px;
    height: 12px;
    display: inline-block;
    fill: #3c8dbc;
    text-decoration: none;
    margin-top: -4px;
  }

  .poweredby-logo b {
    color: #3c8dbc;
    display: inline-block;
    line-height: 21px;
  }

@media (max-width: 320px) {
  .agent-chat-btn .chat-btn-text{display:none !important}
  .agent-chat-btn{padding: 2px 12px !important;}
}
@media (max-width: 420px) {
  .chat-btn {
    top: 0px;
  }

  .sitelogo {
    width: 110px;
  }

  .online {
    margin-top: 7px;
  }

  .offline {
    margin-top: 7px;
  }
}

.btn-check:focus + .btn-warning, .btn-warning:focus {
  box-shadow: none
}

.agent-chat-btn{
  border-radius: 20px;
  border: 1px solid #fff!important;
  padding: 0 12px !important;
  margin-right: 15px;
}

.agent-chat-btn .chat-btn-text{
  font-size: 14px;
  display: inline-table;
  position: relative;
  top: -3px;
  padding-left: 5px;
}

.agent-chat-btn .blink {
  position: absolute;
  top: 9px;
  left: 24px;
  text-align: center;
  font-size: 13px;
  padding: 1px 3px;
  line-height: .9;
  border-radius: 55%;
  width: 12px;
  height: 12px;
  animation: 1s ease-in-out infinite blink_effect;
}

.bg-success{background-color: #34f275 !important ;}

@keyframes blink_effect {
  0% {
    visibility:hidden
  }
  50% {
    visibility:hidden
  }
  to {
    visibility:visible
  }
}

.cust-chat-header span.user-status { float: right; margin-top: 2px; margin-right: 8px; 

  /* The entire scrollbar */
  ::-webkit-scrollbar {
      width: 12px; /* Width of the scrollbar */
  }
  
  /* The track (background) of the scrollbar */
  ::-webkit-scrollbar-track {
      background: #f1f1f1; /* Color of the track */
  }
  
  /* The draggable part of the scrollbar */
  ::-webkit-scrollbar-thumb {
      background: #888; /* Color of the thumb */
      border-radius: 10px; /* Rounded corners */
  }
  
  /* Hover effect for the thumb */
  ::-webkit-scrollbar-thumb:hover {
      background: #555; /* Darker color on hover */
  }
  /*chat themes*/
/*theme1*/


.chat-theme1 .btn-primary {
  background: #0078BD !important;
  border: 1px solid #0078BD !important;
}
/*theme1*/

/*theme2*/


.chat-theme2 .btn-primary {
  background: #4D148C !important;
  border: 1px solid #4D148C !important;
}
/*theme2*/
/*theme3*/


.chat-theme3 .btn-primary {
  background: #709A41 !important;
  border: 1px solid #709A41 !important;
}

/*theme3*/

/*theme4*/

.chat-theme4 .btn-primary {
  background: #5190CD !important;
  border: 1px solid #5190CD !important;
}
/*theme4*/

/*theme5*/

.chat-theme5 .btn-primary {
  background: #64766A !important;
  border: 1px solid #64766A !important;
}
/*theme5*/

/*theme6*/

.chat-theme6 .btn-primary {
  background: #FFB300 !important;
  border: 1px solid #FFB300 !important;
}
/*theme6*/

/*theme7*/


.chat-theme7 .btn-primary {
  background: #0962CF !important;
  border: 1px solid #0962CF !important;
}
/*theme7*/

/*theme8*/

.chat-theme8 .btn-primary {
  background: #F76566 !important;
  border: 1px solid #F76566 !important;
}
/*theme8*/

/*theme9*/


.chat-theme9 .btn-primary {
  background: #709A41 !important;
  border: 1px solid #709A41 !important;
}
/*theme9*/

/*theme10*/


.chat-theme10 .btn-primary {
  background: #424D52 !important;
  border: 1px solid #424D52 !important;
}
/*theme10*/

/*theme11*/


.chat-theme11 .btn-primary {
  background: #C0A9BD !important;
  border: 1px solid #C0A9BD !important;
}
/*theme11*/

/*theme12*/

.chat-theme12 .btn-primary {
  background: #344649 !important;
  border: 1px solid #344649 !important;
}
/*theme12*/

/*theme13*/


.chat-theme13 .btn-primary {
  background: #FFBC99 !important;
  border: 1px solid #FFBC99 !important;
  color: #344649 !important;
}
/*theme13*/

/*theme14*/


.chat-theme14 .btn-primary {
  background: #712E1E !important;
  border: 1px solid #712E1E !important;
}
/*theme14*/

/*theme15*/

.chat-theme15 .btn-primary {
  background: #888870 !important;
  border: 1px solid #888870 !important;
}
/*theme15*/

/*theme16*/


.chat-theme16 .btn-primary {
  background: #DFD36A !important;
  border: 1px solid #DFD36A !important;
  color: #192D01 !important;
}
/*theme16*/