@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing=0' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clearfix:before, .clearfix:after{
    content:"\0020";
    display:block;
    height:0;
    visibility:hidden;
}
.clearfix:after{
    clear:both;
}
.clearfix{
    zoom:1;
}


/* basic */
* {
    margin: 0;
    padding: 0;
}
html,
body {
    height: 100%;
}
body {
    text-align: left;
    font-size: 13px;
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f1f1f1;
    -webkit-text-size-adjust: 100%;
}

img {
    vertical-align: top;
}

a {
    color: #333;
}
a:hover {
    color: #1519a0;
    text-decoration: none;
}

a img {
    -webkit-transition: opacity  0.5s ease;
    -moz-transition: opacity  0.5s ease;
    -o-transition: opacity  0.5s ease;
    transition: opacity  0.5s ease;
}
a:hover img {
    -webkit-opacity: 0.8;
    -moz-opacity: 0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
}

/*
 * CSS Styles that are needed by jScrollPane for it to operate correctly.
 *
 * Include this stylesheet in your site or copy and paste the styles below into your stylesheet - jScrollPane
 * may not operate correctly without them.
 */

.jspContainer
{
    overflow: hidden;
    position: relative;
}

.jspPane
{
    position: absolute;
}

.jspVerticalBar
{
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: none;
}

.jspHorizontalBar
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: none;
}

.jspCap
{
    display: none;
}

.jspHorizontalBar .jspCap
{
    float: left;
}

.jspTrack
{
    background: none;
    position: relative;
}

.jspDrag
{
    background: #c1c1c1;
    position: relative;
    top: 0;
    left: -4px;
    cursor: pointer;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    border-radius: 8px;
    z-index: 500;
}

.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag
{
    float: left;
    height: 100%;
}

.jspArrow
{
    background: #50506d;
    text-indent: -20000px;
    display: block;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.jspArrow.jspDisabled
{
    cursor: default;
    background: #80808d;
}

.jspVerticalBar .jspArrow
{
    height: 16px;
}

.jspHorizontalBar .jspArrow
{
    width: 10px;
    float: left;
    height: 100%;
}

.jspVerticalBar .jspArrow:focus
{
    outline: none;
}

.jspCorner
{
    background: none;
    float: left;
    height: 100%;
}

/* Yuk! CSS Hack for IE6 3 pixel bug :( */
* html .jspCorner
{
    margin: 0 -3px 0 0;
}

/* chat */
body{
    position:relative;
    height:100%;
    margin:0;
    padding:0;
    background:#fff;
}
#chatHeader{
    position:fixed;
    width:100%;
    z-index:100;
    background:#FFF;
}
#chatHeader .inner{
    padding:10px 20px 4px 15px;
    background:#FFF;
}
#chatHeader #langBtn{
    margin-bottom:4px;
    font-size:12px;
}
#chatHeader #langBtn a{
    display:inline-block;
    margin-left:5px;
    width:22px;
    height:22px;
    line-height:22px;
    border:1px solid #ccc;
    background:#fff;
    text-decoration:none;
    text-align:center;
    -webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
}
#chatHeader #langBtn a:hover{
    background:#efefef;
    color:#333;
}
#chatHeader #langBtn a.current{
    background:#ccc;
    color:#fff;
}
#chatHeader #formArea{
    padding:8px 15px;
    background:#eee;
    overflow:hidden;
    position:relative;
}
#chatHeader #formArea #message{
    padding:8px 2%;
    width:96%;
    height:38px;
    font-size:13px;
    border:1px solid #ccc;
    background:#fff;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2) inset;
    border-radius:4px;
}

#chatHeader #formArea #form_login_user{
    flex:1;
    padding-top:5px;
    padding-left:2px;
    padding-right:4px;
    font-size:12px;
    color:#999;
    overflow:hidden;
}
#chatHeader #formArea #form_login_user .login-user{
    display:block;
}
#chatHeader #formArea #form_login_user #username{
    display:block;
    font-weight: bold;
}
#chatHeader #formArea #form_bottom_area{
    width:100%;
    display:flex;
}
#chatHeader #formArea #form_action_area{
    overflow:auto;
    flex-shrink: 0;
    white-space: no-wrap;
}
#chatHeader #formArea #submit_button_wrapper{
    margin-top:8px;
    text-align: right;
}
#chatHeader #formArea .button_send{
    padding:10px 10px;
    line-height:1;
    font-size:13px;
    font-weight:bold;
    border:1px solid #d3d3d3;
    border-radius:6px;
    background:#f8f8f8;
    cursor:pointer;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#chatHeader #formArea #send_fixed.button_send{
    margin-right:2px;
}
#chatHeader #formArea .button_send:hover{
    background-color:#0e259e;
    color:#fff;
}

#chatHeader #formArea #reconnect_bg{
    position:absolute;
    width:100%;
    height:100%;
    z-index:1;
    top:0px;
    left:0px;
    background-color:#aaa;
    filter:alpha(opacity=20);
    -moz-opacity: 0.2;
    opacity: 0.2;
    ;
    border:1px solid blue;
}
#chatHeader #formArea #reconnect_msg{
    position:absolute;
    width:99%;
    top:0px;
    left:0px;
    margin-top:50px;
    z-index:2;
    font-size:120%;
    text-align: center;
}
#chatHeader #formArea #reconnect_msg a{
    color:#0e259e;
}
#chatHeader #formArea #change_user_name{
    white-space: nowrap;
}
.white-bg{
    padding:270px 10px 10px 15px;
}
#chat-area .main-list__item-list{
    padding-right:10px;
}
#chat-area .main-list__item{
    padding:8px 5px 4px 5px;
    border-bottom:1px solid #ddd;
    overflow:hidden;
    margin-bottom:4px;
    position:relative;
}
#chat-area .main-list__item[fixed_flg="1"]{
    background:#eaffff;
}
#chat-area .main-list__item .message__title{
    margin-bottom:10px;
    font-size:13px;
    line-height:1.4;
    word-break:break-all;
}
#chat-area .main-list__item .message__name,
#chat-area .main-list__item .message__date{
    display:inline-block;
    font-size:12px;
    line-height:1.6;
    color:#999;
}
#chat-area .main-list__item .message__reply{
    text-decoration: underline;
    cursor: pointer;
    color: #0e259e;
}
#chat-area .main-list__item .message__meta{
    overflow:auto;
}
#chat-area .main-list__item .message__meta .message__name{
    float:left;
    max-width:50%;
}
#chat-area .main-list__item .message__meta .message__date{
    /*border-left:1px solid #ddd;*/
    padding-left:10px;
    margin-left:6px;
    float:right;
    text-align: right;
    max-width:calc(50% - 20px);
}
#chat-area .main-list__item .message__meta .message__delete{
    color:red;
    white-space: nowrap;
    margin-left:4px;
}
#chat-area.text-large .main-list__item .message__title{
    font-size:28px;
}
#chat-area.text-large .main-list__item .message__name,
#chat-area.text-large .main-list__item .message__date{
    font-size:18px;
}

#chat-area .main-list__item .__new_icon, #chat-area .group-list__item .__new_icon{
    display:none;
    text-decoration: underline;
    cursor: pointer;
}
#chat-area .main-list__item[new="1"] .__new_icon{
    display:inline-block;
    color:#F66;
    font-size: 10px;
    margin-right: 2px;
    font-weight: bold;
}
#chat-area .group-list__item[new="1"] .__new_icon{
    display:none;
}
#content .main-list__notify{
    text-align: right;
    height:18px;
    padding-right:10px;
}
#content .main-list__notify a{
    font-size:12px;
}

#viewMode{
    background:#FFF;
    margin:2px 0px 2px 15px;
    padding:0px 0px;
    font-size:0px;
}
#viewMode .switch{
    display:inline-block;
    position:relative;
    height: 26px;
    padding: 3px 24px 0px 24px;
    box-sizing: border-box;
    cursor: pointer;
    background: #FFF;
    font-size:13px;

    border-top:1px solid #9f9a9a;
    border-bottom:1px solid #9f9a9a;
    border-left:1px solid #9f9a9a;
}
#viewMode .switch:first-child{
    border-radius: 8px 0 0 8px;
}
#viewMode .switch:last-child{
    border-right:1px solid #9f9a9a;
    border-radius: 0 8px 8px 0;
}
#viewMode .switch.active{
    font-weight: bold;
    background: #ededed;
    color:#333;
}
#viewMode .switch .new_count{
    position:absolute;
    top:4px;
    right:3px;
    display:none;
}
#viewMode .switch .new_count.visible{
    display:inline-block;
    background:#F66;
    color:#FFF;
    border-radius: 50% 50%;
    margin-left:1px;

    font-size:12px;
    font-weight: bold;
    width:1rem;
    height:1rem;
    text-align: center;
}

#content .main-list__item-list{
    display:none;
}
#chatHeader[channel="public"] .inner, #chatHeader[channel="private"] .inner{
    /*    background:#666;
        color:#FFF;*/
}
body[channel="support"]{
}
#chatHeader[channel="support"] .inner{
}
body[channel="office"]{
    background:#f7efff;
}
#chatHeader[channel="office"] .inner{
    background:#660033;
    color:#FFF;
}

#channel_name{
    position:absolute;
    font-size:10px;
    top:2px;
    right:2px;
    color:#ddd;
    display:none;
}
#chatHeader[channel="private"] #channel_name{
    display:block;
}
#chatHeader[channel="public"] #channel_name{
    display:block;
}

#send_target_view_select{
    /*margin-top:8px;*/
    /*padding:4px 0px 0px 0px;*/
    text-align: left;
    /*float:left;*/
}
#send_target_view_select .title{
    display:inline-block;
    font-size:12px;
    color:#666;
    margin-bottom:4px;
}
#send_target_view_select .select{
    display:inline-block;
}
#send_target_view_select .select select{
    padding:1px 4px;
    font-size:12px;
}
#send_target_view_select[view_selected="0"] .select select{
    background:rgba(255,102,102,0.2);
    /*    border-color:rgb(255,102,102);
        border-width: 2px;*/
}
#send_target_view_select[show_error="1"]{
    background:rgba(255,102,102,0.2);
}
#send_target_view_select[show_error="1"] .select select{
    border:3px solid red;
}
/*#send_target_view_select .select label.selected{
    background:#888;
    color:#FFF;
}
#send_target_view_select .select label input{
    vertical-align: middle;
    display:none;
}*/

#publish_target{
    margin-bottom:1px;
}
#publish_target .name{
    display:block;
    background:#666;
    color:#FFF;
    padding:2px 8px;
    font-size:11px;
    height:18px;
}
#publish_target[target="public"] .name{
    background:#F66;
}
#publish_target[target="private"] .name{
    background:#003399;
}
#publish_target[target="replyto"] .name{
    background:#009933;
}
#publish_target[target="office"] .name{
    background:#003399;
}


/* group message */
#chat-area .main-list__item .group_message_area{
    border-left:3px solid #888;
    padding-top:8px;
    padding-left:6px;
    margin-top:4px;
    overflow:hidden;
}
#chat-area .main-list__item .group_message_area .group_header{
    height:22px;
    /*text-align: right;*/
}
#chat-area .main-list__item .group_message_area .group_header .group_user_name{
    color:#333;
    font-size:12px;
    /*font-weight: bold;*/
    padding-left:12px;
}
#chat-area .main-list__item .group_message_area .group_header .history_switch{
    /*float:right;*/

    font-size:12px;
    background: #FFF;
    color:#333;
    border:1px solid #ccc;
    border-radius: 3px 3px;

    cursor:pointer;
    padding:2px 8px;
}
#chat-area .main-list__item .group_message_area .history_switch .switch_icon{
    display:none;
}
#chat-area .main-list__item .group_message_area.closed .history_switch .switch_icon.open{
    display:inline-block;
}
#chat-area .main-list__item .group_message_area.opened .history_switch .switch_icon.close{
    display:inline-block;
}

#chat-area .main-list__item .group_message_area .group_messages{
    margin-top:12px;
    display:none;
}
#chat-area .main-list__item .group_message_area.opened .group_messages{
    display:block;
}
#chat-area .main-list__item .group_message_area .group_messages .group-list__item{
    padding:15px 0px 0px 0px;
    border-bottom:1px solid #ddd;
    position:relative;
}
#chat-area .main-list__item .group_message_area .group_messages .group-list__item:first-child{
    border-top:1px solid #ddd;
}
#chat-area .main-list__item .group_message_area .group_messages .group-list__item:last-child{
    border-bottom:none;
}
#chat-area .main-list__item .group_message_area .group_messages .group-list__item[lecturer_flg="1"]{
    /*background:rgba(0,153,51,0.05);*/
    background:#f8f8f8;
}

#nicknameArea{
    font-size:14px;
}
#nicknameArea p{
    padding:2px;
}
#nicknameArea .nickname{
    padding:6px;
}
#nicknameArea #nickname_buttons{
    padding:10px;
    text-align: center;
}
#nicknameArea .username_type{
    margin-right:4px;
    vertical-align:middle;
}
#nicknameArea .nickname_notice{
    font-size:80%;
    color:#666;
}
#nicknameArea .username_input{
    margin-left:1.2em;
    padding:2px;
    border: 1px solid #ccc;
}

#chat-area .main-list__item .message .message_type{
    /*background:#222;*/
    text-align: left;
    /*color:#FFF;*/
    /*padding:0px 8px;*/
    font-size:10px;
    display:block;
    width:100px;
}
/*#chat-area .main-list__item .message .message_type.public{
    color:#F66;
}
#chat-area .main-list__item .message .message_type.private{
    color:#003399;
}
#chat-area .main-list__item .message .message_type.support{
    color:#009933;
}
#chat-area .main-list__item .message .message_type.office{
    color:#660033;
}*/

#reply_target{
    display:none;
    color:#F66;
    /*padding:2px 8px;*/
    font-size:14px;
    font-weight: bold;
}
#chatHeader[channel="support"] #reply_target{
    display:block;
}
#chat-area .main-list__item .message .message__title .reply a{
    font-size:12px;
    text-decoration: underline;
    color:#0e259e;
    cursor: pointer;
}

.ui-dialog{
    box-shadow: 0 0 8px 4px #AAA;
}
.ui-dialog .ui-dialog-content .message{
    font-size:15px;
}
.ui-dialog .ui-dialog-buttonpane button{
    min-height:1.8rem;
    font-weight:bold
}
#_chat_client_show_alert .message{
    font-weight:bold;
}

@media only screen and (max-width:420px) {
    .white-bg{
        padding-top:290px;
    }
    #chatHeader #formArea .button_send:hover{
        background-color:#f8f8f8;
        color:#333;
    }
}

@media only screen and (max-width:350px) {
    #chatHeader .inner{
        padding:10px 15px 4px 10px;
    }
    #chatHeader #formArea{
        padding:8px 5px;
    }
    #chatHeader #formArea #message{
    }
    #send_target_view_select{
        display:block;
        float:none;
        margin-top:4px;
    }
    #chatHeader #formArea #submit_button_wrapper{
        display:block;
        margin-top:5px;
    }
    #chatHeader #formArea .button_send{
        display:inline-block;
        text-align:center;
    }
    #chatHeader #formArea #send_fixed.button_send{
        margin-right:auto;
        margin-top:2px;
    }
    #chat-area .main-list__item .message__title{
        font-size:12px;
    }
    #chat-area .main-list__item .message__name,
    #chat-area .main-list__item .message__date{
        font-size:10px;
    }
    #chat-area.text-large .main-list__item .message__title{
        font-size:20px;
    }
    #chat-area.text-large .main-list__item .message__name,
    #chat-area.text-large .main-list__item .message__date{
        font-size:14px;
    }
}

@media only screen and (max-width:180px) {
    .white-bg{
        padding-top:290px;
    }
}