/*チャット用-ここから-----------------------------------------------------------------*/
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fff;
    left: 50%;
    padding: 3px 20px 20px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
	border:3px solid #f08080;
	border-radius: 30px;
}
#chatDiv{
	height:80%;
    padding: 10px;
	border:2px solid #ccc;
	border-radius: 10px;
	word-break:  break-all;
	overflow-y: scroll;
}

.emojionearea .emojionearea-button {
    opacity: 0.8;
}
.emojionearea{
	width:800px;
}
#ctlDiv{
	margin-top:10px;
	display:flex;
}
#sendDiv{
	margin-left:5px;
}
#sendBtn{
    height: 30px;
    width: 60px;
}
#chat_text{
    margin-left: 5px;
}
#up_img,#tourist_img{
   display: none;
}
.emojionearea-editor{
	overflow-y: scroll;

}
.up_form{
    position:relative;
	margin-bottom:5px;
}
.tooltip {
    width: 130px;
    padding: 8px;
    font-size: 12px;
    margin: -25px 0 0;
    background-color: #666;
    color: #fff;
    position: absolute;
    right: -135px;
    top: 50%;

}
.tooltip:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  border-color: rgba(102, 102, 102, 0);
  border-right-color: #5e5e5e;
  border-width: 8px;
  margin-top: -8px;
}


@media only screen and (max-width:768px) {
	.emojionearea{
		width:400px;
	}
}
@media only screen and (max-width:480px) {
	.emojionearea{
		width:220px;
	}
}
div.commentbox_i, div.commentbox_you {
    margin-bottom: 10px;
    clear: both;
    box-sizing: border-box;
}
.flexbox{
	display:flex;
    margin-bottom: 2px;
}
p.commentname {
    font-weight: bold;
}
div.commentbox_you .commentnamespace{
    width: 35%;
}
div.commentbox_you .commentname{
    width: 65%;
}

.comment_you_l {
    width: 65%;
    margin-bottom: 10px;
}
.comment_you_r {
    margin-right: 32px;
    width: 30%;
    text-align: left;
    vertical-align: middle;
    padding-left: 10px;
}
div.commentbox_i .commentnamespace{
    width: 35%;
}
div.commentbox_i .commentname{
    width: 65%;
}
.comment_i_l {
    width: 35%;
    text-align: right;
    vertical-align: middle;
    padding-right: 10px;
}
.comment_i_r {
    width: 65%;
    margin-bottom: 10px;
}
div.comment_i_r, div.comment_you_l {
    padding: 8px;
    background: #f1f1f1;
    border-radius: 15px;
    font-size: 0.85em;
    line-height: 180%;
}
div.comment_i_r{
    background: #3cb371;
}
.close_p{
	text-align: right;
}
.close_p img{
    margin-bottom: 3px;
    cursor: pointer;
}

@media only screen and (max-width:768px) {
}
@media only screen and (max-width:480px) {
}

.chatbox {
	margin: 0 0 0 auto;
    background: #dcefff;
	width:200px;
}
.chatbox .box-title {
    font-size: 1em;
    background: #64C8C8;
    padding: 2px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.chatbox p {
    padding: 5px;
    margin: 0;
}
.btn-flat-vertical-border {
  position: relative;
  display: inline-block;
  font-weight: bold;
   padding: 3px 6px;
  text-decoration: none;
  border-left: solid 4px #FFA400;
  border-right: solid 4px #FFA400;
  color: #FFA400;
  background: #e1f3ff;
  transition: .4s;
}

.btn-flat-vertical-border:hover {
  background: #FFA400;
  color: #FFF;
}
/*チャット用-ここまで-----------------------------------------------------------------*/