form { margin: 0px; padding: 0px; border: 0px; }
*:focus { outline: 0; }

.clear {
	clear: both;
}

/* CHAT SESSION - DIALOG */
#chat-session {
	width: 100%;
	-margin-top: 10px;
	text-align: left;
	box-sizing: border-box;
	background-color: #FFF;
	box-sizing: border-box;
}

#chat-history {
	height: 320px;
	-border: 1px #AAAAAA solid;
	-font-family: courier new;
	font-size: 12pt;
	text-align: left;
	padding: 10px;
	overflow: auto;
	background-color: #FFFFFF;
	margin-bottom: 0px;
	box-sizing: border-box;
	border-bottom: 1px solid #888;
	-background-color: #000;
	-color: #FFF;
	
	padding-left: 0px;
	padding-right: 0px;
}


#chat-history .system-message {
	margin: 0x 5px;
	margin-bottom: 7px;
	margin: 10px 10px;
	color: red;
	background-color: #222;
	color: rgba(255,255,255,0.2);
	padding: 6pt 7pt;
	text-align: center;
	border: 1pt;
}


#chat-history .message {
	margin-bottom: 6pt;
	display: inline-block;
	min-width: 100pt;
	max-width: 80%;
	
	
	position:relative;
	padding: 6pt 8pt;
	-border: 1px solid;
	border-radius: 2pt;
	color: #AAA;
}
#chat-history .message { color: #AAA; }
#chat-history .message:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:40px; /* controls horizontal position */
	border-width:20px 20px 0;
	border-style:solid;
	border-color:#888 transparent;
	/* reduce the damage in FF3.0 */
	display:block;
	width:0;
}
/* creates the smaller  triangle */
#chat-history .message:after {
	content:"";
	position:absolute;
	bottom:-13px; /* value = - border-top-width - border-bottom-width */
	left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
	border-width:13px 13px 0;
	border-style:solid;
	border-color:#fff transparent;
	/* reduce the damage in FF3.0 */
	display:block;
	width:0;
}


#chat-history .message iframe.video {
	width: 300px;
	max-width: 100%;
	height: 200px;
	border: none;
	overflow: hidden;
}

#chat-history .message img.map {
	width: 500px;
	max-width: 100%;
	height: auto;
	margin-bottom: 5px;
}






#chat-history .message.mind {
	background-color: red;
	float: left;
	
	
	margin-left: 12px;
	
	
	
	
	color: #D35;
	background-color: rgba(72,32,44,1);
	border-color: rgba(208, 48, 80, 0.5);
	
	
}
#chat-history .message.mind a { color: #D35; }
/* creates the larger triangle */
#chat-history .message.mind:before {
  top:6px; /* controls vertical position */
  bottom:auto;
  left:-11px; /* value = - border-left-width - border-right-width */
  border-width:11px 11px 11px 0;
  border-color:transparent #000;/*rgba(208, 48, 80, 0.5);*/
}

/* creates the smaller  triangle */
#chat-history .message.mind:after {
  top:9px; /* value = (:before top) + (:before border-top) - (:after border-top) */
  bottom:auto;
  left:-8px; /* value = - border-left-width - border-right-width */
  border-width: 8px 8px 8px 0;
  border-color:transparent rgba(72,32,44,1);
}



#chat-history .message.me {
	background-color: #333;
	float: right;
	
	
	margin-right: 12px;
	border-color: #888;
}
/* creates the larger triangle */
#chat-history .message.me:before {
  top:6px; /* controls vertical position */
  bottom:auto;
  left:auto;
  right:-11px; /* value = - border-left-width - border-right-width */
  border-width:11px 0 11px 11px;
  border-color:transparent #000;/*#888;*/
}
/* creates the smaller  triangle */
#chat-history .message.me:after {
  top:9px; /* value = (:before top) + (:before border-top) - (:after border-top) */
  bottom:auto;
  left:auto;
  right:-8px; /* value = - border-left-width - border-right-width */
  border-width:8px 0 8px 8px;
  border-color:transparent #333;
}



#chat-history .message .user {
	display: inline-block;
	display: none;
}
#chat-history .message .user::after {
	content: ">";
	display: inline-block;
}

#chat-input-form {
	background-color: #000;
	background-color: #222;
	height: 37pt;
}
input#chat-input {
	margin-top: 0px;
	width: 590px;
	padding: 10pt;
	-font-family: courier new;
	font-size: 13pt;
	-border: 1px solid #AAAAAA;
	float: none;
	box-sizing: border-box;
	vertical-align: top;
	border: none;
	background: transparent;
	height: 37pt;
	font-family: "Sans serif", Arial;
	padding-left: 5px;
}
::-webkit-input-placeholder { /* WebKit browsers */
    color: #666;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #666;
   opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #666;
   opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color: #666;
}

#chat-send {
	vertical-align: top;
	border: 1px solid #AAA;
	width: 40px;
	box-sizing: border-box;
	-padding: 0px 10px;
	border: none;
	-border-left: 1px solid #BBB;
	display: inline-block;
	background-image: url('../../static/images/mind_send_white.png');
	background-size: 15pt;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	opacity: 0.5;
}

#mind-info-logo {
	height: 37pt;
	width: 37pt;
	display: inline-block;
	background-image: url('../../static/images/logo_circle_light.png');
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
	-border: 1px solid red;
	-float: left;
}

#cm-logo {
	background-color: #000;
	text-align: right;
	box-sizing: border-box;
	padding: 10px 0px;
	
	display: none;
	height: 0px;
	padding: 0px;
}
#cm-logo img {
	height: 22px;
}
