/* Messages */

.message-bubble {
    padding:20px !mportant;
}
.message-text {
	padding-top:5px !important;
	padding-bottom:10px !important;
	line-height:20px !important;
}
.message-image {
    width:100% !important; 
    height: auto;
    padding-top:5px !important;
    padding-bottom:5px !important;
}
.message-header {
    padding-top:10px !important;
    padding-bottom:10px !important;
    color:#ea942a !important;
}
.message-footer {
    padding-top:10px !important;
    color:#ea942a !important;
    padding-bottom:10px !important;
}

/* Chat Window */

.md .messages, .md .messages-content {
    background: #f6f6f6 !important;
    margin: 6px 12px !important;
    padding: 0px !important;
}

.md .message-sent .message-bubble {
    color: #333;
    background: #dcf8c7 !important;
}

.md .message-sent.message-tail .message-bubble:before {
    position: absolute;
    content: '';
    border-right: 8px solid transparent;
    border-left: 0 solid transparent;
    border-bottom: 8px solid #dcf8c7 !important;
    left: 100%;
    bottom: 0;
    width: 0;
    height: 0;
}



.img-profile-list-ml {
    object-fit: cover;
    border-radius:50%;
    width:45px !important;
    height:45px !important;
    padding-left:0px !important;
    padding-right:0px !important;
    margin: 0 auto;
    font-size:43px !important;
    position: relative;
    border:1px solid #ED1C26 !important;
}

.img-profile-list-ml-u {
    object-fit: cover;
    border-radius:50%;
    width:50px !important;
    height:50px !important;
    margin: 0 auto;
    position: relative;
    border:1px solid #EEE !important;
}

input#commentpost_photo.upload_img, input#commentreply_photo.upload_img {
    position: absolute;
    left:-2px;
    opacity: 0;
    width:48px;
    height:48px;
}



/* Chat Window */

.figure-command {
    height: 40px !important;
    width: 40px !important;
    border-radius: 50%;
    margin: 0;
    position: relative;
}

.figure-command figure {
    height: 100%;
    width: 100%;
    min-height: 40px !important;
    min-width: 40px !important;
    overflow: hidden;
    border-radius: 50%;
    margin: 0;
}

.figure-command figure img {
    width: 100%;
    min-height: 100%;
}

.img-command-list {
    /*object-fit: cover;*/
    border-radius:50%;
    width:40px;
    max-height:40px !important;
    height:auto !important;
    overflow:hidden;
    margin: 0 auto;
    position: relative;
}

.message-text {
   font-size: 16px !important;
}

.message-text p {
   margin-top: 0 !important;
   margin-bottom: 0 !important;
   font-size: 16px !important;
}

.message-text div {
   font-size: 16px !important;
}

.f7-msg-icon {
    font-size:20px !important;
}

.msg-foot-top {
    margin-top:4px !important;
}

.message-text-header {
    font-size: 12px !important;
    line-height:12px !important;
}

.message-text-footer {
    font-size: 14px !important;
    line-height:14px !important;
}

@media screen and (min-width: 768px) and (max-width: 2960px) {
  	.f7-msg-icon {
    	font-size:27px !important;
    }

    .msg-foot-top {
    	margin-top:8px !important;
    }

    .message-text {
        font-size: 18px !important;
    }

    .message-text p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        font-size: 18px !important;
    }

    .message-text div {
        font-size: 18px !important;
    }

    .message-text-header {
        font-size: 14px !important;
        line-height:14px !important;
    }

    .message-text-footer {
        font-size: 14px !important;
        line-height:14px !important;
    }

}