@charset "utf-8";
body{

}
.side_msg #container,
#line_message #container {
    border: 1px solid #ccc;
    position:relative;
}
/* .read_t {
    margin-top: 30px;
    font-size: 12px;
} */
.right_sender_name {
    float: right;
    margin-right: 10px;
    font-size: 10px;
}
.right_create_date {
    clear: both;
    float: right;
    font-size: 10px;
    margin-right: 10px;
}
.left_sender_name {
    clear: both;
    float: left;
    font-size: 10px;
    margin-left: 10px;
}
.left_create_date {
    float: left;
    margin-left: 10px;
    font-size: 10px;
}
#container{
    margin: 0 auto;
    /* width: 400px; */
}
#inputField{
    padding: 5px;
    border: 1px solid #ccc;
}
#talkField{
    height: 500px;
    padding: 10px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    overflow: scroll;
    /* overflow: auto; */
    word-break: break-all;
}
#message{
    width: 75%;
}
#user{
    width: 15%;
}
#msg_btn {
    text-align: right;
    padding: 5px;
}
#line_message > #msg_btn {
    padding-bottom: 15px;
    padding-right: 15px;
}
#btn_send, #btn_refresh {
    width: 20%;
}

/*******************************
* 左からの吹き出し
********************************/
.left_balloon {
    position: relative;
    background: #A9A9A9;
    border: 1px solid #777;
    margin: 10px 10px 20px 10px;
    padding: 10px;
    border-radius: 15px;
    clear: both;
    max-width: 500px;
    float: left;
    white-space: pre-wrap;
}
.left_balloon.mover {
    background: #D3D3D3;
}
.left_balloon:after,
.left_balloon:before {
    left: 12px;
    top: -7px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.left_balloon:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #A9A9A9;
    border-width: 7px;
    margin-top: -7px;
}
.left_balloon.mover:after {
    border-bottom-color: #D3D3D3;
}
/* .left_balloon:before {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #777;
    border-width: 8px;
    margin-top: -8px;
} */
.left_balloon.edited_image img {
    cursor: pointer;
}

/*******************************
* 右からの吹き出し
********************************/
.right_balloon {
    position: relative;
    background: #D7EEFF;
    border: 1px solid #777;
    margin: 5px 10px 20px 10px;
    padding: 10px;
    border-radius: 15px;
    clear: both;
    max-width: 500px;
    float: right;
    white-space: pre-wrap;
}
.right_balloon.system_web {
    background: #87CEEB;
}
.right_balloon.tf_user_other {
    background: #CEF9DC;
}
.right_balloon:after,
.right_balloon:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.right_balloon:after {
    border-color: rgba(133, 226, 73, 0);
    border-left-color: #D7EEFF;
    border-width: 7px;
    margin-top: -7px;
}
.right_balloon.system_web:after {
    border-left-color: #87CEEB;
}
.right_balloon.tf_user_other:after {
    border-left-color: #CEF9DC;
}
.right_balloon:before {
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 8px;
    margin-top: -8px;
}
.right_balloon.edited_image img {
    cursor: pointer;
}

/*******************************
* 割り込みを解除
********************************/
.clear_balloon{
  clear: both;
}

/****
* stamp
****/
.item-wrapper {
	display: none;
	width: -webkit-fill-available;
	border: 1px solid slategray;
    position: absolute;
    padding: 3px;
    background-color: rgb(112,128,144, 0.7);
    bottom: 0px;
    right: 0px;
}
.item-wrapper input[type="radio"] {
  display: none;
}
.item-wrapper label img {
  margin: 3px;
  padding: 3px;
  width: 20%;
}

/* 選択されたラジオボタンの画像の背景をオレンジ色に変える */
.item-wrapper input[type="radio"]:checked + label img {
  background: orange;
}
