﻿.msg-sent {
    max-width: 75%;
    margin-left: auto;
    background-color: #0bf;
    color: #fff;
    padding: 10px;
    border-radius: 14px;
    margin-top: 10px;
}
.msg-received {
    max-width: 75%;
    margin-right: auto;
    background-color: #ccc;
    color: #000;
    padding: 10px;
    border-radius: 14px;
    margin-top: 10px;
}
    .msg-sent p, .msg-received p {
        margin-bottom: 0;
        margin-top: 10px;
        font-style: italic;
        font-size: 14px;
    }
        .msg-sent p:first-of-type, .msg-received p:first-of-type {
            border-top: 1px dotted;
        }

.row.log {
    height: calc(100vh - 56px);
    overflow: hidden;
}

#msgLog {
    overflow-y: auto;
    height: calc(100% - 50px);
    padding-bottom: 15px;
}

#numbersList {
    list-style: none;
    padding-left: 15px;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    padding-bottom: 10px;
    padding-right: 10px;
}

    #numbersList li, .new-msg {
        cursor: pointer;
        border: 1px #00BBFF solid;
        padding: 10px;
        border-radius: 25px;
        text-align: center;
        margin-top: 10px;
        padding-bottom: 20px;
    }

        #numbersList li:hover, #numbersList li.active, .new-msg:hover {
            background-color: #eee;
        }

    #numbersList p {
        margin-bottom: 0;
    }
    #numbersList span {
        display: block;
        font-size: 11px;
        font-style: italic;
        color: #999;
        float: left;
    }
        #numbersList span:first-of-type {
            padding-left: 25px;
        }
        #numbersList span.numberDate {
            font-size: 9px;
            float: right;
            padding-right: 20px;
        }

        #numbersList span.numberDate:after {
            clear:both;
        }

@media (max-width: 1780px){
    #numbersList li {
        padding-bottom: 25px;
    }
}

@media (max-width: 1750px){
    #numbersList li {
        padding-bottom: 15px;
    }
    #numbersList span:first-of-type {
        padding-left: 0;
    }
    #numbersList span, #numbersList span.numberDate {
        float: none;
        padding-right: 0;
    }
}

#logSendMessage {
    border-top: 1px #ccc solid;
    /* height: 20px; */
    /* width: 100%; */
    position: fixed;
    top: calc(100vh - 50px);
}
#logSendMessage textarea.send-message {
    max-height: 50px;
    width: calc(100% - 60px);
    border: none;
    resize: none;
}