:host{
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#new-message-sign{
    border-radius:20px;
    display: inline-block;
    padding: 6px 16px;
    position: absolute;
    left:calc(50% - 40px);
    bottom:10px;
    width: 80px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    animation: showsup 0.1s linear;
}

@keyframes showsup {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    100% {
        opacity: 1;
        bottom: 10px;
    }
}

#chat-container{
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

#chat-body{
    flex: 1 1 auto;
    position: relative;
}

#chat-scroll{
    position: absolute;
    overflow-y: auto;
    max-height: 100%;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

#chat-input{
    display: flex;
    flex-basis: 60px;
    align-items: center;
    width: 100%;
    flex-direction: row;

    mat-icon{
        margin: 8px;
    }
}

app-markdown-editor{
    flex: 1 1 100%;
    width: 100%;
}

app-chat-message{
    &.selected{
        background-color: rgba(249, 168, 37, 0.2);
    }
}

.loading{
    position: sticky;
    top: 20px;
    left: 0;
    z-index: 200;
    right: 0;
    margin: auto;
}

#chat-box-top{
    margin-top: 20px;
}
.mat-small{
    text-align: center;
    margin-top: 20px;
}