/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2019/09/24, 17:55:47
    Author     : igarashi
*/

#contents {
	bottom: 85px;
}
.chat_box {
	padding: 20px 0px;
	margin: auto;
	border: 1px solid #999;
	border-radius: 10px;
	background-color: #0069BE;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #15428b;
	height: auto;
	max-width: 400px;
	font-size: 16px;
	display: block;
	word-wrap: break-word;
}
.chat_box .chat_from_box {
	position: relative;
	display: inline-block;
	margin-right: auto;
	margin-bottom: 20px;
	padding: 10px;
	text-align: left;
	width: 85%;
	background-color: #fff;
	border-radius: 10px;
}
.chat_box .chat_to_box {
	position: relative;
	display: inline-block;
	margin-left: auto;
	margin-bottom: 20px;
	padding: 10px;
	text-align: left;
	width: auto;
	max-width: 85%;
	background-color: #85e249;
	border-radius: 10px;
}
/* 吹き出し */
.chat_from_box:after,
.chat_from_box:before {
    right: 100%;
    top: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.chat_from_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #fff;
    border-width: 7px;
    margin-top: -7px;
}
.chat_from_box:before {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #777;
    border-width: 8px;
    margin-top: -8px;
}
.chat_to_box {
    position: relative;
    background: #85e249;
    border: 1px solid #777;
    margin-top: 10px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 15px;
    margin-left: 20%;
    clear: both;
    max-width: 80%;
    word-wrap: break-word;
    float: right;
}
.chat_to_box:after,
.chat_to_box:before {
    left: 100%;
    top: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.chat_to_box:after {
    border-color: rgba(133, 226, 73, 0);
    border-left-color: #85e249;
    border-width: 7px;
    margin-top: -7px;
}
.chat_to_box:before {
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 8px;
    margin-top: -8px;
}

.chat_to_box_line {
	width: 100%;
	box-sizing: border-box;
	display: inline-block;
	text-align: right;
	margin-bottom: 20px;
}
.chat_to_box_line_content {
    position: relative;
    background: #85e249;
    border: 1px solid #777;
    margin-top: 0px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 15px;
    margin-left: 20%;
    clear: both;
    max-width: 80%;
    word-wrap: break-word;
	text-align: left;
}
.chat_to_box_line_content:after,
.chat_to_box_line_content:before {
    left: 100%;
    top: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.chat_to_box_line_content:after {
    border-color: rgba(133, 226, 73, 0);
    border-left-color: #85e249;
    border-width: 7px;
    margin-top: -7px;
}
.chat_to_box_line_content:before {
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 8px;
    margin-top: -8px;
}
/* 吹き出し *******************/
.to_text {
	text-align: left;
}
.chat_box .no {
	width: 30px;
	text-align: right;
	display: inline-block;
}
.disp-time {
	color: #000;
}
.select_question {
	/*font-size: 40px;*/
	color: #0000dd;
}
.answer {
	/*font-size: 35px;*/
	color: #000;
}
.input_message {
	border-top:1px solid #0B92CC;
	background-color: #FFF;
	position: fixed;
	bottom: 20px;
	width: 100%;
	height: 60px;
	margin: 5px 0px;
	padding: 5px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.input_message .message {
	float: left;
	padding: 5px;
}
.input_message  .message textarea {
	padding:3px;
	height: 20px;
	width: 75vw;
	border: 2px solid #dcdcdc;
	text-align: left;
	font-size: 16px;
	border-radius: 5px;
}
.input_message .back-btn {
	float: left;
	padding: 3px 0px;
}
.input_message .back-btn img {
	height: 25px;
}
.input_message .sent-btn {
	float: right;
	padding: 5px 10px;
}
.input_message .sent-btn img {
	height: 25px;
}
