﻿body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    background-color: #e7fff3;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 15px;
    background: #414141;
    height: 100vh;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 500px;
}
.backtable {
    width: -webkit-fill-available;
    background-color: #e7fff3;
    margin: 20px;
}
.imgbtn {
    cursor: pointer;
}
h3#room_name {
    background: #eaf6e5;
    color: #c6c6c6;
    padding: 17px;
    margin-top: 0px;
}
h3#user_n {
    color: #c6c6c6;
    float: left;
    background: green;
    padding-top: 17px;
    margin-top: 0px;
    width: 60px;
    height: 60px;
    text-align: center;
}
h3#total_people {
    color: #c6c6c6;
    float: left;
    background: green;
    padding-top: 17px;
    margin-top: 0px;
    width: 60px;
    height: 60px;
    text-align: center;
}
h3.room_title {
    color: #7676f8;
    padding-top: 17px;
    padding-left: 17px;
    margin-top: 0px;
    float: left;
}

.poster {
    background: bisque;
    min-height: 125px;
    padding: 10px;
    margin-top: 70px;
}
.Text {
    color: #c6c6c6;
}
.o_room {
    background: #e7e7e7;
    margin: 10px;
    padding: 10px;
    text-align: right;
    max-width: 300px;
    float: right;
}
ul#userlist {
    list-style-type: none;
    margin: 0;
    padding: 0;
    color: #c6c6c6;
}
ul#Roomlist {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#hot_table {
    width:100%;
}
#last_table {
    width: 100%;
}
.photo {
    width: 100%;
}
.photo_name {
    display: unset;
    font-weight: bold;
}

.msg_td {
    word-break: break-word;
}


.msg_name {
    float: left;
    width: 110px;
    padding: 0px 5px;
    font-weight: bold;
}
    .msg_name:hover {
        text-decoration: underline;
        cursor: pointer;
    }
.msg_text {
    display:table;

}
.msg_line {
    line-height: 1.8em;
    background: #434343;
    color: #c6c6c6;
    table-layout: fixed;
    overflow: hidden;
}
.msg_even {
    background: #525252;
}
.msg_tag {
    background: #fdfdba !important;
}
.tag_name {
    text-decoration: underline;
    cursor:pointer;
}
.topbox {
    vertical-align: top;
    width: 50%;
    min-width: 300px;
}
.downbox {
    vertical-align: top;
    width: 50%;
    min-width: 300px;
}
.msg_contorl{
    /*width:460px;*/
}
.delete_photo {
    display: contents;
    cursor: pointer;
}
.delete_photo_s {
    display: contents;
    cursor: pointer;
}
.delete_vdo {
    display: contents;
    cursor: pointer;
}

.delete_vdo_s {
    display: contents;
    cursor: pointer;
}
img.photo_img {
    min-width: 100%;
    max-width: 100%;
    cursor: pointer;
    transition: .3s;
}
img.nsfw {
    filter: opacity(0.05) grayscale(1) brightness(0.7) !important;
    cursor: pointer;
    
}
.vdo_dialog {
    min-width: 100%;
    max-width: 100%;
    cursor: pointer;
    transition: .3s;
}
#C_photo_dialog {
    cursor: pointer;
}
#hidden {
    display: none;
}
/*----upload------*/
.item {
    background-color: #a3a9af;
    border: 1px solid gray;
    font-family: 'Courier New';
    font-size: 8.5pt;
    margin-bottom: 6px;
    padding: 3px;
    color: white;
    box-shadow: 3px 3px 3px 1px rgba(128, 128, 128, 0.7);
}

    .item .name {
        text-shadow: 1px 1px gray;
    }

.prg-zone {
    margin-top: 10px;
}

.bar {
    background-color: #ffffff;
    height: 15px;
    position: relative;
    margin: 3px;
    margin-top: 8px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    border-top-color: #444;
    border-left-color: #444;
}

    .bar > div {
        position: absolute;
        color: black;
        font-size: 8pt;
    }

    .bar .color-bar {
        background-color: #5a5a5a;
        top: 0px;
        bottom: 0px;
        left: 0px;
    }

    .bar .status {
        top: 0px;
        left: 6px;
    }

    .bar .progress {
        top: 0px;
        right: 4px;
    }

    img.emoji {
        height: 25px;
    }
    img.lihkg_emoji {
        min-height: 25px;
        min-width: 25px;
    }

img.emoji_tab {
    width: 28px;
    cursor: pointer;
    padding: 1px;
}
.time {
    display: initial !important;
    font-size: 9px;
    color: #999999;
}
.photo_time {
    float: right;
}
        .youtube_dialog {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
        }
        .youtube_dialog iframe {
            POSITION: absolute;
            min-width: 100%;
            min-height: 100%;
            max-width: 100%;
            max-height: 100%;
        }
.enter_box {
    min-width: 100%;
    background: #414141;
}
.topbar_name {
    width: 75px;
}
@media only screen and (max-width: 600px) {
    .topbar_msg {
        display : none;
    }
    .topbar_name {
        display: none;
    }
    .message{
        height:500px;
    }
}