#ai-expert .container {
    max-width: 1000px !important;
}

#ai-expert {
    background-color:#f7f7f7;
    padding-left: 20px;
}

#ai-expert .messages {
    padding: 20px;
    overflow-y: auto;
    min-height: 79vh;
    max-height: 79vh;
}

#ai-expert .initial-message {
    min-height: 25vh;
    max-height: 25vh;

    height: 200px;
    margin: 10px;
    display: flex;
    justify-content: center;
}

#ai-expert .initial-message span {
    align-self: flex-end;
}

#ai-expert .message-input-warning {
    padding: 0;
    text-align: center;
    font-size: 12px;
}

#ai-expert li.active {
    background-color: #DDD;
}

#ai-expert .container {
    max-width: 700px;
}

@media (min-height : 768px) {
    #ai-expert .messages {
        min-height: 84vh;
        max-height: 84vh;
    }
}

#ai-expert .session-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: unset !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
}

/* AI sidebar */
#ai-expert .left-navbar {
    background-color: #fff;
    background-image:none;
    min-height: unset;
}

ai-expert .left-navbar .list-group-item .session-title:hover,
ai-expert .left-navbar .list-group-item .session-title:focus,
ai-expert .left-navbar .list-group-item .fa-trash:hover,
ai-expert .left-navbar .list-group-item .fa-trash:focus {
    color: #000;
}

#ai-expert .left-navbar .list-group-item.active {
    background-color: #eeeded;
}

#ai-expert .left-navbar .list-group-item {
    background-color: white;
    border-bottom: 1px solid #eee;
    margin-bottom:0;
}
#ai-expert .left-navbar .list-group-item.create-btn {
    background-color: #3a3a3a;
}

#ai-expert .list-group-item-heading {
    list-style-type: none;
}


/* AI Conversation */
.ai-user-message p,
.ai-expert-response p {
    padding:20px;
    position:relative;
    margin: 20px 0px 30px 0px;
    box-shadow: 0 5px 10px rgba(154,160,185,.05), 0 15px 40px rgba(166,173,201,.2);
}

.ai-user-message p{
    background-color:white;
}

.ai-user-message p:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: 0px;
    top: -18px;
    border: 10px solid;
    border-color: transparent transparent #fff #fff;
}
.ai-user-message .username {
    color: #000;
}
.ai-expert-response .username {
    display: block;
    text-align: right;
}

.ai-expert-response p{
    background-color:#eeeded;
}
.ai-expert-response p:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: 0px;
    top: -18px;
    border: 10px solid;
    border-color: transparent #eeeded #eeeded transparent;
}

#ai-expert input.searchField.form-control,
#ai-expert .send-message-btn {
    height: 50px;
}

#ai-expert .message-input .input-group {
    margin-bottom:30px;
}


/* AI WIDER SCREENS */
@media (min-width: 1200px) {
    #ai-expert .left-navbar {
        min-height: 95vh !important;
    }
}

@media (min-width: 769px) {
    .ai-user-message p:before {
        content: ' ';
        position: absolute;
        width: 0;
        height: 0;
        left: -18px;
        top: 0px;
        border: 10px solid;
        border-color: #fff #fff transparent transparent;
    }

    .ai-expert-response p:before {
        content: ' ';
        position: absolute;
        width: 0;
        height: 0;
        right: -18px;
        top: 0px;
        border: 10px solid;
        border-color: #eeeded transparent transparent #eeeded;
    }

    .ai-user-message p,
    .ai-expert-response p {
        margin: -16px 90px 30px 50px;
    }
}


