
* {
    margin: 0;
    padding: 0;
    /*font-family: 'Lato', sans-serif;*/
    font-family: 'Rubik', sans-serif;
}

a {
    text-decoration: none;
    color: #fff;
}
body{
    width: 100%;
    margin: auto;overflow-x: hidden;

}
.box_room{
    float: left;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
}
.hd_room{
    float: left;
    padding: 5px;
    background: rgb(58, 61, 68);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-size: 0.857rem;
    width: 100%;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-evenly;
}
.hd_room a{
    padding: 4px;
    border-radius: 4px;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    margin: 2px;
    font-size: 8px;
}
.hd_room span{
    margin-left: 5px;
}


.bd_room{
    float: left;
    box-sizing: border-box;
    /*width: calc(100% - 60px);*/
    padding: 5px;
    height: 100%;
    overflow: hidden;
    min-height: 1.25em;
    position: relative;
    color: rgba(0,0,0,.87);
    overflow-y: auto;
    background-color: #262626;
    flex: 1 1 0%;
}
.list_ads{
    float: left;
    width: 100%
}
.list_ads img{
    width: 100%;
    height: auto;

}
.list_ads_1{
    float: left;
    width: 100%;
    margin-top: 10px;
}
.item_ads
{
    float: left;
    width: 100%;
    display: flex
;
    margin: 0;
    padding: 0;
    /* margin-bottom: -8px; */
    align-content: center;
    justify-content: center;
}
.ft_room{
    float: left;
    width: 100%;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px -1px 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.24);
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    background: #111;
    margin: 5px 0;
    min-height: 53px;
}
.ft_room i{
    font-size: 1.2em;
    color: #fff;
    cursor: pointer;
}
.bx_chat{
    width: 90%;
    padding:5px 10px;
    float: left;
    font-size: 15px;
    color: #111;
    outline: none;
    border-radius: 5px;
    position: relative;

}
#emoji-button{
    position: absolute;
    background: none;
    border: none;
    right: 0px;
    top: 11px;
}
.bx_chat input{
    float: left;
    width: 100%;
    padding: 5px 0;
    height: 30px;
}
.emojiPicker{
    top: auto !important;
    bottom: 5% !important;
}
.item_chat{
    float: left;
    width: 100%;
    /*display: flex;*/
    position: relative;
}
.item_chat figure{
    float: left;
    width: 25px;
    height: 25px;
    position: relative;
    background: #262626;
    border-radius: 100%;
    overflow: hidden;
}
.item_chat aside{
    float: left;
    width: calc(100% - 70px);
    /*display: flex;*/
}
.khung{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    /* display: none; */
}
.avatar_user{
    position: absolute;
    z-index: 1;
    width: 22px;
    height:22px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;margin: auto;
}
.lv{
    float: left;line-height: 0.643rem;font-size: 0.643rem;padding: 4px 9px;min-width: 35px;text-align: center;border-radius: 4px;margin-left: -7px;color: rgb(255, 255, 255);background: red;height: 18px;margin-top: 4px;
}
.name{
    float: left;
    color: #faca39;
    font-size: 15px;
    margin: 2px;
    font-weight: bold;
    padding: 0px;
    cursor: pointer;
    max-width: 49vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tag_name{

    color: #009b3a;
    font-size: 14px;
    padding: 0;
}
.content{
    float: left;
    color: #fff;
    font-size: 16px; 
    margin: 2px 0;
    word-break:break-word;
    display: contents;
    width: calc(100% - 200px);
    line-height: 20px;
}
.content img{
    width: 50px;
    border-radius: 4px;
}
.box_login{
    float: left;
    width: 100%;
    position: fixed;
    height: 190px;
    /*background: rgba(255,255,255,.6);*/
    background: #000;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.box_login a{
    font-weight: bold;font-size: 1.3em;color: #fff;
    text-align: center;
}
.pp_lg{
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 3;
    background: rgba(0,0,0,.5);
    visibility: hidden;
    opacity: 0;
    display: flex;
    justify-items: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.pp_lg aside{
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    width: 500px;
    max-width: 90%;
    max-height: 80%;
    padding-top: 40px;
    overflow-y: auto;
}
.cls_pp{
    color: #111;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
}
.frm_lg{
    float: left;
    width: 100%;
}
.input_fr{
    float: left;
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    outline: transparent;
    margin: 7px 0;
    font-size: 14px;
}
.box_btn{
    float: left;
    width: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.btn_{
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    background: #0c5480;
    color: #fff;
    font-size: 15px;
    margin: 2px 5px;
}
.cls_c{
    float: left;
    width: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.cls_c a{
    cursor: pointer;
    width: 50%;
    color: #111;
    font-size: 15px;
    padding:8px 24px;
    border-radius: 4px;
    text-align: center;
}
.cls_c a.active_a{
    background: #0c5480;
    color: #fff;
}


.scrolling-text-container {
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fdfdfd;
    width: 100%;
    padding: 5px 10px;
    font-size: 13px;
    z-index: 4;
}

.scrolling-text {
    display: inline-block;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
.edit_mes{
    float: right;
}
.edit_mes i{
    font-size: 15px;
    color: #a1a2a3;
}
.count_edit{
    float: right;
    margin-right: 7px;
    font-size: 10px;
    color: #7cd38c;
    font-style: italic;
    margin-top: 2px;
    display: none;
}
.time_sms{
    float: right;
    margin-right: 7px;
    font-size: 10px;
    color: #ccc;
    font-style: italic;
    margin-top: 2px;
    max-width: 48px;
    white-space: nowrap;
    /*position: absolute;*/
    /*right: 0;*/
}
.highlight {
    color: rgb(0, 155, 58);
    font-weight: bold;
}
.logo_user{
    float: left;
    width: 100%;
    display: flex;
    justify-items: center;
    align-content: center;
    justify-content: center;
}
.logo_user a{
    text-align: center;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    overflow: hidden;
    position: relative;
    background-color: #111;
}
.logo_user a img {
    width: 100%;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
    opacity: 0.5;
}
.logo_user a label{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 44px;
    bottom: 0;
    font-size: 12px;
}
.social_login_a {
    float: left;
    width: calc(100% - 20px - 20px - 2px);
    display: inline-block;
    font-size: 14px;
    line-height: 29px;
    font-weight: 500;
    padding: 8px 10px;
    color: #202020;
    background: transparent;
    border: 1px solid #f1f3f4;
    border-radius: 1px;
    text-align: center;
    /* margin: 0 20px 0 0; */
    height: 48px;
    margin: 10px 0;
    cursor: pointer;
}

.social_login_a img {
    position: relative;
    display: inline-block;
}
.list_content_bchon{
    float: left;
    width: 100%;
}
.item_binhchon{
    float: left;
    width: calc(100% - 12px);
    border-bottom: 1px solid #ccc;
    font-size: 15px;
    color: #111;
    padding: 6px;
    margin-top: 18px;
    cursor: pointer;
}
.item_binhchon h3 {


    float: left;
    display: flex;
    font-size: 15px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}
.item_binhchon h3 button{
    width: 80px;

    margin-left: 5px;
    font-size: 11px;
    color: #2f2626;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 7px 4px;
    transition: all 500ms;
    cursor: pointer;
}
.item_binhchon h3 button:hover{
    background:#9f191f;
    color: #fff;
}
#create_binhchon{
    float: right;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px;
    cursor: pointer; transition: all 500ms;
}
#create_binhchon:hover{
    background: #0c5480;
    color: #fff;
}
.tra_loi{
    float: left;
    width: 100%;
    margin: 4px 0;
    font-size: 14px;
    border-bottom: 1px dotted #ccc;
    padding: 7px 0;
    padding-bottom: 15px;
    line-height: 30px;
    position: relative;
}
.tra_loi:last-child{
    border: none;
}
.tra_loi input{
    float: left;
    margin-top: 9px;
    margin-right: 8px;
    display: none;
}
.tra_loi label{
    float: left;
    width: calc(100% - 30px);
    color: #2b2b2b;
    line-height: 45px;
}
.tra_loi span{
    float: left;
    display: inline-block;
    width: 100%;
}
.abs_tl{
    float: left;
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 4px 20px;
}
.list_content_gim{
    float: left;
    width: 100%;
}
.item_gim{
    float: left;
    width: 100%;
    border-bottom: 1px dotted #ccc;
    font-size: 15px;
    color: #111;
    padding-bottom: 15px;
    margin: 5px 0;
    line-height: 32px;
}
.item_gim img{
    width: 60px;
}
.item_gim button{
    float: right;
    width: 80px;

    margin-left: 5px;
    font-size: 11px;
    color: #2f2626;
    background: transparent;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 7px 4px;
    transition: all 500ms;
    cursor: pointer;
}
.gim_event{
    float: right;
    color: #ffd500;
    font-size: 11px;
    width: 49px;
    /*position: absolute;*/
    right: 16px;
    bottom: 23px;
}
.open_caidat{
    float: right;
    color: #b6afaf;
    font-size: .95em;
    width: 34px;
    /*position: absolute;*/
    right: 16px;
    bottom: 23px;
}
.bx_caid{

    float: left;
    width: 100%;
    display: flex;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    color: #ef5252;
    font-weight: bold;
    transition: all 500ms;
    margin-top: 15px;
    padding: 10px 0;
}
.bx_caid:hover{
    color: #daa40e;
}
.w3-border {
    float: left;
    border: 1px solid #ccc!important;
    width: calc(100% - 73px);
    margin: 0 2px;
}
.w3-grey{
    color: #000!important;
    background-color: #43c3ff   !important;
}
.linelv {
    float: left;
    width: 100%;
    display: flex;
}
.linelv label{
    float: left;
    width: 65px;
    background: #784444;
    color: #ffffff;
    font-size: 14px;
    padding: 8px;
    text-align: center;
    border-radius: 10px;
}
.dis_line{
    float: left;
    width: 100%;
    margin-top: 9px;
}
.dis_line b{
    font-weight: normal;
    float: right;
    font-size: 14px;
    color: #0b0505;
}
.bg_2{
    background-color: #e4e4e4;
    border-radius: 5px;
}
#chatContainer{
    position: relative;

}
/*.box_room{*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*}*/
.show_chat{
    float: left;
    padding: 10px;
    border-radius: 4px;
    background-color: #d3d3db;
    color: #322c2c;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
}
.list_time{
    float: left;
    width: 100%;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.list_time label,.list_time div{
    margin: 0 4px;
}
.line_ghim{
    float: left;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #0d0d0e;
    background-color: #049be5db;
    color: #fff;
    font-size: 14px;
    position: absolute;
    /*bottom: 90px;*/
    left: 0;
    z-index: 9999;
    border-radius: 1px;
    cursor: pointer;
    opacity: 1;
    top: -50px;

}
.line_ghim aside{
    float: left;
    width:80%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.line_ghim aside img{
    display: none;
}
.count_gim{
    float: left;
    width: 20%;
    font-size: 12px;
}
.txt_cm{
    font-size: 13px;
    background: #262626;
    color: white;
}
.send_chat{
    float: right;color: #fff;
    font-size: 15px;
   text-transform: uppercase;
}
.show_gift{
    color: #fff;
    margin: 4px;
    text-transform: uppercase;
    font-size: 10px;
    margin-right: 12px;
}
.list_gift{
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: 100vw;
    height: 100vh;
    display: none;
    overflow-y: auto;
}
.item_gift{
    float: left;
    width: calc(100%/4 - 10px);
    margin: 5px;
}
.item_gift img{
    width: 100%;
    border: 5px;
    border-radius: 10px;
    overflow:hidden;
    cursor: pointer;
}
.close_gift{
    position: fixed;
    right: 5px;
    top: 5px;
    padding: 5px;
    border-radius: 5px;
    background-color: #9f191f;color: #fff;
    width: 30px;
    height: 30px;
    text-align: center;
}

@media only screen and (max-width: 560px) {
    /*.line_ghim{*/
    /*    bottom: 83px;*/
    /*}*/
    .list_time{
        font-size: 12px;
    }
    .name{
        font-size: 12px;
    }
    .box_login{
        height: 65px;
        font-size: 13px;
    }
    .gim_event{
        right: 1px;
        bottom: 10px;
    }
    .content{
        width: calc(100% - 8px);
        font-size: 15px;
        margin: 2px 0;

    }
    .time_sms{
        /*position: absolute;*/
        /*right: 0;*/
        /*width: auto;*/
        font-size: 8px;
        top: 7px;
    }
    .item_chat aside{
        display: contents;
    }
    .edit_mes{
        position: absolute;
        right: 111px;

        bottom: 4px;
        z-index: 2;
    }
    .count_edit{
        position: absolute;

        right: 58px;
        font-size: 8px;
        top: 7px;
    }
    #emoji-button{
        display: none;
    }
}
.box_skien{
    float: left;
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
}
.item_sk{
    float: left;
    padding:20px 10px;
    margin: 10px 0;
    width: calc(100% - 20px);
    border: 1px solid #ccc;
    border-radius: 10px;
}
.item_sk h3{
    float: left;
    width: 100%;
    font-size: 18px;
    line-height: 30px;
}
.item_sk h4{
    float: left;
    width: 100%;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: right;
    font-weight: normal;
}
.item_sk span{
    font-weight: bold;
    font-size: 14px;
    color: #009b3a;
}
.item_sk input{
    float: left;
    padding:20px 10px;
    width: calc(100% - 120px);
    border-radius: 10px;
    border: 1px solid #ccc;

}
.item_sk label{
    float: right;
    width: 70px;
    padding:2px 10px;
    font-size: 14px;
    color: #fff;
    background: #009b3a;
    text-align: center;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
}
.item_sk label:last-child{
    background: #d0270e;
} 
.cls_dis_event{
    background-color: #ccc !important;
}
.item_kq_event{
    float: left;
    width: 100%;
    border-bottom: 1px dotted #838383;
    padding: 5px 0;
    margin: 2px 0;
}