﻿
/* panel内のセレクトボックスが広げたときに裏に隠さないための設定 */
.panel-group .panel {
  overflow: visible;
}

/* ラベルのテキストが標準だと太字なので変更 */
label {
    font-weight: 100;
}

/* h3の上下のマージンの初期設定が微妙なので削除 */
h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* モーダルの上マージンの初期設定が微妙なので削除 */
.modal-footer {
    margin-top: 0px;
}

/* プログレスバーを包むやつの下マージンの初期設定が微妙なので削除 */
.progress {
    margin-bottom: 0px;
}

/* ビデオ系 */
#js_id_their_video {
  width: 100%;
  height: auto;
  background-color: #eee;
}
#js_id_my_video {
  width: 30%;
  height: auto;
  background-color: #333;
  position: relative;
  top: 0px; /* jsで求めます */
  left: 10px;
  box-shadow: 0 0 0 1px #CCC, 0 0 0 2px #000
}

/* アコーディオンの右にキャレット表示
   http://www.bootply.com/106152 */
.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}

.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080"; /* adjust as needed, taken from bootstrap.css */
}

/* チェックボックスが増えても左がそろうようにする対応
   http://stackoverflow.com/questions/15975968/twitter-bootstrap-inline-checkbox-alignment-issue */
.checkbox-inline.no_indent,
.checkbox-inline.no_indent+.checkbox-inline.no_indent {
  margin-left: 0;
  margin-right: 10px;
}
.checkbox-inline.no_indent:last-child {
  margin-right: 0px;
}

/* 目的忘れた設定 */
.navbar .navbar-nav {
  display: inline-block;
  float: none;
}

/* なぜかnavbarの高さが高くなる時があるので、最大を決めておく*/
.navbar {
  max-height: 15px;
}

/* textareaのリサイズ禁止 */
#js_id_send_message_textarea {
    resize: none;
}

/* ファイル読み込みボタンをきれいに表示する */
/* http://stackoverflow.com/questions/11235206/twitter-bootstrap-form-file-element-upload-button */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* メッセージ(自分や相手)
   http://allabout.co.jp/gm/gc/24004/2/ */
.my_message {
   -moz-border-radius: 10px;    /* Firefox */
   -webkit-border-radius: 10px; /* Safari,Chrome */
   border-radius: 10px;         /* CSS3 */
   
   padding:5px 20px 5px 15px;
   margin-bottom: 20px;
   word-wrap: break-word; /* 単語途中でも改行 */

   background-color: #b6ff6b;   /* 背景色 */
   position: relative;
   left: 45px;
   float: right;
    z-index: 10;
}

.my_balloon {
    content: ' ';
    position: relative;
    height: 50px;
    width: 50px;

    -moz-border-radius: 25px;    /* Firefox */
    -webkit-border-radius: 25px; /* Safari,Chrome */
    border-radius: 25px;         /* CSS3 */

    background: #b6ff6b;
    left: 6px;
    bottom: 28px;
    float: right;
    z-index: 0;
}
.my_balloon:before {
    content: ' ';
    position: relative;
    height: 35px;
    width: 80px;

    -moz-border-radius: 25px;    /* Firefox */
    -webkit-border-radius: 25px; /* Safari,Chrome */
    border-radius: 25px;         /* CSS3 */

    background: #FFF;
    left: 3px;
    bottom: 0px;
    float: right;
    z-index: 0;
}

.yo_message {
   -moz-border-radius: 10px;    /* Firefox */
   -webkit-border-radius: 10px; /* Safari,Chrome */
   border-radius: 10px;         /* CSS3 */
   
   padding:5px 15px 5px 20px;
   margin-bottom: 20px;
   word-wrap: break-word; /* 単語途中でも改行 */

   background-color: #dddddd;   /* 背景色 */
   float: left;
    position: relative;
   left: -45px;
   z-index: 10;
}

.yo_balloon {
    content: ' ';
    position: relative;
    height: 50px;
    width: 50px;

    -moz-border-radius: 25px;    /* Firefox */
    -webkit-border-radius: 25px; /* Safari,Chrome */
    border-radius: 25px;         /* CSS3 */

    background: #dddddd;
    left: -6px;
    bottom: 28px;
    float: left;
    z-index: 0;
}
.yo_balloon:before {
    content: ' ';
    position: relative;
    height: 35px;
    width: 80px;

    -moz-border-radius: 25px;    /* Firefox */
    -webkit-border-radius: 25px; /* Safari,Chrome */
    border-radius: 25px;         /* CSS3 */

    background: #FFF;
    left: -3px;
    bottom: 0px;
    float: left;
    z-index: 0;
}

.message_separator{
   clear: both;
}
