@import url('https://fonts.googleapis.com/css?family=Roboto');

body {
  margin: 0;
  font-family: 'Roboto';
}
.visible {
  opacity: 1;
}
.colorPanel {
  position: absolute;
  margin: 70px auto;
  left: 0
  right: 0;
  height: 200px;
  width: 200px;
  z-index: 3;
  background: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 0 30px #aaa;
  transition: all 0.12s;
}
.colorPanel .colorSlot {
  box-sizing: border-box;
  width: 33%;
  height: 33%;
  padding: 10px;
}
.colorPanel .color {
  height: 100%;
  width: 100%;
  border-radius: 100px;
  cursor: pointer;
  background: #eee;
  transition-duration: 0.12s;
}
.colorPanel.color:hover {
  opacity: 0.7;
}
.chatbox {
  display: block;
  position: relative;
  max-width: 400px;
  margin: 70px auto 10px;
  padding: 10px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 30px #eee;
  font-size: 17px;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  width:40px;
  min-width:40px;
  height:40px;
  line-height:40px;
  border-radius:50%;
}
.wins, .timer span {
  font-weight: bold;
  font-size: 11pt;
  font-family: sans-serif;
}

@keyframes blinking {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}
.chatbox .header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  font-weight: 900;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  cursor: default;
  justify-content: space-between;
  border-bottom: 2px solid #f5f5f5;
}
.chatbox .headerText {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
}
.chatbox .headerText img {
  max-width: 100%;
}
.chatbox .onlineDot {
  display: block;
  background: #00C853;
  height: 10px;
  width: 10px;
  border-radius: 10px;
  margin-left: 5px;
  animation-name: blinking;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}
.chatbox .tooltip {
  opacity: 0;
  z-index: 2;
  width: auto;
  font-size: 12px;
  text-align: center;
  padding: 3px 10px;
  cursor: default;
  position: absolute;
  color: white;
  box-sizing: border-box;
  border-radius: 15px;
  background: #111;
  transition: all 0.14s;
}
.chatbox .tooltip.bottom {
  top: 115%;
  margin-left: 110px;
  opacity: 0.2;
}
.chatbox .tooltip.left {
  right: calc(100%+5px);
  right: -moz-calc(100%+5px);
  margin-left: 5px;
  top: 5px;
}
.chatbox .messages {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.chatbox .messageBox {
  width: 100%;
  margin-top: 5px;
  position: relative;
}
.chatbox .messageBox.primary {
  text-align: right;
}

.chatbox .message {
  position: relative;
  display: inline-block;
  word-break: break-word;
  white-space: pre-wrap;
  padding: 5px 20px;
  border-radius: 15px;
  cursor: default;
  background: #f1f1f1;
  transition: all 0.12s;
}
.chatbox .message.archive {
  color: #888888;
}

.chatbox .message:hover {
  opacity: 0.7;
}
.chatbox .message .chatbox__tooltip {
  opacity: 1;
}
.chatbox .message.primary {
  color: white;
}

.chatbox .message img {
  max-width: 100%;
}

.chatbox .inputPanel {
  width: 100%;
}

.chatbox .inputPanel .row {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbox .inputPanel .row.actions {
  display: block;
  text-align: right;
  justify-content: 
}
.chatbox .inputPanel p {
  width: 100%;
}
.chatbox .input {
  font-family: 'Roboto';
  font-size: 1.3em;
  width: 100%;
  border: none;
  background: #f3f3f3;
  margin: 0 10px;
  padding: 5px 15px;
  color: #444;
  border-radius: 15px;
  box-sizing: border-box;
}
.chatbox .button {
  display: inline-block;
  height: 20px;
  width: 22px;
  color: white;
  border-radius: 15px;
  background: #208380;
  cursor: pointer;
  font-weight: 900;
  transition-duration: 0.1s;
}
.chatbox .button:hover {
  opacity: 0.7;
}
.chatbox .inputPanel .actions .button {
  margin: .5em .5em;
  padding: .2em 1em;
  width: auto;
  height: auto;
  font-size: 1.1em;
  font-weight: 900;
  border: none;
}
.chatbox .inputPanel .actions .button[type=button] {
  background: #FFB54C;
}
.feedbackPanel input[type=email],
.feedbackPanel textarea.input {
  margin: 0;
  font-size: 1.1em;
}
.feedbackPanel button {
  border-radius: 15px;
  background: #208380;
  cursor: pointer;
  font-weight: 900;
  transition-duration: 0.1s;
  font-family: 'Roboto';
  font-size: 1.1em;
  width: 100%;
  border: none;
  margin: 5px 0 0;
  padding: 5px 15px;
  color: #ffffff;
  border-radius: 15px;
  box-sizing: border-box;
}
@media screen and (max-width: 450px) {
	.chatbox {
		box-sizing: border-box;
		margin: 0;
		max-width: 100%;
		width: 100%;
		border-radius: 0;
		height: 100%;
	}
}


.typing {
  width: 5em;
  height: 0.7em;
  position: relative;
  padding: 10px;
  margin-left: 5px;
  background: #e6e6e6;
  border-radius: 20px;
}

.typing__dot {
  float: left;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: #8d8c91;
  border-radius: 50%;
  opacity: 0;
  animation: loadingFade 1s infinite;
}

.typing__dot:nth-child(1) {
  animation-delay: 0s;
}

.typing__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingFade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
  }
}

.message.bullseye {
  background-color: green !important;
  font-size: 1.5em;
  animation: blinker 1.2s linear 4;
}
.message .timeup {
  text-align: center;
  color: #FF8080 !important;
  font-size: 1.5em;
  animation: blinker 1.2s linear 4;
}

@keyframes blinker {
  50% {
    opacity: 0.4;
  }
}
