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

div#message_field{
	max-width: 50%;
	margin: 10px 0;
}

#message_field{
    width:550px;
    /* 文字サイズを1.4emに指定 */
    font-size: 1.4em;

    /* 文字の太さをboldに指定 */
    font-weight: bold;

    /* 縦方向に0px、
     * 横方向に30pxの余白を指定 */
    padding: 0px 0px;
    text-align: left;
    padding-bottom:20px;

    position: relative;
    bottom: 0;
    width: 650px;
    height: 140px;
    z-index: 1;
}

textarea#message{
	width:85%;
	min-width:85%;
	max-width:85%;
	height:40px;
	min-height:40px;
	font-size:16px;
	padding: 5px;
	float:left;	
}

input#message_file{
	width:460px;
	font-size:14px;
	margin-bottom: 20px;
}

a.send_message{
	border:solid 1px #ccc;
	padding:16px 16px;
	margin:0 0 0px;
	margin-left:4px;
	font-family:Arial, sans-serif;
	font-size:0.5em;
	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: 38px;
}

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

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

div#messages{
  height:55vh;
  max-width: 700px;
  clear:both;
  overflow: scroll;
  z-index: 0;
}

div#messages_list{
  clear:both;
}

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

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

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

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

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 3px; 
    left: -19px;
    border: 8px solid transparent;
    border-right: 18px 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;
}

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

.mycomment p:after {
    content: "";
    position: absolute;
    top: 3px; 
    right: -19px;
    border: 8px solid transparent;
    border-left: 18px solid #0F3C4C;
    -ms-transform: rotate(-35deg);
    -webkit-transform: rotate(-35deg);
    transform: rotate(-35deg);
}

.mycomment p a{
	color:#fff;
	text-decoration:underline;
}

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

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

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

/*
チャットルーム一覧デザイン
*/
ul.messages a{
	text-decoration: none;
}

ul.messages{
  padding: 0 0.7em;
  font: 24px/2.6 'arial narrow', sans-serif;
  width:560px;
  list-style: none;
}
ul.messages li{
  position: relative;
  padding: 0.6em 0.1em 0.6em 2em;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #0F3C4C;
}
ul.messages li:hover{
  background: #5882FA;
}
ul.messages li:last-child{
  border:none;
  margin:10px 0;
}
ul.messages li:before{
  font-family: FontAwesome;
  content: "\f04b";
  position: absolute;
  left: 0.8em;
  color: #fff;
  font-size: 0.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）
*/

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

span#set_destination_user{
	display:none;
}

div#message_field ul.error_list{
	width:540px;
}

div#message_field ul.error_list li{
	font-size:14px;
}

div#message_field ul.error_list{
    display:block;
}

#messages .youtube_player{
  width:300px;
  height: auto;
}

#messages div.date{
	text-align:center;
}

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

.send_time_me{
	margin-right:12px;
}

.send_time_you{
	margin-left:95px;
}