#api-chat-wrapper {
	line-height: 18px;
	position: fixed;
	bottom: 40px;
	right: 20px;
	background: rgba( 255, 255, 255, 0.9 );
	z-index: 10000;
}
#api-chat-wrapper .toggle-box {
  display: none;
}
#api-chat-wrapper .toggle-box + label {
	width: 40px;
	height: 40px;
	display: block;
	position: fixed;
	bottom: 40px;
	right: 20px;
	background-color: white;
	background-image: url( 'chat.png' );
	background-position: top right;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 999999;
}
#api-chat-wrapper .toggle-box + label + div {
	height: 0px;
	width: 0px;
	transition: height 0.5s, width 0.5s;
	visibility: hidden;
	opacity: 0;
}
#api-chat-wrapper .toggle-box:checked + label + div {
	height: 480px;
	width: 280px;
	visibility: visible;
	opacity: 1;
	overflow: hidden;
}
#api-chat-result {
	position: relative;
}

#api-chat input, #api-chat button, #api-chat label {
	display: block;
	width: 100%;
	line-height: 40px;
	font-size: 14px;
	margin-bottom: 20px;
	text-align: center;
	color: black;
	background: white;
	border: 0;
	padding: 0;
	text-transform: none;
}
#api-chat button.submitter {
	color: white;
	background: green;
	cursor: pointer;
}
#api-chat button.linker{
	color: green;
	background: none;
	cursor: pointer;
	line-height: 20px;
}
#api-chat label#message, #api-chat label.help {
	color: red;
	background: none;
	line-height: 20px;
}
#api-chat label.help {
	color: green;
}
#api-chat button.submitter:hover {
	background: orange;
}
#api-chat button.linker:hover {
	color: orange;
}
#api-chat.loading button.submitter {
	background: red;
}
#api-chat.loading button.linker {
	color: red;
}

#new-message textarea {
	display: block;
	width: 100%;
	font-size: 14px;
	color: black;
	background: white;
	border: 0;
	padding: 10px;
	padding-left: 15px;
	padding-right: 45px;
	text-transform: none;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 40px;
	overflow: none;
	resize: none;
}
#new-message.loading textarea {
	color: white;
	background: red;
}

#chat-message li {
	border-top: solid 1px red;
	border-left: solid 10px red;
	display: block;
}
#chat-message li.own {
	border-right: solid 10px red;
	border-left: 0;
	display: block;
	text-align: right;
}
.message-text {
	padding: 5px;
	padding-top: 0;
}
.message-status {
	line-height: 20px;
	font-size: 0.8em;
	padding: 0 5px;
}

