@import "reset.css";
@import "message.css";
@import "header.css";
@import "left-menu.css";
@import "chat-list.css";
@import "chat.css";
@import "chat-header.css";
@import "font-family.css";

html{
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    font-weight:400;
}
body{    
    height: 100vh;
    width: 100%;
    background-color: #455081;
    color: white;
    display: flex;
    flex-direction: column;

}

.header{
    display: flex;
    background-color: #455081;  
    /*height: 50px;*/
    align-items: center; justify-content: space-between;position: relative;width: 100%;
}

.info-chat{
    display: flex;align-items: center;background-color: #455081;
}
.link-a{
    text-decoration: none; margin-right: 10px;
}
.info-btn{
    background-color: #575699;width: 45px; height: 45px; font-size: 30px;text-align: center;color: white;
}
.report{
    display: flex;width: auto;height: 45px;border-radius: 5px;text-align: center;
}
.report-btn{
    background-color: #575699;color: #ffffff;width: 85px;font-size: 10px;
}

.count-usr{
    height: 100%;
   /*  background-color: #455081;*/
    background: none;
    /* width: 2%;   */
   
    display: flex;
    justify-content: flex-end;
    left: 0px;

    width: 40px; border-radius: 5px; font-size: 30px; text-align: center;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 40px;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.search-div{
    height: 100%;
    /* width: 2%;  */
   
    display: flex;
    justify-content: flex-end;
    left: 0px;

    width: 40px; border-radius: 5px; text-align: center;
    display: flex;width: auto;height: 45px;background: none;color: #ffffff;font-size: 14px;
}

.main-window{    
    background-color:#455081;
    display: flex;
    flex-direction: row;
    height: calc(100vh - 20px);
    width: 100%;
    justify-content: center;          
}
.chat{
    padding-left: 0.5px;
    width: 100%;
    height: 100%;
    min-height: 500px;
}   
.typing{
    width: auto; font-size: 10px; color: black;  visibility: hidden;
}
.chat-list{
    display: flex;
    flex-direction: column;
    background-color:#455081;
    width: 31%;
    font-size: 70%;
    height: 100%;
    min-height: 480px;
    min-width: 290px;
}
.left-menu{
    background-color:#455081;
    font-size: 50%;
    width: 4%;
    min-width: 70px;    
    height: 100%;
    min-height: 480px;    
}
.chat-header{
    height: 55px;
    min-height: 2em;
    background-color:#5c607ff2;
    font-size: 55%;
display: none;
    justify-content:flex-start;
    flex-direction: row;    
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;         
}


@media only screen and (max-width:900px){
    .message-right{
        align-self: flex-end;
    } 
}
@media only screen and (max-width:700px){
    .chat-list{
       width: 0%;
       min-width: 0%;
       visibility: hidden;
    }
    .left-menu{
        width: 4%;
    }
    .chat{
        width: 100%;
    }
}
