.chat-main-closed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 1;
  z-index: 990;
  max-width: 300px;
  box-sizing: content-box;
  display: flex;
  justify-content: flex-end;
  align-items: center; }
  .chat-main-closed.hide {
    right: -99999px;
    opacity: 0; }
  .chat-main-closed .desktop-closed-message {
    position: relative;
    background: #3c8dbc;
    letter-spacing: 1px;
    color: white;
    display: flex;
    align-items: center;
    min-height: 40px;
    margin-right: 20px;
    border-radius: 5px;
    padding: 8px 15px;
    box-shadow: rgba(142, 141, 141, 0.5) -3px 2px 20px;
    cursor: pointer; }
    .chat-main-closed .desktop-closed-message:after {
      content: '';
      width: 0;
      height: 0;
      position: absolute;
      top: calc(50% - 10px);
      right: -19px;
      border: 10px solid transparent;
      border-left: 10px solid #3c8dbc; }
    @media screen and (max-width: 717px) {
      .chat-main-closed .desktop-closed-message {
        display: none; } }
  .chat-main-closed .desktop-closed-message-avatar {
    flex-shrink: 0;
    position: relative;
    background: white;
    display: flex;
    align-items: normal;
    height: 60px;
    width: 60px;
    border-radius: 999px;
    box-shadow: rgba(142, 141, 141, 0.5) -3px 2px 20px;
    border: 2px solid #3c8dbc;
    cursor: pointer; }
    .chat-main-closed .desktop-closed-message-avatar img {
      width: 100%;
      max-height: 100%;
      border-radius: 50%; }
    .chat-main-closed .desktop-closed-message-avatar .count_new_mess {
      background: #d0021b;
      width: 20px;
      height: 20px;
      border-radius: 999px;
      position: absolute;
      right: -5px;
      bottom: -5px;
      text-align: center;
      color: white;
      font-weight: 600;
      font-size: 0.8em;
      line-height: 20px;
      z-index: 2; }
    .chat-main-closed .desktop-closed-message-avatar .status {
      display: block;
      background: #757575;
      width: 13px;
      height: 13px;
      border-radius: 10px;
      border: 2px solid #fff;
      position: absolute;
      right: 2px;
      bottom: -2px;
      z-index: 1; }
      .chat-main-closed .desktop-closed-message-avatar .status.on {
        background: #28a745; }

.chat-main-open {
  margin: 0 auto;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 20px;
  right: -999999px;
  opacity: 0;
  z-index: 999990;
  width: 300px;
  box-sizing: content-box;
  overflow: hidden;
  border-radius: 6px;
  background: #EEEEEE;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 30px;
  /* M E S S A G E S */
  /* inside admin */ }
  .chat-main-open.active {
    opacity: 1;
    right: 20px; }
  .chat-main-open .chat-title {
    display: flex;
    align-items: center;
    background: #3c8dbc;
    height: 40px;
    font-size: 20px;
    justify-content: space-between;
    padding: 5px 20px;
    color: white;
    cursor: pointer;
    border-bottom: 1px solid #3c8dbc; }
    .chat-main-open .chat-title .chat-close {
      height: 100%;
      display: flex;
      align-items: center; }
  .chat-main-open .chatting-to {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: initial;
    color: #3c8dbc;
    background: #fff;
    font-weight: 600;
    padding: 5px; }
    .chat-main-open .chatting-to img {
      border-radius: 50%;
      height: 50px;
      width: 50px;
      border: 2px solid #3c8dbc; }
    .chat-main-open .chatting-to .avatar {
      position: relative;
      margin-right: 20px;
      margin-left: 15px; }
      .chat-main-open .chatting-to .avatar .status {
        display: block;
        background: #757575;
        width: 11px;
        height: 11px;
        border-radius: 10px;
        border: 2px solid #fff;
        position: absolute;
        right: 2px;
        bottom: 2px;
        z-index: 1; }
        .chat-main-open .chatting-to .avatar .status.on {
          background: #28a745; }
    .chat-main-open .chatting-to p {
      margin: 0; }
  .chat-main-open .chat {
    flex-grow: 1;
    list-style: none;
    background: none;
    width: 100%;
    overflow-y: auto; }
    .chat-main-open .chat::-webkit-scrollbar {
      min-width: 12px;
      width: 12px;
      max-width: 12px;
      min-height: 12px;
      background: #e5e5e5;
      box-shadow: inset 0 -14px 0 #e5e5e5, inset 0 -46px 0 #fafafa; }
    .chat-main-open .chat::-webkit-scrollbar-track {
      background: #e5e5e5; }
    .chat-main-open .chat::-webkit-scrollbar-thumb {
      background: #bbb;
      border-radius: 100px;
      border: solid 3px #e5e5e5;
      box-shadow: inset 0 0 3px #999; }
    .chat-main-open .chat::-webkit-scrollbar-thumb:hover {
      background: #b0b0b0;
      box-shadow: inset 0 0 3px #888; }
    .chat-main-open .chat::-webkit-scrollbar-thumb:active {
      background: #aaa;
      box-shadow: inset 0 0 3px #7f7f7f; }
    .chat-main-open .chat::-webkit-scrollbar-button {
      display: none; }
    .chat-main-open .chat li {
      padding: 8px !important;
      font-size: 14px;
      display: flex; }
      .chat-main-open .chat li.formInputName {
        padding: 8px 15px !important;
        background: #e1e1e1;
        flex-direction: column; }
        .chat-main-open .chat li.formInputName label {
          display: block; }
        .chat-main-open .chat li.formInputName input {
          display: block;
          width: 100%;
          height: 30px;
          padding: 0 15px;
          border-radius: 4px;
          border: none;
          box-sizing: border-box; }
        .chat-main-open .chat li.formInputName .btnFormName {
          margin-top: 8px;
          height: 30px; }
      .chat-main-open .chat li.visitor {
        justify-content: flex-end;
        align-items: flex-end; }
        .chat-main-open .chat li.visitor .msg {
          order: 1;
          border-bottom-right-radius: 0; }
      .chat-main-open .chat li.admin .msg {
        order: 1;
        color: #fff;
        background: #3c8dbc;
        border-bottom-left-radius: 0; }
        .chat-main-open .chat li.admin .msg a {
          color: #fff;
          text-decoration: underline; }
          .chat-main-open .chat li.admin .msg a:hover {
            text-decoration: none; }
      .chat-main-open .chat li .msg {
        word-wrap: break-word;
        background: white;
        min-width: 50px;
        max-width: 80%;
        padding: 10px;
        border-radius: 5px; }
        .chat-main-open .chat li .msg .time {
          display: flex;
          justify-content: flex-end;
          width: 100%;
          font-size: 10px;
          margin: 5px 0 -5px; }
        .chat-main-open .chat li .msg p {
          margin: 0; }
        .chat-main-open .chat li .msg a {
          color: #000;
          text-decoration: underline; }
          .chat-main-open .chat li .msg a:hover {
            text-decoration: none; }
      .chat-main-open .chat li.contactChat {
        padding: 10px; }
        .chat-main-open .chat li.contactChat .form {
          width: 100%;
          display: flex;
          flex-direction: column;
          padding: 10px;
          box-sizing: border-box;
          background: #fff;
          border-radius: 5px; }
          .chat-main-open .chat li.contactChat .form .info_contact_chat {
            font-size: 12px;
            padding-bottom: 10px; }
          .chat-main-open .chat li.contactChat .form.success {
            background: #28a745; }
            .chat-main-open .chat li.contactChat .form.success p {
              display: flex;
              color: #fff; }
              .chat-main-open .chat li.contactChat .form.success p span {
                flex-shrink: 0;
                padding-right: 10px; }
          .chat-main-open .chat li.contactChat .form input {
            display: block;
            width: 100%;
            height: 24px;
            line-height: 24px;
            padding: 0 10px;
            box-sizing: border-box;
            margin-bottom: 5px;
            border: 1px solid #757575 !important; }
            .chat-main-open .chat li.contactChat .form input.error {
              border-color: red !important; }
          .chat-main-open .chat li.contactChat .form textarea {
            display: block;
            width: 100%;
            height: 50px;
            padding: 5px 10px;
            box-sizing: border-box;
            margin-bottom: 5px;
            border: 1px solid #757575 !important; }
            .chat-main-open .chat li.contactChat .form textarea.error {
              border-color: red !important; }
          .chat-main-open .chat li.contactChat .form button {
            height: 30px; }
  .chat-main-open .input_box {
    width: 100%;
    min-height: 58px;
    padding: 5px 0;
    box-sizing: border-box;
    background: #fff;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; }
    .chat-main-open .input_box.disabled {
      visibility: hidden;
      display: none; }
    .chat-main-open .input_box.disabled:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #EEEEEE; }
    .chat-main-open .input_box textarea.ChatInput {
      width: calc(100% - 50px);
      background: transparent;
      border: none;
      outline: none;
      color: #666;
      font-weight: 400;
      box-sizing: border-box;
      height: 16px;
      max-height: 48px;
      padding: 0 15px;
      resize: none;
      overflow: hidden; }
    .chat-main-open .input_box .send_mess_chat {
      background: transparent;
      border: none;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 30px;
      height: 30px;
      padding: 0;
      margin-right: 10px;
      font-size: 24px;
      color: #3c8dbc;
      cursor: pointer;
      outline: none !important; }
      .chat-main-open .input_box .send_mess_chat:focus {
        box-shadow: none !important;
        outline: none !important; }
  .chat-main-open.admin_style p {
    margin-bottom: 0; }
  .chat-main-open.admin_style .chatting-to {
    display: flex;
    align-items: center;
    line-height: initial; }
  .chat-main-open.admin_style .chat {
    padding: 0;
    margin: 0; }
  .chat-main-open.admin_style .info_contact_chat {
    line-height: 13.8px; }
  .chat-main-open.admin_style .btn {
    padding: 0 12px; }
  .chat-main-open.admin_style .ChatInput {
    font-size: 14px;
    line-height: 16px; }

#SmilodoChat {
  height: calc(100vh - 80px);
  max-height: 350px;
  display: flex;
  flex-direction: column; }

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