﻿#aulachat {
    background: none;
    margin-top: 30px;
    border-radius: 8px;
}

.btn-openchatcanal {
    background: none;
    color: #d058bf;
    border: none;
}

#aulachat.ignoremargintop {
    margin-top: 0px;
}

#aulachat #aulachat-content {
    max-height: 300px;
    height: 300px;
    overflow: auto;
    background: #fbe4e4 url('../images/fundo-chat.png');
}

#aulachat h3 {
    text-align: left;
    background: #282828;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

#aulachat .aulachat-item {
    padding: 20px;
    background: #fff;
    margin: 10px 0 10px 0;
    width: auto;
    min-width: 30%;
    max-width: 70%;
    overflow: auto;
    border-radius: 20px;
    margin-left: 10px;
}

#aulachat .aulachat-item-professor {
    background: rgba(81, 204, 151, 0.82);
}

#aulachat .aulachat-item-aluno {
    background: rgba(255, 255, 255, 0.91);
}

#aulachat .aulachat-item .aulachat-name {
    font-size: 14px;
    font-weight: 600;
    color: #282828;
    display: inline;
}

#aulachat .aulachat-item .aulachat-date {
    font-size: 12px;
    font-weight: 600;
    color: #808080;
    display: inline;
}

#aulachat .aulachat-item .aulachat-message {
    font-size: 14px;
    font-weight: 400;
    color: #282828;
    margin: 5px 0 0 0;
}

#chat-form {
    padding: 15px 10px 10px 10px;
    background: #d3d3d3;
}

    #chat-form .aulachat-inputmessage {
        font-size: 14px;
        padding: 15px;
        width: calc(100% - 45px);
        display: inline;
        border: none;
    }

    #chat-form .aulachat-btnsend {
        border-radius: 100%;
        background: #17b470;
        color: #fff;
        border: none;
        margin-left: -15px;
        padding: 15px 18px;
    }


@media (max-width: 768px) {
    #aulachat {
        margin-top: 10px !important;
    }

        #aulachat, #aulachat h3 {
            border-radius: 0px !important;
        }
}
