.sherlock-chat .chat-close__icon{
    width: inherit;
    height:inherit;
}
.sherlock-chat .message-input-container {
  margin-top: 5px;
  display: flex;
}

.sherlock-chat .message-input {
  padding: 7px 5px;
  margin-right: 2px;
  border-radius: 5px;
  border: 1px solid #ced4da;
  width: 70%;
  font-size: 1em;
}

.sherlock-chat .message-input:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.sherlock-chat .message-sent-button {
  padding: 7px 5px;
  color: #fff;
  background-color: #005aaa;
  border-color: #005aaa;
  border-radius: 5px;

  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  cursor: pointer;
  width: 30%;
  font-size: 0.9em;
}

.sherlock-chat .message-sent-button:focus {
  box-shadow: 0 0 0 2px rgba(0,123,255,.5);
}

.sherlock-chat .message-sent-button:active,
.sherlock-chat .message-sent-button:hover {
  background-color: #004e94;
  border-color: #004e94;
}

.sherlock-chat .message-sent-button:disabled {
  background-color: #418cce;
  border-color: #418cce;
  cursor: auto;
}
.sherlock-chat.welcome-message {
    width: 300px;
    min-height: 60px;
    position: fixed;
    bottom: 155px;
    right: 60px;
    z-index: 2147483646;
    border: 1px solid #cecece;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.36);
    font-family: Arial;
}


.sherlock-chat .welcome-message::before {
    display: block;
    position: absolute;
    float: left;
    border: 0 solid transparent;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top: 10px solid #ffffff;
    content: '';
    bottom: -10px;
    right: 15px;
}

.sherlock-chat .welcome-message hr{
  width: 100%;
  border-style: solid;
  border-width: 0.5px;
  color: #cacaca;
}

.sherlock-chat.offline-chat {
    width: 300px;
    min-height: 60px;
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 2147483646;
    border: 1px solid #cecece;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.36);
    font-family: Arial;
}

.sherlock-chat .offline-chat::before {
    display: block;
    position: absolute;
    float: left;
    border: 0 solid transparent;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top: 10px solid #ffffff;
    content: '';
    bottom: -10px;
    right: 15px;
}

.sherlock-chat.offline-chat hr{
  width: 100%;
  border-style: solid;
  border-width: 0.5px;
  color: #cacaca;
}

.sherlock-chat .empty {
  display: none;
}

.sherlock-chat .welcome-message-header {
  text-align: end;
  z-index: 2147483620;
  display: flex;
  justify-content: space-between;
}

.sherlock-chat .welcome-message-close-icon {
  width: 16px;
  height: 16px;
}

.sherlock-chat .welcome-message-text {
  line-height: 1.5em;
}

.sherlock-chat .welcome-message-operator {
  font-weight: bold;
}

.sherlock-chat .welcome-message-typing {
  margin-top: 10px;
  font-size: 0.8em;
  color: #c1c1c1;
}

.sherlock-chat .c-pointer {
  cursor: pointer;
}

@media (max-width: 830px) {
  .sherlock-chat .sherlock-widget {
      bottom: 0px;
      margin-bottom: calc(env(safe-area-inset-bottom) + 200px);
  }
  body {
    min-height: 100%;
  }
}
.sh-messenger-page {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #284159;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
}

.sh-messenger-page__box {
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 10% auto auto auto;
  padding: 32px;
  max-width: 400px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #1e1e1e;
  border-radius: 16px;
  transition: all .15s ease .15s;
}

.sh-messenger-page__box .title {
  font-size: 26px;
  line-height: 32px;
  font-weight: bold;
  text-align: center;
  max-width: 340px;
  padding: 0 10px;
  margin: 0 auto;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-messenger-page__box .description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 125px;
  word-break: break-word;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  margin: 10px 16px 0;
  padding: 0;
}

.sh-messenger-page__box .logo {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  margin: 10px auto;
}

.sh-messenger-page__box .actions {
  display: grid;
  flex-direction: column;
  gap: 10px;
  grid-auto-columns: max-content;
  margin: auto;
  margin-top: 20px;
}

.sh-messenger-page__box .actions .btn-action {
  background-color: #1c93e3;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  color: #FFF;
  border-radius: 22px;
  overflow: hidden;
  display: inline-block;
  padding: 13px 24px;
  text-transform: uppercase;
  vertical-align: top;
  background-image: linear-gradient(270deg, rgba(100, 181, 239, 0) 48.44%, #64b5ef 75.52%, rgba(100, 181, 239, 0) 100%);
  background-repeat: no-repeat;
  animation: bg-move linear 5s infinite;
  text-decoration: none;
}
.sh-messenger-page__box .actions .btn-action:hover {
  background-color: #1a8ad5;
  cursor: pointer;
}

@keyframes bg-move {
  0% {
    background-position: -500px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
.sherlock-chat .operator {
  height: 54px;
  border-bottom: 1px solid #EAEAEA;
}

.sherlock-chat .operatorPhoto {
  padding-left: 14px;
  width: 50px;
  float: left;
  padding-top: 8px;
}

#sherlockMain.sherlock-main .sherlock-chat .sherlock-app#sherlockApp .operator .operatorInfo{
  width: 59%;
  float: left;
  padding-left: 0;
  padding-top: 13px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
}
.sherlock-chat .operatorPhoto__normalPhoto {
  width: 35px;
  border-radius: 50%;
  margin-left: 1px;
  height: 35px;
  border:1px solid #949494;
}

.sherlock-chat .operatorPhoto__increasedPhoto {
  width: 40px;
  border-radius: 50%;
  height: 40px;
  position: absolute;
  left: 14px;
  top: 7px;
  opacity: 0;
  border: 1px solid #949494;
}

#sherlockMain.sherlock-main .sherlock-chat .sherlock-app#sherlockApp .operator .operatorInfo .operatorInfo__name {
  font-size: 14px;
  color: #333333;
  font-weight: bold;
}

.sherlock-chat .operatorInfo__position {
  color: #8e8e8e;
  font-size: 12px;
}

.sherlock-chat .selectDialog {
  position: absolute;
  top: 7px;
  left: 4px;
  font-size: 32px;
  font-weight: bold;
}
.sh-call-btn {
  background-color: transparent;
  border: 1px solid;
  border-radius: 50%;
  width: 30px;
  color: #fff;
  height: 30px;
}

.call-header-icon {
  width: 22px;
  height: 25px;
  cursor: pointer;
}
.sherlock-chat .operatorTyping {
    padding: 10px 25px;
    min-height: 15px;
}

.sherlock-chat .operatorTyping__text {
    font-size: 13px;
    color: #0a9644;
    font-weight: bold;
}

.sherlock-chat .operatorTyping__left{
    float: left;
    padding-right: 5px;
}

.sherlock-chat .operatorTyping_horizontalLoader{
    width: 25px;
    height: 8px;
    margin-left: 10px;
}
.sherlock-chat .botButton {
  background-color: #FCCEBA;
  font-size: 13px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 2px;

  outline-style: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #F65C19;
  flex-grow: 1;
  margin: 2px;
}

.sherlock-chat .botButton:hover {
  cursor: pointer;
  color: #fff;
  background-color: #F65C19;
}

.sherlock-chat .botButton:active {
  cursor: pointer;
  color: #fff;
  background-color: #F65C19;
}

.sherlock-chat .botButton:disabled {
  background: #dddddd;
  border-color: #cccccc;
  color: #000000;
}

.sherlock-chat .bot-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.sherlock-chat .bot-buttons-container.col {
  flex-direction: column;
  width: 100%;
}

.sherlock-chat .bot-buttons-container.row {
  flex-direction: row;
}

.sherlock-chat .sherlock-welcome-form {
  border-top: 1px solid #EAEAEA;
  padding: 20px 10px;
  height: 100%;
}

.sherlock-chat .sherlock-welcome-form input:focus,
.sherlock-chat .sherlock-form button:focus {
  outline: none;
  border: 1px solid #b2b2b2;
}

.sherlock-chat .sherlock-welcome-form .sherlock-welcome-form-textarea-box {
  display: flex;
  position: relative;
}

.sherlock-chat .sherlock-welcome-form .sherlock-welcome-form-textarea-box .welcome-text-input {
  min-height: 14px;
  max-height: 200px;
  width: 100%;
  padding: 7px 5px;
  font-size: 13px;
  outline-style: none;
  box-shadow: none;
  border: 1px solid #EAEAEA;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  padding-right: 30px;
}

.sherlock-chat .sherlock-welcome-form .sherlock-welcome-form-textarea-box .welcome-form-send-btn {
  position: absolute;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  background: transparent;
  right: 10px;
  top: 3px;
}
.sherlock-chat .sherlock-welcome-form .sherlock-welcome-form-textarea-box .welcome-form-send-btn .send-icon {
  height: 19px;
  width: 25px;
}
.sherlock-chat .editor-sent {
    margin:0 auto;
    display: block;
    width: inherit;
    height: inherit;
}

.sherlock-chat .sherlock-feedback-form {
    /* border-top: 1px solid #EAEAEA; */
    padding: 20px 10px;
    height: 100%;
}

.sherlock-chat .sherlock-feedback-form button {
    width: 100%;
    background-color: #FCCEBA;
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 2px;

    outline-style: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    border-color: #F65C19;
    flex-grow: 1;
    margin: 2px;
}

.sherlock-chat .sherlock-feedback-form button:hover {
    cursor: pointer;
    color: #fff;
    background-color: #F65C19;
}

.sherlock-chat .sherlock-feedback-form button:active {
    cursor: pointer;
    color: #fff;
    background-color: #F65C19;
}

.sherlock-chat .sherlock-feedback-form .button-back {
    margin-top: 25px;
    background-color: #EAEAEA;
    border-color: #A9A9A9;
}

.sherlock-chat .sherlock-feedback-form .button-back:hover {
    margin-top: 25px;
    background-color: #A9A9A9;
}

.sherlock-chat .sherlock-feedback-form .button-back:active {
    margin-top: 25px;
    background-color: #A9A9A9;
}

/*.sherlock-chat .sherlock-feedback-form input:focus, .sherlock-chat .sherlock-feedback-form button:focus {
    outline: none;
    border: 1px solid #b2b2b2;
}

.sherlock-chat .sherlock-feedback-form button {
    height: 30px;
    padding: 0 10px;
    margin-top: 7px;
    cursor: pointer;
    background-color: #EAEAEA;
    border: 1px solid #b2b2b2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: block;
    width: 100%;
}

.sherlock-chat .sherlock-feedback-form .button-back {
    margin-top: 25px;
}*/
.sherlock-chat#sherlockChat {
  margin: 0px;
  font-size: 12px;
  font-family: Arial;
  position: fixed;
  border: none;
  right: 0;
  bottom: 0;
  /* z-index: 2147483610; */
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  /* height: calc(100% - 200px); */
  /* margin-bottom: 200px; */
}

.sherlock-chat .chat {
  border: 1px solid #dddddd;
  border-radius: 3px 3px 3px 3px;
  background-color: #fff !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sherlock-chat .chat-close {
  position: absolute;
  z-index: 2147483620;
  cursor: pointer;
  right: 13px;
  top: 13px;
  height: 16px;
  width: 16px;
}

.sherlock-chat a {
  color: #0099FF;
  cursor: pointer;
}

.sherlock-chat .widget-cross {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 30px;
  top: 10px;
}

.sherlock-chat .keyboard-buttons {
  padding: 0 20px 15px 20px;
}

.sherlock-chat audio {
  width: 220px;
}

.sherlock-chat .pixel-url {
  display: none;
  width: 1px;
  height: 1px;
}

.sherlock-chat .feedbackPanel {
  border-bottom: 1px solid #EAEAEA;
  height: 22px;
  padding-top: 10px;
  text-align: center;
}


.sherlock-chat .sherlock-app {
  height: 100%;
  width: 320px;
  display: flex;
  flex-direction: column;
}


.sherlock-chat .unread-messages-box {
  border-bottom: 1px solid #EAEAEA;
  height: 22px;
  padding-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
}

.sherlock-chat .unread-messages-box  .text {
  margin-left: auto;
}
.sherlock-chat .unread-messages-box .btn-cancel {
  width: 15px;
  height: 15px;
  margin-left: auto;
}

.sherlock-chat .sherlock-request-selector {
  padding: 10px;
  margin-top: 30px;
}

.sherlock-chat .sherlock-request-selector__row {
  border-top: 1px solid #EAEAEA;
  padding: 10px 0;
}
.sherlock-chat .sherlock-request-selector__text {
  padding-top: 5px;
}

.sherlock-chat .sherlock-request-selector__message-date {
  font-size: 11px;
  color: #8e8e8e;
  float: right;
}
.reply-box {
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  margin-left: 6px;
  font-size: 12px;
}

.reply-box .message-reply-box {
  border-left: 1px solid #007bff;
  padding-left: 6px;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
}

.reply-box .message-reply-box .message-reply-text {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 15px;
  word-break: break-all;
}

.reply-box .reply-cancel-btn {
  width: 15px;
  height: 15px;
}


.sherlock-chat .sherlock-form {
  border-top: 1px solid #EAEAEA;
  padding: 20px 10px;
  height: 100%;
}

.sherlock-chat .sherlock-form input:focus, .sherlock-chat .sherlock-form button:focus {
  outline: none;
  border: 1px solid #b2b2b2;
}

.sherlock-chat .sherlock-form input[type='text'] {
  float: right;
  display: inline-block;
  margin: 5px 0;
  width: 97%;
  border: 1px solid #dddddd;
  height: 22px;
  padding: 0 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.sherlock-chat .sherlock-form input.error {
  border: 1px solid #d44950;
}

.sherlock-chat .sherlock-form button {
  height: 30px;
  padding: 0 10px;
  margin-top: 7px;
  float: right;
  cursor: pointer;
  background-color: #EAEAEA;
  border: 1px solid #b2b2b2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.sherlock-chat .sherlock-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sherlock-form .text-field__phone{
  position: relative;
}
.sherlock-form .text-field__phone  .text-field__phone-mask {
  display: none;
}


@media(hover: hover) and (pointer: fine) {
  .sherlock-form .text-field__phone:hover input[value=""] ~ .text-field__phone-mask, 
  .sherlock-form .text-field__phone:hover input:not([value]) ~ .text-field__phone-mask{
    display: block;
    position: absolute;
    top: 10px;
    left: 5px;
    color: #a7a7a7;
    cursor: text;
  }
  
  .sherlock-form .text-field__phone:hover input::placeholder {
    color: transparent;
  }
}


circle.sh-callback-load {
  transition: stroke-dashoffset 1s linear;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.sherlock-call-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sherlock-call-form .btn-cancel {
  margin-top: auto;
  background: transparent;
  border: none;
  font-size: 16px;
  margin-bottom: 30px;
  cursor: pointer;
}


.sherlock-call-form .connecting-box .connecting-text {
  font-size: 20px;
  padding-bottom: 30px;
}
.sherlock-call-form .connecting-box .connecting-icon {
  width: 37px;
  height: 37px;
}

.sherlock-call-form .call-box {
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  
}

.sherlock-call-form .connecting-box .call-icon-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid;
  padding: 10px;
}

.sherlock-call-form .connecting-box .call-icon {
  width: 125px;
  height: 95px;
}

.sherlock-call-form .info-text {
  color: red;
  font-size: 16px;
  text-align: center;
}

.sherlock-call-form .progress-circle {
  stroke: red;
}

.sherlock-call-form .progress-text {
  stroke: red;
}
.sherlock-chat .channels{
  border-top: 1px solid #EAEAEA;
  padding-right: 26px;
  padding-left: 26px;
}

.sherlock-chat .channels__title {
  text-align: center;
  padding-top: 13px;
  font-size: 13px;
  user-select: none;
  cursor: default;
}

.sherlock-chat .channels__title__warning {
  text-align: center;
  font-size: 11px;
  user-select: none;
  cursor: default;
}

.sherlock-chat .channels__icons {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
  margin: 0px;
  padding-left: 0px;
}

.sherlock-chat .channels__icons > li {
  display: inline-block;
}

.sherlock-chat .channels__icons > li:not(:first-child) {
  padding-left: 10px;
}

.sherlock-chat .channel__icon {
  width: 37px;
  height: 37px;
}

.sherlock-chat .channel__icon:hover {
  animation-name: channel__icon_animate;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
}

/* start  animate */

@keyframes channel__icon_animate {
  0% {
      transform: rotate(10deg) scale(1.6)
  }

  25% {
      transform: rotate(-90deg) scale(1.5)
  }

  75% {
      transform: rotate(10deg) scale(1.6)
  }

  100% {
      transform: rotate(-90deg) scale(1.5)
  }
}

/* end animate  */

/* Spinner */
.sk-fading-circle {
    margin: 5px 0 0 25px;
    width: 40px;
    height: 40px;
    position: absolute;
  }
  
  .sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    /*background-color: #005aaa;*/
    background-color: #005aaa;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
            animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
  }
  .sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
            transform: rotate(30deg);
  }
  .sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
            transform: rotate(60deg);
  }
  .sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
            transform: rotate(120deg);
  }
  .sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
        -ms-transform: rotate(150deg);
            transform: rotate(150deg);
  }
  .sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  .sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
        -ms-transform: rotate(210deg);
            transform: rotate(210deg);
  }
  .sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
        -ms-transform: rotate(240deg);
            transform: rotate(240deg);
  }
  .sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
            transform: rotate(270deg);
  }
  .sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
        -ms-transform: rotate(300deg);
            transform: rotate(300deg); 
  }
  .sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
        -ms-transform: rotate(330deg);
            transform: rotate(330deg); 
  }
  .sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s; 
  }
  .sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
            animation-delay: -1s; 
  }
  .sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
            animation-delay: -0.9s; 
  }
  .sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
            animation-delay: -0.8s; 
  }
  .sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
            animation-delay: -0.7s; 
  }
  .sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
            animation-delay: -0.6s; 
  }
  .sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
            animation-delay: -0.5s; 
  }
  .sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
            animation-delay: -0.4s;
  }
  .sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
            animation-delay: -0.3s;
  }
  .sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
            animation-delay: -0.2s;
  }
  .sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
            animation-delay: -0.1s;
  }
  
  @-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% { opacity: 0; }
    40% { opacity: 1; }
  }
  
  @keyframes sk-circleFadeDelay {
    0%, 39%, 100% { opacity: 0; }
    40% { opacity: 1; } 
  }
.sherlock-chat .sherlock-widget {
	width: 100px;
	height: 100px;
	position: fixed;
	bottom: 20px;
	right: 30px;
    z-index: 2147483646;
}

.sherlock-chat .externalChatIcon {
	position: absolute;
    margin-left: 20px;
    display: block;
    border-radius: 50%;
    border: 1px solid transparent;
    background: #005aaa center center no-repeat;
    background-image: url(6427eac81fb86761ffca62a5b1a5d3ca.png);
    background-size: 50%;
    width: 48px;
    height: 48px;
    cursor:pointer;
}

.sherlock-chat .externalChatIcon-no-icon {
    background-image: none;
}

.sherlock-chat .widget_channels {
	width: 100px;
	height: 100px;
	position: fixed;
	bottom: 175px;
	right: 5px;
    z-index: 2147483646;
	display:none;
}

.sherlock-chat .widget_channels.is-show {
	display: block;
}

.sherlock-chat .widget_channels.is-hidden {
	display: none;
}



.sherlock-chat .widget_channels__icons {
    padding-top: 5px;
}
@-webkit-keyframes animationContent {
    50% {
        transform: scale(1, 1);
        opacity: 1;
        border: 1px #005aaa solid;
    }

    100% {
        transform: scale(2, 2);
        opacity: 0;
        border: 1px #005aaa solid;
    }
}


@-moz-keyframes animationContent {
    50% {
        transform: scale(1, 1);
        opacity: 1;
        border: 1px #005aaa solid;
    }

    100% {
        transform: scale(2, 2);
        opacity: 0;
        border: 1px #005aaa solid;
    }
}

@keyframes animationContent {
    50% {
        transform: scale(1, 1);
        opacity: 1;
        border: 1px #005aaa solid;
    }

    100% {
        transform: scale(2, 2);
        opacity: 0;
        border: 1px #005aaa solid;
    }
}

.sherlock-chat .animationContent {
    position: absolute;
    margin-left: 20px;
    width: 48px;
    height: 48px;
    background-color: transparent;
    -webkit-animation-name: animationContent;
    -webkit-animation-duration: 4s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-animation-name: animationContent;
    -moz-animation-animation-duration: 4s;
    -moz-animation-iteration-count: infinite;
    animation-name: animationContent;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    border-radius: 100%;
    border: 1px #005aaa solid;
	cursor:pointer;
}

.sherlock-widget .new-messages-count {
    position: absolute;
    left: 60px;
    background-color: #e95c5c;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
}
.sherlock-chat .editor-keyboard {
    margin:0 auto;
    display: block;
    width: inherit;
    height: inherit;
}
.sherlock-chat .attach__icon {
    width: inherit;
    height: inherit;
}
.emoji-mart,
.emoji-mart * {
    box-sizing: border-box;
    line-height: 1.15;
}

.emoji-mart {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 16px;
    display: inline-block;
    color: #222427;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background: #fff;
}

.emoji-mart .emoji-mart-emoji {
    padding: 6px;
}

.emoji-mart-bar {
    border: 0 solid #d9d9d9;
}
.emoji-mart-bar:first-child {
    border-bottom-width: 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.emoji-mart-bar:last-child {
    border-top-width: 1px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.emoji-mart-anchors {
    display: flex;
    justify-content: space-between;
    padding: 0 6px;
    color: #858585;
    line-height: 0;
}

.emoji-mart-anchor {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 12px 4px;
    overflow: hidden;
    transition: color .1s ease-out;
}
.emoji-mart-anchor:hover,
.emoji-mart-anchor-selected {
    color: #464646;
}

.emoji-mart-anchor-selected .emoji-mart-anchor-bar {
    bottom: 0;
}

.emoji-mart-anchor-bar {
    position: absolute;
    bottom: -3px; left: 0;
    width: 100%; height: 3px;
    background-color: #464646;
}

.emoji-mart-anchors i {
    display: inline-block;
    width: 100%;
    max-width: 22px;
}

.emoji-mart-anchors svg {
    fill: currentColor;
    max-height: 18px;
}

.emoji-mart-scroll {
    overflow-y: scroll;
    height: 270px;
    padding: 0 6px 6px 6px;
}

.emoji-mart-search {
    margin-top: 6px;
    padding: 0 6px;
}
.emoji-mart-search input {
    font-size: 16px;
    display: block;
    width: 100%;
    padding: .2em .6em;
    border-radius: 25px;
    border: 1px solid #d9d9d9;
    outline: 0;
}

.emoji-mart-category .emoji-mart-emoji span {
    z-index: 1;
    position: relative;
    text-align: center;
    cursor: default;
}

.emoji-mart-category .emoji-mart-emoji:hover:before {
    z-index: 0;
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #f4f4f4;
    border-radius: 100%;
}

.emoji-mart-category-label {
    z-index: 2;
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.emoji-mart-category-label span {
    display: block;
    width: 100%;
    font-weight: 500;
    padding: 5px 6px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, .95);
}

.emoji-mart-emoji {
    position: relative;
    display: inline-block;
    font-size: 0;
}

.emoji-mart-no-results {
    font-size: 14px;
    text-align: center;
    padding-top: 70px;
    color: #858585;
}
.emoji-mart-no-results .emoji-mart-category-label {
    display: none;
}
.emoji-mart-no-results .emoji-mart-no-results-label {
    margin-top: .2em;
}
.emoji-mart-no-results .emoji-mart-emoji:hover:before {
    content: none;
}

.emoji-mart-preview {
    position: relative;
    height: 70px;
}

.emoji-mart-preview-emoji,
.emoji-mart-preview-data,
.emoji-mart-preview-skins {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.emoji-mart-preview-emoji {
    left: 12px;
}

.emoji-mart-preview-data {
    left: 68px; right: 12px;
    word-break: break-all;
}

.emoji-mart-preview-skins {
    right: 30px;
    text-align: right;
}

.emoji-mart-preview-name {
    font-size: 14px;
}

.emoji-mart-preview-shortname {
    font-size: 12px;
    color: #888;
}
.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,
.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,
.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {
    margin-left: .5em;
}

.emoji-mart-preview-emoticon {
    font-size: 11px;
    color: #bbb;
}

.emoji-mart-title span {
    display: inline-block;
    vertical-align: middle;
}

.emoji-mart-title .emoji-mart-emoji {
    padding: 0;
}

.emoji-mart-title-label {
    color: #999A9C;
    font-size: 26px;
    font-weight: 300;
}

.emoji-mart-skin-swatches {
    font-size: 0;
    padding: 2px 0;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background-color: #fff;
}

.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch {
    width: 16px;
    padding: 0 2px;
}

.emoji-mart-skin-swatches-opened .emoji-mart-skin-swatch-selected:after {
    opacity: .75;
}

.emoji-mart-skin-swatch {
    display: inline-block;
    width: 0;
    vertical-align: middle;
    transition-property: width, padding;
    transition-duration: .125s;
    transition-timing-function: ease-out;
}

.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }
.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }
.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }
.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }
.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }
.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }

.emoji-mart-skin-swatch-selected {
    position: relative;
    width: 16px;
    padding: 0 2px;
}
.emoji-mart-skin-swatch-selected:after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    margin: -2px 0 0 -2px;
    background-color: #fff;
    border-radius: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease-out;
}

.emoji-mart-skin {
    display: inline-block;
    width: 100%; padding-top: 100%;
    max-width: 12px;
    border-radius: 100%;
}

.emoji-mart-skin-tone-1 { background-color: #ffc93a }
.emoji-mart-skin-tone-2 { background-color: #fadcbc }
.emoji-mart-skin-tone-3 { background-color: #e0bb95 }
.emoji-mart-skin-tone-4 { background-color: #bf8f68 }
.emoji-mart-skin-tone-5 { background-color: #9b643d }
.emoji-mart-skin-tone-6 { background-color: #594539 }
.emoji {
    position: absolute;
    background: inherit;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(221, 221, 221, 1);
    border-radius: 8px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    /*bottom: 140px;*/
    top: -160px;
    right: 7px;

    padding-left: 28px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 31px;
}

.emoji:before {
    position: absolute;
    margin: auto;
    left: 32px;
    width: 11px;
    height: 11px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    content: "\A";
    bottom: -7px;
    background-image: url(c9c18823f26172bbf6031f33fa2eeca8.png);
    background-size: 19px 75px;

}

.emoji-smiles {

    padding-left: 28px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 31px;
}

.emojiSmile {
    width: 41px;
    height: 33px;
    display: inline-block;
    cursor: pointer;
}

.emojiSmile:not(:first-child) {
    margin-left: 10px;
}

.emoji-smiles__row:not(:first-child) {
    margin-top: 5px;
}

/* start rewrite emojimartlib */

.emoji-mart-preview,
.emoji-mart-anchors,
.emoji-mart-search,
.emoji-mart-category-label {
    display: none;
    border: none;
}

.emoji-mart-bar {
    border: none;
}

.emoji-mart-scroll {
    width: 225px;
    height: 163px !important;
    padding: 0 4px 6px 0px;
}

.emoji-mart {
    overflow: hidden;
    border: none;
    width: 250px !important;
    border-radius: 0px;
    background-color: transparent;
}

.emoji-mart-scroll::-webkit-scrollbar {
    width: 5px;
}
.emoji-mart-scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.emoji-mart-scroll::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #dee2e6;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.emoji-mart-category .emoji-mart-emoji span {
    cursor: pointer;
}

.emoji-mart-category .emoji-mart-emoji:hover:before {
    background-color: transparent;
}

/* end rewrite emojimartlib */
.sherlock-chat .smile__icon{
    width: inherit;
    height:inherit;
}
.sherlock-chat .editor-microphone {
    margin:0 auto;
    display: block;
    width: inherit;
    height: inherit;
}
.sherlock-chat .audio-recorder-cancel {
    width: 15px;
    height: 15px;
    float: left;
    margin-top: 8px;
}

.sherlock-chat .wave-stream {
    float: left;
    width: 77%;
    padding: 0 0 0 10px;
}

.sherlock-chat #visualizer {
    height: 30px!important;
    position: relative!important;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}
.sherlock-chat .messages {
  overflow: auto;
}

/* start messageScrollBar  */

.sherlock-chat .messageScrollBar {
  margin-top: 5px;
}

.sherlock-chat .messageScrollBar__thumb-vertical {
  width: 10px !important;
  right: 10px;
  height: 57px;
  background-color: #ddd;
  bottom: 2px;
}

/* end messageScrollBar  */


.sh-tooltip__box {
  display: grid;
  gap: 5px;
}

.sherlock-chat .message-loader {
    width: 30px;
    height: 30px;
    margin:0 auto;
    display: block;
    padding-bottom: 15px;
}
/* The snackbar - position it at the bottom and in the middle of the screen */
.sh-snackbar{
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
.sh-snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
.sh-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.sh-modal.show {
  display: block;
}

/* Modal Content/Box */
.sh-modal-content {
  background-color: #fefefe;
  margin: 30% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

/* The Close Button */
.sh-modal-content .btn-close-modal {
  color: #aaa;
  margin-left: auto;
  font-size: 28px;
  font-weight: bold;
}

.sh-modal-content .btn-close-modal:hover,
.sh-modal-content .btn-close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.sh-modal-content .actions {
  display: grid;
  gap: 10px;
  grid-auto-flow: column;
  margin-left: auto;
}
.sh-modal-content .btn-action {
  
}
.sherlock-chat .editor {
  height: 95px;
  border-top: 1px solid #EAEAEA;
  position:relative;
}

.sherlock-chat .editor .editor-panel {
  display: flex;
  width: 100%;
}

.sherlock-chat .editor .editor-panel.col {
  flex-direction: column;
}

.sherlock-chat .editor-content {
  height: 100%;
  padding-right: 25px;
  font-size: 13px;
  outline-style: none;
  box-shadow: none;
  border-color: transparent;
}

.sherlock-chat .editor-content-ie {
  width: 96%;
  height: 95%;
}

.sherlock-chat .editor-buttons {
  padding-left: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.sherlock-chat .editor-buttons__smile {
  opacity: 0.5;
  cursor: pointer;
  width: 23px;
  height: 25px;
  display: inline-block;
}

.sherlock-chat .editor-buttons-2__smile {
  opacity: 0.5;
  cursor: pointer;
  width: 23px;
  height: 25px;
  display: inline-block;
  float: left;
}

.sherlock-chat .editor-buttons__attach {
  cursor: pointer;
  height: 20px;
  width: 20px;
  display: inline-block;
  margin-left: 10px;
}

.sherlock-chat .editor .editor-panel.col .emoji {
  top: -125px;
  padding: 5px;
  left: -20px;
  right: 100px;
}

.sherlock-chat .editor .editor-panel .emoji.emoji-2 {
  top: -180px;
  padding: 5px;
  left: 23px;
  right: calc(100vw - 260px);
}


.sherlock-chat .editor-buttons__attach input[type=file] {
  display: none;
}

.sherlock-chat .editor-buttons__sent {
  cursor: pointer;
  height: 19px;
  width: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 15px;
}

.sherlock-chat .editor-buttons__keyboard {
  cursor: pointer;
  height: 19px;
  width: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 15px;
}

.sherlock-chat .editorScrollBar {
  padding-right: 22px;
  width: inherit !important;
height: 60px;
}

.sherlock-chat .editorScrollBar__thumb-vertical {
  height: 21px;
  width: 10px !important;
  background-color: #ddd;
  right: 13px;
}

.sherlock-chat .editor-audio-recorder {
  margin-top: 20px;
  margin-left: -15px;
}

.sherlock-chat .editor-2 {
  height: auto;
  min-height: 43px;
  /* overflow: hidden; с этим не видно календаря */
  padding-left: 10px;
}

.sherlock-chat .editor-content-2 {
  min-height: 14px;
  max-height: 200px;
  width: 100%;
  padding: 7px 5px;
  font-size: 13px;
  outline-style: none;
  box-shadow: none;
  border: 1px solid #EAEAEA;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  margin: 0 5px;
}

.sherlock-chat .editor-buttons-2__attach {
  float: right;
  width: 20px;
  height: 20px;
  margin-top: 6px;
  margin-right: 8px;
  padding-left: 5px;
}

.sherlock-chat .editor-buttons-2__attach input[type=file] {
  display: none;
}

.sherlock-chat .editor-buttons-2__sent {
  cursor: pointer;
  height: 19px;
  width: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
  display: inline-block;
  margin-top: 5px;
  margin-right: 8px;
}

.sherlock-chat .editor-buttons-2__keyboard {
  cursor: pointer;
  height: 19px;
  width: 25px;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
  display: inline-block;
  margin-top: 5px;
  margin-right: 8px;
}

.sherlock-chat .editor-buttons-2__microphone {
  width: 20px;
  height: 20px;
  float: right;
  margin-top: 5px;
  margin-right: 4px;
}

.sherlock-chat [contenteditable=true]:empty:before {
  content: attr(placeholder);
  display: block;
  color: #bababa;
}

.sherlock-chat .editor .maskedInput {
  width: 100%;
  border: 0;
  outline: none;
  padding-bottom: 43px;
}

.sherlock-chat .editor .calendarInput {
  width: 100%;
  border: 0;
  outline: none;
  padding-bottom: 43px;
}

.sherlock-chat .editor-2 .maskedInput {
  width: 85%;
  padding-bottom: 0;
}

.sherlock-chat .editor-2 .calendarInput {
  width: 150%;
  padding-bottom: 0;
}
.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  margin-left: -8px;
  position: absolute;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
.react-datepicker__month-read-view--down-arrow::before,
.react-datepicker__month-year-read-view--down-arrow::before {
  box-sizing: content-box;
  position: absolute;
  border: 8px solid transparent;
  height: 0;
  width: 1px;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
.react-datepicker__month-read-view--down-arrow::before,
.react-datepicker__month-year-read-view--down-arrow::before {
  content: "";
  z-index: -1;
  border-width: 8px;
  left: -8px;
  border-bottom-color: #aeaeae;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle {
  top: 0;
  margin-top: -8px;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {
  border-top: none;
  border-bottom-color: #f0f0f0;
}

.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {
  top: -1px;
  border-bottom-color: #aeaeae;
}

.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  bottom: 0;
  margin-bottom: -8px;
}

.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
.react-datepicker__month-read-view--down-arrow::before,
.react-datepicker__month-year-read-view--down-arrow::before {
  border-bottom: none;
  border-top-color: #fff;
}

.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,
.react-datepicker__month-read-view--down-arrow::before,
.react-datepicker__month-year-read-view--down-arrow::before {
  bottom: -1px;
  border-top-color: #aeaeae;
}

.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
}

.react-datepicker--time-only .react-datepicker__triangle {
  left: 35px;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}

.react-datepicker--time-only .react-datepicker__time {
  border-radius: 0.3rem;
}

.react-datepicker--time-only .react-datepicker__time-box {
  border-radius: 0.3rem;
}

.react-datepicker__triangle {
  position: absolute;
  left: 50px;
}

.react-datepicker-popper {
  z-index: 1;
}

.react-datepicker-popper[data-placement^="bottom"] {
  margin-top: 10px;
}

.react-datepicker-popper[data-placement="bottom-end"] .react-datepicker__triangle, .react-datepicker-popper[data-placement="top-end"] .react-datepicker__triangle {
  left: auto;
  right: 50px;
}

.react-datepicker-popper[data-placement^="top"] {
  margin-bottom: 10px;
}

.react-datepicker-popper[data-placement^="right"] {
  margin-left: 8px;
}

.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle {
  left: auto;
  right: 42px;
}

.react-datepicker-popper[data-placement^="left"] {
  margin-right: 8px;
}

.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle {
  left: 42px;
  right: auto;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  padding-top: 8px;
  position: relative;
}

.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 2px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  background: none;
  line-height: 1.7rem;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 10px;
  width: 0;
  padding: 0;
  border: 0.45rem solid transparent;
  z-index: 1;
  height: 10px;
  width: 10px;
  text-indent: -999em;
  overflow: hidden;
}

.react-datepicker__navigation--previous {
  left: 10px;
  border-right-color: #ccc;
}

.react-datepicker__navigation--previous:hover {
  border-right-color: #b3b3b3;
}

.react-datepicker__navigation--previous--disabled, .react-datepicker__navigation--previous--disabled:hover {
  border-right-color: #e6e6e6;
  cursor: default;
}

.react-datepicker__navigation--next {
  right: 10px;
  border-left-color: #ccc;
}

.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 80px;
}

.react-datepicker__navigation--next:hover {
  border-left-color: #b3b3b3;
}

.react-datepicker__navigation--next--disabled, .react-datepicker__navigation--next--disabled:hover {
  border-left-color: #e6e6e6;
  cursor: default;
}

.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.react-datepicker__navigation--years-previous {
  top: 4px;
  border-top-color: #ccc;
}

.react-datepicker__navigation--years-previous:hover {
  border-top-color: #b3b3b3;
}

.react-datepicker__navigation--years-upcoming {
  top: -4px;
  border-bottom-color: #ccc;
}

.react-datepicker__navigation--years-upcoming:hover {
  border-bottom-color: #b3b3b3;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year-container {
  margin: 0.4rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

.react-datepicker__year-container-text {
  display: inline-block;
  cursor: pointer;
  flex: 1 0 30%;
  width: 12px;
  padding: 2px;
}

.react-datepicker__month {
  margin: 0.4rem;
  text-align: center;
}

.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}

.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: 85px;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"] {
  -moz-appearance: textfield;
}

.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}

.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  position: absolute;
  right: -72px;
  top: 0;
}

.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + (1.7rem / 2));
  overflow-y: scroll;
  padding-right: 0px;
  padding-left: 0px;
  width: 100%;
  box-sizing: content-box;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}

.react-datepicker__week-number.react-datepicker__week-number--clickable:hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}

.react-datepicker__day-names,
.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,
.react-datepicker__quarter--selected,
.react-datepicker__quarter--in-selecting-range,
.react-datepicker__quarter--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}

.react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,
.react-datepicker__quarter--selected:hover,
.react-datepicker__quarter--in-selecting-range:hover,
.react-datepicker__quarter--in-range:hover {
  background-color: #1d5d90;
}

.react-datepicker__month--disabled,
.react-datepicker__quarter--disabled {
  color: #ccc;
  pointer-events: none;
}

.react-datepicker__month--disabled:hover,
.react-datepicker__quarter--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text {
  cursor: pointer;
}

.react-datepicker__day:hover,
.react-datepicker__month-text:hover,
.react-datepicker__quarter-text:hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}

.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today {
  font-weight: bold;
}

.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}

.react-datepicker__day--highlighted:hover,
.react-datepicker__month-text--highlighted:hover,
.react-datepicker__quarter-text--highlighted:hover {
  background-color: #32be3f;
}

.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1 {
  color: magenta;
}

.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2 {
  color: green;
}

.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}

.react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,
.react-datepicker__month-text--selected:hover,
.react-datepicker__month-text--in-selecting-range:hover,
.react-datepicker__month-text--in-range:hover,
.react-datepicker__quarter-text--selected:hover,
.react-datepicker__quarter-text--in-selecting-range:hover,
.react-datepicker__quarter-text--in-range:hover {
  background-color: #1d5d90;
}

.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: #2a87d0;
  color: #fff;
}

.react-datepicker__day--keyboard-selected:hover,
.react-datepicker__month-text--keyboard-selected:hover,
.react-datepicker__quarter-text--keyboard-selected:hover {
  background-color: #1d5d90;
}

.react-datepicker__day--in-selecting-range ,
.react-datepicker__month-text--in-selecting-range ,
.react-datepicker__quarter-text--in-selecting-range {
  background-color: rgba(33, 107, 165, 0.5);
}

.react-datepicker__month--selecting-range .react-datepicker__day--in-range , .react-datepicker__month--selecting-range
.react-datepicker__month-text--in-range , .react-datepicker__month--selecting-range
.react-datepicker__quarter-text--in-range {
  background-color: #f0f0f0;
  color: #000;
}

.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled {
  cursor: default;
  color: #ccc;
}

.react-datepicker__day--disabled:hover,
.react-datepicker__month-text--disabled:hover,
.react-datepicker__quarter-text--disabled:hover {
  background-color: transparent;
}

.react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,
.react-datepicker__quarter-text.react-datepicker__month--selected:hover,
.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,
.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,
.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {
  background-color: #216ba5;
}

.react-datepicker__month-text:hover,
.react-datepicker__quarter-text:hover {
  background-color: #f0f0f0;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
}

.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}

.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: #b3b3b3;
}

.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-top-color: #ccc;
  float: right;
  margin-left: 20px;
  top: 8px;
  position: relative;
  border-width: 0.45rem;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}

.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}

.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}

.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: #b3b3b3;
}

.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: #b3b3b3;
}

.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0px 6px 0px 0px;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}

.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "\00d7";
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}

.react-datepicker__portal .react-datepicker__day-name,
.react-datepicker__portal .react-datepicker__day,
.react-datepicker__portal .react-datepicker__time-name {
  width: 3rem;
  line-height: 3rem;
}

@media (max-width: 400px), (max-height: 550px) {
  .react-datepicker__portal .react-datepicker__day-name,
  .react-datepicker__portal .react-datepicker__day,
  .react-datepicker__portal .react-datepicker__time-name {
    width: 2rem;
    line-height: 2rem;
  }
}

.react-datepicker__portal .react-datepicker__current-month,
.react-datepicker__portal .react-datepicker-time__header {
  font-size: 1.44rem;
}

.react-datepicker__portal .react-datepicker__navigation {
  border: 0.81rem solid transparent;
}

.react-datepicker__portal .react-datepicker__navigation--previous {
  border-right-color: #ccc;
}

.react-datepicker__portal .react-datepicker__navigation--previous:hover {
  border-right-color: #b3b3b3;
}

.react-datepicker__portal .react-datepicker__navigation--previous--disabled, .react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover {
  border-right-color: #e6e6e6;
  cursor: default;
}

.react-datepicker__portal .react-datepicker__navigation--next {
  border-left-color: #ccc;
}

.react-datepicker__portal .react-datepicker__navigation--next:hover {
  border-left-color: #b3b3b3;
}

.react-datepicker__portal .react-datepicker__navigation--next--disabled, .react-datepicker__portal .react-datepicker__navigation--next--disabled:hover {
  border-left-color: #e6e6e6;
  cursor: default;
}


.sherlock-chat .message-border {
  padding-top: 6px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
  border-radius: 7px;
}

.sherlock-chat .message-border .reply-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  border-left: 2px solid black;
  padding-left: 6px;
}
.sherlock-chat .message-border .reply-info .text {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 20px;
  word-break: break-all;
}
.sherlock-chat .message-border__author {
  display: none; 
  font-weight: bold;
  font-size: 13px;
}

.sherlock-chat .message-border__text {
  word-wrap: break-word;
  padding-top: 2px;
  font-size: 13px;
}

.sherlock-chat .message-date {
  font-size: 11px;
  color: #8e8e8e;
  padding-top: 8px;
}

/* start .message-in  */

.sherlock-chat .message-in {
  padding-left: 20px;
  padding-right: 40px;
  padding-bottom: 15px;
}

.sherlock-chat .message-in > .message-border {
  background-color: #D9EDFF;
}

.sherlock-chat .message-in > .message-triangle {
  display: block;
  float: right;
  margin-right: 14px;
  border: 0 solid transparent;
  border-left-width: 29px;
  border-right-width: 0px;
  border-top: 12px solid #D9EDFF;
}

.sherlock-chat .message-in > .message-border > .message-border__text {
  padding-top: 2px;
}

.sherlock-chat .message-in > .message-border > .message-border__author {
  color: #0a9644;
}

/* end .message-in  */

/* start .message-out  */

.sherlock-chat .message-out {
  padding-left: 33px;
  padding-right: 24px;
  padding-bottom: 15px;
}

.sherlock-chat .message-out > .message-border {
  background-color: #FEEFE8;
}

.sherlock-chat .message-out > .message-date {
  text-align: right;
}

.sherlock-chat .message-out > .message-triangle {
  display: block;
  float: left;
  margin-right: 16px;
  border: 0 solid transparent;
  border-left-width: 0px;
  border-right-width: 29px;
  border-top: 12px solid #FEEFE8;
  margin-left: 14px;
}

/* end message-out */

.sherlock-chat .message-attachment {
  word-wrap: break-word;
  padding-top: 15px;
  position: relative;
}

.sherlock-chat .message-attachment__image {
  width: 100%;
  height: 100%;
}

.sherlock-chat .attachment-icon {
  position: absolute;
  top: 38%;
  left: 40%;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.sherlock-chat .attachment-icon__circle {
  opacity: 0.3;
  position: inherit;
  background: url(cc1d1cbea5b61e5d1c5901b6b4889d6a.png);
  width: 44px;
  height: 44px;
}

.sherlock-chat .attachment-icon__arrow {
  position: absolute;
  margin-top: 7px;
  margin-left: 10px;
  background: url(1a1e50fc7a21b28f4c241791af6ad012.svg);
  background-size: contain;
  z-index: 3;
  width: 26px;
  height: 30px;
}

/* start message state */
.sherlock-chat .message-state {
  font-size: 11px;
  color: #8e8e8e;
  padding-top: 8px;
  text-align: right;
}

.sherlock-chat .message-state__icon {
  width: 18px;
  height: 14px;
  display: block;
  float: right;
}

.sherlock-chat .message-state_error {
  color: #ee444a;
}

.sherlock-chat .message-state_cursor {
  cursor: pointer;
}

/* end message state */
