body { padding: 20px; font-size: 15px; } body.loading { filter: blur(3px); } .chat-intro { background-color: white; left: 15px; right: 15px; top: 0; text-align: center; font-family: "Helvetica Neue"; font-size: 22px; padding: 10px; position: fixed; position: fixed; z-index: 999; } @media screen and (max-width: 800px) { .chat-intro { width: 100%; } } .logo-man { display: inline-block; width: 18px; height: 32px; background-image: url(img/logoicon.png); background-size: contain; background-repeat: no-repeat; background-position: center; margin-bottom: -7px; } .chat-window { max-width: 800px; height: calc 98.75%; background-color: #fafafa; border-radius: 20px; margin-left: auto; margin-right: auto; } .chat-footer { position: absolute; bottom: 0; width: 800px; background-color: white; } @media screen and (max-width: 800px) { .chat-footer { width: 100%; position: fixed; bottom: 0; } } #message-input { border-radius: 20px; padding: 15px; border: solid 1px #ccc; background-color: #f2f3f3; width: 100%; } @media screen and (max-width: 800px) { #message-input { width: 90%; } } .message-send { position: absolute; bottom: 35px; right: 20px; } @media screen and (max-width: 800px) { .message-send { right: 50px; } } .message-send i { font-size: 20px; } .chat-bubble, .chat-bubble-a { position: relative; padding: 15px; border-radius: 15px; max-width: 70%; box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); } @media screen and (max-width: 800px) { .chat-bubble, .chat-bubble-a { max-width: 90%; } } .chat-bubble footer, .chat-bubble-a footer { font-size: 13px; border-top: solid 1px #ccc; margin-top: 8px; padding-top: 4px; } .chat-bubble footer i, .chat-bubble-a footer i { cursor: pointer; } .chat-bubble footer i:hover, .chat-bubble-a footer i:hover { color: blue; } .chat-bubble { background-color: transparent; float: right; text-align: right; clear: both; margin-bottom: 10px; margin-right: 30px; } .chat-bubble:before { content: ""; display: block; position: absolute; top: 0; right: -40px; width: 30px; height: 30px; background-image: url(img/logoicon.png); background-size: contain; background-repeat: no-repeat; border-radius: 50px; } .chat-bubble-a { background-color: rgba(200, 200, 200, 0.1); border: solid 1px #e1e1e1; margin-left: 20px; float: left; text-align: left; clear: both; margin-bottom: 10px; } .chat-bubble-a button { color: white; background-color: #0d6efd; border-color: #0d6efd; border-radius: 8px; padding: 8px; border-style: none; margin-bottom: 5px; } .chat-bubble-a h1, .chat-bubble-a h2, .chat-bubble-a h3 { font-size: 18px; } .chat-bubble-a:before { content: ""; display: block; position: absolute; top: 0; left: -20px; width: 30px; height: 30px; background-image: url(img/logoicon.png); background-size: contain; background-repeat: no-repeat; } .chat-messages { position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding-left: calc(50vw - 400px); padding-right: calc(50vw - 400px); overflow-y: scroll; padding-bottom: 110px; padding-top: 60px; } .login, .toolbar { position: absolute; top: 5px; right: 25px; z-index: 1000; } .toolbar { left: 5px; right: auto; z-index: 1000; } .chat-waiting { float: left; animation: color-change 1s infinite; } @keyframes color-change { 0% { color: #ccc; } 50% { color: blue; } 100% { color: #348203; } } .modal { background-color: rgba(0, 0, 0, 0.2); }