/*!
 * @copyright (c) 2019.
 * @author            Alan Fuller (support@fullworks)
 * @licence           GPL V3 https://www.gnu.org/licenses/gpl-3.0.en.html
 * @link                  https://fullworks.net
 *
 * This file is part of  a Fullworks plugin.
 *
 *   This plugin is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 *
 *     This plugin is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 *     You should have received a copy of the GNU General Public License
 *     along with  this plugin.  https://www.gnu.org/licenses/gpl-3.0.en.html
 */
.twt-chat {
  display: none;
  font-size: 18px;
  padding: 10px;
  margin-bottom: 10px;
  text-align: left;
  /*
  @media (max-width: 660px) {
    .chat-inputs.name {
      grid-template-columns: repeat(1, 1fr);
      border-right: 2px solid #e7e7e7;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      #twt-ticket-chat-submit {
        border-left: 2px solid #e7e7e7;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
      }
    }
  }
  @media (max-width: 440px) {
    .chat-inputs, .chat-inputs.name {
      grid-template-columns: repeat(1, 1fr);
      border-right: 2px solid #e7e7e7;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
      #twt-ticket-chat-submit {
        border-left: 2px solid #e7e7e7;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
      }
    }
  }
   */
}
.twt-chat .clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.twt-chat.twt-chat-name .twt-chat__initials {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background-color: #545764;
  color: white;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  float: left;
  margin-right: 18px;
}
.twt-chat .twt-before-chat {
  margin-bottom: 5px;
  font-weight: bold;
}
.twt-chat .twt-chat-name {
  font-size: 18px;
  font-weight: bold;
}
.twt-chat #twt-ticket-chat-msg, .twt-chat #twt-ticket-chat-name {
  line-height: 1.2;
  padding: 15px;
  border-top: 2px solid #e7e7e7;
  border-bottom: 2px solid #e7e7e7;
  border-left: 2px solid #e7e7e7;
  border-right: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 45px;
}
.twt-chat #twt-ticket-chat-name {
  border-right: 2px solid #e7e7e7;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.twt-chat #twt-ticket-chat-submit {
  position: relative;
  height: 45px;
  border-top: 2px solid #e7e7e7;
  border-bottom: 2px solid #e7e7e7;
  border-right: 2px solid #e7e7e7;
  border-left: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.twt-chat .chat-inputs {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  grid-gap: 0px;
  max-width: 100%;
  width: 100%;
  color: #23282d;
}
.twt-chat .chat-inputs.name {
  grid-template-columns: 200px 1fr 200px;
}
.twt-chat.scroll-box #twt-chat__messages {
  overflow-y: scroll;
  height: 400px;
}
.twt-chat .twt-chat__wrap {
  margin-bottom: 18px;
}
.twt-chat .twt-chat__icon {
  height: 32px;
  float: left;
  margin-right: 18px;
}
.twt-chat .twt-chat__icon .gravatar {
  border-radius: 50%;
}
.twt-chat .twt-chat__name {
  float: left;
  margin-right: 18px;
}
.twt-chat .twt-chat__time {
  float: left;
  margin-right: 18px;
  font-size: 75%;
}
.twt-chat .twt-chat__admin {
  float: right;
}
.twt-chat .twt-chat__msg {
  float: none;
  margin-left: 48px;
}
.twt-chat .twt-before-chat-num {
  margin-top: 10px;
}
.twt-chat .twt-chat-page-button {
  border-radius: 3px;
  background-color: transparent;
  color: #d52d9b;
  font-family: Roboto-Bold;
  font-size: 14px;
  margin-right: 10px;
  min-width: 2em;
}
.twt-chat .twt-chat-page-button.active {
  border: 1px solid #d52d9b;
  color: #d52d9b;
}

.twt-chat.dark {
  background-color: #000;
  color: #d52d9b;
}
.twt-chat.dark .twt-chat__wrap {
  color: #ffffff;
}
.twt-chat.dark .twt-chat__head {
  color: #00baf2;
}
.twt-chat.dark #twt-chat__messages::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #666;
}
.twt-chat.dark #twt-chat__messages::-webkit-scrollbar {
  width: 14px;
  background-color: #666;
  border-radius: 10px;
}
.twt-chat.dark #twt-chat__messages::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #d52d9b;
}
.twt-chat.dark .chat-inputs input {
  background: #000;
  color: #fff;
}
.twt-chat.dark .twt-chat-name {
  color: #fff;
}
.twt-chat.dark #twt-ticket-chat-msg, .twt-chat.dark #twt-ticket-chat-name {
  border-top: 2px solid #e7e7e7;
  border-bottom: 2px solid #e7e7e7;
  border-left: 2px solid #e7e7e7;
}
.twt-chat.dark #twt-ticket-chat-name {
  border-right: 2px solid #e7e7e7;
}
.twt-chat.dark #twt-ticket-chat-submit {
  background-color: #000;
  color: #fff;
  border-top: 2px solid #e7e7e7;
  border-bottom: 2px solid #e7e7e7;
  border-right: 2px solid #e7e7e7;
}
.twt-chat.dark .twt-chat__progress_wrap {
  display: flex;
  line-height: 2em;
  height: 40px;
  margin-bottom: 12px;
}
.twt-chat.dark .twt-chat__progress_wrap.five .twt-chat__progress_time {
  color: white;
  background: orange;
}
.twt-chat.dark .twt-chat__progress_wrap.one .twt-chat__progress_time {
  background: red;
}
.twt-chat.dark .twt-chat__progress_wrap.zero .twt-chat__progress_time {
  animation: blink 1.5s step-start infinite;
}
.twt-chat.dark .twt-chat__progress_time {
  padding: 5px;
}
.twt-chat.dark .twt-chat__progress_bar {
  width: 100%;
  margin-left: 1em;
  margin-right: 1em;
  height: 35px;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*# sourceMappingURL=block-chat.css.map */
