/*
メーセージCSSファイル
*/

div#message_field{
	width:100%;
}

#message_field{
    font-size: 1.4em;
    font-weight: bold;

    text-align: left;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-right: 0;
    padding: 10px;
    box-sizing: border-box;

    z-index: 100;
    background-color: #fff;
}

div#prediction_users_message_room{
	margin-bottom:240px;
}

textarea#message{
	width:80%;
	min-width:80%;
	max-width:80%;
	height:	90px;
	min-height:40px;
	font-size:44px;
	padding: 10px;
	float:left;
	margin-right:20px;	
}

input#message_file{
	width:400px;
	height:50px;
	font-size:40px;
	padding-top:30px;
	margin-bottom:10px;
}

a.send_message{
	border:solid 1px #ccc;
	padding:26px 26px;
	margin:0px 0px;
	margin-left:0px;
	font-family:Arial, sans-serif;
	font-size:0.6em;
	text-transform:uppercase;
	font-weight:bold;
	color:#333;
	cursor:pointer;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#aaa));
	background-image: -webkit-linear-gradient(top, #ddd, #aaa);
	background-image: -moz-linear-gradient(top, #ddd, #aaa);
	background-image: -ms-linear-gradient(top, #ddd, #aaa);
	background-image: -o-linear-gradient(top, #ddd, #aaa);
	background-image: linear-gradient(top, #ddd, #aaa);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#aaa',GradientType=0 ); /* IE6-9 */
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	line-height: 96px;
}

a.send_message:active{
	color:#000;
}

div.send_message{
	padding-top:8px;
}

div#messages{
  height:100dvh;
  overflow-y:auto;
  padding-bottom:260px; /* ←フォームの高さ分 */
  box-sizing:border-box;
}

div#messages_list{
  clear:both;
}

/*
チャット吹き出しデザイン
*/
.line-bc {
  padding: 20px 10px;
  max-width: 100%;
  margin: 20px 0;
  text-align: right;
  font-size: 36px;
}

/*以下、・左側のコメント*/
.balloon6 {
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
}

.balloon6 .faceicon {
    float: left;
    margin-right: -50px;
    width: 100px;
}

.balloon6 .faceicon img{
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.balloon6 .chatting {
    width: 100%;
    text-align: left;
}
.says {
    display: inline-block;
    position: relative; 
    margin: 30px 0 0 80px;
    padding: 30px;
    max-width: 530px;
    border-radius: 30px;
    background: #D8D8D8;
    word-wrap: break-word;
    cursor:default;
}

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 4px; 
    left: -36px;
    border: 16px solid transparent;
    border-right: 35px solid #D8D8D8;
    -ms-transform: rotate(35deg);
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
}
.says p {
    margin: 0;
    padding: 0;
    clear:both;
}

.says p a{
    text-decoration:underline;
    font-size: 36px;
}

/*以下、・右側のコメント*/
.mycomment {
    margin: 10px 0;
}
.mycomment p{
    display: inline-block;
    position: relative; 
    margin: 0 20px 0 0;
    padding: 30px;
    max-width: 530px;
    border-radius: 30px;
    color:#fff;
    background: #0F3C4C;
    font-size: 34px:
    clear:both;
    word-wrap: break-word;
    cursor:default;
    text-align:left;
}

.mycomment p:after {
    content: "";
    position: absolute;
    top: -4px; 
    right: -34px;
    border: 16px solid transparent;
    border-left: 32px solid #0F3C4C;
    -ms-transform: rotate(-35deg);
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg);
}

.mycomment p a{
	color:#fff;
	text-decoration:underline;
	font-size: 36px;
}

.mycomment p a:hover{
	color:blue;
	color: #FF7700;
}

.message_img{
	max-width:98%;
	float:left;
	margin:10px 6px;
	border-radius: 10px;
}

/*
チャット吹き出しデザイン（END）
*/

/*
チャットルーム一覧デザイン
*/
ul.messages{
  padding: 0 0.7em;
  font: 24px/2.6 'arial narrow', sans-serif;
  width:96%;
  list-style: none;
}
ul.messages li{
  position: relative;
  padding: 0.4em 0.1em 0.4em 2.4em;
  margin-bottom: 3px;
  font-size: 44px;
  font-weight: bold;
  color: #fff;
  background: #0F3C4C;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -moz-text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis; /* Safari */
  -o-text-overflow: ellipsis; /* Opera */
}
ul.messages li span.attention{
	font-size:40px;
}
ul.messages li:last-child{
  border:none;
  margin:10px 0;
}
ul.messages li:before{
  font-family: FontAwesome;
  content: "\f04b";
  position: absolute;
  left: 0.4em;
  color: #fff;
  font-size: 1.8em;
  font-weight: normal;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.destination_user{
	color:#fff;
}
/*
チャットルーム一覧デザイン（END）
*/

a#set_destination_user{
	font-size:40px;
}

input#set_destination_user{
	margin-bottom:20px;
	width:70%;
}

span#set_destination_user{
	display:none;
}

div#message_field ul.error_list{
	width:90%;
}

div#message_field ul.error_list li{
	font-size:44px;
	list-style:none;
}

div#message_field ul.error_list{
    display:block;
    position: fixed;
    bottom: 180px;   /* ← message_field の高さ分 */
    left: 0;
    width: 95%;
    box-sizing: border-box;
    z-index: 10000;
    background: #fff;
}

a#alert_messages{
	font-size:40px;
}

#messages .youtube_player{
  width:530px;
}

#messages div.date{
	font-size:28px;
	text-align:center;
}

.send_time{
	font-size:26px;
	color: #585858;
}

.send_time_me{
	margin-right:24px;
}

.send_time_you{
	margin-left:130px;
}