@charset "utf-8";
/*
* css for uschat box 
*
* @version			0.2.8.0g
* @lastmodified 2025-03-06
* @link					https://www.landcomp.co.jp/
* @copyright		Copyright 2005, LAND COMPUTER Co.,Ltd.All rights reserved.
*------------------------------------------------------------------------- */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* structure */
#usChatBox {
	min-height: 2rem;
	margin: 1rem 0 0;
	position: relative;
}
#ucWrapper {
	padding: 1px;
	margin: 0 auto;
	min-width: auto;
	max-width: 100%;
	width: 100%;
	height: auto;
	overflow: hidden;
	border: 1px solid #778899;
  background-color: #fff;
}
#ucOuter {
	overflow: hidden;
	width: 100%;
	height: calc(100% - 2px);
	position: relative;
  top: auto;
  left: auto;
  /* __border: 1px solid #A0D08D; */
  background-color: #fff;
}
#ucHeader {
  font-size: 12px;
  __padding: 0.125rem 0.25rem;
  height: 28px;
	overflow: hidden;
  border-bottom: 1px solid #ccc;
	/* background-color: #E2EFD9; */
	background-color: #F5FFFA;
}
#ucInnerBox {
	height: auto;
}
#ucInfoBox {
  color: #333;
  font-size: 0.875rem;
	height: 100%;
	line-height: 1.4;
	min-height: 1.5rem;
  padding: 0.375rem 0.375rem 0.25rem 0.375rem;
}
/* header */
#ucHeader #logo {
  display: inline-block;
	float: left;
  width: 24px;
  height: 24px;
	margin: 2px 2px 0 4px;
	background-position: 0 0;
	background-repeat: no-repeat;
  background-image: url("../../../../uch26/images/message_disable.png");
}
#ucHeader #title {
	color: #999;
	display: inline-block;
	font-size: 0.8125rem;
	width: calc(100% - 9rem - 32px);
	min-width: 11rem;
	margin-top: 7px;
	margin-left: 4px;
}

/* inner box */
#ucInnerBox #ucMsgBox ,
#ucInnerBox #ucAltBox #ucTextBox ,
#ucInnerBox #ucAltBox #ucRequestBox {
	background-color: #fff;
}
#ucInnerBox #ucMsgBox {
	min-height: 8rem;
	max-height: 16rem;
	height: 10.375rem;
	margin: 0.25rem 0.25rem;
	padding: 0.25rem 0.25rem;
	overflow-y: auto;
	border: 1px solid #999;
	border-width: 2px 1px 1px 2px;
	background-color: #f0f0f0;
}
#ucInnerBox #ucMsgBox {
	display: block;
}
#ucInnerBox #ucMsgBox div {
  font-size: 0.9rem;
  padding: 0.25rem 0.25rem;
  min-height: 2rem;
  border-bottom: 1px solid #ccc;
  background: url("../../../../uch26/images/chat-LAND.png") no-repeat 0.25rem 0.25rem;
  background-size: 16px;
}
#ucInnerBox #ucMsgBox div.LAND {
  background-image: url("../../../../uch26/images/chat-LAND.png");
  background-size: 16px;
}
#ucInnerBox #ucMsgBox div.USER {
  background-image: url("../../../../uch26/images/chat-User.png");
  background-size: 16px;
}
#ucInnerBox #ucMsgBox div p {
  line-height: 1.5;
  text-indent: 1.5rem;
  padding-bottom: 0.5rem;
  margin: 0 3rem 0 0;
  position: relative;
}
#ucInnerBox #ucMsgBox span.time {
  float: right;
  font-size: 80%;
}

#ucTextBox ,
#ucRequestBox {
	display: none;
  padding: 0.25rem 0.5rem;
  overflow: hidden;
}
#ucTextBox #aMessage {
  float: left;
	display: inline-block;
  font-size: 1rem;
  line-height: 1.3;
	padding: 0.25rem 0.375rem;
  width: calc(100% - 4.5rem);
  resize: none;
	-webkit-text-size-adjust: 100%;
}
#ucTextBox #aMessage:focus {
	background-color: #f0ffff;
}
#ucTextBox #bSend {
  color: #fff;
  float: right;
	display: inline-block;
  width: 4rem;
	background-color: #68be8d;
}
#ucTextBox #aMessage ,
#ucTextBox #bSend {
  height: 3.25rem;
	border-radius: 4px;
	-webkit-appearance: none;
}
#ucTextBox #bSend:disabled {
	background-color: #aaa;
}

/* mode  */
#ucWrapper.on {
  border: 1px solid #A0D08D;
	border: 1px solid #3cb37a;
}
#ucWrapper.on #ucHeader {
	background-color: #bee0ce;
}
#ucWrapper.on #logo ,
#ucWrapper.busy #logo {
  background-image: url("../../../../uch26/images/message.png");
}
#ucWrapper.on #title {
	color: #333;
}
#ucWrapper.busy {
  border: 1px solid #4d5aaf;
}
#ucWrapper.busy #ucHeader {
	background-color: #bbbcde;
	background-color: #dbd0e6;
	background-color: #82cddd;
}
#ucWrapper.busy #title {
	color: #000;
}
#ucWrapper.on #ucMsgBox ,
#ucWrapper.busy #ucMsgBox {
	background-color: #fff;
}
/* off */
#ucWrapper #_ucMsgBox ,
#ucWrapper #ucTextBox ,
#ucWrapper[class=""] #_ucMsgBox ,
#ucWrapper[class=""] #ucTextBox ,
#ucWrapper:not([class]) #_ucMsgBox ,
#ucWrapper:not([class]) #ucTextBox {
	display: none;
}

/* operation */
#ucInnerBox #_ucMsgBox ,
#ucInnerBox[class=""] #_ucMsgBox ,
#ucInnerBox:not([class]) #_ucMsgBox ,
#ucInnerBox.off #_ucMsgBox ,
#ucInnerBox.available #_ucMsgBox ,
#ucInnerBox #ucAltBox #ucTextBox ,
#ucInnerBox[class=""] #ucAltBox #ucTextBox ,
#ucInnerBox:not([class]) #ucAltBox #ucTextBox ,
#ucInnerBox.off #ucAltBox #ucTextBox ,
#ucInnerBox.available #ucAltBox #ucTextBox {
	display: none;
}
#ucInnerBox.chat #ucMsgBox ,
#ucInnerBox.chat #ucAltBox #ucTextBox {
	display: block;
}
#ucInnerBox.hold #ucMsgBox ,
#ucInnerBox.hold #ucAltBox #ucTextBox {
	display: block;
}
#ucInnerBox.hold #ucAltBox #bSend {
	opacity: 0.66;
	background-color: #aaa;
}

/* info box mode */
#ucInnerBox ~ #ucInfoBox ,
#ucInnerBox[class=""] + #ucInfoBox ,
#ucInnerBox:not([class]) + #ucInfoBox ,
#ucInnerBox.off + #ucInfoBox {
  color: #999;
}
#ucInnerBox.overtime + #ucInfoBox {
  color: #B22222;
	color: #4472C4;
}
#ucInnerBox.available + #ucInfoBox {
	color: #333;
}
#ucInnerBox.busy + #ucInfoBox {
  color: #4472C4;
}
#ucInnerBox.chat + #ucInfoBox {
	color: teal;
}
#ucInnerBox[class*="hold"] + #ucInfoBox {
	color: crimson;
}
#ucInnerBox.chatend + #ucInfoBox {
	color: crimson;
}
#ucInnerBox + #ucInfoBox.caution {
	color: crimson;
}
