/* トーク */
/* 上部のタブ */
.talk-header {
	display: table;
	table-layout: fixed;
	margin: 10px auto;
	width: 90%;
	min-width:300px;
	max-width:540px;
	border-radius: 5px !imporrtant;
	background-color: #FFFFFF;
	color: #808080;
}

.talk-header .talk,
.talk-header .info {
	display: table-cell;
	position: relative;
	padding: 5px 0;
	text-align: center;
	cursor: pointer;
}

.talk-header .talk {
	border-radius: 5px 0 0 5px;
}

.talk-header .info {
	border-radius: 0 5px 5px 0;
}

.talk-header .active {
	background-color: #B67C2D;
	color: #fff;
	font-weight: bold;
}

/* 本文 */
.talk-body {
	margin-top: 10px;
	padding: 20px;
	border: 5px solid #F5f5f5;
	border-radius: 4px;
	background-color: #F5F5F5;
	width: 100%;
	height: 500px;
	overflow: hidden;
	position: relative;
}

/* 本文の吹き出し */
.balloon-right,
.balloon-left{
	position: relative;
	width: 100%;
	text-shadow: none;
}

.balloon-right {
	float: right;
	text-align: right;
	margin-right: 2%;
}

.balloon-left {
	margin-left:3%;
	float: left;
}

.arrow-comment,
.arrow-comment-to-all {
	position: relative;
	display: inline-block;
	padding: 10px;
	min-width: 20%;
	max-width: 70%;
	font-size: 13px;
	margin-top: 3px;
	margin-bottom: 15px;
	color: #303030;
	line-height: 17px;
	border-radius: 10px;
}

.arrow-comment2 {
	position: relative;
	display: inline-block;
	padding: 0 15px 20px;
	min-width: 20%;
	max-width: 70%;
	font-size: 13px;
	margin-bottom: 5px;
	color: #000;
}

.balloon-right .arrow-comment{
	float: right;
	background: #87E144;
	text-align: left;
	color:#303030;
}

.balloon-left .arrow-comment{
	float: left;
	background: #FFFFFF;
	color:#303030;
}

.balloon-left .arrow-comment2{
	float: left;
	color:383838;
}

.balloon-left .arrow-comment-to-all{
	float: left;
	background: #FFFFFF;
	color:FFFFFF;
}

.arrow-comment:after,
.arrow-comment-to-all:after {
	content: "";
	position: absolute;
	top: 20%;
}

.balloon-right .arrow-comment:after{
	border: 10px solid transparent;
	border-width:0 0 15px 20px;
	border-left-color:#87E144;
	left: 100%;
}

.balloon-left .arrow-comment:after{
	border: 10px solid transparent;
	border-width:0 20px 15px 0;
	border-right-color:#FFFFFF;
	right: 100%;
}

.balloon-left .arrow-comment-to-all:after{
	border: 10px solid transparent;
	border-width:0 20px 15px 0;
	border-right-color:#FFFFFF;
	right: 100%;
}

.balloon-left .arrow-comment-to-all a,
.balloon-left .arrow-comment a{
	color: #646085;
}

.balloon-left .balloon-datetime,
.balloon-right .balloon-datetime {
	position: relative;
	top: 10px;
	font-size: 10px;
	color: #808080;
}

.balloon-left .balloon-datetime {
	left: 5px;
	float: left;
}

.balloon-right .balloon-datetime {
	left: -5px;
	float: right;
}

.balloon-left .balloon-datetime .nickname,
.balloon-right .balloon-datetime .nickname {
	font-size: 12px;
}

/* 画面下部のテキスト入力 */
.talk-input-box {
	margin: 10px 0 20px;
	padding: 20px;
	border: 5px solid #F5f5f5;
	border-radius: 4px;
	background-color: #F5F5F5;
	width: 100%;
	height: 130px;
	position: relative;
}

.talk-input-box textarea {
	background-color: #FFFFFF;
	border: 1px solid #C7C7C7;
	border-radius: 4px;
	height: 80px;
	width: 70%;
	padding: 5px;
	float: left;
	-webkit-transition: border linear 0.4s;
	-moz-transition: border linear 0.4s;
	-o-transition: border linear 0.4s;
	transition: border linear 0.4s;
}

.talk-input-box textarea:focus {
	border: 1px solid #F1C455;
}

.talk-input-box textarea.disabled-textarea {
	background-color: #C0C0C0;
	color: #FFFFFF;
}

.talk-input-box .send-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 100px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	cursor: pointer;
	color: #fff;
	font-weight: normal;
	background-color: #B67C2D;
	border-radius: 4px;
	-webkit-transition: background-color linear 0.2s;
	-moz-transition: background-color linear 0.2s;
	-o-transition: background-color linear 0.2s;
	transition: background-color linear 0.2s;
}

.talk-input-box .send-btn:hover {
	background-color: #fff;
	border:1px solid #B67C2D;
	color:#B67C2D;
}

.talk-input-box .disabled-button {
	position: absolute;
	bottom: 20px;
	right: 10px;
	width: 100px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	color: #FFFFFF;
	font-weight: bold;
	background-color: #C0C0C0;
	border-radius: 4px;
}

.talk-input-box .smily-btn {
	position: absolute;
	top: 20px;
	right: 53px;
	width: 30px;
	cursor: pointer;
}

.talk-input-box .stamp-box {
	display: none;
	position: absolute;
	top: -220px;
	left: 0;
	padding-top: 30px;
	width: 100%;
	height: 200px;
	background-color: rgba(255, 255, 255, 0.9);
	border: 1px solid #C7C7C7;
	box-shadow: 3px 3px 4px #C7C7C7;
	border-radius: 4px;
	overflow: hidden;
}

.talk-input-box .stamp-box .close-btn {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 30px;
	height: 30px;
	border: 2px solid #808080;
	border-radius: 50%;
	cursor: pointer;
	-webkit-transition: background-color linear 0.3s;
	-moz-transition: background-color linear 0.3s;
	-o-transition: background-color linear 0.3s;
	transition: background-color linear 0.3s;
}

.talk-input-box .stamp-box .close-btn::before,
.talk-input-box .stamp-box .close-btn::after {
	content: "";
	display: block;
	position: absolute;
	top: 11px;
	left: 0;
	width: 27px;
	height: 4px;
	border-radius: 2px;
	background-color: #808080;
}

.talk-input-box .stamp-box .close-btn::before {
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}

.talk-input-box .stamp-box .close-btn::after {
	transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
}

.talk-input-box .stamp-box .close-btn:hover {
	background-color: #C0C0C0;
}

.talk-input-box .stamp-box img {
	width: 120px;
	cursor: pointer;
	-webkit-transition: background-color linear 0.2s;
	-moz-transition: background-color linear 0.2s;
	-o-transition: background-color linear 0.2s;
	transition: background-color linear 0.2s;
}

.talk-input-box .stamp-box img:hover {
	background-color: #808080;
}

@media screen and (max-width: 992px ) {
	.talk-input-box textarea {
	}

	.talk-input-box .send-btn,
	.talk-input-box .disabled-button {
		width: 80px;
		right: 10px;

	}
}
