/* 20170605 tid quote viewlist */

.postactions {
    height: 35px;
}

.pid_reply_action_btn{
    color: #ff7815;
}
.pid_action_btn{
    color: #444;
}

.pid_reply_action_btn, .pid_action_btn{
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 6px 8px;
    display: inline-block;
    font-size: 13px;
    margin: 4px 2px;
    line-height: 100%;
}

.pid_reply_action_btn:hover, .pid_action_btn:hover{
    color: #dd5803;
    border: 1px solid #dd5803;
    text-decoration: none;
}

.viewthread-quote fieldset.quote-line {
    border-top: 2px solid #ff7815;
    border-bottom: none;
    border-left: none;
    border-right: none;
    display: block;
    text-align: center;
    color: #ff7815;
    margin-bottom: 10px;
}

.viewthread-quote fieldset.quote-line legend {
    padding: 5px 10px;
    font-weight: 700;
}
.viewthread-quote .pid_reply_action_btn.pid_reply{
    display: none;
}

.viewthread-quote .postauthor p, .viewthread-quote .postauthor dl, .viewthread-quote .postauthor ul, .viewthread-quote .postauthor .cmc-title, .viewthread-quote .postauthor .circle-mini-card{
    display: none;
}

.viewthread-quote .postcontent .defaultpost{
    min-height: auto !important;
}


.viewthread-quote .sub-thread .avatar img {
    max-width: 60px !important;
    max-height: 60px !important;
    width: auto;
    height: auto;
}


/* end of 20170605 tid quote viewlist */


/* 20170731 post like & diislike*/

.like-dislike-button .like, .post-img-container .reaction .like {
    display: inline-block;
    border: 1px solid #e27b79;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-image: url(../images/btn_like_g.png?v=20180313); 
    background-repeat: no-repeat;
    background-size: 18px auto;
    background-position: 5px 3px;
    background-color: transparent;
    min-width: 50px;
    height: 27px;
    color: #e27b79;
    padding: 6px 8px;
    font-size: 13px;
    margin: 4px 2px;
    line-height: 100%;
}

.like-dislike-button .like:hover, .post-img-container .reaction .like:hover {
    border: 1px solid #e27b79;
    color: #e27b79;
    opacity: 0.6;
    background-image: url(../images/btn_like_a.png?v=20180313) !important;

}

.like-dislike-button .dislike:hover, .post-img-container .reaction .dislike:hover {
    border: 1px solid #b79570;
    color: #b79570;
    opacity: 0.6;
    background-image: url(../images/btn_dislike_a.png?v=20180313) !important;
}

.like-dislike-button .dislike, .post-img-container .reaction .dislike {
    display: inline-block;
    border: 1px solid #b79570;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-image: url(../images/btn_dislike_g.png?v=20180313);
    background-repeat: no-repeat;
    background-size: 18px auto;
    background-position: 5px 3px;
    background-color: transparent;
    min-width: 50px;
    height: 27px;
    padding: 6px 8px;
    font-size: 13px;
    margin: 4px 2px;
    line-height: 100%;
    color: #b79570;
}

.like-number, .dislike-number{
    padding-left: 18px;
}

.like-dislike-button .like.have, .post-img-container .reaction .like.have {
    background-image: url(../images/btn_like_w.png?v=20180313);

    border: 1px solid #e27b79;
    color: #e27b79;
}
.like-dislike-button .dislike.have, .post-img-container .reaction .dislike.have {
    background-image: url(../images/btn_dislike_w.png?v=20180313);

    border: 1px solid #b79570;
    color: #b79570;
}

.like-dislike-button .like.active, .post-img-container .reaction .like.active {
    background-image: url(../images/btn_like_a.png?v=20180313);
    border: 1px solid #e27b79;
    color: #e27b79;
}
.like-dislike-button .dislike.active, .post-img-container .reaction .dislike.active {
    background-image: url(../images/btn_dislike_a.png?v=20180313);
    border: 1px solid #b79570;
    color: #b79570;
}
/* end of 20170731 post like & diislike*/

/*20170803 like & dislike fid*/

.like-dislike-status{
    text-align: center;
    margin: -3px auto 0;
    vertical-align: text-top;
}

.like-dislike-status img{
    vertical-align:middle;
    height: 14px;
    margin-right: -3px;
}

.like-dislike-status.dislike{
    color: #b79570;
}

.like-dislike-status.like{
    color: #e27b79;
}


/*20170903 @user list*/
.atwho-view{
    position: absolute;
    background-color: #fff;
    border: 1px solid #999;
    box-shadow: 0 0 5px #999;
    border-radius: 5px;
    /*	padding: 10px 0 0;*/
    z-index: 9;
    width: 240px;
    left: 10px;
    max-height: 420px;
    overflow-y: hidden;
    text-align: left;
    top: 10px;
}

.atwho-view ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.atwho-view li{
    border-bottom: 1px solid #CAC9C9;
    padding: 10px;
}

.atwho-view li:hover{
    background-color: #fca650;
}

.tag_user_li_info{

}

.tag_user_li_info .tag_li_user_name{
    color: #333;
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    font-weight: bold;
}

.tag_user_ver_mem{
    vertical-align: middle;
    height: 12px;
    width: 12px;
    margin-left: 2px;
}

.tag_user_li_info .tag_li_user_pic{
    float: right;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50px;
}

.atwho-view .cur {
    background: #fca650;
    color: white;
}
.atwho-view .cur small {
    color: white;
}
.atwho-view strong {
    color: #3366FF;
}
.atwho-view .cur strong {
    color: white;
    font:bold;
}
.atwho-view ul {
    /* width: 100px; */
    list-style:none;
    padding:0;
    margin:auto;
    max-height: 200px;
}
.atwho-view ul li {
    display: block;
    padding: 5px 10px;
    border-bottom: 1px solid #DDD;
    cursor: pointer;
    /* border-top: 1px solid #C8C8C8; */
}
.atwho-view small {
    font-size: smaller;
    color: #777;
    font-weight: normal;
}
/* end @user list*/

/* @user tutorial */
.post_btns .tag_tips{
    border: 1px solid #999;
    display: inline-block;
    vertical-align: middle;
    margin: 3px 5px 0px !important;
    height: 22px;
    position: relative;
}

.tag_tips .tag_tips_header_title{
    font-size: 14px;
    color: #444;
    display: inline-block;
    width: auto;
    vertical-align: top;
    margin: 0 0px;
    line-height: 22px;
}
.tag_tips .tag_tips_header_before{

    display: inline-block;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #999 transparent transparent transparent;
    vertical-align: top;
}
.tag_tips .tag_tips_header_after{

    vertical-align: text-bottom;
    display: inline-block;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #999 transparent;
}

.tag_tips .tag_tips_content{
    font-size: 14px;
    color: #444;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px !important;
    line-height: 22px;
    margin-top: -8px !important;
}
.tag_tips a{
    float: none;
    line-height: normal;
    padding: 0 !important;
}
.tag_tips a .tag_tips_close{
    width: 12px;
    height: 12px;
    position: absolute;
    right: -6px;
    top: -6px;
    background-image: url(../images/tag_user_tips_close@2x.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    background-color: #999;
    border-radius: 50px;
}

/*tag user box*/
/*#quickpost.quickcard .postform .postform_area{*/
    /*position: relative;*/
/*}*/

.post_gid_selector{
    min-width: 197px;
    /*	margin-right: s5px;*/
}


/* 20170901 @user*/
.tips_close{
    margin-top: 20px;
    /* float: right; */
    margin-left: -25px;
    /* background-color: #999; */
    border-radius: 50px;
    border: 1px solid #fff;
    vertical-align: top;
    display: inline-block;
}

.tips_close img{
    width: 30px;
}

.taguser_tips{
    margin: 16% 20px;
    text-align: center;
}

.tag_user_bubble{
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    max-width: 300px;
}

.tag_user_bubble img{
    margin: 10% auto 0;
    text-align: center;
    max-width: 300px;
}

.tag_user_box{
    display: inline-block;
    text-align: center;
    width: 85%;
    max-width: 350px;
    background-color: #fff;
    border-radius: 5px;
    vertical-align: middle;
    margin-top: 65px;
}

.tag_user_box img{
    margin: 0;
    text-align: center;
    max-width: 350px;
}

.tag_user_box_headline{
    background-color: #ff7815;
    height: 10px;
    width: 100%;
    border-radius: 5px 5px 0 0;
}

.tag_user_box_title{
    background-color: #ff7815;
    padding: 1px 8px 5px;
    margin-top: -4px;
    color: #fff;
    font-size: 20px;
    display: inline-block;
    float: left;
}

.tag_user_box_corner{
    border-style: solid;
    border-width: 23px 23px 0 0;
    border-color: #ff7715 transparent transparent transparent;
    display: inline-block;
    float: left;
    margin-left: -1px;
    margin-top: -1px;
}

.tag_user_content_box{
    margin: -7% 15px 2%;
    clear: both;
}

.tag_user_box_content{
    vertical-align: middle;
    text-align: left;
    font-size: 20px;
    line-height: 140%;
    width: 62%;
    /* float: left; */
    display: inline-block;
    margin-top: 2%;
    margin-bottom: 2%;
}

.tag_user_chara{
    /* float: right; */
    width: 35%;
    vertical-align: middle;
    display: inline-block;
    margin-top: -7%;
    margin-bottom: 2%;
}

.tag_user_chara img{
    width: 100%;
}

#darkness {
    background: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 6;
}

.editor {
    font-size: 16px;
    height: 160px;
    background: #fff;
    padding: 5px 5px;
    margin: 0;
    width: 100%;
    resize: none;
    border-width: 1px 0 0 0;
    border-color: #999;
    border-style: solid;
    color: #000;
    box-sizing: border-box;
    overflow-y: auto;
}


.editor span{
    font-size: 16px;
}

[contentEditable=true]:empty:not(:focus):before {
    content:attr(data-text);
    color: #999;
}

.atwho-inserted span {
    font-size: 16px;
}

/*user banned record link box 20171219*/
.user_banned_link_box{
    color: #e83e3e;
    font-size: 14px;
    text-align: center;
}


/*user banned record link box 20171219*/
.user_banned_link_box img{
    height: 22px;
    margin-right: 5px;
    vertical-align: middle;
    margin-left: -6px;
    /*	margin-left: -26px;*/
}
.user_banned_link_box span{
    vertical-align: middle;
    font-weight: 700;
}

.user_banned_link_box a:hover{
    text-decoration: underline;
}
.user_banned_link_box:focus{
    outline: none;
}



/* banned user post view 20171219*/
.innerpage-full #home-top-bar #top-bar-function-right {
    margin-right: 0px !important;
}

.top_create_post_bar.banned{
    margin-right: 0px;
    right: 0px;
    margin-left: 16px;
    text-align: right;
    background-color: #999;
    box-shadow: -3px 0 4px rgba(0,0,0,0.4);
    border-radius: 0 0 0 5px;
    padding: 0 12px 0 8px;
    position: relative;
}

.top_create_post_bar.banned .top_create_post_icon{
    background-image: url(../images/icon_user_banned_post@2x.png);
}

.banned_alert_box{
    display: none;
}

.top_create_post_bar.banned:hover .banned_alert_box{
    display: block;
    position: absolute;
    background: rgba(153,153,153,0.8);
    border-radius: 5px;
    width: max-content;
    width: -moz-max-content;    /* Firefox/Gecko */
    padding: 5px 10px;
    font-size: 14px;
    right: 5px;
    top: 40px;
}

/* edge detect and fall back for max-content */
@supports (-ms-ime-align:auto) {
    .top_create_post_bar.banned:hover .banned_alert_box{
        width: 200px;
    }
}

.banned_alert_box:after {
    content: '';
    position: absolute;
    top: 0;
    right: 35px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color:  rgba(153,153,153,0.8);
    border-top: 0;
    margin-left: -10px;
    margin-top: -10px;
}

.banned_alert_msg{
    color: #fff;
}

#quickpost.banned .postform .postform_area {
    background-color: #F8F8F8;
    border-color: #ccc;
}

#quickpost.banned .postform .avatar{
    opacity: 0.8;
}

#quickpost.banned .textarea_shadow_reply {
    display: block;
    color: #e83e3e;
}

#quickpost.banned .postform textarea, #quickpost.banned .postform input, #quickpost.banned .postform select, #quickpost.banned .postform .post_btns {
    background: #eee !important;
    border-color: #ccc !important;
}

#quickpost.banned #postsubmit {
    border: 1px solid #ccc !important;
    background-color: #eee !important;
    color: #aaa !important;
}

#quickpost.banned .postform .post_btns {
    border-top: 1px solid #ccc;
}

#quickpost.banned textarea, #quickpost.banned .postform .post_btns a {
    display: none;
}

#quickpost.banned #postsubmit, #quickpost.banned .btns a, #quickpost.banned .postform_area select, #quickpost.banned h5 input {
    color: #aaa !important;
    pointer-events: none;
}

/* watermark */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 23px;
    width: 23px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #FF7815;
}

input:focus + .slider {
    box-shadow: 0 0 1px #FF7815;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

input:disabled + .slider , input:disabled + .small_slider{cursor: not-allowed}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.small_switch{width: 40px;height: 25px;}
.small_slider:before{width: 20px;height: 20px;left: 4px;bottom: 3px;}
input:checked + .small_slider:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}

/* end of watermark */

.imglabelbox{position: relative;}
.imglabelbox .labelbox{background: rgba(0,0,0,0.5);padding:10px;position: absolute;bottom: 10px;left: 10px;}
.imglabelbox .label{color: white;font-size: 1.2em;    display: inline-block;}
.imglabelbox .label:before{content: '';background: url("../images/icons/location.png") no-repeat center;display: inline-block;width: 20px;height: 20px;background-size:contain;float: left;margin-right: 5px; }

.new_draftjs_editor {
    text-align: center;
    color: #ff7815;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid;
    box-shadow: 1px 1px;
    width: 150px;
    float: right;
    margin: 4px;
    position: absolute;
    right: 0;
}

.new_draftjs_editor:hover {
    background: #ff7815;
    color: #fff;
    box-shadow: 0px 0px 0px 1px #ff7815;
}
