/* Created by Trinh Van Vinh 18/1/2019 */

html {
    -ms-touch-action: none;
}

body, canvas, div {
    margin: 0;
    padding: 0;
    outline: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    cursor: default;
    color: #888;
    background-color: #333;

    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;

    display: flex;
    flex-direction: column;
}

#Cocos2dGameContainer {
    position: absolute;
    width:100%;
    height:100%;
    margin: 0;
    overflow: hidden;
    left: 0px;
    top: 0px;

    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}
#gameDiv{
    position: fixed;
    background-color: black;
    top:0px;
    left:0px;
}

canvas {
    background-color: rgba(0, 0, 0, 0);
}
#emo_layer{
    pointer-events: none;
    display: block;
}
#tooltip{
    position: absolute;
    display: none;
    width:100%;
    height:100%;
    top: 650px;

}
#tooltip_mess{
    background: #333333;
    font-size: 40px;
    padding: 30px;
    margin-top:-50px;
    border-radius: 40px;
    padding-left: 50px;
    padding-right: 50px;
    color: #f3f4f3;
}


/*custom popup*/

#tempPopup_container{
    background: url(res/Lobby/black.png) 100% 100% no-repeat ;
    width: 100%;
    height: 100%;
    transform: scale(1);
    display: none;
    position: relative;
}
#tempPopup_action{
    position: relative;
    margin-top: 55px;
    margin-left: 224px;
    cursor: pointer;
}

#tempPopup_title{
    position: absolute;
    top: 300px;
    left: 820px;
    transform: scale(1.1);
}

#tempPopup_mess{
    position: absolute;
    top: 400px;
    left: 685px;
    width: 550px;
    color: #2b2b2b;
    font-size: 37px;
    margin-top: 29px;
    font-family: roboto-medium;
    margin: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#tempPopup_action{
    position: absolute;
    top: 630px;
    left: 570px;
    width: 239px;
    height: 50px;
    transform: scale(0.9);
}



#chat_container{
    position: absolute;
    background-repeat: no-repeat;
    width: 400px;
    height: 150px;
    top:400px;
    left:520px;
    display: none;
    transform: scale(1.8);
}

#chat_btn_mini{
    position: absolute;
    left: 252px;
    transform: scale(1.3,1.3);
    cursor:pointer;
    display: none;
}
#chat_bg{
    position: absolute;
    top:0px;
    left:0px;
}

#chat_input{

    background-color: black;
    color: #fdfffb;
    transform: scale(1,1.1);
}

/*#chat_btn_full{*/
    /*position: absolute;*/
    /*left: 50px;*/
    /*visibility: hidden;*/
    /*cursor:pointer;*/
    /*transform: scale(1.2);*/
/*}*/

/*#chat_txtkhungchat{*/
    /*position: absolute;*/
    /*left: 74px;*/
    /*background-color: #0b1016;*/
    /*padding: 3px;*/
    /*color: #f3fffd;*/
    /*font-size: 20px;*/
    /*font-weight: lighter;*/
    /*visibility: hidden;*/
/*}*/

.chat_messagePanel{

    width: 225px;
    height: 50px;
    position: absolute;
    overflow: auto;
    font-size: 22px;
    margin: 5px;

}

#chat_Content{
    color: #fdfffb;
    height: 0px;
    position: absolute;
    margin-left: 3px;
    text-align: left;
}

#chat_empty{
    position: absolute;
    height: 0px;
}

#chat_anim{
    background-image: url(res/chat/emog_pak/chat_anim_bg.jpg);
    background-size: 396px 215px;
    width: 389px;
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    padding-top: 9px;
    padding-left: 7px;
    bottom: 192px;
    text-align: left;
    z-index: 3;
}
#chat_anim.active{
    display: block;
}

#anim_container{
    background: url(res/bg_anim.png) 100% 100% no-repeat;
    width: 100%;
    height: 100%;
    margin-top: -12%;
    width: 395px;
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    padding-left: 426px;
    text-align: left;
    z-index: 3;


}


.item_emoj{

    position: relative;
    width: 98px;
    height: 106px;
    top: 453px;
    left: -97px;

}

#chat_text{
    position: absolute;
    display: none;
}
#chat_text.active{
    display: block;
}

#chat_text{
    background-image: url(res/chat/emog_pak/chat_anim_bg.jpg);
    background-size: 395px 278px;
    width: 389px;
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    padding-top: 5px;
    padding-left: 7px;
    bottom: 195px;
    z-index: 3;
}

.anim_item{
    position: relative;
    width: 29px;
    height: 21px;
    cursor: pointer;
    margin-right: 5px;
}

.anim_text{
    position: relative;
    width: 386px;
    height: auto;
    cursor: pointer;
    font-family: serif;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 19px;
    color: black;
}

#chat_message_scroll::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;

}

#chat_message_scroll::-webkit-scrollbar
{
    width: 7px;
    background-color: #F5F5F5;


}

#chat_message_scroll::-webkit-scrollbar-thumb
{
    background-color: #F90;
    background-image: -webkit-linear-gradient(45deg,
    rgba(255, 255, 255, .2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, .2) 50%,
    rgba(255, 255, 255, .2) 75%,
    transparent 75%,
    transparent);

}
p:hover{
    background-color: #ccaa67;
    margin-right: 10px;
}
.anim_item:hover{
    background-color: #ccaa67;
    transform: scale(1.3);
}

.clearfix{
    content: '';
    display: table;
    clear: both;
}

.chat_item{
    float: left;
    position: relative;
    cursor: pointer;
    transform: scale(0.8,0.7);
    top: -5px;
    left: -6px;
}

#chat_btn_x{
    position: absolute;
    transform: scale(0.9);
    top: -40px;
    left: 320px;
    z-index: 2;
    margin-bottom: 100px;
    cursor: pointer;
}

#chat_bottom{
    float: left;
    margin-top: 81px;
    margin-left: 5px;
}

.chat_tem{
    top: -10px;
    left: 0px;
    position: absolute;
    transform: scale(1,1.2);
}

#lanscape{
    background: url(res/rotation_phone.png) 100% 100% no-repeat ;
    width: 100%;
    height: 100%;
    transform: scale(1);
    display: none;
}



.emo_item:hover  {
    background-color: #c1c2c1;
}

.anim_emo_item{
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.emo_item{
    width: 18%;
    float: left;
    padding: 0 3px;
    position: relative;
    height: 33px;
    cursor: pointer;
    margin-top: 5px;
    display: block;
    left: 19px;
}

/*.item_emoj{*/
    /*width:100%;*/
    /*height: 100%;*/
    /*position: relative;*/
    /*margin-top: 4px;*/
/*}*/

/*tooltip*/

/*.item_emoj{*/
    /*width:100%;*/
    /*height: 100%;*/
    /*position: relative;*/
    /*margin-top: 4px;*/
/*}*/

[tooltip]:before {
    /* needed - do not touch */
    content: attr(tooltip);
    position: absolute;
    opacity: 0;

    /* customizable */
    /*transition: all 0.15s ease;*/
    /*padding: 10px;*/
    /*color: #333;*/
    /*border-radius: 10px;*/
    /*//box-shadow: 2px 2px 1px silver;*/
}

[tooltip]:hover:before {
    /* needed - do not touch */
    opacity: 1;

    /* customizable */
    width: 120px;
    background-color: #f5e590;
    color: #363636;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}


/*end tooltip*/

#divSprite{
    position: absolute;
    margin: auto;
    top:765px;
    margin-left: 898px;
    display: none;
}
